The Debian Package pts-tetex-cm-super
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
How to use the cm-super fonts on a Debian system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the Type1 cm-super fonts embedded into your TeX documents, install
the pts-tetex-cm-super package, and use any of:

1. Run tex/latex as usual. Run dvips as

	dvips -Pcm-super

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 cm-super 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-cm-super_*_*.deb
7. As root, call: dpkg -i ../pts-tetex-cm-super_*_*.deb

Why is the Debian .deb file half as long as the original .tar.gz?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Because the .deb contains cm-super.t1c in place of the original *.pfb files.
cm-super.t1c is more compressible than the *.pfb files. See debian/postinst
about restoring the *.pfb files from cm-super.t1c during package
installation.

Szabó Péter <pts@winter>, Sat, 29 Mar 2003 22:32:12 +0100
Sun Mar 30 15:11:21 CEST 2003
