summaryrefslogtreecommitdiff
path: root/fonts/ps-type1/tt2001/debian/README.debian
blob: 6b3a709f89b8ee17bc73c148df9d7f85c79567d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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 <pts@winter>, Sat, 29 Mar 2003 22:32:12 +0100
Sun Mar 30 15:11:21 CEST 2003