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 texlive-source-download-http " ">
|
---|
8 | <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-source.tar.xz">
|
---|
9 | <!ENTITY texlive-source-md5sum "156fa34c56acb901fdc687b8d9860f1f">
|
---|
10 | <!ENTITY texlive-source-size "32 MB">
|
---|
11 |
|
---|
12 | <!ENTITY texlive-texmf-download-http " ">
|
---|
13 | <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-texmf.tar.xz">
|
---|
14 | <!ENTITY texlive-texmf-md5sum "12dec3a323c4eb75b98a3160c62dc865">
|
---|
15 | <!ENTITY texlive-texmf-size "1.1 GB">
|
---|
16 |
|
---|
17 | <!ENTITY texlive-buildsize "~5 GB">
|
---|
18 | <!ENTITY texlive-time "10 SBU">
|
---|
19 | ]>
|
---|
20 |
|
---|
21 | <sect1 id="texlive" xreflabel="TeX Live-&texlive-version;">
|
---|
22 | <?dbhtml filename="texlive.html"?>
|
---|
23 |
|
---|
24 | <sect1info>
|
---|
25 | <othername>$LastChangedBy$</othername>
|
---|
26 | <date>$Date$</date>
|
---|
27 | </sect1info>
|
---|
28 |
|
---|
29 | <title>TeX Live-&texlive-version;</title>
|
---|
30 |
|
---|
31 | <indexterm zone="texlive">
|
---|
32 | <primary sortas="a-texlive">texlive</primary>
|
---|
33 | </indexterm>
|
---|
34 |
|
---|
35 | <sect2 role="package">
|
---|
36 | <title>Introduction to TeX Live</title>
|
---|
37 |
|
---|
38 | <para>The <application>TeX Live</application> package is the forked
|
---|
39 | successor of the <application>teTeX</application> TeX document production
|
---|
40 | system invented by Donald Knuth. Both packages have been maintained and
|
---|
41 | supported through the <ulink url="http://www.tug.org/">TeX Users
|
---|
42 | Group</ulink>, although <application>teTeX</application> has been
|
---|
43 | unmaintained for several years now.</para>
|
---|
44 |
|
---|
45 | <para>The <command>texi2html</command> Perl script previously shipped with
|
---|
46 | the <application>teTeX</application> package is no longer shipped. You can
|
---|
47 | use the <command>makeinfo</command> program as a replacement, or install
|
---|
48 | the stand-alone
|
---|
49 | <ulink url="http://www.nongnu.org/texi2html/">Texi2HTML</ulink>
|
---|
50 | package.</para>
|
---|
51 |
|
---|
52 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
53 | <itemizedlist spacing="compact">
|
---|
54 | <listitem>
|
---|
55 | <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Download MD5 sum: &texlive-source-md5sum;</para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>Download size: &texlive-source-size;</para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>Estimated disk space required: &texlive-buildsize;</para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>Estimated build time: &texlive-time;</para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
75 | <itemizedlist spacing="compact">
|
---|
76 | <listitem>
|
---|
77 | <para>Required TeX MetaFonts and additional components:
|
---|
78 | <ulink url="&texlive-texmf-download-ftp;"/></para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
|
---|
82 | </listitem>
|
---|
83 | <listitem>
|
---|
84 | <para>Download size: &texlive-texmf-size;</para>
|
---|
85 | </listitem>
|
---|
86 | </itemizedlist>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
91 | <para role="required"><xref linkend="xz-utils"/></para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
94 | <para role="optional"><xref linkend="gs"/>,
|
---|
95 | <xref linkend="poppler"/>,
|
---|
96 | <xref linkend="freetype2"/>,
|
---|
97 | <xref linkend="libpng"/>,
|
---|
98 | <xref linkend="x-window-system"/>,
|
---|
99 | <xref linkend="recode"/>,
|
---|
100 | <xref linkend="icu"/>,
|
---|
101 | <ulink url="http://www.libgd.org/Main_Page">GD</ulink>,
|
---|
102 | <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>,
|
---|
103 | <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
|
---|
104 | <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
|
---|
105 | <ulink url="http://www.lua.org/">Lua</ulink>,
|
---|
106 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkitDownloads">TECkit</ulink>,
|
---|
107 | and
|
---|
108 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=RenderingGraphite">
|
---|
109 | Graphite</ulink></para>
|
---|
110 |
|
---|
111 | <para condition="html" role="usernotes">User Notes:
|
---|
112 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
113 |
|
---|
114 | </sect2>
|
---|
115 |
|
---|
116 | <sect2 role="installation">
|
---|
117 | <title>Installation of TeX Live</title>
|
---|
118 |
|
---|
119 | <para>Before building <application>TeX Live</application>, the macros and
|
---|
120 | fonts package (<filename>texmf</filename> tarball) must be installed and
|
---|
121 | two temporary symbolic links need to be created. Install the macros, fonts
|
---|
122 | and symlinks using the following commands as the
|
---|
123 | <systemitem class="username">root</systemitem> user:</para>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>tar xf ../texlive-&texlive-version;-texmf.tar.xz \
|
---|
126 | -C /usr/share --strip-components=1 &&
|
---|
127 |
|
---|
128 | ln -v -s share/texmf /usr &&
|
---|
129 | ln -v -s share/texmf-dist /usr</userinput></screen>
|
---|
130 |
|
---|
131 | <para>Install <application>TeX Live</application> by running the following
|
---|
132 | commands:</para>
|
---|
133 |
|
---|
134 | <screen><userinput>sed -i -e 's|PARENT/\.\./texmf-local|PARENT/texmf-local|' \
|
---|
135 | -e 's|\$TEXMFVAR/fonts|/var/lib/livetex/fonts|' \
|
---|
136 | texk/kpathsea/texmf.cnf &&
|
---|
137 |
|
---|
138 | ./configure --prefix=/usr \
|
---|
139 | --disable-native-texlive-build \
|
---|
140 | --enable-shared \
|
---|
141 | --without-luatex \
|
---|
142 | --enable-mktextex-default \
|
---|
143 | --with-banner-add=" - BLFS" &&
|
---|
144 |
|
---|
145 | make</userinput></screen>
|
---|
146 |
|
---|
147 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
148 |
|
---|
149 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
150 |
|
---|
151 | <screen role="root"><userinput>make install &&
|
---|
152 |
|
---|
153 | rm -v /usr/texmf{,-dist} &&
|
---|
154 | install -v -m1777 -d /var/lib/livetex/fonts &&
|
---|
155 | install -v -m755 -d /usr/share/texmf-{config,var,local} &&
|
---|
156 | install -v -m755 -d /usr/share/doc/texlive-&texlive-version; &&
|
---|
157 | ln -s -v ../../texmf/doc \
|
---|
158 | /usr/share/doc/texlive-&texlive-version;/texmf &&
|
---|
159 | ln -s -v ../../texmf-dist/doc \
|
---|
160 | /usr/share/doc/texlive-&texlive-version;/texmf-dist &&
|
---|
161 |
|
---|
162 | for FN in `find /usr/bin -type l`; do
|
---|
163 | if [ `readlink $FN | grep "\.\./texmf"` ]; then
|
---|
164 | ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
|
---|
165 | fi
|
---|
166 | done &&
|
---|
167 | unset FN</userinput></screen>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | <sect2 role="commands">
|
---|
172 | <title>Command Explanations</title>
|
---|
173 |
|
---|
174 | <para><command>ln -v -s share/texmf /usr</command> &
|
---|
175 | <command>ln -v -s share/texmf-dist /usr</command> &
|
---|
176 | <command>rm -v /usr/texmf{,-dist}</command>: These commands are used to
|
---|
177 | create and then remove temporary symbolic links so that files are not
|
---|
178 | installed in
|
---|
179 | <filename class="directory">/usr/texmf{,-dist}</filename></para>
|
---|
180 |
|
---|
181 | <para><command>sed -i -e '...' -e '...' texk/kpathsea/texmf.cnf</command>:
|
---|
182 | This command is used to modify the default so that local items are
|
---|
183 | installed in <filename class="directory">/usr/share/texmf-local</filename>
|
---|
184 | instead of <filename class="directory">/usr/texmf-local</filename>. It also
|
---|
185 | changes the path for user-installed fonts to the run-time variable location
|
---|
186 | <filename class="directory">/var/lib/livetex/fonts</filename>.</para>
|
---|
187 |
|
---|
188 | <para><parameter>--disable-native-texlive-build</parameter>: This parameter
|
---|
189 | is required if the build is not for a binary distribution.</para>
|
---|
190 |
|
---|
191 | <para><parameter>--without-luatex</parameter>: This parameter is required
|
---|
192 | if the <application>Lua</application> programming language is not
|
---|
193 | installed. Remove this parameter if <application>Lua</application> is
|
---|
194 | installed.</para>
|
---|
195 |
|
---|
196 | <para><parameter>--enable-mktextex-default</parameter>: This parameter
|
---|
197 | is used so that TeX will automatically invoke mktextex if TeX source is
|
---|
198 | missing.</para>
|
---|
199 |
|
---|
200 | <para><parameter>--with-banner-add=" - BLFS"</parameter>: This parameter
|
---|
201 | is used so that the build can be easily recognized as a non-TUG binary
|
---|
202 | build.</para>
|
---|
203 |
|
---|
204 | <para><option>--with-system-...</option> &
|
---|
205 | <option>--with-libgs-includes=/usr/include/ghostscript</option>: These
|
---|
206 | options are required to use any system-installed libraries. Run
|
---|
207 | <command>./configure --help</command> to see a full list of available
|
---|
208 | options.</para>
|
---|
209 |
|
---|
210 | <para><command>for FN in `...`; do ...; done</command>This command is
|
---|
211 | used to change the installed symbolic links to point to scripts installed
|
---|
212 | in <filename class="directory">/usr/share/texmf</filename> instead of
|
---|
213 | <filename class="directory">/usr/texmf</filename>.</para>
|
---|
214 |
|
---|
215 | </sect2>
|
---|
216 |
|
---|
217 | <sect2 role="configuration">
|
---|
218 | <title>Configuring TeX Live</title>
|
---|
219 |
|
---|
220 | <sect3 id="texlive-config">
|
---|
221 | <title>Config Files</title>
|
---|
222 | <para>Several <filename class="extension">.cnf</filename> files are used
|
---|
223 | in a complete TeX system. Typically these files are not directly modified
|
---|
224 | (unless you know your way around a TeX system very well), but instead
|
---|
225 | TeX programs are used to make the modifications.</para>
|
---|
226 |
|
---|
227 | </sect3>
|
---|
228 |
|
---|
229 | <sect3><title>Configuration Information</title>
|
---|
230 |
|
---|
231 | <para>Issue the following commands as the
|
---|
232 | <systemitem class="username">root</systemitem> user to configure and
|
---|
233 | finalize the TeX installation:</para>
|
---|
234 |
|
---|
235 | <screen role="root"><userinput>mktexlsr /usr/share/texmf \
|
---|
236 | /usr/share/texmf-config \
|
---|
237 | /usr/share/texmf-dist \
|
---|
238 | /usr/share/texmf-var \
|
---|
239 | /usr/share/texmf-local \
|
---|
240 | /var/lib/livetex/fonts &&
|
---|
241 |
|
---|
242 | texconfig-sys font rw &&
|
---|
243 | texconfig-sys paper letter &&
|
---|
244 | fmtutil-sys --all &&
|
---|
245 | updmap-sys &&
|
---|
246 |
|
---|
247 | mktexlsr /usr/share/texmf \
|
---|
248 | /usr/share/texmf-config \
|
---|
249 | /usr/share/texmf-dist \
|
---|
250 | /usr/share/texmf-var \
|
---|
251 | /usr/share/texmf-local \
|
---|
252 | /var/lib/livetex/fonts &&
|
---|
253 |
|
---|
254 | texlinks &&
|
---|
255 |
|
---|
256 | mktexlsr /usr/share/texmf \
|
---|
257 | /usr/share/texmf-config \
|
---|
258 | /usr/share/texmf-dist \
|
---|
259 | /usr/share/texmf-var \
|
---|
260 | /usr/share/texmf-local \
|
---|
261 | /var/lib/livetex/fonts</userinput></screen>
|
---|
262 |
|
---|
263 | </sect3>
|
---|
264 |
|
---|
265 | </sect2>
|
---|
266 |
|
---|
267 | <sect2 role="content">
|
---|
268 | <title>Contents</title>
|
---|
269 |
|
---|
270 | <segmentedlist>
|
---|
271 | <segtitle>Installed Programs</segtitle>
|
---|
272 | <segtitle>Installed Libraries</segtitle>
|
---|
273 | <segtitle>Installed Directories</segtitle>
|
---|
274 |
|
---|
275 | <seglistitem>
|
---|
276 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
277 | <seg>libkpathsea.{so,a} and libptexenc.{so,a}</seg>
|
---|
278 | <seg>/usr/include/kpathsea,
|
---|
279 | /usr/include/ptexenc,
|
---|
280 | /usr/share/doc/texlive-&texlive-version;,
|
---|
281 | /usr/share/texmf-config,
|
---|
282 | /usr/share/texmf-dist,
|
---|
283 | /usr/share/texmf-local,
|
---|
284 | /usr/share/texmf-var,
|
---|
285 | /use/share/texmf, and
|
---|
286 | /var/lib/livetex</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="texlive-programs">
|
---|
296 | <term><command>TeX programs</command></term>
|
---|
297 | <listitem>
|
---|
298 | <para>included in the <application>TeX Live</application> package are
|
---|
299 | too numerous to individually list. Please refer to the individual
|
---|
300 | program man pages and
|
---|
301 | <ulink url="file:///usr/share/texmf/doc/texlive/index.html"/> for
|
---|
302 | details, as well as a tour of the expansive
|
---|
303 | <application>TeX Live</application> documentation.</para>
|
---|
304 | <indexterm zone="texlive texlive-programs">
|
---|
305 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
306 | </indexterm>
|
---|
307 | </listitem>
|
---|
308 | </varlistentry>
|
---|
309 |
|
---|
310 | <varlistentry id="libkpathseaTL">
|
---|
311 | <term><filename class='libraryfile'>libkpathsea.{so,a}</filename></term>
|
---|
312 | <listitem>
|
---|
313 | <para>contains the functions used by the TeX programs to resolve
|
---|
314 | and catalog pathnames used in the Tex installation.</para>
|
---|
315 | <indexterm zone="texlive libkpathseaTL">
|
---|
316 | <primary sortas="c-libkpathseaTL">libkpathsea.{so,a}</primary>
|
---|
317 | </indexterm>
|
---|
318 | </listitem>
|
---|
319 | </varlistentry>
|
---|
320 |
|
---|
321 | </variablelist>
|
---|
322 |
|
---|
323 | </sect2>
|
---|
324 |
|
---|
325 | </sect1>
|
---|