\documentclass[12pt]{article}
\usepackage{devanagari}
\begin{document}
vasishta
\end{document}
Asked
Active
Viewed 46 times
0
ShreevatsaR
- 45,428
- 10
- 117
- 149
MrPajeet
- 673

devanagaripackage is an obsolete way of getting Devanagari text, and it doesn't work the way you seem to be using it. (1) For Indic scripts, use xelatex or lualatex to generate your PDF, unless you have special reasons to use pdftex specifically. (Search on this site for many examples…) (2) If you really need to use pdftex, then consider reading the documentation of the package you're using. :-) – ShreevatsaR Apr 07 '20 at 18:38xelatexorlualatexinstead of usingpdflatex. – ShreevatsaR Apr 07 '20 at 18:55