Installing the LaTeX style and the fonts (++) (original) (raw)
The LaTeX files created by ChessTask rely on a special style file ` skak.sty' and its font files. The skak package was written by Torben Hoffmann and offers a lot of useful features for writing about chess, in fact ChessTask uses only some of them ... so check it out!
The required files have to be added manually to your TeX/LaTeX installation. You can find a copy of the skak distribution v1.3 in the directory ` rsc/skak/' of the ChessTask directory. However, it might be a good idea to scan theCTAN for a newer version of the skak package. There you can also find_skaknew_, a true Type1 Postscript font replacing and extending the font files of skak. It was beautifully arranged by Ulrich Dirr, a professional designer, and is definitely worth a try. But now back to the installation itself...
- The first step is to determine where your TeX/LaTeX installation stores its style files. A good approach is to search for the file `
article.cls'. In my _teTeX_the directory is `/usr/share/texmf/tex/latex/base/', so `/usr/share/texmf/tex/latex/' (one up) is where all style files are kept. In _MikTeX_ the directory `C:/texmf/tex/latex/' should be right if `C:/texmf' was your base directory during the installation. - Create a subdirectory `
skak' in this style files directory. - Copy all the files from `
rsc/skak/tex/' to this new directory. - In the next step, copy all files from `
rsc/skak/mf/' to the proper font directory. You can try to search for the file `cmr10.mf'. In my teTeX distribution `/usr/share/texmf/fonts/source/public/cm/' is the directory where this font is kept. Thus, I created the directory `skak' in `/usr/share/texmf/fonts/source/' (two up) and copied the fonts into it. In _MikTeX_, still assuming that `C:/texmf' is your base directory, you should create a new directory like `C:/texmf/fonts/source/public/skak'. Please, also refer to the MikTeX manual for the installation of additional fonts and packages. - The last thing you have to do is to update _LaTeX_s file database. Most LaTeX_distributions do not simply rely on the
"PATH"variable but keep track of which files (styles, fonts, ...) are stored where, by itself. After adding new files this database has to be reconfigured. For teTeX you have to call the script `texhash' which does the job.MikTeX 2.1 provides an entry in "Start"/"Programs"/"MikTeX"/"MikTeX Options" for this, called "Refresh Now". If you are working with another_TeX/LaTeX distribution, please refer to its manual and issue the correct command(s).
Now TeX/LaTeX is able to find the style ` skak.sty' and the fonts and should process the files created by ChessTask without any problems.


