source: pst/typesetting/tetex.xml@ 8c5083e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8c5083e was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

  • Property mode set to 100644
File size: 12.5 KB
RevLine 
[5428e2b]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[c117e5a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[4f6275fd]6
[d91914e]7 <!ENTITY tetex-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-src-&tetex-version;.tar.gz" >
[520f6b4f]8 <!ENTITY tetex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-src-&tetex-version;.tar.gz">
9 <!ENTITY tetex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
10 <!ENTITY tetex-size "12.7 MB">
11 <!ENTITY tetex-buildsize "423 MB (549 MB with optional tarball, additional 231 MB for CM-Super fonts)">
12 <!ENTITY tetex-time "2.1 SBU">
13
[d91914e]14 <!ENTITY texmf-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmf-&tetex-version;.tar.gz" >
[520f6b4f]15 <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmf-&tetex-version;.tar.gz">
[4e8205c8]16 <!ENTITY texmf-md5sum "ed9d30d9162d16ac8d5065cde6e0f6fa">
17 <!ENTITY texmf-size "87.1 MB">
[cf068ee1]18
[d91914e]19 <!ENTITY texmfsrc-download-http "http://www.tug.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmfsrc-&tetex-version;.tar.gz" >
[520f6b4f]20 <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tetex-version;/distrib/tetex-texmfsrc-&tetex-version;.tar.gz">
[428434e7]21 <!ENTITY texmfsrc-md5sum "66c32a11964a49982ba2a32d3bbfe7f5">
22 <!ENTITY texmfsrc-size "57.7 MB">
[c40a9d0]23
[60a31248]24 <!ENTITY cmsupersrc-download-http "&sources-anduin-http;/t/tetex-cm-super.tar.bz2" >
25 <!ENTITY cmsupersrc-download-ftp "&sources-anduin-ftp;/t/tetex-cm-super.tar.bz2">
[428434e7]26 <!ENTITY cmsupersrc-md5sum "d7c89fcb35f625b02853a0881a4ec760">
27 <!ENTITY cmsupersrc-size "63.8 MB">
[c117e5a]28]>
29
[520f6b4f]30<sect1 id="tetex" xreflabel="teTeX-&tetex-version;">
31 <?dbhtml filename="tetex.html"?>
[5428e2b]32
33 <sect1info>
34 <othername>$LastChangedBy$</othername>
35 <date>$Date$</date>
36 </sect1info>
37
[520f6b4f]38 <title>teTeX-&tetex-version;</title>
[5428e2b]39
[520f6b4f]40 <indexterm zone="tetex">
41 <primary sortas="a-teTeX">teTeX</primary>
[5428e2b]42 </indexterm>
43
44 <sect2 role="package">
[520f6b4f]45 <title>Introduction to teTeX</title>
[5428e2b]46
[520f6b4f]47 <para><application>teTeX</application> is an implementation of Donald
48 Knuth's TeX typesetting program. This package is able to create documents
49 in a variety of formats. The optional <filename>texmfsrc</filename> (TeX
50 METAFONT) tarball contains source code for programs to create and
51 manipulate TeX fonts.</para>
[5428e2b]52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
[520f6b4f]56 <para>Download (HTTP): <ulink url="&tetex-download-http;"/></para>
[5428e2b]57 </listitem>
58 <listitem>
[520f6b4f]59 <para>Download (FTP): <ulink url="&tetex-download-ftp;"/></para>
[5428e2b]60 </listitem>
61 <listitem>
[520f6b4f]62 <para>Download MD5 sum: &tetex-md5sum;</para>
[5428e2b]63 </listitem>
64 <listitem>
[520f6b4f]65 <para>Download size: &tetex-size;</para>
[5428e2b]66 </listitem>
67 <listitem>
[520f6b4f]68 <para>Estimated disk space required: &tetex-buildsize;</para>
[5428e2b]69 </listitem>
70 <listitem>
[520f6b4f]71 <para>Estimated build time: &tetex-time;</para>
[5428e2b]72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76
77 <itemizedlist spacing='compact'>
78 <title>Required Macros and Fonts</title>
79 <listitem>
80 <para>Download (HTTP): <ulink url="&texmf-download-http;"/></para>
81 </listitem>
82 <listitem>
83 <para>Download (FTP): <ulink url="&texmf-download-ftp;"/></para>
84 </listitem>
85 <listitem>
86 <para>Download MD5 sum: &texmf-md5sum;</para>
87 </listitem>
88 <listitem>
89 <para>Download size: &texmf-size;</para>
90 </listitem>
91 </itemizedlist>
92
93 <itemizedlist spacing='compact'>
94 <title>Optional 'texmf' Sources:</title>
95 <listitem>
96 <para>Download (HTTP): <ulink url="&texmfsrc-download-http;"/></para>
97 </listitem>
98 <listitem>
99 <para>Download (FTP): <ulink url="&texmfsrc-download-ftp;"/></para>
100 </listitem>
101 <listitem>
102 <para>Download MD5 sum: &texmfsrc-md5sum;</para>
103 </listitem>
104 <listitem>
105 <para>Download size: &texmfsrc-size;</para>
106 </listitem>
107 </itemizedlist>
[460e986]108
[c40a9d0]109 <itemizedlist spacing='compact'>
110 <title>Optional 'cm-super' Sources:</title>
111 <listitem>
112 <para>Download (HTTP): <ulink url="&cmsupersrc-download-http;"/></para>
113 </listitem>
114 <listitem>
115 <para>Download (FTP): <ulink url="&cmsupersrc-download-ftp;"/></para>
116 </listitem>
117 <listitem>
118 <para>Download MD5 sum: &cmsupersrc-md5sum;</para>
119 </listitem>
120 <listitem>
121 <para>Download size: &cmsupersrc-size;</para>
122 </listitem>
123 </itemizedlist>
[c117e5a]124
[520f6b4f]125 <bridgehead renderas="sect3">teTeX Dependencies</bridgehead>
[68df39bf]126
[5428e2b]127 <bridgehead renderas="sect4">Required</bridgehead>
[d352a28]128 <para role="required"><xref linkend="ed"/></para>
[5428e2b]129
130 <bridgehead renderas="sect4">Optional</bridgehead>
[d352a28]131 <para role="optional"><xref linkend="libpng"/>,
[e77976f]132 <xref linkend="x-window-system"/>,
[b9c594f0]133 <xref linkend="tk-perl"/>,
[ba4b31cf]134 <ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
[520f6b4f]135 t1lib</ulink>, and
136 <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
[dfd0a5d5]137
[977061b0]138 <para condition="html" role="usernotes">User Notes:
[520f6b4f]139 <ulink url="&blfs-wiki;/tetex"/></para>
[977061b0]140
[5428e2b]141 </sect2>
[c117e5a]142
[5428e2b]143 <sect2 role="installation">
[520f6b4f]144 <title>Installation of teTeX</title>
[c117e5a]145
[520f6b4f]146 <para>Before building <application>teTeX</application>, the macros and
[5428e2b]147 fonts package (<filename>texmf</filename> tarball) must be installed.
148 Install the macros and fonts using the following commands as the
149 <systemitem class="username">root</systemitem> user:</para>
[c117e5a]150
[5428e2b]151<screen role="root"><userinput>install -v -d -m755 /usr/share/texmf &amp;&amp;
[520f6b4f]152gzip -dc ../tetex-texmf-&tetex-version;.tar.gz \
[4fb71d8e]153 | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
[c117e5a]154
[520f6b4f]155 <para>If the optional <filename>texmfsrc</filename> source code TAR ball
156 was downloaded, unpack it now as the <systemitem
[5428e2b]157 class="username">root</systemitem> user:</para>
[dfd0a5d5]158
[520f6b4f]159<screen role="root"><userinput>gzip -dc ../tetex-texmfsrc-&tetex-version;.tar.gz \
[4fb71d8e]160 | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
[c117e5a]161
[520f6b4f]162 <para>Install <application>teTeX</application> by running the following
[5428e2b]163 commands:</para>
[03d51788]164
[5428e2b]165<screen><userinput>./configure --prefix=/usr \
[520f6b4f]166 --exec-prefix=/usr \
167 --bindir=/usr/bin \
168 --without-texinfo \
169 --with-x=no \
170 --with-system-ncurses \
171 --with-system-zlib &amp;&amp;
[5428e2b]172make all</userinput></screen>
[d260aaf4]173
[ea92fe5]174 <para>To test the results, issue: <command>make check</command>. The tests
175 should complete without errors (there may be some errors which are
176 ignored).</para>
177
[5428e2b]178 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[d260aaf4]179
[5428e2b]180<screen role="root"><userinput>make install &amp;&amp;
[95ec78a]181texconfig-sys dvips paper letter &amp;&amp;
182texconfig-sys font rw</userinput></screen>
[5428e2b]183
184 <note>
185 <para>The paper size may be changed to a4, as is used in most
186 countries.</para>
187 </note>
188
[c40a9d0]189 <para>To install the optional cm-super fonts, perform the following
190 instructions as the <systemitem class="username">root</systemitem>
191 user:</para>
192
[9bc5f51]193<screen><userinput>tar -xf ../tetex-cm-super.tar.bz2 &amp;&amp;
[95ec78a]194FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') &amp;&amp;
[520f6b4f]195mkdir -v -p $FONTDIR/fonts/afm/public/cm-super \
196 $FONTDIR/fonts/type1/public/cm-super \
197 $FONTDIR/fonts/enc/dvips/cm-super \
198 $FONTDIR/fonts/map/dvips/cm-super &amp;&amp;
[bccbdaea]199
[c40a9d0]200cp -v cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ &amp;&amp;
201
202gunzip cm-super/afm/* &amp;&amp;
203cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ &amp;&amp;
204
205cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ &amp;&amp;
206cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ &amp;&amp;
207
[95ec78a]208cat &gt;&gt; $FONTDIR/web2c/updmap.cfg &lt;&lt; "EOF" &amp;&amp;
[bccbdaea]209MixedMap cm-super-t1.map
210MixedMap cm-super-t2a.map
211MixedMap cm-super-t2b.map
212MixedMap cm-super-t2c.map
213MixedMap cm-super-ts1.map
214MixedMap cm-super-x2.map
[c40a9d0]215EOF
216
[f803630]217install -v -m644 -D cm-super/type1ec.sty \
[52fb8cf]218 $FONTDIR/tex/latex/cm-super/type1ec.sty &amp;&amp;
[f803630]219
[95ec78a]220mktexlsr &amp;&amp;
221updmap-sys &amp;&amp;
[bccbdaea]222
[c40a9d0]223unset FONTDIR</userinput></screen>
224
[5428e2b]225 </sect2>
226
227 <sect2 role="commands">
228 <title>Command Explanations</title>
229
230 <para><parameter>--with-x=no</parameter>: This switch will avoid any
[520f6b4f]231 <application>X</application> dependencies. <application>teTeX</application>
[5428e2b]232 can be compiled with <application>X</application> support, notably for
[95ec78a]233 <command>xdvi</command>. If this is desired, remove this parameter.</para>
[5428e2b]234
235 <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
[520f6b4f]236 switches ensure that <application>teTeX</application> binaries are installed
[5428e2b]237 in <filename class="directory">/usr/bin</filename>.</para>
238
239 <para><parameter>--without-texinfo</parameter>: A default LFS installation
[520f6b4f]240 already has the <application>Texinfo</application> package installed. This
[5428e2b]241 switch will avoid overwriting it with the included
242 <application>Texinfo</application> package.</para>
243
244 <para><parameter>--with-system-ncurses</parameter>: This switch specifies
245 using the already installed <filename
246 class="libraryfile">libncurses</filename> library.</para>
247
[520f6b4f]248 <para><parameter>--with-system-zlib</parameter>: A default LFS installation
249 already has the <application>Zlib</application> library installed. This
250 switch will avoid replacing it with the included
251 <application>Zlib</application> library.</para>
[5428e2b]252
253 <para><option>--disable-a4</option>: Use this option to set the default
254 paper size to letter and the default unit to inch.</para>
255
[95ec78a]256 <para><command>texconfig-sys dvips paper letter</command>: This command
[520f6b4f]257 sets the default paper size for <application>teTeX</application>.</para>
[95ec78a]258
259 <para><command>texconfig-sys font rw</command>: This command specifies
[520f6b4f]260 creating and using a directory for globally writeable fonts.</para>
[95ec78a]261
262 <para><command>mktexlsr</command>: This command recreates the
[520f6b4f]263 <application>teTeX</application> <filename>ls-R</filename> databases after
[95ec78a]264 installing the CM-Super fonts.</para>
265
266 <para><command>updmap-sys</command>: This command updates the system-wide
267 font configuration to include the CM-Super fonts.</para>
268
[5428e2b]269 <tip>
270 <para>Run <command>./configure --help</command> for information about
[95ec78a]271 using other switches which will enable the build to use other installed
[5428e2b]272 packages you may have on your system.</para>
273 </tip>
274
275 </sect2>
276
277 <sect2 role="content">
278 <title>Contents</title>
279
280 <segmentedlist>
281 <segtitle>Installed Programs</segtitle>
282 <segtitle>Installed Library</segtitle>
283 <segtitle>Installed Directories</segtitle>
284
285 <seglistitem>
286 <seg>100 separate binaries and scripts along with 30 symlinks to these
287 programs.</seg>
288 <seg>libkpathsea.a</seg>
[520f6b4f]289 <seg>/usr/include/kpathsea, /var/tmp/texfonts and the following
290 subdirectories of /usr/share/: texi2html, texinfo/html, texmf,
291 texmf-config and texmf-var</seg>
[5428e2b]292 </seglistitem>
293 </segmentedlist>
294
295 <variablelist>
296 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
297 <?dbfo list-presentation="list"?>
298 <?dbhtml list-presentation="table"?>
299
[520f6b4f]300 <varlistentry id="tetex-programs">
301 <term><command>teTeX programs</command></term>
[5428e2b]302 <listitem>
[520f6b4f]303 <para>included in the <application>teTeX</application> package are too
[5428e2b]304 numerous to individually list. Please refer to the individual program
305 man pages and <ulink url="file:///usr/share/texmf/doc/index.html"/>
306 for details, as well as a tour of the expansive
[520f6b4f]307 <application>teTeX</application> documentation.</para>
308 <indexterm zone="tetex tetex-programs">
309 <primary sortas="b-teTeX-programs">teTeX programs</primary>
[5428e2b]310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="libkpathsea">
315 <term><filename class='libraryfile'>libkpathsea.a</filename></term>
316 <listitem>
[520f6b4f]317 <para>contains functions used by <application>teTeX</application>
[5428e2b]318 for searching and cataloging path names.</para>
[520f6b4f]319 <indexterm zone="tetex libkpathsea">
[5428e2b]320 <primary sortas="c-libkpathsea">libkpathsea.a</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 </variablelist>
326
327 </sect2>
[42e2f8d]328
329</sect1>
Note: See TracBrowser for help on using the repository browser.