ttf2tex-mkpkg

Langue: en

Version: March 23, 2007 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

ttf2tex-mkpkg - create Debian package for using TT fonts in LaTeX

SYNOPSIS

ttf2tex-mkpkg [ttf2tex.yaml]

DESCRIPTION

ttf2pk-mkpkg

is a helper tool for creating Debian packages to use a family of TrueType (TT) fonts in LaTeX. The package generated by ttf2pk-mkpkg will use the ttf2pk command at build time to generate all the files needed for using the TT fonts in latex of pdflatex.

ttf2pk-mkpkg reads a configuration file in YAML format containing all the informations needed to generate the Debian package (default name ttf2tex.yaml). Here is an example of such a file:

 foundry: fifthhorseman
 font: dkghwr
 family: dkg
 generalfamily: rm
 r: /usr/share/fonts/truetype/fifthhorseman/dkg.ttf
 b: /usr/share/fonts/truetype/fifthhorseman/dkgBd.ttf
 ri: /usr/share/fonts/truetype/fifthhorseman/dkgIt.ttf
 bi: /usr/share/fonts/truetype/fifthhorseman/dkgBI.ttf
     
 

The fields foundry, font, and family are mandatory. The fields with one or two letters specify the TTF files for each character style. See the ttf2tex documentation (/usr/share/doc/ttf2tex/ttf2tex.pdf) for the meaning of the fields.

Three fields are optional: package (default: latex-font-font), version (default: 0.1) and generalfamily (default: rm).

Generalfamily can have the values rm (roman font, with serifs), sf (sans serif) or tt (typewriter).

The Debian package will be called latex-font-font. There is currently no way to specify another name, besides editing the resulting debian/changelog and debian/control files.

An example file test.tex is installed in /usr/share/doc/package/examples. It works with the pdflatex.

SEE ALSO

ttf2tex (1), latex (1), pdflatex (1)

AUTHOR

Rafael Laboissiere

Author.
Copyright © 2007 Rafael Laboissiere