I've been writing bilingual documentation lately. When I switched the font class, I found that it was back to the default size. How should I just switch the font class without changing the font size or other attributes.
%%%%%% \starttext \section{A\textbar A} \section{A\textbar{\switchtobodyfont[pagella]A}}% fontsize changed to default fontsize {\tfa A}\textbar{\tfa \switchtobodyfont[pagella]A}\textbar{A}% not work {\tfa A}\textbar{\switchtobodyfont[pagella]\tfa A}\textbar{A} % work but not handy \stoptext %%%%%% more about this issue, I don't know if context contains a command to switch fonts with the language. %%%%%% not work \starttext \appendtoks \usebodyfontparameter\languageparameter \languageparameter{bodyfont} \to \everylanguage \setuplanguage[cn][bodyfont={pagella,12pt}] A \the\font \textbar \cn A \the\font \stoptext %%%%%% thank for your help, autumnus ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________