On 05/09/2023 05:22, Juan Manuel Macías wrote:
\usepackage[english,french,spanish,provide*=*]{babel}

but in that line we cannot put Russian with onchar, etc.

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.

I have a couple of bookmarks for language detection libraries (not for Emacs), but I am unsure if they may work for texts containing fragments written in different languages.


Reply via email to