public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: HTML to PDF with cls style
Date: Sat, 10 Dec 2022 08:55:55 +0000	[thread overview]
Message-ID: <Y5RJm8koAb5hQjs2@localhost> (raw)
In-Reply-To: <75f732fd-6391-4682-b056-9f0f29307e69n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

You can refer to the official documentation here: https://ctan.org/pkg/quantumarticle

If you have a full TeXLive, so passing -V documentclass=quantumarticle (or quantumview, depending on your needs) should work. 

Le Friday 09 December 2022 à 05:43:11PM, Mladen Babic a écrit :
> Hi Bastien,
> 
> Thanks for the quick replay. You are right, quantumview does the job, but since
> I'm a newbie with Latex what is the diff between quantumarticle.cls and
> quantumview.cls? I have installed full tex installed, but I wanted to use
> various templates for generating PDFs depending on user desire. 
> 
> Kind regards,
> 
> On Friday, December 9, 2022 at 5:51:31 PM UTC+1 Bastien Dumont wrote:
> 
>     First, the name of the file is not quantumarticle.cls, but quantumview.cls.
>     Second, classoption is to pass options relative to the current document
>     class. To change the document class, use -V documentclass=quantumview.
> 
>     It would be more convenient to have your CLS file installed system-wide. If
>     you use a full TeXLive or MiKTeX, it should already be included in your TeX
>     installation.
> 
>     Le Friday 09 December 2022 à 08:34:11AM, Mladen Babic a écrit :
>     > Hi,
>     >
>     > I'm going to convert HTML to PDF with quantumarticle.cls style file which
>     I
>     > found [1]here, but I do not know how to use it with the Pandoc. I have
>     tried
>     > these:
>     >
>     > pandoc --from html converted.html --to pdf --output output.pdf
>     > --metadata-file=metadata.yaml --pdf-engine=xelatex --standalone --mathml
>     -V
>     > classoption=quantumarticle.cls
>     >
>     > But I did not get the desired PDF. No errors. The PDF same without this
>     option
>     >
>     > Do I miss something?
>     >
>     > Kind regards,
>     > MladenB
>     >
>     > --
>     > You received this message because you are subscribed to the Google Groups
>     > "pandoc-discuss" group.
>     > To unsubscribe from this group and stop receiving emails from it, send an
>     email
>     > to [2]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>     > To view this discussion on the web visit [3][1]https://groups.google.com/
>     d/msgid/
>     > pandoc-discuss/1147a73d-7445-4f72-ad5c-794775aa8566n%[2]
>     40googlegroups.com.
>     >
>     > References:
>     >
>     > [1] [3]https://ctan.ijs.si/tex-archive/macros/latex/contrib/
>     quantumarticle/quantumview.cls
>     > [2] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     > [3] [4]https://groups.google.com/d/msgid/pandoc-discuss/
>     1147a73d-7445-4f72-ad5c-794775aa8566n%40googlegroups.com?utm_medium=email&
>     utm_source=footer
> 
> 
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [6]https://groups.google.com/d/msgid/
> pandoc-discuss/75f732fd-6391-4682-b056-9f0f29307e69n%40googlegroups.com.
> 
> References:
> 
> [1] https://groups.google.com/d/msgid/
> [2] http://40googlegroups.com/
> [3] https://ctan.ijs.si/tex-archive/macros/latex/contrib/quantumarticle/quantumview.cls
> [4] https://groups.google.com/d/msgid/pandoc-discuss/1147a73d-7445-4f72-ad5c-794775aa8566n%40googlegroups.com?utm_medium=email&utm_source=footer
> [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [6] https://groups.google.com/d/msgid/pandoc-discuss/75f732fd-6391-4682-b056-9f0f29307e69n%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/Y5RJm8koAb5hQjs2%40localhost.


      parent reply	other threads:[~2022-12-10  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09 16:34 Mladen Babic
     [not found] ` <1147a73d-7445-4f72-ad5c-794775aa8566n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-09 16:51   ` Bastien DUMONT
2022-12-10  1:43     ` Mladen Babic
     [not found]       ` <75f732fd-6391-4682-b056-9f0f29307e69n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-10  8:55         ` Bastien DUMONT [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y5RJm8koAb5hQjs2@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).