Max Nikulin writes: > Cyrillic letters may appear not only in Russian just as French and > Spanish use Latin script. So language detection based on symbol code > points works only for distinct enough languages. Explicit markup may > still be necessary to switch hyphenation rules, dash styles, etc.
True. Thanks for pointing it out. Indeed, \babelprovide with the ochar=id fonts option only makes sense when 1 foreign language = 1 script. For example, different variants of Greek cannot be combined without an explicit switch. And something like this wouldn't work either: \babelprovide[import,onchar=id fonts]{russian} \babelprovide[import,onchar=id fonts]{bulgarian} \babelfont[russian]{rm}[Color=blue]{Old Standard} \babelfont[bulgarian]{rm}[Color=green]{FreeSerif} because bulgarian overwrites russian. Well, another added complication :-(. -- Juan Manuel Macías https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com