I am writing a small part of my code.

\documentclass {article}



{\dn gunottar ani praman}


This does not yield me the required output.

What is the solution to this problem?

edit: Texlive 2012 pdflatex produces

enter image description here

  • I ran your example in TeXLive 2012 pdflatex and got the image I'll add to your question (as I can't add it here so easily) is that the correct output? – David Carlisle Nov 16 '12 at 12:56
  • i did the same as david did, and authentic-looking devanagari (i don't know the script). are any errors reported when you process your document, such as failure to find the package or the requisite font? – wasteofspace Nov 16 '12 at 12:59

Save the test file as


and run on it the devnag program:

devnag test.dn

This will produce a test.tex file

\def\DevnagVersion{2.15}\documentclass {article}



{\dn \7{g}no\381w\qq{r} aEn \3FEwm\qq{n}}


that you can run pdflatex on getting what I assume is correct output (but I don't read Devanagari)

enter image description here

The devnag test step must be made every time you modify the test.dn file, before doing

pdflatex test
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.