siefkenj / unified-latex

Utilities for parsing and manipulating LaTeX ASTs with the Unified.js framework
MIT License
91 stars 24 forks source link

Fix signature of `\hyphenation` #108

Closed rrrnld closed 3 months ago

rrrnld commented 3 months ago

The \hyphenation macro has a signature of m m m. This caused parsing errors in our cases. I'm not sure if there are other signatures to the one I'm suggesting here, but all usages I found use one required argument with a list of one or more whitespace-separated words. This is in line with the unofficial latex2e reference manual.

siefkenj commented 3 months ago

Looks like a mistake on my part. Thanks!