[NTG-context] language identifier for all languages
Pablo Rodriguez
oinos at gmx.es
Fri Dec 30 14:17:21 CET 2022
Hi Hans,
as already mentioned in a previous thread
(https://mailman.ntg.nl/pipermail/ntg-context/2022/106713.html), I think
it might be useful to have an identifier for any language, such as in:
\setuphyphenation[method=traditional]
\registerhyphenationexception[*][macOS]
\registerhyphenationexception[any][macOS]
\registerhyphenationexception[it][macOS]
\startbuffer
\currentlanguage: \hyphenatedword{macOS}
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\language[it]\getbuffer
\stopTEXpage
\stoptext
I think this is better than having other commands to add hyphenation
exceptions for all languages.
I wonder whether Steffen would be fine with this addition.
Many thanks for your help,
Pablo
More information about the ntg-context
mailing list