source: pst/typesetting/texlive.xml@ 2d98031c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2d98031c was df5ee08, checked in by Ken Moffat <ken@…>, 9 years ago

rename texlive-pass1 as texlive

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

  • Property mode set to 100644
File size: 11.0 KB
Line 
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-download-http " ">
8 <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
10 <!ENTITY texlive-size "40 MB">
11
12 <!ENTITY texlive-buildsize "3.6 GB including the additional download">
13 <!ENTITY texlive-time "8.2 SBU including the additional download">
14
15 <!ENTITY texlive-texmf-download-http " ">
16 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
17 <!ENTITY texlive-texmf-md5sum "645a6f1d3a0ef4a9c279dae02588eab7">
18 <!ENTITY texlive-texmf-size "1.7 GB">
19
20]>
21
22
23<sect1 id="texlive" xreflabel="texlive-&texlive-version;">
24 <?dbhtml filename="texlive.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>texlive-&texlive-version;-source</title>
32
33 <indexterm zone="texlive">
34 <primary sortas="a-texlive">texlive</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to TeX Live from source</title>
39
40 <para>Most of TeX Live can be built from source without a pre-existing
41 installation, but <application>xindy</application> (for indexing) needs
42 working versions of <command>latex</command> and <command>pdflatex</command>
43 when configure is run, and the testsuite and install for
44 <command>asy</command> (for vector graphics) will fail if TeX has not
45 already been installed. Additionally, <application>biber</application> is
46 not provided within the <application>texlive</application> source.</para>
47
48 <para>All of those packages are dealt with on their own pages and can be
49 built after installing this package and proceeding to
50 <xref linkend="tex-path"/>.</para>
51
52 &lfs76_checked;
53
54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
57 <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download MD5 sum: &texlive-md5sum;</para>
64 </listitem>
65 <listitem>
66 <para>Download size: &texlive-size;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated disk space required: &texlive-buildsize;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated build time: &texlive-time;</para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Required Additional Download</bridgehead>
77
78 <para>Much of the texlive environment (including scripts, documentation,
79 fonts and various other files) is not part of the source tarball. You must
80 download it separately. This will give you all of the additional files
81 which are provided by a full install of the binary version, there is no
82 realistic way to restrict which parts get installed.</para>
83
84 <para>
85 Because of the size of this package, it is unlikely to be mirrored by
86 BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/
87 to find a more-accessible mirror.
88 </para>
89
90 <itemizedlist spacing="compact">
91 <listitem>
92 <para>Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/></para>
93 </listitem>
94 <listitem>
95 <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
96 </listitem>
97 <listitem>
98 <para>Download size: &texlive-texmf-size;</para>
99 </listitem>
100 </itemizedlist>
101
102 <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Recommended</bridgehead>
105 <para role="recommended">
106 <xref linkend="x-window-system"/>
107 </para>
108
109 <!-- text for recommended libraries, shared with texlive itself -->
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../../xincludes/texrecommendlibs.xml"/>
112
113 <bridgehead renderas="sect4">Optional</bridgehead>
114 <!-- text for optional deps, shared with texlive itself -->
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../../xincludes/texoptional.xml"/>
117
118 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
119 <!-- text for runtime deps, shared with tl-installer -->
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/texruntime.xml"/>
122
123 <para condition="html" role="usernotes">User Notes:
124 <ulink url="&blfs-wiki;/texlive"/></para>
125
126 </sect2>
127
128 <sect2 role="installation">
129 <title>Installation of TeX Live</title>
130
131 <para>
132 Install TeX Live by running the following commands:
133 </para>
134
135<!-- the configure switches should be identical to those in the
136 first part of texlive itself -->
137<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
138mkdir texlive-build &amp;&amp;
139cd texlive-build &amp;&amp;
140
141../configure \
142 --prefix=/opt/texlive/&texlive-year; \
143 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
144 --datarootdir=/opt/texlive/&texlive-year; \
145 --includedir=/usr/include \
146 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
147 --libdir=/usr/lib \
148 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
149 --disable-native-texlive-build \
150 --disable-static --enable-shared \
151 --with-system-cairo \
152 --with-system-fontconfig \
153 --with-system-freetype2 \
154 --with-system-graphite2 \
155 --with-system-harfbuzz \
156 --with-system-icu \
157 --with-system-libgs \
158 --with-system-libpng \
159 --with-system-pixman \
160 --with-system-poppler \
161 --with-system-xpdf \
162 --with-system-zlib \
163 --with-banner-add=" - BLFS" &amp;&amp;
164unset TEXARCH &amp;&amp;
165
166make</userinput></screen>
167
168 <para>To test the results, issue: <command>make -k check</command>
169 One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
170 has not yet been installed.</para>
171
172 <para>Now, as the <systemitem class="username">root</systemitem>
173 user:</para>
174
175<screen><userinput role="root">make install &amp;&amp;
176make texlinks</userinput></screen>
177
178 <para>And now, install the additional files as the
179 <systemitem class="username">root</systemitem> user:</para>
180
181<screen><userinput role="root">mkdir -pv /opt/texlive/&texlive-year; &amp;&amp;
182tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
183
184 <para>Now proceed to <xref linkend="tex-path"/>.</para>
185
186 </sect2>
187
188 <sect2 role="commands">
189 <title>Command Explanations</title>
190
191 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
192 href="../../xincludes/tex-prefix.xml"/>
193
194 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
195 href="../../xincludes/tex-lib.xml"/>
196
197 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
198 href="../../xincludes/static-libraries.xml"/>
199
200 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
201 href="../../xincludes/tex-shared.xml"/>
202
203 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
204 href="../../xincludes/tex-system.xml"/>
205
206<!-- <para>
207 <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
208 a non-standard meaning, it tells <command>configure</command> to use the
209 system-installed <application>poppler</application> headers and library.
210 Again, omit this if you have not installed
211 <application>poppler</application>.
212 </para> -->
213 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
214 href="../../xincludes/tex-xpdf.xml"/>
215
216 <para>
217 <option>--without-x</option>: use this if you do not have Xorg installed.
218 </para>
219
220 <para>
221 <parameter>make texlinks</parameter> : this runs the texlinks.sh script
222 to create (or recreate) symbolic links from formats to engines. In
223 practice, several of the targets such as <command>xetex</command> are now
224 separate binaries and for these it will report "file already exists".
225 </para>
226 <para>
227 <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
228 the tarball contains the files for the texmf-dist directory, and because
229 of its size we do not want to waste time and space untarring it and then
230 copying the files.
231 </para>
232
233 </sect2>
234
235 <sect2 role="content">
236 <title>Contents</title>
237
238 <segmentedlist>
239 <segtitle>Installed Programs</segtitle>
240 <segtitle>Installed Libraries</segtitle>
241 <segtitle>Installed Directories</segtitle>
242
243 <seglistitem>
244 <seg>Over 300 binaries and symlinks to scripts</seg>
245 <seg>libkpathsea.so, libptexenc.so</seg>
246 <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist,
247 /usr/include/kpathsea, /usr/include/ptexenc</seg>
248 </seglistitem>
249 </segmentedlist>
250
251 <variablelist>
252 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
253 <?dbfo list-presentation="list"?>
254 <?dbhtml list-presentation="table"?>
255
256 <varlistentry id="texlive-programs">
257 <term><command>TeX&nbsp;programs</command></term>
258 <listitem>
259 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
260 href="../../xincludes/texprogs.xml"/>
261 <indexterm zone="texlive texlive-programs">
262 <primary sortas="b-texlive-programs">TeX Live programs</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="libkpathsea">
268 <term><filename class="libraryfile">libkpathsea.so</filename></term>
269 <listitem>
270 <para>
271 (kpathsearch) exists to look up a file in a list of directories.
272 </para>
273 <indexterm zone="texlive libkpathsea">
274 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="libptexenc">
280 <term><filename class="libraryfile">libptexenc.so</filename></term>
281 <listitem>
282 <para>
283 is a library for Japanese pTeX (publishing TeX).
284 </para>
285 <indexterm zone="texlive libptexenc">
286 <primary sortas="c-libptexenc">libptexenc.so</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.