Asciidoctor to PDF Question

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

Asciidoctor to PDF Question

DrK
The pages in my PDF output are breaking before every heading.  How can I reconfigure the PDF output to not break the pages at every heading?
DrK
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor to PDF Question

DrK
Never mind.  I finally realized I was using the doctype of book rather than article.  Once I changed the doctype, it worked just fine.
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor to PDF Question

mojavelinux
Administrator

On Fri, Sep 26, 2014 at 11:58 AM, DrK [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Never mind.  I finally realized I was using the doctype of book rather than article.  Once I changed the doctype, it worked just fine.

Nice!

We still plan to make this configurable because obviously people will have different needs. For now, the article doctype is the way to accomplish it.

Here's the line in the converter that breaks the page, btw:


I made it a method call so that it's easy to override the behavior if you are extending the converter.

Cheers,

-Dan