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
|
---|
30 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
31 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
32 | contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
---|
33 | including the docstrip sources.</para>
|
---|
34 |
|
---|
35 | <sect3><title>Package information</title>
|
---|
36 | <itemizedlist spacing='compact'>
|
---|
37 | <listitem><para>Required Download (FTP): <ulink
|
---|
38 | url="&tex-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Required Download (FTP): <ulink
|
---|
40 | url="&texmf-download-ftp;"/></para></listitem>
|
---|
41 | <listitem><para>Optional Download (FTP): <ulink
|
---|
42 | url="&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
|
---|
55 | url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
|
---|
56 | </listitem>
|
---|
57 | <listitem><para>Recommended Patch: <ulink
|
---|
58 | url="&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-package"/>,
|
---|
71 | <xref linkend="mysql"/>,
|
---|
72 | <xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
---|
73 | url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
|
---|
74 | t1lib</ulink>
|
---|
75 | and <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
|
---|
86 | instructions are included below instead of the usual assumption that you
|
---|
87 | have already untarred the package. The source directory should contain
|
---|
88 | the two required packages and the optional package, if desired.</para>
|
---|
89 |
|
---|
90 | <para>Install <application>TeX</application> by running the following
|
---|
91 | commands:</para>
|
---|
92 |
|
---|
93 | <screen><userinput><command>mkdir -p /usr/share/texmf &&
|
---|
94 | tar zxvf tetex-src-&tex-version;.tar.gz &&
|
---|
95 | cd tetex-src-&tex-version; &&
|
---|
96 | gzip -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 &&
|
---|
108 | patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
---|
109 | ./configure --with-x=no --prefix=/usr \
|
---|
110 | --without-texinfo --with-system-ncurses --with-system-zlib \
|
---|
111 | --exec-prefix=/usr --bindir=/usr/bin &&
|
---|
112 | make world &&
|
---|
113 | texconfig dvips paper letter &&
|
---|
114 | texconfig font rw</command></userinput></screen>
|
---|
115 |
|
---|
116 | <note><para>The paper size may be changed to a4, as is used in most
|
---|
117 | countries.</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>:
|
---|
125 | Untar 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
|
---|
132 | configure option.</para>
|
---|
133 |
|
---|
134 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
135 | switches 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
|
---|
141 | overwriting it with the included <application>texinfo</application>
|
---|
142 | package.</para>
|
---|
143 |
|
---|
144 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
145 | using the already installed <filename class="libraryfile">libncurses</filename>
|
---|
146 | library.</para>
|
---|
147 |
|
---|
148 | <para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
---|
149 | starting with version 4.0 have <application>Zlib</application> installed as
|
---|
150 | part 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
|
---|
153 | default paper size for <application>TeX</application>.</para>
|
---|
154 |
|
---|
155 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
156 | fonts.</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
|
---|
169 | programs.</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
|
---|
182 | numerous to individually list. Please refer to
|
---|
183 | <ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
|
---|
184 | a 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>
|
---|
193 | for 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>
|
---|