source: archive/tetex.xml@ ccded7e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ccded7e was c4a5206, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Cleanup XII. Printing, Scanning and Typesetting

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

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