* language identifier for all languages
@ 2022-12-30 13:17 Pablo Rodriguez via ntg-context
0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-30 13:17 UTC (permalink / raw)
To: ConTeXt users; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-30 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-30 13:17 language identifier for all languages Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).