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 have to use tikz graphics with my PDF file, written in MiKTeX 2.8 LaTeX.

When I write \usepackage{tikz} with \usepackage{devanagari}, LaTeX produces an error

      catcode '\"=12
share|improve this question

The loading order is important: load tikz before devanagari, not the other way round. This example works with pdfLaTeX:

Here is devanagari:
{\dn calo devanagarI me likhate hai}

If you change the order of tikz and devanagari in this example, you would get the mentioned error


Btw. XeLaTeX is useful for writing Devanagari, perhaps have look at

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.