* Adding page numbers to HTML5 rendered PDF
@ 2017-01-05 12:59 Ben White
[not found] ` <20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Ben White @ 2017-01-05 12:59 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]
Hi All
I am using pandoc with -t html5 to make a PDF that has CSS formatting. This
uses wkhtmltopdf under the hood, which I used in a previous project.
wkhtmltopdf has some useful options such as --footer-right [page] to add
page numbers in the footer, however these options don't seem to be exposed
in the pandoc options.
Is there a way to either:
- Pass options down to the rendering engine, or
- Insert page numbers in a PDF rendered by wkhtmltopdf?
Thanks
Ben
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20a10d08-3723-4b5e-94fe-230655c49168%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1794 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding page numbers to HTML5 rendered PDF
[not found] ` <20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-01-05 15:33 ` Ben White
2017-01-05 21:26 ` John MacFarlane
1 sibling, 0 replies; 3+ messages in thread
From: Ben White @ 2017-01-05 15:33 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 701 bytes --]
For the time being I have worked around this issue by using wkhtmltopdf separately,
after having pandoc render the MD to HTML5.
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/124940b0-8bc1-4486-a628-8a6cf27a6203%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1155 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding page numbers to HTML5 rendered PDF
[not found] ` <20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-05 15:33 ` Ben White
@ 2017-01-05 21:26 ` John MacFarlane
1 sibling, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2017-01-05 21:26 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Currently the writer is sensitive to papersize, title,
margin-bottom, margin-top, margin-right, and margin-left
metadata fields. We could add number-pages easily enough...
why don't you submit an issue on the tracker?
+++ Ben White [Jan 05 17 04:59 ]:
> Hi All
> I am using pandoc with -t html5 to make a PDF that has CSS formatting.
> This uses wkhtmltopdf under the hood, which I used in a previous
> project.
> wkhtmltopdf has some useful options such as --footer-right [page] to
> add page numbers in the footer, however these options don't seem to be
> exposed in the pandoc options.
> Is there a way to either:
> * Pass options down to the rendering engine, or
> * Insert page numbers in a PDF rendered by wkhtmltopdf?
>
> Thanks
> Ben
>
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/20a10d08-3723-4b5e-
> 94fe-230655c49168%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-05 21:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-05 12:59 Adding page numbers to HTML5 rendered PDF Ben White
[not found] ` <20a10d08-3723-4b5e-94fe-230655c49168-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-05 15:33 ` Ben White
2017-01-05 21:26 ` John MacFarlane
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).