widows and orphans (poor typography) in asciidoctor-pdf

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

widows and orphans (poor typography) in asciidoctor-pdf

Ralf Jahns
Hello,

in the document I created, there are lots of widows and orphans, see https://en.wikipedia.org/wiki/Widows_and_orphans. (Believe me, the german name is even funnier.)

I also have headings as the last line of a page.

I could insert page breaks manually with <<<< but if I modify the text afterwards and things move, the page breaks will not fit any more :-(

Sorry, but in my humble opinion, taking care of this is a must for every typesetting system.

One more thing I don't like is, that the distance above and below headings is equal. A heading should be closer to the following text, because it belongs to this. I checked a few books and in each and every book it is so.

I was able to modify the default-theme.yml (after I found it, which wasn't easy) but unfortunately it doesn't look good if two headings follow directly:

== heading1
=== heading2

Best regards
Ralf
Reply | Threaded
Open this post in threaded view
|

Re: widows and orphans (poor typography) in asciidoctor-pdf

mojavelinux
Administrator
Don't worry, I know what you're talking about ;)

It's very unlikely windows and orphans will ever be implemented in Asciidoctor PDF (except in special cases) due to limitations in the underlying PDF generator. All is not lost, however. That's one of the reasons we're starting to explore a new solution to PDF generation that uses browser technologies, which support windows and orphans natively. I'll have more information about that in the weeks to come.

In the meantime, manual page breaks in the final draft are a necessary workaround.

Best,

-Dan

On Fri, Jan 24, 2020 at 12:08 PM Ralf Jahns [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hello,

in the document I created, there are lots of widows and orphans, see https://en.wikipedia.org/wiki/Widows_and_orphans. (Believe me, the german name is even funnier.)

I also have headings as the last line of a page.

I could insert page breaks manually with <<<< but if I modify the text afterwards and things move, the page breaks will not fit any more :-(

Sorry, but in my humble opinion, taking care of this is a must for every typesetting system.

One more thing I don't like is, that the distance above and below headings is equal. A heading should be closer to the following text, because it belongs to this. I checked a few books and in each and every book it is so.

I was able to modify the default-theme.yml (after I found it, which wasn't easy) but unfortunately it doesn't look good if two headings follow directly:

== heading1
=== heading2

Best regards
Ralf


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/widows-and-orphans-poor-typography-in-asciidoctor-pdf-tp7531.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: widows and orphans (poor typography) in asciidoctor-pdf

Ralf Jahns
Thank you very much for your quick and kindly answer. Good to read, that you agree, that the typography should be improved. What you wrote about the new pdf generator sounds promising.

Best Regards
Ralf Jahns