asciidoctor-pdf: how to get header / footer-lines

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

asciidoctor-pdf: how to get header / footer-lines

wimalopaan
Hi all,

how can I generate header and footer lines in the pdf output. And how to customize the output, e.g. showing the page number / total number of pages, the section, etc.

Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf: how to get header / footer-lines

mojavelinux
Administrator
We don't yet have comprehensive docs for Asciidoctor PDF because we're still implementing a lot of the functionality.

You can add page numbers by setting the pagenums attribute:

 $ asciidoctor-pdf -a pagenums README.adoc

The styling of the output will be controlled by the CSS-inspired theme system I've implemented (and still working on). To custom the content, you'll need to override the converter in Ruby (and eventually Tilt-based templates).

Asciidoctor PDF is still very much a work in progress. It works remarkably well for what it does, but there is still plenty of stuff it doesn't yet do. I encourage you to follow the issue tracker to see where we are with development: https://github.com/asciidoctor/asciidoctor-pdf/issues

-Dan


On Tue, Sep 9, 2014 at 1:37 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi all,

how can I generate header and footer lines in the pdf output. And how to customize the output, e.g. showing the page number / total number of pages, the section, etc.




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/asciidoctor-pdf-how-to-get-header-footer-lines-tp2156.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--