Juan Manuel Macías <maciasch...@posteo.net> writes: >> I am not sure if I like "russian*" idea. May you explain a bit more >> about how onchar works? What if language characters are intersecting, >> and not using exactly the same char sets? > > Basically, it's like I said above. According to the Babel Manual: > > #+begin_quote > onchar= ids | fonts | letters > > This option is much like an ‘event’ called when a character belonging to > the script of this locale is found (as its name implies, it acts on > characters, not on spaces). There are currently two ‘actions’, which can > be used at the same time (separated by a space): with ids the \language > and the \localeid are set to the values of this locale; with fonts, the > fonts are changed to those of this locale (as set with \babelfont). > Characters can be added or modified with \babelcharproperty. > > [...] Option letters restricts the ‘actions’ to letters, in the TEX > sense (i. e., with catcode 11). Digits and punctuation are then > considered part of current locale (as set by a selector). This option is > useful when the main script is non-Latin and there is a secondary one > whose script is Latin. > #+end_quote
Thanks for the explanation! Then, language* it is. I have no better idea. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>