source: pst/typesetting/tetex.xml@ 520f6b4f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 520f6b4f was 520f6b4f, checked in by Randy McMurchy <randy@…>, 18 years ago

Renamed the TeX package to its proper name - teTeX

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6042 af4574ff-66df-0310-9fd7-8a98e5e911e0

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