# Installation instructions for the Lido STF font family in TeX

This page describes how to install this package on the UNIX-like platforms. Similar procedure is used on other systems considering the tools used in such other system.

Package slido.tgz is most easily installed into TeX distribution following TDS (TeX Directory standard). Example of such distribution is teTeX, or TeX from TeXlive CD, or even MikTeX for MS Windows. I suppose, that the installed TeX version contains csplain as part of CSTeX, which will be used in the last step for testing functionality of fonts.

I use the symbol `bash#` for the prompt of UNIX shell running with rights sufficient for installation into texmf tree. In the below shown examples I assume, that this texmf tree is in /usr/share. However, in the particular system and TeX distribution it may in /usr/local/share or even in some other place; it may be checked by the command:

    bash# kpsewhich texmf.cnf
    /usr/share/texmf/web2c/texmf.cnf

Change directory to the one over `texmf` tree and unpackage compressed file slido.tgz (which is in this case downloaded in `/tmp`).

    bash# cd /usr/share
    bash# zcat /tmp/slido.tgz | tar xvf -

All required files are unpackaged to the `texmf/` subdirectory. Now, configuration files must be modified. Our example works directly with files in `texmf` directory, but if in you have in your TeX system also directory `texmf-var/` (or similar) with copies of configuration files, it is better to make changes there.

    bash# vi texmf/dvips/config/config.ps

The following line should be inserted in `config.ps` file after `"p psfonts.map"` line:

    p +slido.map

Now, the configuration of PDFTeX will be done:

    bash# vi texmf/pdftex/config/pdftex.cfg

and the following line should be inserted in `pdftex.cfg`:

    map +slido.map

If there is line setting `MT_FEATURES` in the file `texmf/web2c/mktex.cnf`, which contains word `fontmaps`, it is necessary to delete such word, so that when `gftopk` generates bitmaps, warning about incomplete database `fontmaps` will not be shown on terminal. This line of the `mktex.cnf` file may be like this:

    : ${MT_FEATURES=appendonlydir:varfonts}

The line `\input slido` should be included in `skatalog.tex` and the line `\RequirePackage {slido}` should be included in `skatalog.sty` file. If these files doesn't exist, they will contain just these lines. This could be done in UNIX shell in the following manner:

    bash# echo '\input slido' >> texmf/tex/csplain/storm/skatalog.tex
    bash# echo '\RequirePackage {slido}' >> texmf/tex/cslatex/storm/skatalog.sty

Now, the name database for TeX can be reinitialized:

    bash# texhash

That's it. The fonts can be tested now.

    bash# cd
    bash# cp /usr/share/texmf/doc/storm/stestik.tex .
    bash# vi stestik.tex

The last seven lines in the file, which are concerned with the Lido font family, should be uncommented. The file `stestik.tex` will be included to the main file `stest.tex` (or `stestl.tex`), which doesn't have to be copied, because it is located in the proper place of TeX distribution. Now test itself can be made:

    bash# csplain stest
    bash# xdvi stest
    bash# dvips -j0 stest
    bash# gs stest.ps
    bash# lpr stest.ps
    bash# pdfcsplain stest
    bash# acroread stest.pdf
    bash# cslatex stestl
    bash# xdvi stestl

In order to print special sample of characters in Lido fonts the following command can be used:

    bash# cp /usr/share/texmf/doc/storm/slidochr.tex .
    bash# csplain slidochr
    bash# xdvi slidochr
    bash# dvips -j0 -Pprintername slidochr

Additional information (technical difficulties, font characteristics, OFS macro package, etc.) are described in stormtex.html (unfortunately, still available only in Czech).

Special thanks to Matěj Cepl who translate this WWW page to English language from the Czech original.

The author of the TeX support: Petr Olšák