source: pst/typesetting/tex.xml@ 03d51788

10.0 10.1 11.0 6.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 03d51788 was 03d51788, checked in by Randy McMurchy <randy@…>, 17 years ago

Added index tags to TeX

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

  • Property mode set to 100644
File size: 7.6 KB
Line 
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;
5
6 <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
7 <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
8 <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
9 <!ENTITY tex-size "64 MB">
10 <!ENTITY tex-optional-size "87 MB">
11 <!ENTITY tex-buildsize "344 MB">
12 <!ENTITY tex-optional-buildsize "415 MB">
13 <!ENTITY tex-time "1.82 SBU">
14]>
15
16<sect1 id="tex" xreflabel="TeX-&tex-version;">
17<sect1info>
18<othername>$LastChangedBy$</othername>
19<date>$Date$</date>
20</sect1info>
21<?dbhtml filename="tex.html"?>
22<title>TeX-&tex-version;</title>
23<indexterm zone="tex">
24<primary sortas="a-tex">TeX</primary></indexterm>
25
26<sect2>
27<title>Introduction to <application>TeX</application></title>
28
29<para><application>TeX</application> is a typesetting package, able to create
30documents in a variety of formats. The optional <filename>texmfsrc</filename>
31<acronym>TAR</acronym> ball contains source code for packages that are
32contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
33including the docstrip sources.</para>
34
35<sect3><title>Package information</title>
36<itemizedlist spacing='compact'>
37<listitem><para>Required Download (FTP): <ulink
38url="&tex-download-ftp;"/></para></listitem>
39<listitem><para>Required Download (FTP): <ulink
40url="&texmf-download-ftp;"/></para></listitem>
41<listitem><para>Optional Download (FTP): <ulink
42url="&texmfsrc-download-ftp;"/></para></listitem>
43<listitem><para>Download size:
44&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
45<listitem><para>Estimated disk space required:
46&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
47</listitem>
48<listitem><para>Estimated build time:
49&tex-time;</para></listitem></itemizedlist>
50</sect3>
51
52<sect3><title>Additional Downloads</title>
53<itemizedlist spacing='compact'>
54<listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
55url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
56</listitem>
57<listitem><para>Recommended Patch: <ulink
58url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
59</listitem>
60</itemizedlist></sect3>
61
62<sect3><title><application>TeX</application> dependencies</title>
63<sect4><title>Required</title>
64<para><xref linkend="ed"/></para>
65</sect4>
66
67<sect4><title>Optional</title>
68<para><xref linkend="libpng"/>,
69<xref linkend="x-installing"/>,
70<xref linkend="openssl"/>,
71<xref linkend="mysql"/>,
72<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
73url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
74t1lib</ulink>
75and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
76</sect4>
77</sect3>
78
79</sect2>
80
81<sect2>
82<title>Installation of <application>TeX</application></title>
83
84<para><application>TeX</application> is installed from the source directory
85(usually <filename class="directory">/usr/src</filename>) and untarring
86instructions are included below instead of the usual assumption that you
87have already untarred the package. The source directory should contain
88the two required packages and the optional package, if desired.</para>
89
90<para>Install <application>TeX</application> by running the following
91commands:</para>
92
93<screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
94tar zxvf tetex-src-&tex-version;.tar.gz &amp;&amp;
95cd tetex-src-&tex-version; &amp;&amp;
96gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
97 | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
98
99<para>If the optional <filename>texmf</filename> source code
100<acronym>TAR</acronym> ball was downloaded, untar it now:</para>
101
102<screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
103 | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
104
105<para>Continue with the installation:</para>
106
107<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
108patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
109./configure --with-x=no --prefix=/usr \
110 --without-texinfo --with-system-ncurses --with-system-zlib \
111 --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
112make world &amp;&amp;
113texconfig dvips paper letter &amp;&amp;
114texconfig font rw</command></userinput></screen>
115
116<note><para>The paper size may be changed to a4, as is used in most
117countries.</para></note>
118
119</sect2>
120
121<sect2>
122<title>Installation command explanations</title>
123
124<para><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz | ...</command>:
125Untar the <application>TeX</application> fonts and macro libraries.</para>
126
127<para><option>--with-x=no</option>: This switch will avoid any
128<application>X</application> Window dependencies.
129<application>TeX</application> can be compiled with
130<application>X</application> Window support, notably for
131<command>xdvi</command>. If this is desired, remove this
132configure option.</para>
133
134<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
135switches ensure that <application>TeX</application> binaries are installed in
136<filename class="directory">/usr/bin</filename>.</para>
137
138<para><parameter>--without-texinfo</parameter>: A default
139<acronym>LFS</acronym> installation already has the
140<application>texinfo</application> package installed; this switch will avoid
141overwriting it with the included <application>texinfo</application>
142package.</para>
143
144<para><parameter>--with-system-ncurses</parameter>: This switch specifies
145using the already installed <filename class="libraryfile">libncurses</filename>
146library.</para>
147
148<para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
149starting with version 4.0 have <application>Zlib</application> installed as
150part of the base operating system; this switch avoids building it here.</para>
151
152<para><command>texconfig dvips paper letter</command>: This command sets the
153default paper size for <application>TeX</application>.</para>
154
155<para><command>texconfig font rw</command>: This command specifies writable
156fonts.</para>
157
158</sect2>
159
160<sect2>
161<title>Contents</title>
162
163<segmentedlist>
164<segtitle>Installed Programs</segtitle>
165<segtitle>Installed Library</segtitle>
166<segtitle>Installed Directory</segtitle>
167<seglistitem>
168<seg>101 separate binaries and scripts along with 37 symlinks to these
169programs.</seg>
170<seg>libkpathsea.a</seg>
171<seg>/usr/share/texmf</seg>
172</seglistitem>
173</segmentedlist>
174
175<variablelist>
176<bridgehead renderas="sect3">Short Descriptions</bridgehead>
177<?dbfo list-presentation="list"?>
178
179<varlistentry id="tex-programs">
180<term><command>TeX programs</command></term>
181<listitem><para>included in the <application>TeX</application> package are too
182numerous to individually list. Please refer to
183<ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
184a tour of the expansive <application>TeX</application> documentation.</para>
185<indexterm zone="tex tex-programs">
186<primary sortas="b-tex-programs">TeX programs</primary></indexterm>
187</listitem>
188</varlistentry>
189
190<varlistentry id="libkpathsea">
191<term><filename class='libraryfile'>libkpathsea.a</filename></term>
192<listitem><para>contains functions used by <application>TeX</application>
193for searching and cataloging path names.</para>
194<indexterm zone="tex libkpathsea">
195<primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
196</listitem>
197</varlistentry>
198</variablelist>
199
200</sect2>
201
202</sect1>
Note: See TracBrowser for help on using the repository browser.