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/2011/texlive-&texlive-version;-source.tar.xz">
|
---|
9 | <!ENTITY texlive-source-md5sum "968d238949e8a34a1fd74c374ddfe6f1">
|
---|
10 | <!ENTITY texlive-source-size "126 MB">
|
---|
11 |
|
---|
12 | <!ENTITY texlive-texmf-download-http " ">
|
---|
13 | <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/2011/texlive-&texlive-version;-texmf.tar.xz">
|
---|
14 | <!ENTITY texlive-texmf-md5sum "ed7b558be35adf00a6c2e69609cd679a">
|
---|
15 | <!ENTITY texlive-texmf-size "1.2 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download MD5 sum: &texlive-source-md5sum;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download size: &texlive-source-size;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Estimated disk space required: &texlive-buildsize;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated build time: &texlive-time;</para>
|
---|
64 | </listitem>
|
---|
65 | </itemizedlist>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
68 | <itemizedlist spacing="compact">
|
---|
69 | <listitem>
|
---|
70 | <para>Required TeX MetaFonts and additional components:
|
---|
71 | <ulink url="&texlive-texmf-download-ftp;"/></para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
|
---|
75 | </listitem>
|
---|
76 | <listitem>
|
---|
77 | <para>Download size: &texlive-texmf-size;</para>
|
---|
78 | </listitem>
|
---|
79 | </itemizedlist>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
|
---|
82 | <!--
|
---|
83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
84 | <para role="required"><xref linkend="xz-utils"/></para>
|
---|
85 | -->
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional"><xref linkend="gs"/>,
|
---|
88 | <xref linkend="poppler"/>,
|
---|
89 | <xref linkend="freetype2"/>,
|
---|
90 | <xref linkend="fontconfig"/>,
|
---|
91 | <xref linkend="libpng"/>,
|
---|
92 | <xref linkend="x-window-system"/>,
|
---|
93 | <xref linkend="recode"/>,
|
---|
94 | <xref linkend="icu"/>,
|
---|
95 | <ulink url="http://www.libgd.org/Main_Page">GD</ulink>,
|
---|
96 | <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>,
|
---|
97 | <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
|
---|
98 | <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
|
---|
99 | <ulink url="http://www.lua.org/">Lua</ulink>,
|
---|
100 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkitDownloads">TECkit</ulink>,
|
---|
101 | and
|
---|
102 | <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=RenderingGraphite">
|
---|
103 | Graphite</ulink></para>
|
---|
104 |
|
---|
105 | <para condition="html" role="usernotes">User Notes:
|
---|
106 | <ulink url="&blfs-wiki;/texlive"/></para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="installation">
|
---|
111 | <title>Installation of TeX Live</title>
|
---|
112 | <!--
|
---|
113 | <para>Before building <application>TeX Live</application>, the macros and
|
---|
114 | fonts package (<filename>texmf</filename> tarball) must be installed and
|
---|
115 | two temporary symbolic links need to be created. Install the macros, fonts
|
---|
116 | and symlinks using the following commands as the
|
---|
117 | <systemitem class="username">root</systemitem> user:</para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>tar -xf ../texlive-&texlive-version;-texmf.tar.xz -C /usr/share - -strip-components=1 &&
|
---|
120 |
|
---|
121 | ln -v -s share/texmf /usr &&
|
---|
122 | ln -v -s share/texmf-dist /usr</userinput></screen>
|
---|
123 | -->
|
---|
124 | <para>Install <application>TeX Live</application> by running the following
|
---|
125 | commands:</para>
|
---|
126 |
|
---|
127 | <note>
|
---|
128 | <para>If you do not have Xorg installed add <userinput>--without-x</userinput>
|
---|
129 | to the configure command.</para>
|
---|
130 |
|
---|
131 | <para>If you do not have fontconfig installed, add
|
---|
132 | <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
|
---|
133 | </note>
|
---|
134 |
|
---|
135 | <screen><userinput>./configure --prefix=/usr \
|
---|
136 | --disable-native-texlive-build \
|
---|
137 | --enable-shared \
|
---|
138 | --without-luatex \
|
---|
139 | --enable-mktextex-default \
|
---|
140 | --with-banner-add=" - BLFS" &&
|
---|
141 | make</userinput></screen>
|
---|
142 |
|
---|
143 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
144 |
|
---|
145 | <para>The <userinput>make install</userinput> instructions does not
|
---|
146 | honor the traditional installation directory options of
|
---|
147 | <command>configure</command>. It also can overwrite /usr/bin/man. To
|
---|
148 | overcome this problem, install the program to a temporary location and do some
|
---|
149 | clean up:</para>
|
---|
150 |
|
---|
151 | <screen><userinput>
|
---|
152 | make DESTDIR=$PWD/livetex-tmp install &&
|
---|
153 | rm -v $PWD/livetex-tmp/usr/bin/man &&
|
---|
154 | for FN in $PWD/livetex-tmp/usr/bin `find -type l`; do
|
---|
155 | if [ `readlink $FN | grep "\.\./texmf"` ]; then
|
---|
156 | ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
|
---|
157 | fi
|
---|
158 | done &&
|
---|
159 | unset FN</userinput></screen>
|
---|
160 |
|
---|
161 | <para>Now, as the <systemitem class="username">root</systemitem> user,
|
---|
162 | put the files in their permanent location:</para>
|
---|
163 |
|
---|
164 | <screen><userinput>
|
---|
165 | cp -dRv livetex-tmp//usr/include/* /usr/include &&
|
---|
166 | cp -dRv livetex-tmp/usr/lib/* /usr/lib &&
|
---|
167 | cp -dRv livetex-tmp/usr/bin/* /usr/bin &&
|
---|
168 | cp -dRv livetex-tmp/usr/doc/man/* /usr/share/man &&
|
---|
169 |
|
---|
170 | tar -xf ../texlive-20110705-texmf.tar.xz -C /usr/share \
|
---|
171 | --strip-components=1 &&
|
---|
172 |
|
---|
173 | cp -dRv livetex-tmp/usr/texmf /usr/share/texmf &&
|
---|
174 | cp -dRv livetex-tmp/usr/texmf-dist /usr/share/texmf-dist &&
|
---|
175 |
|
---|
176 | for INFO in livetex-tmp/usr/texmf/doc/info/*.info; do
|
---|
177 | install -v -m0644 $INFO /usr/share/info
|
---|
178 | intall-info --info-dir=/usr/share/info $INFO
|
---|
179 | done &&
|
---|
180 | unset INFO &&
|
---|
181 |
|
---|
182 | DOCDIR="/usr/share/doc/texlive-&texlive-version;" &&
|
---|
183 | install -v -m755 -d $DOCDIR &&
|
---|
184 |
|
---|
185 | for DOC in `find -name doc`; do
|
---|
186 | DIR=`echo $DOC | cut -d/ -f2-`
|
---|
187 | install -v -m755 -d $DOCDIR/$DIR
|
---|
188 | cp -dRv $DOC/* $DOCDIR/$DIR
|
---|
189 | done &&
|
---|
190 | unset DOC DIR &&
|
---|
191 |
|
---|
192 | install -v -m1777 -d /var/lib/livetex/fonts &&
|
---|
193 | install -v -m755 -d /usr/share/texmf-{config,var,local} &&
|
---|
194 |
|
---|
195 | ln -s -v ../../texmf/doc \
|
---|
196 | /usr/share/doc/texlive-&texlive-version;/texmf &&
|
---|
197 |
|
---|
198 | ln -s -v ../../texmf-dist/doc \
|
---|
199 | /usr/share/doc/texlive-&texlive-version;/texmf-dist</userinput></screen>
|
---|
200 | </sect2>
|
---|
201 |
|
---|
202 | <sect2 role="commands">
|
---|
203 | <title>Command Explanations</title>
|
---|
204 |
|
---|
205 | <para><command>sed -i -e '...' -e '...' texk/kpathsea/texmf.cnf</command>:
|
---|
206 | This command is used to modify the default so that local items are
|
---|
207 | installed in <filename class="directory">/usr/share/texmf-local</filename>
|
---|
208 | instead of <filename class="directory">/usr/texmf-local</filename>. It also
|
---|
209 | changes the path for user-installed fonts to the run-time variable location
|
---|
210 | <filename class="directory">/var/lib/livetex/fonts</filename>.</para>
|
---|
211 |
|
---|
212 | <para><parameter>--disable-native-texlive-build</parameter>: This parameter
|
---|
213 | is required if the build is not for a binary distribution.</para>
|
---|
214 |
|
---|
215 | <para><parameter>--without-luatex</parameter>: This parameter is required
|
---|
216 | if the <application>Lua</application> programming language is not
|
---|
217 | installed. Remove this parameter if <application>Lua</application> is
|
---|
218 | installed.</para>
|
---|
219 |
|
---|
220 | <para><parameter>--enable-mktextex-default</parameter>: This parameter
|
---|
221 | is used so that TeX will automatically invoke mktextex if TeX source is
|
---|
222 | missing.</para>
|
---|
223 |
|
---|
224 | <para><parameter>--with-banner-add=" - BLFS"</parameter>: This parameter
|
---|
225 | is used so that the build can be easily recognized as a non-TUG binary
|
---|
226 | build.</para>
|
---|
227 |
|
---|
228 | <para><option>--with-system-...</option> &
|
---|
229 | <option>--with-libgs-includes=/usr/include/ghostscript</option>: These
|
---|
230 | options are required to use any system-installed libraries. Run
|
---|
231 | <command>./configure --help</command> to see a full list of available
|
---|
232 | options.</para>
|
---|
233 |
|
---|
234 | <para><command>for FN in `...`; do ...; done</command>This command is
|
---|
235 | used to change the installed symbolic links to point to scripts installed
|
---|
236 | in <filename class="directory">/usr/share/texmf</filename> instead of
|
---|
237 | <filename class="directory">/usr/texmf</filename>.</para>
|
---|
238 |
|
---|
239 | </sect2>
|
---|
240 |
|
---|
241 | <sect2 role="configuration">
|
---|
242 | <title>Configuring TeX Live</title>
|
---|
243 |
|
---|
244 | <sect3 id="texlive-config">
|
---|
245 | <title>Config Files</title>
|
---|
246 | <para>Several <filename class="extension">.cnf</filename> files are used
|
---|
247 | in a complete TeX system. Typically these files are not directly modified
|
---|
248 | (unless you know your way around a TeX system very well), but instead
|
---|
249 | TeX programs are used to make the modifications.</para>
|
---|
250 |
|
---|
251 | </sect3>
|
---|
252 |
|
---|
253 | <sect3><title>Configuration Information</title>
|
---|
254 |
|
---|
255 | <para>Issue the following commands as the
|
---|
256 | <systemitem class="username">root</systemitem> user to configure and
|
---|
257 | finalize the TeX installation:</para>
|
---|
258 |
|
---|
259 | <screen role="root"><userinput>mktexlsr /usr/share/texmf \
|
---|
260 | /usr/share/texmf-config \
|
---|
261 | /usr/share/texmf-dist \
|
---|
262 | /usr/share/texmf-var \
|
---|
263 | /usr/share/texmf-local \
|
---|
264 | /var/lib/livetex/fonts &&
|
---|
265 |
|
---|
266 | texconfig-sys font rw &&
|
---|
267 | texconfig-sys paper letter &&
|
---|
268 | fmtutil-sys --all &&
|
---|
269 | updmap-sys &&
|
---|
270 |
|
---|
271 | mktexlsr /usr/share/texmf \
|
---|
272 | /usr/share/texmf-config \
|
---|
273 | /usr/share/texmf-dist \
|
---|
274 | /usr/share/texmf-var \
|
---|
275 | /usr/share/texmf-local \
|
---|
276 | /var/lib/livetex/fonts &&
|
---|
277 |
|
---|
278 | texlinks &&
|
---|
279 |
|
---|
280 | mktexlsr /usr/share/texmf \
|
---|
281 | /usr/share/texmf-config \
|
---|
282 | /usr/share/texmf-dist \
|
---|
283 | /usr/share/texmf-var \
|
---|
284 | /usr/share/texmf-local \
|
---|
285 | /var/lib/livetex/fonts</userinput></screen>
|
---|
286 |
|
---|
287 | </sect3>
|
---|
288 |
|
---|
289 | </sect2>
|
---|
290 |
|
---|
291 | <sect2 role="content">
|
---|
292 | <title>Contents</title>
|
---|
293 |
|
---|
294 | <segmentedlist>
|
---|
295 | <segtitle>Installed Programs</segtitle>
|
---|
296 | <segtitle>Installed Libraries</segtitle>
|
---|
297 | <segtitle>Installed Directories</segtitle>
|
---|
298 |
|
---|
299 | <seglistitem>
|
---|
300 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
301 | <seg>libkpathsea.{so,a} and libptexenc.{so,a}</seg>
|
---|
302 | <seg>/usr/include/kpathsea,
|
---|
303 | /usr/include/ptexenc,
|
---|
304 | /usr/share/doc/texlive-&texlive-version;,
|
---|
305 | /usr/share/texmf-config,
|
---|
306 | /usr/share/texmf-dist,
|
---|
307 | /usr/share/texmf-local,
|
---|
308 | /usr/share/texmf-var,
|
---|
309 | /use/share/texmf, and
|
---|
310 | /var/lib/livetex</seg>
|
---|
311 | </seglistitem>
|
---|
312 | </segmentedlist>
|
---|
313 |
|
---|
314 | <variablelist>
|
---|
315 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
316 | <?dbfo list-presentation="list"?>
|
---|
317 | <?dbhtml list-presentation="table"?>
|
---|
318 |
|
---|
319 | <varlistentry id="texlive-programs">
|
---|
320 | <term><command>TeX programs</command></term>
|
---|
321 | <listitem>
|
---|
322 | <para>included in the <application>TeX Live</application> package are
|
---|
323 | too numerous to individually list. Please refer to the individual
|
---|
324 | program man pages and
|
---|
325 | <ulink url="file:///usr/share/texmf/doc/texlive/index.html"/> for
|
---|
326 | details, as well as a tour of the expansive
|
---|
327 | <application>TeX Live</application> documentation.</para>
|
---|
328 | <indexterm zone="texlive texlive-programs">
|
---|
329 | <primary sortas="b-texlive-programs">TeX Live programs</primary>
|
---|
330 | </indexterm>
|
---|
331 | </listitem>
|
---|
332 | </varlistentry>
|
---|
333 |
|
---|
334 | <varlistentry id="libkpathseaTL">
|
---|
335 | <term><filename class='libraryfile'>libkpathsea.{so,a}</filename></term>
|
---|
336 | <listitem>
|
---|
337 | <para>contains the functions used by the TeX programs to resolve
|
---|
338 | and catalog pathnames used in the Tex installation.</para>
|
---|
339 | <indexterm zone="texlive libkpathseaTL">
|
---|
340 | <primary sortas="c-libkpathseaTL">libkpathsea.{so,a}</primary>
|
---|
341 | </indexterm>
|
---|
342 | </listitem>
|
---|
343 | </varlistentry>
|
---|
344 |
|
---|
345 | </variablelist>
|
---|
346 |
|
---|
347 | </sect2>
|
---|
348 |
|
---|
349 | </sect1>
|
---|