[XeTeX] Uppercase in Armenian

Joseph Wright joseph.wright at morningstar2.co.uk
Sun May 1 21:14:43 CEST 2022


On 30/04/2022 23:52, David Carlisle wrote:
> Something like this, I think.
> 
> [image: image.png]
> 
> \documentclass{article}
> \usepackage{polyglossia}
> 
> \setdefaultlanguage{armenian}
> \setmainfont{DejaVu Sans}
> \ExplSyntaxOn
> \let\tuppercase\text_uppercase:n
> \ExplSyntaxOff
> \pagestyle{empty}
> \begin{document}
> Երևան $\rightarrow$ \uppercase{Երևան}
> 
> Երևան $\rightarrow$ \tuppercase{Երևան}
> 
> \end{document}
> 
> David

The next expl3 release will include hy-x-yiwn as a language settings, 
allowing

    \newcommand\tuppercsae{\text_uppercase:n{hy-x-yiwn}}

in David's example - this variant will use the alternative mapping.

Joseph


More information about the XeTeX mailing list.