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 "52 MB">
|
---|
10 | <!ENTITY tex-buildsize "175 MB">
|
---|
11 | <!ENTITY tex-time "2.97 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="pst-typesetting-tex" xreflabel="TeX-&tex-version;">
|
---|
15 | <?dbhtml filename="tex.html"?>
|
---|
16 | <title>TeX-&tex-version;</title>
|
---|
17 |
|
---|
18 | <sect2>
|
---|
19 | <title>Introduction to <application>TeX</application></title>
|
---|
20 |
|
---|
21 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
22 | documents in a variety of formats. The optional texmfsrc
|
---|
23 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
24 | contained in the texmf <acronym>TAR</acronym> ball, including
|
---|
25 | the docstrip sources.</para>
|
---|
26 |
|
---|
27 | <sect3><title>Package information</title>
|
---|
28 | <itemizedlist spacing='compact'>
|
---|
29 | <listitem><para>Download (FTP): <ulink
|
---|
30 | url="&tex-download-ftp;"/></para></listitem>
|
---|
31 | <listitem><para>Download (FTP): <ulink
|
---|
32 | url="&texmf-download-ftp;"/></para></listitem>
|
---|
33 | <listitem><para>Optional Download (FTP): <ulink
|
---|
34 | url="&texmfsrc-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download size: &tex-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated Disk space required:
|
---|
37 | &tex-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &tex-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title>Additional Downloads</title>
|
---|
43 | <itemizedlist spacing='compact'>
|
---|
44 | <listitem><para>Recommended Patch: <ulink url="&patch-root;/tetex-src-2.0.2-remove_readlink-1.patch"/></para></listitem>
|
---|
45 | </itemizedlist></sect3>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 | <sect2>
|
---|
50 | <title>Installation of <application>TeX</application></title>
|
---|
51 |
|
---|
52 | <para><application>TeX</application> is installed from the source
|
---|
53 | directory (usually <filename class="directory">/usr/src</filename>) and untarring
|
---|
54 | instructions are included below instead of the usual assumption that you
|
---|
55 | have already untarred the package. The source directory should contain
|
---|
56 | the two required packages and the optional package, if desired.</para>
|
---|
57 |
|
---|
58 | <para>Install <application>TeX</application> by running the following commands:</para>
|
---|
59 |
|
---|
60 | <screen><userinput><command>mkdir -p /usr/share/texmf &&
|
---|
61 | tar zxvf tetex-src-&tex-version;.tar.gz &&
|
---|
62 | cd tetex-src-&tex-version; &&
|
---|
63 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
64 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
65 |
|
---|
66 | <para>If the optional texmf source code <acronym>TAR</acronym> ball was downloaded, untar
|
---|
67 | it now:</para>
|
---|
68 | <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
69 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
70 |
|
---|
71 | <screen><userinput><command>patch -Np1 -i ../tetex-src-2.0.2-remove_readlink-1.patch &&
|
---|
72 | ./configure --with-x=no --prefix=/usr \
|
---|
73 | --without-texinfo --with-system-ncurses --with-system-zlib \
|
---|
74 | --exec-prefix=/usr --bindir=/usr/bin &&
|
---|
75 | make world &&
|
---|
76 | texconfig dvips paper letter &&
|
---|
77 | texconfig font rw</command></userinput></screen>
|
---|
78 |
|
---|
79 | <note><para>
|
---|
80 | The paper size may be changed to a4, as is used in most countries.
|
---|
81 | </para></note>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2>
|
---|
86 | <title>Installation command explanations</title>
|
---|
87 |
|
---|
88 | <para><screen><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
89 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></screen>
|
---|
90 | Untar the <application>TeX</application> fonts and macro libraries.</para>
|
---|
91 |
|
---|
92 | <para><parameter>--with-x=no</parameter>: This switch will avoid any
|
---|
93 | <application>XFree86</application> dependencies.
|
---|
94 | <application>TeX</application> can be compiled with
|
---|
95 | <application>XFree86</application> support, notably for
|
---|
96 | <command>xdvi</command>. If this is desired, remove this
|
---|
97 | configure option.</para>
|
---|
98 |
|
---|
99 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: This switch
|
---|
100 | will ensure that <application>TeX</application> binaries will be installed in
|
---|
101 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
102 |
|
---|
103 | <para><option>--without-texinfo</option>: A default
|
---|
104 | <acronym>LFS</acronym> installation already has the
|
---|
105 | <application>texinfo</application> package
|
---|
106 | installed; this switch will avoid overwriting it with the included
|
---|
107 | <application>texinfo</application>
|
---|
108 | package.</para>
|
---|
109 |
|
---|
110 | <para><option>--with-system-ncurses</option>: This switch specifies using the
|
---|
111 | already installed <filename class="libraryfile">libncurses</filename> library.</para>
|
---|
112 |
|
---|
113 | <para><option>--with-system-zlib</option>: <acronym>LFS</acronym>
|
---|
114 | Systems starting with version 4.0 have zlib installed as part of the
|
---|
115 | base operating system; this switch avoids building it here.</para>
|
---|
116 |
|
---|
117 | <para><command>texconfig dvips paper letter</command>: This command sets the
|
---|
118 | default paper size for <application>TeX</application>.</para>
|
---|
119 |
|
---|
120 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
121 | fonts.</para>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2>
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <para>The <application>TeX</application> package contains 125 separate binaries.
|
---|
129 | Please refer to <ulink url="file:///usr/share/texmf/doc/index.html"/>
|
---|
130 | for details, as well as a tour of the expansive
|
---|
131 | <application>TeX</application> documentation.</para>
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | </sect1>
|
---|