source: pst/typesetting/tex.xml@ bccbdaea

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 bccbdaea was bccbdaea, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Trailing spaces clean-up. Basicnet, book, and general parts.

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

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