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