[Tugindia] Re: TeX and Devanagari

Raj Singh tugindia@tug.org
Mon, 21 Oct 2002 10:38:39 +0530 (IST)


> Would like to do some texing of devanagari text. But don't know anything
> about getting/installing fonts or working with it.

Doing it on Unix/Linux or Windows environment ?

For Linux/Unix, you can do the stuff by hand. Get the 'devanagari' package
from any CTAN site. Uncompress it and put the various files in the
'appropriate' places by creating new directories in your $TEXMF path.

Basically do the following :

1. Put the defs.mf, dnchars.mf and dvng*.mf files in
$TEXMF/fonts/source/public/devanagari.

2. Put the dvng*.tfm files in $TEXMF/fonts/tfm/public/devanagari.

3. Put dev.sty, dnmacs.tex, udn.fd, manual.tex, misspaal.tex, examples.tex
in $TEXMF/tex/latex/devanagari.

4. Give the 'texhash' command.

5. Compile devnag.c and put the resultant 'devnag' binary in
/usr/local/bin.

6. Give the 'rehash' command.

7. I hope that you have 'xdvi' and 'gv' compiled to use the 'on need'
generated 'pk' fonts which usually are put in /var/lib/texmf/pk/... path.

8. Make your <file>.dn. 'devnag' it. 'latex' the resultant <file>.tex.  
View and print it.

-- Raj

+-----------------------------------------------------------+
| Raj Singh               | EMAIL : raj@ceeri.ernet.in      |
| IC Design Group         |---------------------------------|
| CEERI, Pilani - 333 031 | PHONE : 91-159-7642359 (office) |
| Rajasthan (INDIA)       | FAX   : 91-159-7642294 (office) |
+-----------------------------------------------------------+