serlo / serlo-export

Export Serlo.org and Mathe für Nicht-Freaks articles into various output formats
https://de.serlo.org/
Apache License 2.0
5 stars 1 forks source link

Improve hyphenation on part pages. #103

Open elbotho opened 6 years ago

elbotho commented 6 years ago

Some part pages (just 1 or 2) have hyphenation that could be improved.

We discussed adding stricter rules for the part page headings. Possible fallbacks:


image

Lodifice commented 6 years ago

Did you find out anything that helps us solve this issue?

We can set the \hyphenpenalty to restrict or disable hyphenation. In our cases, however, the words in question are Häufungspunkte and Konvergenzkriterien, which are too long to fit into a line. So all we can do is to set the break in the word manually. This can be done using \hyphenation, but it must be done for every word individually.

Lodifice commented 6 years ago

(we wait until analysis1_final builds again to see if @kulla's renaming of headers already fixed the issue)

kulla commented 6 years ago

Done at https://github.com/kulla/mfnf-analysis1-lmu-print2018

elbotho commented 6 years ago

Done for LMU-Print, but still a problem with generated PDFs. As with #102 I think they should stay open here.