3

At the moment I am writing a paper that requires some Devanagari letters. I am using the Velthuis Devanagari package. The problem is that some letters show up correctly after LaTeX-ing, but others do not. I think this has to do with the preprocessor, which the documentation says must be compiled in order to function. However, as someone who is not a programmer and relatively new to Linux. Can anyone tell me how to do this simply? I have been messing with this for about 6 hours now and I haven't gotten anywhere.

lockstep
  • 250,273
khelke
  • 73
  • Because this is about compiling a software under Linux, not about (La)TeX directly, it might be better placed on our sister site http://unix.stackexchange.com or http://superuser.com. I can migrate it there. You would need to rephrase it a little for this. – Martin Scharrer Nov 01 '11 at 20:51

1 Answers1

5

It is easy on Linux :)

  1. Download the file http://mirrors.ctan.org/language/devanagari/velthuis/bin/devnag.c

  2. Say from the command line gcc -o devnag devnag.c

  3. Optionally install the file into /usr/local/bin: sudo install devnag /usr/local/bin

Boris
  • 38,129
  • Right I've got that but my main problem is that when I run the gcc command I get: <install: cannot stat `devnag': No such file or directory> Do I have to save the file somewhere special? – khelke Nov 07 '11 at 16:27
  • Are you sure you get this when you run gcc? Maybe when you run install? – Boris Nov 07 '11 at 16:54
  • Well I think I downloaded it using sudo apt-get and I have an executable program in /usr/bin named devnag, but when I run the file.dn command in terminal it says "cannot open the file" – khelke Nov 12 '11 at 10:03