TransWikia.com

Hindi language in Latex

TeX - LaTeX Asked by AMIT KUMAR on February 10, 2021

My code is:

documentclass{report}
usepackage{fontenc}
%usepackage{fontspec}
usepackage{polyglossia}

setdefaultlanguage{hindi}
setotherlanguage{english}

%usepackage{fontspec}
%usepackage[utf8]{inputenc}
setmainfont{Times New Roman}
newfontfamilydevanagarifont[Scale=MatchUppercase]{Mangal}
newfontfamilydevtransl[Mapping=DevRom]{Times New Roman}
setmainfont{Mangal}

begin{document}
 बॉलीवुड 
end{document}

I am running this in LuaLaTeX typesetting, and getting below error:

gloss-latex.ldf
8
Undefined control sequence.
<argument> str_lowercase:n 
                 latin
l.8 }
gloss-hindi.ldf
17
Undefined control sequence.
<argument> str_lowercase:n 
                 latin
l.17 }
gloss-hindi.ldf
17
Undefined control sequence.
<argument> str_lowercase:n 
                 Devanagari
l.17 }
gloss-english.ldf
9
Undefined control sequence.
<argument> str_lowercase:n 
                 latin
l.9 }

Can someone help how to fix this?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP