1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!-- <!ENTITY tetex-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-src-&tetex-version;.tar.gz" > -->
|
---|
8 | <!ENTITY tetex-download-http " " >
|
---|
9 | <!ENTITY tetex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-src-&tetex-version;.tar.gz">
|
---|
10 | <!ENTITY tetex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
|
---|
11 | <!ENTITY tetex-size "12.7 MB">
|
---|
12 | <!ENTITY tetex-buildsize "423 MB (549 MB with optional tarball, additional 231 MB for CM-Super fonts)">
|
---|
13 | <!ENTITY tetex-time "2.1 SBU">
|
---|
14 |
|
---|
15 | <!-- <!ENTITY texmf-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmf-&tetex-version;.tar.gz" > -->
|
---|
16 | <!ENTITY texmf-download-http " " >
|
---|
17 | <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmf-&tetex-version;.tar.gz">
|
---|
18 | <!ENTITY texmf-md5sum "ed9d30d9162d16ac8d5065cde6e0f6fa">
|
---|
19 | <!ENTITY texmf-size "87.1 MB">
|
---|
20 |
|
---|
21 | <!-- <!ENTITY texmfsrc-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmfsrc-&tetex-version;.tar.gz" > -->
|
---|
22 | <!ENTITY texmfsrc-download-http " " >
|
---|
23 | <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmfsrc-&tetex-version;.tar.gz">
|
---|
24 | <!ENTITY texmfsrc-md5sum "66c32a11964a49982ba2a32d3bbfe7f5">
|
---|
25 | <!ENTITY texmfsrc-size "57.7 MB">
|
---|
26 |
|
---|
27 | <!ENTITY cmsupersrc-download-http "&sources-anduin-http;/t/tetex-cm-super.tar.bz2" >
|
---|
28 | <!ENTITY cmsupersrc-download-ftp "&sources-anduin-ftp;/t/tetex-cm-super.tar.bz2">
|
---|
29 | <!ENTITY cmsupersrc-md5sum "d7c89fcb35f625b02853a0881a4ec760">
|
---|
30 | <!ENTITY cmsupersrc-size "63.8 MB">
|
---|
31 | ]>
|
---|
32 |
|
---|
33 | <sect1 id="tetex" xreflabel="teTeX-&tetex-version;">
|
---|
34 | <?dbhtml filename="tetex.html"?>
|
---|
35 |
|
---|
36 | <sect1info>
|
---|
37 | <othername>$LastChangedBy$</othername>
|
---|
38 | <date>$Date$</date>
|
---|
39 | </sect1info>
|
---|
40 |
|
---|
41 | <title>teTeX-&tetex-version;</title>
|
---|
42 |
|
---|
43 | <indexterm zone="tetex">
|
---|
44 | <primary sortas="a-teTeX">teTeX</primary>
|
---|
45 | </indexterm>
|
---|
46 |
|
---|
47 | <sect2 role="package">
|
---|
48 | <title>Introduction to teTeX</title>
|
---|
49 |
|
---|
50 | <para><application>teTeX</application> is an implementation of Donald
|
---|
51 | Knuth's TeX typesetting program. This package is able to create documents
|
---|
52 | in a variety of formats. The optional <filename>texmfsrc</filename> (TeX
|
---|
53 | METAFONT) tarball contains source code for programs to create and
|
---|
54 | manipulate TeX fonts.</para>
|
---|
55 |
|
---|
56 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
57 | <itemizedlist spacing="compact">
|
---|
58 | <listitem>
|
---|
59 | <para>Download (HTTP): <ulink url="&tetex-download-http;"/></para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>Download (FTP): <ulink url="&tetex-download-ftp;"/></para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Download MD5 sum: &tetex-md5sum;</para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>Download size: &tetex-size;</para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>Estimated disk space required: &tetex-buildsize;</para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>Estimated build time: &tetex-time;</para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
79 |
|
---|
80 | <itemizedlist spacing='compact'>
|
---|
81 | <title>Required Macros and Fonts</title>
|
---|
82 | <listitem>
|
---|
83 | <para>Download (HTTP): <ulink url="&texmf-download-http;"/></para>
|
---|
84 | </listitem>
|
---|
85 | <listitem>
|
---|
86 | <para>Download (FTP): <ulink url="&texmf-download-ftp;"/></para>
|
---|
87 | </listitem>
|
---|
88 | <listitem>
|
---|
89 | <para>Download MD5 sum: &texmf-md5sum;</para>
|
---|
90 | </listitem>
|
---|
91 | <listitem>
|
---|
92 | <para>Download size: &texmf-size;</para>
|
---|
93 | </listitem>
|
---|
94 | </itemizedlist>
|
---|
95 |
|
---|
96 | <itemizedlist spacing='compact'>
|
---|
97 | <title>Optional 'texmf' Sources:</title>
|
---|
98 | <listitem>
|
---|
99 | <para>Download (HTTP): <ulink url="&texmfsrc-download-http;"/></para>
|
---|
100 | </listitem>
|
---|
101 | <listitem>
|
---|
102 | <para>Download (FTP): <ulink url="&texmfsrc-download-ftp;"/></para>
|
---|
103 | </listitem>
|
---|
104 | <listitem>
|
---|
105 | <para>Download MD5 sum: &texmfsrc-md5sum;</para>
|
---|
106 | </listitem>
|
---|
107 | <listitem>
|
---|
108 | <para>Download size: &texmfsrc-size;</para>
|
---|
109 | </listitem>
|
---|
110 | </itemizedlist>
|
---|
111 |
|
---|
112 | <itemizedlist spacing='compact'>
|
---|
113 | <title>Optional 'cm-super' Sources:</title>
|
---|
114 | <listitem>
|
---|
115 | <para>Download (HTTP): <ulink url="&cmsupersrc-download-http;"/></para>
|
---|
116 | </listitem>
|
---|
117 | <listitem>
|
---|
118 | <para>Download (FTP): <ulink url="&cmsupersrc-download-ftp;"/></para>
|
---|
119 | </listitem>
|
---|
120 | <listitem>
|
---|
121 | <para>Download MD5 sum: &cmsupersrc-md5sum;</para>
|
---|
122 | </listitem>
|
---|
123 | <listitem>
|
---|
124 | <para>Download size: &cmsupersrc-size;</para>
|
---|
125 | </listitem>
|
---|
126 | </itemizedlist>
|
---|
127 |
|
---|
128 | <bridgehead renderas="sect3">teTeX Dependencies</bridgehead>
|
---|
129 |
|
---|
130 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
131 | <para role="required"><xref linkend="ed"/></para>
|
---|
132 |
|
---|
133 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
134 | <para role="optional"><xref linkend="libpng"/>,
|
---|
135 | <xref linkend="x-window-system"/>,
|
---|
136 | <xref linkend="tk-perl"/>,
|
---|
137 | <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>, and
|
---|
138 | <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
|
---|
139 |
|
---|
140 | <para condition="html" role="usernotes">User Notes:
|
---|
141 | <ulink url="&blfs-wiki;/tetex"/></para>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="installation">
|
---|
146 | <title>Installation of teTeX</title>
|
---|
147 |
|
---|
148 | <para>Before building <application>teTeX</application>, the macros and
|
---|
149 | fonts package (<filename>texmf</filename> tarball) must be installed.
|
---|
150 | Install the macros and fonts using the following commands as the
|
---|
151 | <systemitem class="username">root</systemitem> user:</para>
|
---|
152 |
|
---|
153 | <screen role="root"><userinput>install -v -d -m755 /usr/share/texmf &&
|
---|
154 | gzip -dc ../tetex-texmf-&tetex-version;.tar.gz \
|
---|
155 | | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
|
---|
156 |
|
---|
157 | <para>If the optional <filename>texmfsrc</filename> source code TAR ball
|
---|
158 | was downloaded, unpack it now as the <systemitem
|
---|
159 | class="username">root</systemitem> user:</para>
|
---|
160 |
|
---|
161 | <screen role="root"><userinput>gzip -dc ../tetex-texmfsrc-&tetex-version;.tar.gz \
|
---|
162 | | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
|
---|
163 |
|
---|
164 | <para>Install <application>teTeX</application> by running the following
|
---|
165 | commands:</para>
|
---|
166 |
|
---|
167 | <screen><userinput>./configure --prefix=/usr \
|
---|
168 | --exec-prefix=/usr \
|
---|
169 | --bindir=/usr/bin \
|
---|
170 | --without-texinfo \
|
---|
171 | --with-x=no \
|
---|
172 | --with-system-ncurses \
|
---|
173 | --with-system-zlib &&
|
---|
174 | make all</userinput></screen>
|
---|
175 |
|
---|
176 | <para>To test the results, issue: <command>make check</command>. The tests
|
---|
177 | should complete without errors (there may be some errors which are
|
---|
178 | ignored).</para>
|
---|
179 |
|
---|
180 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
181 |
|
---|
182 | <screen role="root"><userinput>make install &&
|
---|
183 | texconfig-sys dvips paper letter &&
|
---|
184 | texconfig-sys font rw</userinput></screen>
|
---|
185 |
|
---|
186 | <note>
|
---|
187 | <para>The paper size may be changed to a4, as is used in most
|
---|
188 | countries.</para>
|
---|
189 | </note>
|
---|
190 |
|
---|
191 | <para>To install the optional cm-super fonts, perform the following
|
---|
192 | instructions as the <systemitem class="username">root</systemitem>
|
---|
193 | user:</para>
|
---|
194 |
|
---|
195 | <screen><userinput>tar -xf ../tetex-cm-super.tar.bz2 &&
|
---|
196 | FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') &&
|
---|
197 | mkdir -v -p $FONTDIR/fonts/afm/public/cm-super \
|
---|
198 | $FONTDIR/fonts/type1/public/cm-super \
|
---|
199 | $FONTDIR/fonts/enc/dvips/cm-super \
|
---|
200 | $FONTDIR/fonts/map/dvips/cm-super &&
|
---|
201 |
|
---|
202 | cp -v cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ &&
|
---|
203 |
|
---|
204 | gunzip cm-super/afm/* &&
|
---|
205 | cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ &&
|
---|
206 |
|
---|
207 | cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ &&
|
---|
208 | cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ &&
|
---|
209 |
|
---|
210 | cat >> $FONTDIR/web2c/updmap.cfg << "EOF" &&
|
---|
211 | MixedMap cm-super-t1.map
|
---|
212 | MixedMap cm-super-t2a.map
|
---|
213 | MixedMap cm-super-t2b.map
|
---|
214 | MixedMap cm-super-t2c.map
|
---|
215 | MixedMap cm-super-ts1.map
|
---|
216 | MixedMap cm-super-x2.map
|
---|
217 | EOF
|
---|
218 |
|
---|
219 | install -v -m644 -D cm-super/type1ec.sty \
|
---|
220 | $FONTDIR/tex/latex/cm-super/type1ec.sty &&
|
---|
221 |
|
---|
222 | mktexlsr &&
|
---|
223 | updmap-sys &&
|
---|
224 |
|
---|
225 | unset FONTDIR</userinput></screen>
|
---|
226 |
|
---|
227 | </sect2>
|
---|
228 |
|
---|
229 | <sect2 role="commands">
|
---|
230 | <title>Command Explanations</title>
|
---|
231 |
|
---|
232 | <para><parameter>--with-x=no</parameter>: This switch will avoid any
|
---|
233 | <application>X</application> dependencies. <application>teTeX</application>
|
---|
234 | can be compiled with <application>X</application> support, notably for
|
---|
235 | <command>xdvi</command>. If this is desired, remove this parameter.</para>
|
---|
236 |
|
---|
237 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
238 | switches ensure that <application>teTeX</application> binaries are installed
|
---|
239 | in <filename class="directory">/usr/bin</filename>.</para>
|
---|
240 |
|
---|
241 | <para><parameter>--without-texinfo</parameter>: A default LFS installation
|
---|
242 | already has the <application>Texinfo</application> package installed. This
|
---|
243 | switch will avoid overwriting it with the included
|
---|
244 | <application>Texinfo</application> package.</para>
|
---|
245 |
|
---|
246 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
247 | using the already installed <filename
|
---|
248 | class="libraryfile">libncurses</filename> library.</para>
|
---|
249 |
|
---|
250 | <para><parameter>--with-system-zlib</parameter>: A default LFS installation
|
---|
251 | already has the <application>Zlib</application> library installed. This
|
---|
252 | switch will avoid replacing it with the included
|
---|
253 | <application>Zlib</application> library.</para>
|
---|
254 |
|
---|
255 | <para><option>--disable-a4</option>: Use this option to set the default
|
---|
256 | paper size to letter and the default unit to inch.</para>
|
---|
257 |
|
---|
258 | <para><command>texconfig-sys dvips paper letter</command>: This command
|
---|
259 | sets the default paper size for <application>teTeX</application>.</para>
|
---|
260 |
|
---|
261 | <para><command>texconfig-sys font rw</command>: This command specifies
|
---|
262 | creating and using a directory for globally writeable fonts.</para>
|
---|
263 |
|
---|
264 | <para><command>mktexlsr</command>: This command recreates the
|
---|
265 | <application>teTeX</application> <filename>ls-R</filename> databases after
|
---|
266 | installing the CM-Super fonts.</para>
|
---|
267 |
|
---|
268 | <para><command>updmap-sys</command>: This command updates the system-wide
|
---|
269 | font configuration to include the CM-Super fonts.</para>
|
---|
270 |
|
---|
271 | <tip>
|
---|
272 | <para>Run <command>./configure --help</command> for information about
|
---|
273 | using other switches which will enable the build to use other installed
|
---|
274 | packages you may have on your system.</para>
|
---|
275 | </tip>
|
---|
276 |
|
---|
277 | </sect2>
|
---|
278 |
|
---|
279 | <sect2 role="content">
|
---|
280 | <title>Contents</title>
|
---|
281 |
|
---|
282 | <segmentedlist>
|
---|
283 | <segtitle>Installed Programs</segtitle>
|
---|
284 | <segtitle>Installed Library</segtitle>
|
---|
285 | <segtitle>Installed Directories</segtitle>
|
---|
286 |
|
---|
287 | <seglistitem>
|
---|
288 | <seg>100 separate binaries and scripts along with 30 symlinks to these
|
---|
289 | programs.</seg>
|
---|
290 | <seg>libkpathsea.a</seg>
|
---|
291 | <seg>/usr/include/kpathsea, /var/tmp/texfonts and the following
|
---|
292 | subdirectories of /usr/share/: texi2html, texinfo/html, texmf,
|
---|
293 | texmf-config and texmf-var</seg>
|
---|
294 | </seglistitem>
|
---|
295 | </segmentedlist>
|
---|
296 |
|
---|
297 | <variablelist>
|
---|
298 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
299 | <?dbfo list-presentation="list"?>
|
---|
300 | <?dbhtml list-presentation="table"?>
|
---|
301 |
|
---|
302 | <varlistentry id="tetex-programs">
|
---|
303 | <term><command>teTeX programs</command></term>
|
---|
304 | <listitem>
|
---|
305 | <para>included in the <application>teTeX</application> package are too
|
---|
306 | numerous to individually list. Please refer to the individual program
|
---|
307 | man pages and <ulink url="file:///usr/share/texmf/doc/index.html"/>
|
---|
308 | for details, as well as a tour of the expansive
|
---|
309 | <application>teTeX</application> documentation.</para>
|
---|
310 | <indexterm zone="tetex tetex-programs">
|
---|
311 | <primary sortas="b-teTeX-programs">teTeX programs</primary>
|
---|
312 | </indexterm>
|
---|
313 | </listitem>
|
---|
314 | </varlistentry>
|
---|
315 |
|
---|
316 | <varlistentry id="libkpathsea">
|
---|
317 | <term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
---|
318 | <listitem>
|
---|
319 | <para>contains functions used by <application>teTeX</application>
|
---|
320 | for searching and cataloging path names.</para>
|
---|
321 | <indexterm zone="tetex libkpathsea">
|
---|
322 | <primary sortas="c-libkpathsea">libkpathsea.a</primary>
|
---|
323 | </indexterm>
|
---|
324 | </listitem>
|
---|
325 | </varlistentry>
|
---|
326 |
|
---|
327 | </variablelist>
|
---|
328 |
|
---|
329 | </sect2>
|
---|
330 |
|
---|
331 | </sect1>
|
---|