Am using Polyglossia to generate Sanskrit documents. Simple document (article). but with small sections. The section numbers generated are in arabic font and not in Devanagari. How to solve this?
Asked
Active
Viewed 65 times
1
\documentclass[12pt]{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguages{sanskrit} \newfontfamily\devanagarifont[Script=Devanagari]{Lohit Devanagari} \begin{document} \begin{sanskrit} \section{विभक्तिः} उदाहरणानि \section{समासः} उदाहरणानि \end{sanskrit} \end{document}
The examples compiles well. The section number is, however, arabic and not in Devanagari
– Srinath Apr 26 '21 at 20:06