From: William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: wkhtmltopdf options
Date: Wed, 21 Sep 2022 16:17:26 +0100 [thread overview]
Message-ID: <CAEe_xxjr6GO3hwffXP=_0=idFOETtW4O0CicKiQXB0t-ZzNMrA@mail.gmail.com> (raw)
In-Reply-To: <90439113-3c05-40bf-8748-6363d4178f76n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]
I think you have to use a separate --pdf-engine-opt for each word, e.g.,
this works for me on my Mac:
pandoc -o simple.pdf --pdf-engine wkhtmltopdf simple.md
--pdf-engine-opt=--footer-center --pdf-engine-opt=[page]
PS, You might hope that this would work, but I guess wkhtmltopdf doesn't
support equals signs between the option name and its value.
pandoc -o simple.pdf --pdf-engine wkhtmltopdf simple.md
--pdf-engine-opt=--footer-center=[page]
On Wed, 21 Sept 2022 at 15:55, jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jlrn77-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello!
>
> I'd like to print the page number on the PDF pages when processing with
> wkthmltopdf. I tried the command line
>
> pandoc -o filename.pdf --pdf-engine wkhtmltopdf -c pandoc.css
> filename.md --pdf-engine-opt=--footer-center [page]
>
> on Win10 cmd line, without success. How do I pass options to the
> wkhtmltopdf engine?
>
> Cheers!
>
>
> --
> 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/90439113-3c05-40bf-8748-6363d4178f76n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/90439113-3c05-40bf-8748-6363d4178f76n%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/CAEe_xxjr6GO3hwffXP%3D_0%3DidFOETtW4O0CicKiQXB0t-ZzNMrA%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 2923 bytes --]
next prev parent reply other threads:[~2022-09-21 15:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 14:55 jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <90439113-3c05-40bf-8748-6363d4178f76n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-21 15:17 ` William Lupton [this message]
[not found] ` <CAEe_xxjr6GO3hwffXP=_0=idFOETtW4O0CicKiQXB0t-ZzNMrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-09-21 20:25 ` Luis Rivera
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='CAEe_xxjr6GO3hwffXP=_0=idFOETtW4O0CicKiQXB0t-ZzNMrA@mail.gmail.com' \
--to=wlupton-qst+ys/numyeuisrzh9sikb+6bgklq7r@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).