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
___________________________________________________________________________________

Reply via email to