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.
1 Answers
The skt package originally by Charles Wikner has two parts:
The style file
skt.styandmfsources etc.A preprocessor named
sktwhich 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:
Get
skt.cfrom 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 asskt.c.txt(say), then you need to rename it back toskt.c.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:
\documentclass{article}
\usepackage{skt}
\begin{document}
Let us say {\skt te_ja_svi naa_vadhii!tamastu|} now.
\end{document}
Now run the binary you had compiled above:
./skt test.skt
This will create a test.tex file that looks like this:
\documentclass{article}
\usepackage{skt}
\begin{document}
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.
\end{document}
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!
- 45,428
- 10
- 117
- 149
-
I'm able to create the documents, but the resolution in the pdf is quite low, whereas the Latin alphabets are looking fine. How to increase the resolution of the Devanagari letters? – IsomorphicBunny Feb 16 '24 at 12:09
-
@IsomorphicBunny Could you post a new question, with details about the TeX distribution and operating system you're using, and the full output of the commands you used to compile the LaTeX file? On my system with
pdflatex test.texI see Type1 fonts being used in the output (which are vector fonts that scale smoothly to any resolution), but it seems like your system is using bitmap fonts. (You could use\pdfpkresolution=2400to get higher-resolution bitmap fonts but really you should be getting vector fonts.) Also post the output ofkpsewhich pdftex.mapandkpsewhich skt10.pfb. – ShreevatsaR Feb 16 '24 at 13:40 -
1Thanks for the help. I installed
sanskritpackage from MikTeX, but at the time didn't installsanskrit-t1which is the type1 version of thesktfonts. I'm now able to make high-resolution documents. – IsomorphicBunny Feb 21 '24 at 06:49

tlmgryou should install "vanilla" TeXLive: https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu – DG' May 28 '20 at 20:39latex-sanskrit, it should contain the latex packageskt– DG' May 28 '20 at 20:41sudo apt-get install -y latex-sanskrit Reading package lists... Done Building dependency tree
Reading state information... Done Package latex-sanskrit is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'latex-sanskrit' has no installation candidate
– Srinath Jun 06 '20 at 17:01sktbinary is no longer distributed with TeX Live, but you can getskt.cfrom CTAN and compile it yourself. – ShreevatsaR Jun 07 '20 at 01:04https://tex.stackexchange.com/questions/327312/how-to-make-the-skt-c-preprocessor-work/327327#327327
However, I don't understand the comment about downloading the skt file from winer's site. I would appreciate a set of instructions for downloading and compiling that I could understand. Apologies if this sounds not very clever.
– Srinath Jun 07 '20 at 15:25processed it with ./skt wik.skt
Result:
SKT.C Version 2.2.1 2016-08-31 No input text A tex file was created. But it was empty. Absolutely no text in it no logfile was created and the contents of the original file (wik.skt) was also deleted
what could be wrong?
– Srinath Jun 13 '20 at 08:37@ShreevatsaR— or you can just comment on my answer instead of commenting on your question). Anyway, it looks like “No input text” is printed if the input file is empty (as far as the program can tell). You could try just./sktand enter the file name later. Also please check whether the input file is in the same directory. – ShreevatsaR Jun 14 '20 at 08:14! LaTeX Error: File 'skt.sty not found'
– Srinath Jun 14 '20 at 11:19texlive-lang-other— sosudo apt-get install texlive-lang-othershould do it. – ShreevatsaR Jun 14 '20 at 18:31