I have been searching various forums to know how to install the skt package (Wickner). I tried using tlmg. No success. Am running Ubuntu 18.04.I personally find it better than typing in the devanagari script. Wickner's package is the most perfect, imho, from the way the text appears.

  • In order to use tlmgr you should install "vanilla" TeXLive: tex.stackexchange.com/questions/1092/… – DG' May 28 at 20:39
  • Alternatively install the ubuntu package latex-sanskrit, it should contain the latex package skt – DG' May 28 at 20:41
  • thank you Is this "latex-sanskrit" package the same as "sanskrit" package?. I am not an expert. I read the description about installing vanilla. It is quite daunting. I hope I will not break my system. (latex installation) – Srinath May 28 at 22:06
  • Could someone please help? I don't want to create double posts. I tried installing latex-sanskrit. it failed.I installed devanagari package. processing failed (devanagari.sty not found). My requirement is to create sanskrit documents (suktas) with the svaraas (udata, anudata and svarita). Someone said, I should install skt.c from CTAN. but did not say how. my question is : how to install skt package or sanskrit package and from where and how. My requirement is to generate sanskrit text with svaras. – Srinath Jun 6 at 9:52
  • You don't actually give enough information to help you. How did you try to install the packages? How did it fail? What were the error messages? – DG' Jun 6 at 10:52

The skt package originally by Charles Wikner has two parts:

  • The style file skt.sty and mf sources etc.

  • A preprocessor named skt which is a separate binary.

The former is available in TeX Live; if you're using TeX Live from the Debian/Ubuntu system then it is in the OS package called texlive-lang-other (so can be installed with sudo apt install texlive-lang-other).

The latter, the skt binary, used to be distributed with TeX distributions (I think), but is no longer distributed with TeX Live. (Not sure why.) So you have to compile it yourself:

  1. Get skt.c from CTAN: it is available at http://mirrors.ctan.org/language/sanskrit/skt.c and you can just save the file. If it has been saved as skt.c.txt (say), then you need to rename it back to skt.c.

  2. In a terminal (command line), run gcc skt.c -o skt (or you can use any other C compiler you might have available).

That's it; now you can use the package as documented.

For example, write the following into a test.skt file:

Let us say {\skt te_ja_svi naa_vadhii!tamastu|} now.

Now run the binary you had compiled above:

./skt test.skt

This will create a test.tex file that looks like this:

Let us say {\skt .te\ZK{`8}a:j\ZK{`8}a;\ZH{0}{i0////Y7}a;s1va
na;\ZK{`8}a;va;Di6a;\ZK{`7}a;ta;ma;s1tua\ZS{12}@A} now.

This you can compile the usual way:


If you have never used a terminal or C compiler before you may have to look up how to do that. Good luck!

| 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.