source: pst/typesetting/tex.xml@ ffc5c20b

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 ffc5c20b was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

  • Property mode set to 100644
File size: 12.3 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 tex-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz" >
8 <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz">
9 <!ENTITY tex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
10 <!ENTITY tex-size "12.7 MB">
11 <!ENTITY tex-buildsize "423 MB (549 MB with optional tarball, additional 231 MB for CM-Super fonts)">
12 <!ENTITY tex-time "2.1 SBU">
13
14 <!ENTITY texmf-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz" >
15 <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-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/&tex-version;/distrib/tetex-texmfsrc-&tex-version;.tar.gz" >
20 <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmfsrc-&tex-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="tex" xreflabel="TeX-&tex-version;">
31 <?dbhtml filename="tex.html"?>
32
33 <sect1info>
34 <othername>$LastChangedBy$</othername>
35 <date>$Date$</date>
36 <keywordset>
37 <keyword role="package">tetex-src-&tex-version;.tar</keyword>
38 <keyword role="ftpdir">tetex</keyword>
39 </keywordset>
40 </sect1info>
41
42 <title>TeX-&tex-version;</title>
43
44 <indexterm zone="tex">
45 <primary sortas="a-TeX">TeX</primary>
46 </indexterm>
47
48 <sect2 role="package">
49 <title>Introduction to TeX</title>
50
51 <para><application>TeX</application> is a typesetting package, able to create
52 documents in a variety of formats. The optional <filename>texmfsrc</filename>
53 TAR ball contains source code for packages that are contained in the
54 <filename>texmf</filename> TAR ball, including the docstrip sources.</para>
55
56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>Download (HTTP): <ulink url="&tex-download-http;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download (FTP): <ulink url="&tex-download-ftp;"/></para>
63 </listitem>
64 <listitem>
65 <para>Download MD5 sum: &tex-md5sum;</para>
66 </listitem>
67 <listitem>
68 <para>Download size: &tex-size;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated disk space required: &tex-buildsize;</para>
72 </listitem>
73 <listitem>
74 <para>Estimated build time: &tex-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">TeX 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://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
138 t1lib</ulink>
139 and <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
140
141 <para condition="html" role="usernotes">User Notes:
142 <ulink url="&blfs-wiki;/tex"/></para>
143
144 </sect2>
145
146 <sect2 role="installation">
147 <title>Installation of TeX</title>
148
149 <para>Before building <application>TeX</application>, the macros and
150 fonts package (<filename>texmf</filename> tarball) must be installed.
151 Install the macros and fonts using the following commands as the
152 <systemitem class="username">root</systemitem> user:</para>
153
154<screen role="root"><userinput>install -v -d -m755 /usr/share/texmf &amp;&amp;
155gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
156 | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
157
158 <para>If the optional <filename>texmf</filename> source code TAR ball
159 was downloaded, untar it now as the <systemitem
160 class="username">root</systemitem> user:</para>
161
162<screen role="root"><userinput>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
163 | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
164
165 <para>Install <application>TeX</application> by running the following
166 commands:</para>
167
168<screen><userinput>./configure --prefix=/usr \
169 --exec-prefix=/usr --bindir=/usr/bin \
170 --without-texinfo --with-x=no \
171 --with-system-ncurses --with-system-zlib &amp;&amp;
172make all</userinput></screen>
173
174 <para>To test the results, issue: <command>make check</command>. The tests
175 should complete without errors (there may be some errors which are
176 ignored).</para>
177
178 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
179
180<screen role="root"><userinput>make install &amp;&amp;
181texconfig-sys dvips paper letter &amp;&amp;
182texconfig-sys font rw</userinput></screen>
183
184 <note>
185 <para>The paper size may be changed to a4, as is used in most
186 countries.</para>
187 </note>
188
189 <para>To install the optional cm-super fonts, perform the following
190 instructions as the <systemitem class="username">root</systemitem>
191 user:</para>
192
193<screen><userinput>tar -xf ../tetex-cm-super.tar.bz2 &amp;&amp;
194FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') &amp;&amp;
195mkdir -p $FONTDIR/fonts/afm/public/cm-super \
196 $FONTDIR/fonts/type1/public/cm-super \
197 $FONTDIR/fonts/enc/dvips/cm-super \
198 $FONTDIR/fonts/map/dvips/cm-super &amp;&amp;
199
200cp -v cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ &amp;&amp;
201
202gunzip cm-super/afm/* &amp;&amp;
203cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ &amp;&amp;
204
205cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ &amp;&amp;
206cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ &amp;&amp;
207
208cat &gt;&gt; $FONTDIR/web2c/updmap.cfg &lt;&lt; "EOF" &amp;&amp;
209MixedMap cm-super-t1.map
210MixedMap cm-super-t2a.map
211MixedMap cm-super-t2b.map
212MixedMap cm-super-t2c.map
213MixedMap cm-super-ts1.map
214MixedMap cm-super-x2.map
215EOF
216
217mktexlsr &amp;&amp;
218updmap-sys &amp;&amp;
219
220unset FONTDIR</userinput></screen>
221
222 </sect2>
223
224 <sect2 role="commands">
225 <title>Command Explanations</title>
226
227 <para><parameter>--with-x=no</parameter>: This switch will avoid any
228 <application>X</application> dependencies. <application>TeX</application>
229 can be compiled with <application>X</application> support, notably for
230 <command>xdvi</command>. If this is desired, remove this parameter.</para>
231
232 <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
233 switches ensure that <application>TeX</application> binaries are installed
234 in <filename class="directory">/usr/bin</filename>.</para>
235
236 <para><parameter>--without-texinfo</parameter>: A default LFS installation
237 already has the <application>Texinfo</application> package installed; this
238 switch will avoid overwriting it with the included
239 <application>Texinfo</application> package.</para>
240
241 <para><parameter>--with-system-ncurses</parameter>: This switch specifies
242 using the already installed <filename
243 class="libraryfile">libncurses</filename> library.</para>
244
245 <para><parameter>--with-system-zlib</parameter>: LFS systems include the
246 <application>Zlib</application> library; this switch avoids building it
247 here.</para>
248
249 <para><option>--disable-a4</option>: Use this option to set the default
250 paper size to letter and the default unit to inch.</para>
251
252 <para><command>texconfig-sys dvips paper letter</command>: This command
253 sets the default paper size for <application>TeX</application>.</para>
254
255 <para><command>texconfig-sys font rw</command>: This command specifies
256 creating and using a directory for globally writable fonts.</para>
257
258 <para><command>mktexlsr</command>: This command recreates the
259 <application>TeX</application> <filename>ls-R</filename> databases after
260 installing the CM-Super fonts.</para>
261
262 <para><command>updmap-sys</command>: This command updates the system-wide
263 font configuration to include the CM-Super fonts.</para>
264
265 <tip>
266 <para>Run <command>./configure --help</command> for information about
267 using other switches which will enable the build to use other installed
268 packages you may have on your system.</para>
269 </tip>
270
271 </sect2>
272
273 <sect2 role="content">
274 <title>Contents</title>
275
276 <segmentedlist>
277 <segtitle>Installed Programs</segtitle>
278 <segtitle>Installed Library</segtitle>
279 <segtitle>Installed Directories</segtitle>
280
281 <seglistitem>
282 <seg>100 separate binaries and scripts along with 30 symlinks to these
283 programs.</seg>
284 <seg>libkpathsea.a</seg>
285 <seg>/usr/include/kpathsea, /usr/share/texinfo/html, /usr/share/texmf,
286 /usr/share/texi2html, /usr/share/texmf-var and /var/tmp/texfonts</seg>
287 </seglistitem>
288 </segmentedlist>
289
290 <variablelist>
291 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
292 <?dbfo list-presentation="list"?>
293 <?dbhtml list-presentation="table"?>
294
295 <varlistentry id="tex-programs">
296 <term><command>TeX programs</command></term>
297 <listitem>
298 <para>included in the <application>TeX</application> package are too
299 numerous to individually list. Please refer to the individual program
300 man pages and <ulink url="file:///usr/share/texmf/doc/index.html"/>
301 for details, as well as a tour of the expansive
302 <application>TeX</application> documentation.</para>
303 <indexterm zone="tex tex-programs">
304 <primary sortas="b-TeX-programs">TeX programs</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="libkpathsea">
310 <term><filename class='libraryfile'>libkpathsea.a</filename></term>
311 <listitem>
312 <para>contains functions used by <application>TeX</application>
313 for searching and cataloging path names.</para>
314 <indexterm zone="tex libkpathsea">
315 <primary sortas="c-libkpathsea">libkpathsea.a</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 </variablelist>
321
322 </sect2>
323
324</sect1>
Note: See TracBrowser for help on using the repository browser.