wittgenstein-project / wittgenstein-project.github.io

Ludwig Wittgenstein's Works as .epub, .mobi, .pdf and .md
http://books.wittgensteinproject.org/
MIT License
7 stars 2 forks source link

Vortrag ueber Ethik pdf file: wrong hyphenation #6

Open michelelavazza opened 1 year ago

michelelavazza commented 1 year ago

At page 15, the word "Gleichnisse" is split between two lines, which I think it shouldn't be, and the hyphen is missing. "All diese Ausdrücke scheinen prima facie nur Glei chnisse [...]".

michelelavazza commented 1 year ago

The same problem exists on:

What all these problematic hyphenations seem to have in common is that they occur in italicised words.

michelelavazza commented 1 year ago

Actually, the issue is also there in footnote n. 1 (Dr. Fr ederic Kettelhoit), where the word is not italicised but it is a hyperlink

michelelavazza commented 1 year ago

A similar issue occurs in the English Lecture on Ethics. Here, however, many hyphenations are correct, including some that affect italicised words (see for example page 9): "'th e absolutely right road. I think it would be the road which everybody on seeing it would, with logical ne-cessity,".

The same issue was found in the Ueber Gewissheit pdf, for example at paragraph 34. This seems to be a general problem and can probably be solved by removing its cause in one place.

fkettelhoit commented 1 year ago

Very weird, as it seems to happen only in words with special formatting (italics, hyperlinks). I'm not sure if this is related to Pandoc or to weasyprint, the PDF engine that Pandoc is using, but either way it might be hard to track down the issue. The PDFs are not really ready for release in the current form, though, maybe we should just omit all the PDFs for now?