source: pst/typesetting/tex.xml@ ba4b31cf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 ba4b31cf was ba4b31cf, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated links to Perl Modules

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

  • Property mode set to 100644
File size: 10.5 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 "416 MB (542 MB with optional tarball)">
12 <!ENTITY tex-time "2.07 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
25<sect1 id="tex" xreflabel="TeX-&tex-version;">
26 <?dbhtml filename="tex.html"?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>TeX-&tex-version;</title>
34
35 <indexterm zone="tex">
36 <primary sortas="a-TeX">TeX</primary>
37 </indexterm>
38
39 <sect2 role="package">
40 <title>Introduction to TeX</title>
41
42 <para><application>TeX</application> is a typesetting package, able to create
43 documents in a variety of formats. The optional <filename>texmfsrc</filename>
44 TAR ball contains source code for packages that are contained in the
45 <filename>texmf</filename> TAR ball, including the docstrip sources.</para>
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>Download (HTTP): <ulink url="&tex-download-http;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download (FTP): <ulink url="&tex-download-ftp;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download MD5 sum: &tex-md5sum;</para>
57 </listitem>
58 <listitem>
59 <para>Download size: &tex-size;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated disk space required: &tex-buildsize;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated build time: &tex-time;</para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70
71 <itemizedlist spacing='compact'>
72 <title>Required Macros and Fonts</title>
73 <listitem>
74 <para>Download (HTTP): <ulink url="&texmf-download-http;"/></para>
75 </listitem>
76 <listitem>
77 <para>Download (FTP): <ulink url="&texmf-download-ftp;"/></para>
78 </listitem>
79 <listitem>
80 <para>Download MD5 sum: &texmf-md5sum;</para>
81 </listitem>
82 <listitem>
83 <para>Download size: &texmf-size;</para>
84 </listitem>
85 </itemizedlist>
86
87 <itemizedlist spacing='compact'>
88 <title>Optional 'texmf' Sources:</title>
89 <listitem>
90 <para>Download (HTTP): <ulink url="&texmfsrc-download-http;"/></para>
91 </listitem>
92 <listitem>
93 <para>Download (FTP): <ulink url="&texmfsrc-download-ftp;"/></para>
94 </listitem>
95 <listitem>
96 <para>Download MD5 sum: &texmfsrc-md5sum;</para>
97 </listitem>
98 <listitem>
99 <para>Download size: &texmfsrc-size;</para>
100 </listitem>
101 </itemizedlist>
102
103<!--
104<sect4><title>Patches</title>
105<itemizedlist spacing='compact'>
106<listitem><para>Required Patch: <ulink
107url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
108<listitem><para>Recommended Patch: <ulink
109url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
110</listitem>
111</itemizedlist>
112</sect4>
113 -->
114
115 <bridgehead renderas="sect3">TeX Dependencies</bridgehead>
116
117 <bridgehead renderas="sect4">Required</bridgehead>
118 <para><xref linkend="ed"/></para>
119
120 <bridgehead renderas="sect4">Optional</bridgehead>
121 <para><xref linkend="libpng"/>,
122 <xref linkend="x-installing"/>,
123 <xref linkend="perl-tk"/>,
124 <ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
125 t1lib</ulink>
126 and <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
127
128 </sect2>
129
130 <sect2 role="installation">
131 <title>Installation of TeX</title>
132
133<!--
134<para><application>TeX</application> is installed from the source directory
135(usually <filename class="directory">/usr/src</filename>) and untarring
136instructions are included below instead of the usual assumption that you
137have already untarred the package. The source directory should contain
138the two required packages and the optional package, if desired.</para>
139-->
140
141 <para>Before building <application>TeX</application>, the macros and
142 fonts package (<filename>texmf</filename> tarball) must be installed.
143 Install the macros and fonts using the following commands as the
144 <systemitem class="username">root</systemitem> user:</para>
145
146<screen role="root"><userinput>install -v -d -m755 /usr/share/texmf &amp;&amp;
147gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
148 | (umask 0; cd /usr/share/texmf; tar -xf -)</userinput></screen>
149
150 <para>If the optional <filename>texmf</filename> source code TAR ball
151 was downloaded, untar it now as the <systemitem
152 class="username">root</systemitem> user:</para>
153
154<screen role="root"><userinput>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
155 | (umask 0; cd /usr/share/texmf; tar -xf -)</userinput></screen>
156
157 <para>Install <application>TeX</application> by running the following
158 commands:</para>
159
160<!--
161<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
162patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
163 -->
164
165<screen><userinput>./configure --prefix=/usr \
166 --exec-prefix=/usr --bindir=/usr/bin \
167 --without-texinfo --with-x=no \
168 --with-system-ncurses --with-system-zlib &amp;&amp;
169make all</userinput></screen>
170
171 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
172
173<screen role="root"><userinput>make install &amp;&amp;
174texconfig dvips paper letter &amp;&amp;
175texconfig font rw</userinput></screen>
176
177 <note>
178 <para>The paper size may be changed to a4, as is used in most
179 countries.</para>
180 </note>
181
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para><parameter>--with-x=no</parameter>: This switch will avoid any
188 <application>X</application> dependencies. <application>TeX</application>
189 can be compiled with <application>X</application> support, notably for
190 <command>xdvi</command>. If this is desired, remove this configure
191 option.</para>
192
193 <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
194 switches ensure that <application>TeX</application> binaries are installed
195 in <filename class="directory">/usr/bin</filename>.</para>
196
197 <para><parameter>--without-texinfo</parameter>: A default LFS installation
198 already has the <application>Texinfo</application> package installed; this
199 switch will avoid overwriting it with the included
200 <application>Texinfo</application> package.</para>
201
202 <para><parameter>--with-system-ncurses</parameter>: This switch specifies
203 using the already installed <filename
204 class="libraryfile">libncurses</filename> library.</para>
205
206 <para><parameter>--with-system-zlib</parameter>: LFS systems starting
207 with version 4.0 have <application>Zlib</application> installed as part
208 of the base operating system; this switch avoids building it here.</para>
209
210 <para><option>--disable-a4</option>: Use this option to set the default
211 paper size to letter and the default unit to inch.</para>
212
213 <para><command>texconfig dvips paper letter</command>: This command sets
214 the default paper size for <application>TeX</application>.</para>
215
216 <para><command>texconfig font rw</command>: This command specifies writable
217 fonts.</para>
218
219 <tip>
220 <para>Run <command>./configure --help</command> for information about
221 using other switches which will enable the build to use any installed
222 packages you may have on your system.</para>
223 </tip>
224
225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
232 <segtitle>Installed Library</segtitle>
233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
236 <seg>100 separate binaries and scripts along with 30 symlinks to these
237 programs.</seg>
238 <seg>libkpathsea.a</seg>
239 <seg>~/.texmf-config, /usr/include/kpathsea, /usr/share/texinfo/html,
240 /usr/share/texmf, /usr/share/texi2html and /usr/share/texmf-var</seg>
241 </seglistitem>
242 </segmentedlist>
243
244 <variablelist>
245 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
246 <?dbfo list-presentation="list"?>
247 <?dbhtml list-presentation="table"?>
248
249 <varlistentry id="tex-programs">
250 <term><command>TeX programs</command></term>
251 <listitem>
252 <para>included in the <application>TeX</application> package are too
253 numerous to individually list. Please refer to the individual program
254 man pages and <ulink url="file:///usr/share/texmf/doc/index.html"/>
255 for details, as well as a tour of the expansive
256 <application>TeX</application> documentation.</para>
257 <indexterm zone="tex tex-programs">
258 <primary sortas="b-TeX-programs">TeX programs</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="libkpathsea">
264 <term><filename class='libraryfile'>libkpathsea.a</filename></term>
265 <listitem>
266 <para>contains functions used by <application>TeX</application>
267 for searching and cataloging path names.</para>
268 <indexterm zone="tex libkpathsea">
269 <primary sortas="c-libkpathsea">libkpathsea.a</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 </variablelist>
275
276 </sect2>
277
278</sect1>
Note: See TracBrowser for help on using the repository browser.