The Debian Package pts-tetex-tt2001 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ How to use the tt2001 fonts on a Debian system ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To get the Type1 tt2001 fonts embedded into your TeX documents, install the pts-tetex-tt2001 package, and use any of: 1. Run tex/latex as usual. Run dvips as dvips -Ptt2001 2. Run pdftex/pdflatex as usual. 3. Run tex/latex as usual. Run dvipdfm as usual. Example LaTeX file using these fonts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \documentclass{article} \usepackage{t1enc} %\usepackage{type1ec}% superfluous %\usepackage[latin1]{inputenc}% superfluous \begin{document} Hello, World!\par This example is written by \textit{Szab\'o P\'eter}.\par \texttt{\'Arv\'{\i}zt\H{u}r\H{o} t\"uk\"orf\'ur\'og\'ep} contains all Hungarian accented wovels. \end{document} Example plain TeX file using these fonts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \font\frm=ecrm1000 \frm \font\fit=ecti1000 \font\ftt=ectt1000 Hello, World!\par This example is written by {\fit Szabó Péter}.\par {\ftt Árvízt\char182 r\char174{} tükörfúrógép} contains all Hungarian accented wovels. \end How to build this debian package ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Optionally call: apt-get update 2. Call: apt-get install apt dpkg perl gcc debmake fakeroot 3. Download the tt2001 directory from CTAN (http://www.ctan.org/ search). 4. Go to the directory containing type1enc.sty and debian/README.debian (this doc file) 5. Call: fakeroot debian/rules binary 6. Find the .deb file just created: ls -l ../pts-tetex-tt2001_*_*.deb 7. As root, call: dpkg -i ../pts-tetex-tt2001_*_*.deb Why is the Debian .deb file half as long as the original .tar.gz? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Because the .deb contains tt2001.t1c in place of the original *.pfb files. tt2001.t1c is more compressible than the *.pfb files. See debian/postinst about restoring the *.pfb files from tt2001.t1c during package installation. Szabó Péter , Sat, 29 Mar 2003 22:32:12 +0100 Sun Mar 30 15:11:21 CEST 2003