XeTeX ⇒ polyglossia sanskrit and numerals
polyglossia sanskrit and numerals
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.
F.P.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis