According to documentation it seems to me that ucharclasses work only
with XeLaTeX.
But with babel and lualatex you can switch the font depending
on the script, even with RTL ones, which, if things haven’t
changed, isn’t possible with ucharclasses. See the examples
in p. 44 of the babel manu
> According to documentation it seems to me that ucharclasses work only
> with XeLaTeX.
But with babel and lualatex you can switch the font depending
on the script, even with RTL ones, which, if things haven’t
changed, isn’t possible with ucharclasses. See the examples
in p. 44 of the babel manua
ne 10. 9. 2023 v 15:21 odesílatel Javier Bezos napsal:
>
>
> > According to documentation it seems to me that ucharclasses work only
> > with XeLaTeX.
>
> But with babel and lualatex you can switch the font depending
> on the script, even with RTL ones, which, if things haven’t
> changed, isn’t po
I can do the same with polyglossia both with xelatex and lualatex but
imagine that I am writing a document in Hindi and from time to time it
contains a single word in English, Russian, Urdu, Gujarati and it may
be loaded from another file. I just do not want to write \textenglish,
\textrussian,