source: pst/typesetting/tex.xml@ c40a9d0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 c40a9d0 was c40a9d0, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Added installation instructions for cm-super fonts to TeX; remove reference to /usr/src/ from Chapter 2 - Notes on Building SW

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

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