* HTML TO PDF | Footer | Page 1 Of n
@ 2021-10-13 14:03 Pratyakash Saini
0 siblings, 0 replies; only message in thread
From: Pratyakash Saini @ 2021-10-13 14:03 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1241 bytes --]
Hi,
I am using pandoc to create the PDF from HTML by using command:-
-t html
-V footer-html=footer.html -V margin-left=0.6in -V margin-right=0.6in -V margin-top=0.7in --from=html --css styles.css -o example14.pdf
Footer HTML is:-
<div style="width: 50%;">
<hr style="border: 1px solid black;">
<div style="display: -webkit-box; display: flex; -webkit-box-pack: space-between; justify-content: space-between; -webkit-align-self: center; align-self: center; padding-top: 2px">
<div style="font-size:7px">
A Company
</div>
<div style="font-size:20px; padding-right: 20px;">
<p>Page <span class="thepage"></span> of <span class="pageref"></span></p>
</div>
</div>
</div>
I want Page 1 Of 2 in footer.
How to do that ? I am unable to find something on this
--
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/85096cca-e28a-4f80-8431-f67fc72914d8n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2409 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-13 14:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 14:03 HTML TO PDF | Footer | Page 1 Of n Pratyakash Saini
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).