TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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