Closed frederik-elwert closed 4 years ago
Beautiful! My only request is to brake lines in the README to limit line length to 80 chars or less. If you are using a supported editor, you could try editorconfig. It should automatically apply the repo's preferred style.
I forgot: could you also add a small header to the Lua file? A short description, copyright notice, and license would be great.
We should probably add a note about this to the main README.
Implemented the requested changes. Thanks a lot for the valuable feedback!
Awesome, thank you!
Adds a filter that replaces intra-word hyphens with the raw LaTeX expression
"=
for improved hyphenation.Rationale
The regular hyphen
-
prevents LaTeX from breaking a word at any other position than the explicit hyphen. With long, hyphenated words as they occur in languages like German, this can lead to undesirable visual results. The expression"=
outputs a normal hyphen while still allowing LaTeX to break the word at any other position according to its regular hyphenation rules.