Changeset c40a9d0


Ignore:
Timestamp:
08/17/2005 02:18:47 AM (19 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
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
Children:
4096f25
Parents:
79630dd
Message:

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/unpacking.xml

    r79630dd rc40a9d0  
    2626  instructions.</para>
    2727
    28   <para>While you can keep the source files anywhere you like, we
    29   assume that you have unpacked them and unzipped any required patches
    30   into <filename>/usr/src</filename>.</para>
     28  <para>While you can keep the source files anywhere you like, we assume that
     29  you have unpacked the package and changed into the directory created by the
     30  unpacking process (the 'build' directory).  We also assume you have
     31  uncompressed any required patches and they are in the directory immediately
     32  above the 'build' directory.</para>
    3133
    3234  <para>We can not emphasize strongly enough that you should start from a
     
    7880    <para>Finally, you sometimes need to be able to unpack patches which are
    7981    generally not in <filename class='extension'>.tar</filename> format. The
    80     best way to do this is to copy the patch file to
    81     <filename class='directory'>/usr/src</filename> and then run one of the
    82     following commands depending on whether the file is a
    83     <filename class='extension'>.gz</filename> or
    84     <filename class='extension'>.bz2</filename> file:</para>
     82    best way to do this is to copy the patch file to parent of the 'build'
     83    directory and then run one of the following commands depending on whether
     84    the file is a <filename class='extension'>.gz</filename> or <filename
     85    class='extension'>.bz2</filename> file:</para>
    8586
    8687<screen><userinput>gunzip -v patchname.gz
  • introduction/welcome/changelog.xml

    r79630dd rc40a9d0  
    2424
    2525  <itemizedlist>
     26
     27    <listitem>
     28      <para>August 16th, 2005 [bdubbs]: Added instructions for cm-super
     29      fonts to TeX.</para>
     30    </listitem>
    2631
    2732    <listitem>
  • pst/typesetting/tex.xml

    r79630dd rc40a9d0  
    1010  <!ENTITY tex-size          "12.7 MB">
    1111  <!ENTITY tex-buildsize     "416 MB (542 MB with optional tarball)">
    12   <!ENTITY tex-time          "2.07 SBU">
     12  <!ENTITY tex-time          "2.1 SBU">
    1313
    1414  <!ENTITY texmf-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz" >
     
    2121  <!ENTITY texmfsrc-md5sum   "66c32a11964a49982ba2a32d3bbfe7f5">
    2222  <!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">
    2328]>
    2429
     
    101106    </itemizedlist>
    102107
    103 <!--
    104 <sect4><title>Patches</title>
    105 <itemizedlist spacing='compact'>
    106 <listitem><para>Required Patch: <ulink
    107 url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
    108 <listitem><para>Recommended Patch: <ulink
    109 url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
    110 </listitem>
    111 </itemizedlist>
    112 </sect4>
    113  -->
     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>
    114123
    115124    <bridgehead renderas="sect3">TeX Dependencies</bridgehead>
     
    131140    <title>Installation of TeX</title>
    132141
    133 <!--
    134 <para><application>TeX</application> is installed from the source directory
    135 (usually <filename class="directory">/usr/src</filename>) and untarring
    136 instructions are included below instead of the usual assumption that you
    137 have already untarred the package. The source directory should contain
    138 the two required packages and the optional package, if desired.</para>
    139 -->
    140 
    141142    <para>Before building <application>TeX</application>, the macros and
    142143    fonts package (<filename>texmf</filename> tarball) must be installed.
     
    157158    <para>Install <application>TeX</application> by running the following
    158159    commands:</para>
    159 
    160 <!--
    161 <screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
    162 patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
    163  -->
    164160
    165161<screen><userinput>./configure --prefix=/usr \
     
    172168
    173169<screen role="root"><userinput>make install &amp;&amp;
    174 texconfig dvips paper letter &amp;&amp;
    175 texconfig font rw</userinput></screen>
     170TEXMFVAR=/usr/share/texmf-var texconfig dvips paper letter &amp;&amp;
     171TEXMFVAR=/usr/share/texmf-var texconfig font rw</userinput></screen>
    176172
    177173    <note>
     
    179175      countries.</para>
    180176    </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>
    181208
    182209  </sect2>
     
    211238    paper size to letter and the default unit to inch.</para>
    212239
    213     <para><command>texconfig dvips paper letter</command>: This command sets
    214     the default paper size for <application>TeX</application>.</para>
    215 
    216     <para><command>texconfig font rw</command>: This command specifies writable
    217     fonts.</para>
    218 
     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>
    219255    <tip>
    220256      <para>Run <command>./configure --help</command> for information about
Note: See TracChangeset for help on using the changeset viewer.