1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY tex-download-http "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-src-&tex-version;.tar.gz" >
|
---|
7 | <!-- <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-src-&tex-version;.tar.gz"> -->
|
---|
8 | <!ENTITY tex-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/tetex-src-&tex-version;.tar.gz">
|
---|
9 | <!ENTITY tex-md5sum "a16f6bba227d55e79aeee46fbbd82d28">
|
---|
10 | <!ENTITY tex-size "11.7 MB">
|
---|
11 | <!ENTITY tex-buildsize "344 MB (415 MB with optional tarball)">
|
---|
12 | <!ENTITY tex-time "1.82 SBU">
|
---|
13 |
|
---|
14 | <!-- <!ENTITY texmf-download "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmf-&tex-version;.tar.gz"> -->
|
---|
15 | <!ENTITY texmf-download "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-texmf-&tex-version;.tar.gz">
|
---|
16 | <!ENTITY texmf-md5sum "d3bdb96f9077e43b2115d3cc471743b3">
|
---|
17 | <!ENTITY texmf-size "52.4 MB">
|
---|
18 |
|
---|
19 | <!-- <!ENTITY texmfsrc-download "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmfsrc-&tex-version;.tar.gz"> -->
|
---|
20 | <!ENTITY texmfsrc-download "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
---|
21 | <!ENTITY texmfsrc-md5sum "40d4b2c5582eccbee4b6ec692c3cc253">
|
---|
22 | <!ENTITY texmfsrc-size "22.9 MB">
|
---|
23 | ]>
|
---|
24 |
|
---|
25 | <sect1 id="tex" xreflabel="TeX-&tex-version;">
|
---|
26 | <sect1info>
|
---|
27 | <othername>$LastChangedBy$</othername>
|
---|
28 | <date>$Date$</date>
|
---|
29 | </sect1info>
|
---|
30 | <?dbhtml filename="tex.html"?>
|
---|
31 | <title>TeX-&tex-version;</title>
|
---|
32 | <indexterm zone="tex">
|
---|
33 | <primary sortas="a-TeX">TeX</primary></indexterm>
|
---|
34 |
|
---|
35 | <sect2>
|
---|
36 | <title>Introduction to <application>TeX</application></title>
|
---|
37 |
|
---|
38 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
39 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
40 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
41 | contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
---|
42 | including the docstrip sources.</para>
|
---|
43 |
|
---|
44 | <sect3><title>Package information</title>
|
---|
45 | <itemizedlist spacing='compact'>
|
---|
46 | <listitem><para>Download (HTTP):
|
---|
47 | <ulink url="&tex-download-http;"/></para></listitem>
|
---|
48 | <listitem><para>Download (FTP):
|
---|
49 | <ulink url="&tex-download-ftp;"/></para></listitem>
|
---|
50 | <listitem><para>Download MD5 sum: &tex-md5sum;</para></listitem>
|
---|
51 | <listitem><para>Download size: &tex-size;</para></listitem>
|
---|
52 | <listitem><para>Estimated disk space required:
|
---|
53 | &tex-buildsize;</para></listitem>
|
---|
54 | <listitem><para>Estimated build time: &tex-time;</para></listitem>
|
---|
55 | </itemizedlist>
|
---|
56 | </sect3>
|
---|
57 |
|
---|
58 | <sect3><title>Additional Downloads</title>
|
---|
59 | <sect4><title>Required macros and fonts</title>
|
---|
60 | <itemizedlist spacing='compact'>
|
---|
61 | <listitem><para>Download (FTP):
|
---|
62 | <ulink url="&texmf-download;"/></para></listitem>
|
---|
63 | <listitem><para>Download MD5 sum: &texmf-md5sum;</para></listitem>
|
---|
64 | <listitem><para>Download size: &texmf-size;</para></listitem>
|
---|
65 | </itemizedlist>
|
---|
66 | </sect4>
|
---|
67 |
|
---|
68 | <sect4><title>Optional <filename>texmf</filename> sources:</title>
|
---|
69 | <itemizedlist spacing='compact'>
|
---|
70 | <listitem><para>Download (FTP):
|
---|
71 | <ulink url="&texmfsrc-download;"/></para></listitem>
|
---|
72 | <listitem><para>Download MD5 sum: &texmfsrc-md5sum;</para></listitem>
|
---|
73 | <listitem><para>Download size: &texmfsrc-size;</para></listitem>
|
---|
74 | </itemizedlist>
|
---|
75 | </sect4>
|
---|
76 |
|
---|
77 | <sect4><title>Patches</title>
|
---|
78 | <itemizedlist spacing='compact'>
|
---|
79 | <listitem><para>Required Patch: <ulink
|
---|
80 | url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
|
---|
81 | <listitem><para>Recommended Patch: <ulink
|
---|
82 | url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 | </sect4>
|
---|
86 | </sect3>
|
---|
87 |
|
---|
88 | <sect3><title><application>TeX</application> dependencies</title>
|
---|
89 | <sect4><title>Required</title>
|
---|
90 | <para><xref linkend="ed"/></para>
|
---|
91 | </sect4>
|
---|
92 |
|
---|
93 | <sect4><title>Optional</title>
|
---|
94 | <para><xref linkend="libpng"/>,
|
---|
95 | <xref linkend="x-installing"/>,
|
---|
96 | <xref linkend="openssl"/>,
|
---|
97 | <xref linkend="mysql"/>,
|
---|
98 | <xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
---|
99 | url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
|
---|
100 | t1lib</ulink>
|
---|
101 | and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
|
---|
102 | </sect4>
|
---|
103 | </sect3>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2>
|
---|
108 | <title>Installation of <application>TeX</application></title>
|
---|
109 |
|
---|
110 | <!--
|
---|
111 | <para><application>TeX</application> is installed from the source directory
|
---|
112 | (usually <filename class="directory">/usr/src</filename>) and untarring
|
---|
113 | instructions are included below instead of the usual assumption that you
|
---|
114 | have already untarred the package. The source directory should contain
|
---|
115 | the two required packages and the optional package, if desired.</para>
|
---|
116 | -->
|
---|
117 |
|
---|
118 | <para>Before building <application>TeX</application>, the macros and fonts
|
---|
119 | package (<filename>texmf</filename> tarball) must be installed. Install the
|
---|
120 | macros and fonts using the following commands as the root user:</para>
|
---|
121 |
|
---|
122 | <screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &&
|
---|
123 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
124 | | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
---|
125 |
|
---|
126 | <para>If the optional <filename>texmf</filename> source code
|
---|
127 | <acronym>TAR</acronym> ball was downloaded, untar it now as the root
|
---|
128 | user:</para>
|
---|
129 |
|
---|
130 | <screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
131 | | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
---|
132 |
|
---|
133 | <para>Install <application>TeX</application> by running the following
|
---|
134 | commands:</para>
|
---|
135 |
|
---|
136 | <screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &&
|
---|
137 | patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
---|
138 | ./configure --with-x=no --prefix=/usr \
|
---|
139 | --without-texinfo --with-system-ncurses --with-system-zlib \
|
---|
140 | --exec-prefix=/usr --bindir=/usr/bin &&
|
---|
141 | make all</command></userinput></screen>
|
---|
142 |
|
---|
143 | <para>Now, as the root user:</para>
|
---|
144 |
|
---|
145 | <screen><userinput role='root'><command>make install &&
|
---|
146 | texconfig dvips paper letter &&
|
---|
147 | texconfig font rw</command></userinput></screen>
|
---|
148 |
|
---|
149 | <note><para>The paper size may be changed to a4, as is used in most
|
---|
150 | countries.</para></note>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2>
|
---|
155 | <title>Installation command explanations</title>
|
---|
156 |
|
---|
157 | <para><option>--with-x=no</option>: This switch will avoid any
|
---|
158 | <application>X</application> Window dependencies.
|
---|
159 | <application>TeX</application> can be compiled with
|
---|
160 | <application>X</application> Window support, notably for
|
---|
161 | <command>xdvi</command>. If this is desired, remove this
|
---|
162 | configure option.</para>
|
---|
163 |
|
---|
164 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
165 | switches ensure that <application>TeX</application> binaries are installed in
|
---|
166 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
167 |
|
---|
168 | <para><parameter>--without-texinfo</parameter>: A default
|
---|
169 | <acronym>LFS</acronym> installation already has the
|
---|
170 | <application>Texinfo</application> package installed; this switch will avoid
|
---|
171 | overwriting it with the included <application>Texinfo</application>
|
---|
172 | package.</para>
|
---|
173 |
|
---|
174 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
175 | using the already installed <filename class="libraryfile">libncurses</filename>
|
---|
176 | library.</para>
|
---|
177 |
|
---|
178 | <para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
---|
179 | starting with version 4.0 have <application>Zlib</application> installed as
|
---|
180 | part of the base operating system; this switch avoids building it here.</para>
|
---|
181 |
|
---|
182 | <para><command>texconfig dvips paper letter</command>: This command sets the
|
---|
183 | default paper size for <application>TeX</application>.</para>
|
---|
184 |
|
---|
185 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
186 | fonts.</para>
|
---|
187 |
|
---|
188 | </sect2>
|
---|
189 |
|
---|
190 | <sect2>
|
---|
191 | <title>Contents</title>
|
---|
192 |
|
---|
193 | <segmentedlist>
|
---|
194 | <segtitle>Installed Programs</segtitle>
|
---|
195 | <segtitle>Installed Library</segtitle>
|
---|
196 | <segtitle>Installed Directory</segtitle>
|
---|
197 | <seglistitem>
|
---|
198 | <seg>101 separate binaries and scripts along with 37 symlinks to these
|
---|
199 | programs.</seg>
|
---|
200 | <seg>libkpathsea.a</seg>
|
---|
201 | <seg>/usr/share/texmf</seg>
|
---|
202 | </seglistitem>
|
---|
203 | </segmentedlist>
|
---|
204 |
|
---|
205 | <variablelist>
|
---|
206 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
207 | <?dbfo list-presentation="list"?>
|
---|
208 |
|
---|
209 | <varlistentry id="tex-programs">
|
---|
210 | <term><command>TeX programs</command></term>
|
---|
211 | <listitem><para>included in the <application>TeX</application> package are too
|
---|
212 | numerous to individually list. Please refer to
|
---|
213 | <ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
|
---|
214 | a tour of the expansive <application>TeX</application> documentation.</para>
|
---|
215 | <indexterm zone="tex tex-programs">
|
---|
216 | <primary sortas="b-TeX-programs">TeX programs</primary></indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="libkpathsea">
|
---|
221 | <term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
---|
222 | <listitem><para>contains functions used by <application>TeX</application>
|
---|
223 | for searching and cataloging path names.</para>
|
---|
224 | <indexterm zone="tex libkpathsea">
|
---|
225 | <primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 | </variablelist>
|
---|
229 |
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | </sect1>
|
---|