Using TeX fonts with TeXmacs



TeXmacs has been designed in order to cooporate with the TeTeX distribution of TeX. This distribution (usually) comes with the programs MakeTeXTFM and MakeTeXPK to generate new fonts automatically using MetaFont. Furthermore, it (usually) provides the utility kpsepath, for finding the different directories where TeX fonts have been installed.

When starting TeXmacs for the first time, the program examines the way your TeX system has been installed. The result of this examination is written the file $TEXMACS_HOME_PATH/system/TEX_PATHS. By default, $TEXMACS_HOME_PATH contains ~/.TeXmacs. Whenever you change your TeX system, or if you add new fonts, it may be a good idea to remove this file in order to recreate it. In the directory $TEXMACS_HOME_PATH/fonts/error, you also find a trace of all fonts which TeXmacs failed to create. When adding new fonts, you should remove all files in this directory.

If the user did not install the TeTeX distribution or no TeX distribution at all, we provide by default a limited set of compiled fonts in $TEXMACS_PATH/data/tfm and $TEXMACS_PATH/data/pk. The user may also specify his own paths TEX_TFM_PATH and TEX_PK_PATH for .tfm and .pk files respectively. TeXmacs uses the following algorithm to find fonts:

We also precompiled a larger set of fonts at 600 dpi resolution, which can be added to the set of default fonts from TeXmacs. In order to do so, first download Extra default fonts. Next unpack them in the installation directory using

    gunzip -c TeXmacs-600pk-fonts.tar.gz | tar xvf -