Fixed some broken commands in the TeX instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5005 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-09-02 06:43:57 +00:00
parent 2858d9e0db
commit 95ec78a550
3 changed files with 38 additions and 29 deletions

View File

@ -1,8 +1,8 @@
<!ENTITY day "01">
<!ENTITY day "02">
<!ENTITY month "09">
<!ENTITY year "2005">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "September &day;st, &year;">
<!ENTITY releasedate "September &day;nd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- version|stable|testing|unstable|development] -->

View File

@ -41,6 +41,16 @@
-->
<listitem>
<para>September 2nd, 2005</para>
<itemizedlist>
<listitem>
<para>[randy] - Fixed some broken commands in the TeX
instructions.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 1st, 2005</para>
<itemizedlist>

View File

@ -8,7 +8,7 @@
<!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz">
<!ENTITY tex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
<!ENTITY tex-size "12.7 MB">
<!ENTITY tex-buildsize "416 MB (542 MB with optional tarball)">
<!ENTITY tex-buildsize "423 MB (549 MB with optional tarball, additional 231 MB for CM-Super fonts)">
<!ENTITY tex-time "2.1 SBU">
<!ENTITY texmf-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz" >
@ -167,8 +167,8 @@ make all</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
TEXMFVAR=/usr/share/texmf-var texconfig dvips paper letter &amp;&amp;
TEXMFVAR=/usr/share/texmf-var texconfig font rw</userinput></screen>
texconfig-sys dvips paper letter &amp;&amp;
texconfig-sys font rw</userinput></screen>
<note>
<para>The paper size may be changed to a4, as is used in most
@ -179,7 +179,8 @@ TEXMFVAR=/usr/share/texmf-var texconfig font rw</userinput></screen>
instructions as the <systemitem class="username">root</systemitem>
user:</para>
<screen><userinput>FONTDIR=/usr/share/texmf/ &amp;&amp;
<screen><userinput>tar -xf tetex-cm-super.tar.bz2 &amp;&amp;
FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') &amp;&amp;
mkdir -p $FONTDIR/fonts/afm/public/cm-super \
$FONTDIR/fonts/type1/public/cm-super \
$FONTDIR/fonts/enc/dvips/cm-super \
@ -193,7 +194,7 @@ cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ &amp;&amp;
cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ &amp;&amp;
cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ &amp;&amp;
cat &gt;&gt; $FONTDIR/texmf/web2c/updmap.cfg &lt;&lt; "EOF" &amp;&amp;
cat &gt;&gt; $FONTDIR/web2c/updmap.cfg &lt;&lt; "EOF" &amp;&amp;
MixedMap cm-super-t1.map
MixedMap cm-super-t2a.map
MixedMap cm-super-t2b.map
@ -202,7 +203,8 @@ MixedMap cm-super-ts1.map
MixedMap cm-super-x2.map
EOF
TEXMFVAR=/usr/share/texmf-var updmap &amp;&amp;
mktexlsr &amp;&amp;
updmap-sys &amp;&amp;
unset FONTDIR</userinput></screen>
@ -214,8 +216,7 @@ unset FONTDIR</userinput></screen>
<para><parameter>--with-x=no</parameter>: This switch will avoid any
<application>X</application> dependencies. <application>TeX</application>
can be compiled with <application>X</application> support, notably for
<command>xdvi</command>. If this is desired, remove this configure
option.</para>
<command>xdvi</command>. If this is desired, remove this parameter.</para>
<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
switches ensure that <application>TeX</application> binaries are installed
@ -230,31 +231,29 @@ unset FONTDIR</userinput></screen>
using the already installed <filename
class="libraryfile">libncurses</filename> library.</para>
<para><parameter>--with-system-zlib</parameter>: LFS systems starting
with version 4.0 have <application>Zlib</application> installed as part
of the base operating system; this switch avoids building it here.</para>
<para><parameter>--with-system-zlib</parameter>: LFS systems include the
<application>Zlib</application> library; this switch avoids building it
here.</para>
<para><option>--disable-a4</option>: Use this option to set the default
paper size to letter and the default unit to inch.</para>
<para><command>TEXMFVAR=/usr/share/texmf-var texconfig dvips paper
letter</command>: This command sets the default paper size for
<application>TeX</application>. The TEXMFVAR variable puts the resulting
configuration in a global location instead of a hidden subdirectory of
<filename class='directory'>/root</filename>.</para>
<para><command>texconfig-sys dvips paper letter</command>: This command
sets the default paper size for <application>TeX</application>.</para>
<para><command>TEXMFVAR=/usr/share/texmf-var texconfig font rw</command>:
This command specifies writable fonts. The TEXMFVAR variable puts the
resulting configuration in a global location instead of a hidden
subdirectory of <filename class='directory'>/root</filename>.</para>
<para><command>texconfig-sys font rw</command>: This command specifies
creating and using a directory for globally writable fonts.</para>
<para><command>mktexlsr</command>: This command recreates the
<application>TeX</application> <filename>ls-R</filename> databases after
installing the CM-Super fonts.</para>
<para><command>updmap-sys</command>: This command updates the system-wide
font configuration to include the CM-Super fonts.</para>
<para><command>TEXMFVAR=/usr/share/texmf-var updmap</command>:
This command updates the font configuration. The TEXMFVAR variable puts the
resulting configuration in a global location instead of a hidden
subdirectory of <filename class='directory'>/root</filename>.</para>
<tip>
<para>Run <command>./configure --help</command> for information about
using other switches which will enable the build to use any installed
using other switches which will enable the build to use other installed
packages you may have on your system.</para>
</tip>
@ -272,8 +271,8 @@ unset FONTDIR</userinput></screen>
<seg>100 separate binaries and scripts along with 30 symlinks to these
programs.</seg>
<seg>libkpathsea.a</seg>
<seg>~/.texmf-config, /usr/include/kpathsea, /usr/share/texinfo/html,
/usr/share/texmf, /usr/share/texi2html and /usr/share/texmf-var</seg>
<seg>/usr/include/kpathsea, /usr/share/texinfo/html, /usr/share/texmf,
/usr/share/texi2html, /usr/share/texmf-var and /var/tmp/texfonts</seg>
</seglistitem>
</segmentedlist>