source: pst/typesetting/tex.xml@ 460e986

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 460e986 was 460e986, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to Chapter 46 package instructions

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

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