source: pst/typesetting/tex.xml@ 86af98a

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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 86af98a was 86af98a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated trunk sources to use DocBook DTD XML 4.4

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

  • Property mode set to 100644
File size: 8.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//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
39documents in a variety of formats. The optional <filename>texmfsrc</filename>
40<acronym>TAR</acronym> ball contains source code for packages that are
41contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
42including 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
80url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
81<listitem><para>Recommended Patch: <ulink
82url="&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
99url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
100t1lib</ulink>
101and <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
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>
116-->
117
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>
121
122<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &amp;&amp;
123gzip -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
128user:</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
134commands:</para>
135
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;
138./configure --with-x=no --prefix=/usr \
139 --without-texinfo --with-system-ncurses --with-system-zlib \
140 --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
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;
146texconfig dvips paper letter &amp;&amp;
147texconfig font rw</command></userinput></screen>
148
149<note><para>The paper size may be changed to a4, as is used in most
150countries.</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
162configure option.</para>
163
164<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
165switches 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
171overwriting it with the included <application>Texinfo</application>
172package.</para>
173
174<para><parameter>--with-system-ncurses</parameter>: This switch specifies
175using the already installed <filename class="libraryfile">libncurses</filename>
176library.</para>
177
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>
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
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">
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>
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
230</sect2>
231
232</sect1>
Note: See TracBrowser for help on using the repository browser.