[XeTeX] polyglossia sanskrit and numerals

François Patte francois.patte at gmx.fr
Mon Dec 1 13:59:58 CET 2025


Bonjour,

I recently came across an issue with polyglossia and sanskrit: when you put
\setdefaultlanguage{sanskrit} a "\requirepackage{devanagaridigits} is 
called which turns numbers in devanagari scipt.

Is there a way to avoid (or correct) this ie. I want to be able to get 
numerals in latin script even if the text script is in devanagari.

Thank you.

PS1- What is the difference between \setdefaultlanguage{sanskrit} and 
\setmainlanguage{sanskrit}

PS2- Where can we see all the dependencies of a command ie. be aware 
that  \setdefaultlanguage{sanskrit} will require devanagaridigits for 
instance.... I discovered this problem thanks to an error message.

-- 
François Patte
tél : +33 (0)6 7892 5822
https://www.pingala.homelinux.org/~fp




More information about the XeTeX mailing list.