List of language-specific hyphenation commands

Hi everybody! I've read about some commands which allow hyphenation according to an specific language in ConTeXt, e.g. \french{word} for French hyphenation in a text the main language of which is Spanish, English, etc. Unlike \language[code], I couldn't find any extensive list of those commands, so where should I find them? Thank you in advance!

Jairo A. del Rio schrieb am 22.05.2020 um 23:42:
Hi everybody! I've read about some commands which allow hyphenation according to an specific language in ConTeXt, e.g. \french{word} for French hyphenation in a text the main language of which is Spanish, English, etc. Unlike \language[code], I couldn't find any extensive list of those commands, so where should I find them? Thank you in advance!
It's a switch and you have to put the left brace before the command, e.g. {\french ...} There is no list but you can print the stored entries. \starttext \startluacode function userdata.languagesyonym(language) context.doShowLanguage(language) for synonym, _ in next, languages.registered[language].synonyms do context.doShowLanguage(synonym) end end function userdata.checklanguage(language,meaning) if string.find(meaning,"\\lang_basics_set_current") then context.tex(language) end end \stopluacode \def\doShowLanguage#1% {\doifnotinstring{-}{#1} {\ctxlua{userdata.checklanguage("#1","\luaescapestring{\expandafter\meaning\csname#1\endcsname}")}}% \par} \def\ShowLanguage#1% {\testpage[3] \blank[medium] \ctxlua{userdata.languagesyonym("#1")}} \processcommacommand[\installedlanguages]\ShowLanguage \stoptext Wolfgang
participants (2)
-
Jairo A. del Rio
-
Wolfgang Schuster