source: pst/typesetting/tex.xml@ 507c9fa

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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 507c9fa was a83be235, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated download URLs to Tex-2.0.2 package sources

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

  • Property mode set to 100644
File size: 8.9 KB
RevLine 
[c117e5a]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;
[4f6275fd]5
[a83be235]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">
[460e986]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
[a83be235]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">
[460e986]16 <!ENTITY texmf-md5sum "d3bdb96f9077e43b2115d3cc471743b3">
17 <!ENTITY texmf-size "52.4 MB">
18
[a83be235]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">
[460e986]21 <!ENTITY texmfsrc-md5sum "40d4b2c5582eccbee4b6ec692c3cc253">
22 <!ENTITY texmfsrc-size "22.9 MB">
[c117e5a]23]>
24
[03d51788]25<sect1 id="tex" xreflabel="TeX-&tex-version;">
[a0f03b0]26<sect1info>
[5cd0959d]27<othername>$LastChangedBy$</othername>
28<date>$Date$</date>
[a0f03b0]29</sect1info>
[dd3f20f0]30<?dbhtml filename="tex.html"?>
[19234f1]31<title>TeX-&tex-version;</title>
[03d51788]32<indexterm zone="tex">
[6a2bce2]33<primary sortas="a-TeX">TeX</primary></indexterm>
[42e2f8d]34
[c117e5a]35<sect2>
36<title>Introduction to <application>TeX</application></title>
37
38<para><application>TeX</application> is a typesetting package, able to create
[dfd0a5d5]39documents in a variety of formats. The optional <filename>texmfsrc</filename>
[c117e5a]40<acronym>TAR</acronym> ball contains source code for packages that are
[dfd0a5d5]41contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
42including the docstrip sources.</para>
[c117e5a]43
44<sect3><title>Package information</title>
45<itemizedlist spacing='compact'>
[d260aaf4]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>
[460e986]50<listitem><para>Download MD5 sum: &tex-md5sum;</para></listitem>
51<listitem><para>Download size: &tex-size;</para></listitem>
[d260aaf4]52<listitem><para>Estimated disk space required:
[460e986]53&tex-buildsize;</para></listitem>
54<listitem><para>Estimated build time: &tex-time;</para></listitem>
55</itemizedlist>
[c117e5a]56</sect3>
57
58<sect3><title>Additional Downloads</title>
[460e986]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>
[c117e5a]78<itemizedlist spacing='compact'>
[d260aaf4]79<listitem><para>Required Patch: <ulink
80url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
[dfd0a5d5]81<listitem><para>Recommended Patch: <ulink
[68df39bf]82url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
83</listitem>
[460e986]84</itemizedlist>
85</sect4>
86</sect3>
[c117e5a]87
[dfd0a5d5]88<sect3><title><application>TeX</application> dependencies</title>
[68df39bf]89<sect4><title>Required</title>
90<para><xref linkend="ed"/></para>
91</sect4>
92
[dfd0a5d5]93<sect4><title>Optional</title>
[94b1dc3]94<para><xref linkend="libpng"/>,
95<xref linkend="x-installing"/>,
[cef3a2f]96<xref linkend="openssl"/>,
[94b1dc3]97<xref linkend="mysql"/>,
98<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
[03d51788]99url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
100t1lib</ulink>
[94b1dc3]101and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
[dfd0a5d5]102</sect4>
103</sect3>
104
[c117e5a]105</sect2>
106
107<sect2>
108<title>Installation of <application>TeX</application></title>
109
[d260aaf4]110<!--
[94b1dc3]111<para><application>TeX</application> is installed from the source directory
112(usually <filename class="directory">/usr/src</filename>) and untarring
[c117e5a]113instructions are included below instead of the usual assumption that you
114have already untarred the package. The source directory should contain
115the two required packages and the optional package, if desired.</para>
[d260aaf4]116-->
[c117e5a]117
[d260aaf4]118<para>Before building <application>TeX</application>, the macros and fonts
119package (<filename>texmf</filename> tarball) must be installed. Install the
120macros and fonts using the following commands as the root user:</para>
[c117e5a]121
[d260aaf4]122<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &amp;&amp;
[c117e5a]123gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
[d260aaf4]124 | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
[c117e5a]125
[dfd0a5d5]126<para>If the optional <filename>texmf</filename> source code
[d260aaf4]127<acronym>TAR</acronym> ball was downloaded, untar it now as the root
128user:</para>
[dfd0a5d5]129
[d260aaf4]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>
[c117e5a]132
[d260aaf4]133<para>Install <application>TeX</application> by running the following
134commands:</para>
[03d51788]135
[68df39bf]136<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
137patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
[c117e5a]138./configure --with-x=no --prefix=/usr \
[d260aaf4]139 --without-texinfo --with-system-ncurses --with-system-zlib \
[c117e5a]140 --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
[d260aaf4]141make all</command></userinput></screen>
142
143<para>Now, as the root user:</para>
144
145<screen><userinput role='root'><command>make install &amp;&amp;
[c117e5a]146texconfig dvips paper letter &amp;&amp;
147texconfig font rw</command></userinput></screen>
148
[03d51788]149<note><para>The paper size may be changed to a4, as is used in most
150countries.</para></note>
[c117e5a]151
152</sect2>
153
154<sect2>
155<title>Installation command explanations</title>
156
[94b1dc3]157<para><option>--with-x=no</option>: This switch will avoid any
158<application>X</application> Window dependencies.
[c117e5a]159<application>TeX</application> can be compiled with
[94b1dc3]160<application>X</application> Window support, notably for
[c117e5a]161<command>xdvi</command>. If this is desired, remove this
162configure option.</para>
163
[94b1dc3]164<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
165switches ensure that <application>TeX</application> binaries are installed in
[c117e5a]166<filename class="directory">/usr/bin</filename>.</para>
167
[94b1dc3]168<para><parameter>--without-texinfo</parameter>: A default
169<acronym>LFS</acronym> installation already has the
[d260aaf4]170<application>Texinfo</application> package installed; this switch will avoid
171overwriting it with the included <application>Texinfo</application>
[c117e5a]172package.</para>
173
[94b1dc3]174<para><parameter>--with-system-ncurses</parameter>: This switch specifies
175using the already installed <filename class="libraryfile">libncurses</filename>
[4f6275fd]176library.</para>
[c117e5a]177
[94b1dc3]178<para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
179starting with version 4.0 have <application>Zlib</application> installed as
180part of the base operating system; this switch avoids building it here.</para>
[c117e5a]181
182<para><command>texconfig dvips paper letter</command>: This command sets the
183default paper size for <application>TeX</application>.</para>
184
185<para><command>texconfig font rw</command>: This command specifies writable
186fonts.</para>
187
188</sect2>
189
190<sect2>
191<title>Contents</title>
192
[03d51788]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
199programs.</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
212numerous to individually list. Please refer to
213<ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
214a tour of the expansive <application>TeX</application> documentation.</para>
215<indexterm zone="tex tex-programs">
[6a2bce2]216<primary sortas="b-TeX-programs">TeX programs</primary></indexterm>
[03d51788]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>
223for 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
[c117e5a]230</sect2>
[42e2f8d]231
232</sect1>
Note: See TracBrowser for help on using the repository browser.