source: pst/typesetting/tex.xml@ a0f03b0

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 a0f03b0 was a0f03b0, checked in by Archaic <archaic@…>, 20 years ago

Inserting sect1info

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

  • Property mode set to 100644
File size: 6.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-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 "2.97 SBU">
14]>
15
16<sect1 id="pst-typesetting-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
24<sect2>
25<title>Introduction to <application>TeX</application></title>
26
27<para><application>TeX</application> is a typesetting package, able to create
28documents in a variety of formats. The optional <filename>texmfsrc</filename>
29<acronym>TAR</acronym> ball contains source code for packages that are
30contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
31including the docstrip sources.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Required Download (FTP): <ulink
36url="&tex-download-ftp;"/></para></listitem>
37<listitem><para>Required Download (FTP): <ulink
38url="&texmf-download-ftp;"/></para></listitem>
39<listitem><para>Optional Download (FTP): <ulink
40url="&texmfsrc-download-ftp;"/></para></listitem>
41<listitem><para>Download size:
42&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
43<listitem><para>Estimated Disk space required:
44&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
45</listitem>
46<listitem><para>Estimated build time:
47&tex-time;</para></listitem></itemizedlist>
48</sect3>
49
50<sect3><title>Additional Downloads</title>
51<itemizedlist spacing='compact'>
52<listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
53url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
54</listitem>
55<listitem><para>Recommended Patch: <ulink
56url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
57</listitem>
58</itemizedlist></sect3>
59
60<sect3><title><application>TeX</application> dependencies</title>
61<sect4><title>Required</title>
62<para><xref linkend="ed"/></para>
63</sect4>
64
65<sect4><title>Optional</title>
66<para><xref linkend="x-installing"/>,
67<xref linkend="openssl"/>,
68<xref linkend="mysql"/> and
69<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;</para>
70</sect4>
71</sect3>
72
73</sect2>
74
75<sect2>
76<title>Installation of <application>TeX</application></title>
77
78<para><application>TeX</application> is installed from the source
79directory (usually <filename class="directory">/usr/src</filename>) and untarring
80instructions are included below instead of the usual assumption that you
81have already untarred the package. The source directory should contain
82the two required packages and the optional package, if desired.</para>
83
84<para>Install <application>TeX</application> by running the following
85commands:</para>
86
87<screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
88tar zxvf tetex-src-&tex-version;.tar.gz &amp;&amp;
89cd tetex-src-&tex-version; &amp;&amp;
90gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
91 | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
92
93<para>If the optional <filename>texmf</filename> source code
94<acronym>TAR</acronym> ball was downloaded, untar it now:</para>
95
96<screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
97 | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
98
99<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
100patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
101./configure --with-x=no --prefix=/usr \
102 --without-texinfo --with-system-ncurses --with-system-zlib \
103 --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
104make world &amp;&amp;
105texconfig dvips paper letter &amp;&amp;
106texconfig font rw</command></userinput></screen>
107
108<note><para>
109The paper size may be changed to a4, as is used in most countries.
110</para></note>
111
112</sect2>
113
114<sect2>
115<title>Installation command explanations</title>
116
117<para><screen><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
118 | (umask 0; cd /usr/share/texmf; tar xvf -)</command></screen>
119Untar the <application>TeX</application> fonts and macro libraries.</para>
120
121<para><parameter>--with-x=no</parameter>: This switch will avoid any
122<application>XFree86</application> dependencies.
123<application>TeX</application> can be compiled with
124<application>XFree86</application> support, notably for
125<command>xdvi</command>. If this is desired, remove this
126configure option.</para>
127
128<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: This switch
129will ensure that <application>TeX</application> binaries will be installed in
130<filename class="directory">/usr/bin</filename>.</para>
131
132<para><option>--without-texinfo</option>: A default
133<acronym>LFS</acronym> installation already has the
134<application>texinfo</application> package
135installed; this switch will avoid overwriting it with the included
136<application>texinfo</application>
137package.</para>
138
139<para><option>--with-system-ncurses</option>: This switch specifies using the
140already installed <filename class="libraryfile">libncurses</filename>
141library.</para>
142
143<para><option>--with-system-zlib</option>:
144<acronym>LFS</acronym> systems starting with version 4.0 have
145<application>Zlib</application> installed as part of the
146base operating system; this switch avoids building it here.</para>
147
148<para><command>texconfig dvips paper letter</command>: This command sets the
149default paper size for <application>TeX</application>.</para>
150
151<para><command>texconfig font rw</command>: This command specifies writable
152fonts.</para>
153
154</sect2>
155
156<sect2>
157<title>Contents</title>
158
159<para>The <application>TeX</application> package contains 101 separate
160binaries and shell scripts, and another 37 symlinks to these programs.
161<application>TeX</application> also builds the
162<filename class='libraryfile'>libkpathsea</filename> library.
163Please refer to <ulink url="file:///usr/share/texmf/doc/index.html"/>
164for details, as well as a tour of the expansive
165<application>TeX</application> documentation.</para>
166</sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.