Ignore:
Timestamp:
06/14/2004 05:45:05 AM (20 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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:
9d2dc4e2
Parents:
959f944
Message:

XML update for Chapter 46

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/tex.xml

    r959f944 rc117e5a  
     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
    114<sect1 id="pst-typesetting-tex" xreflabel="TeX-&tex-version;">
    215<?dbhtml filename="tex.html"?>
    316<title>TeX-&tex-version;</title>
    417
    5 &tex-intro;
    6 &tex-inst;
    7 &tex-exp;
    8 &tex-desc;
     18<sect2>
     19<title>Introduction to <application>TeX</application></title>
     20
     21<para><application>TeX</application> is a typesetting package, able to create
     22documents in a variety of formats.  The optional texmfsrc
     23<acronym>TAR</acronym> ball contains source code for packages that are
     24contained in the texmf <acronym>TAR</acronym> ball, including
     25the docstrip sources.</para>
     26
     27<sect3><title>Package information</title>
     28<itemizedlist spacing='compact'>
     29<listitem><para>Download (FTP): <ulink
     30url="&tex-download-ftp;"/></para></listitem>
     31<listitem><para>Download (FTP): <ulink
     32url="&texmf-download-ftp;"/></para></listitem>
     33<listitem><para>Optional Download (FTP): <ulink
     34url="&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
     53directory (usually <filename class="directory">/usr/src</filename>) and untarring
     54instructions are included below instead of the usual assumption that you
     55have already untarred the package. The source directory should contain
     56the 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 &amp;&amp;
     61tar zxvf tetex-src-&tex-version;.tar.gz &amp;&amp;
     62cd tetex-src-&tex-version; &amp;&amp;
     63gzip -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
     67it 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 &amp;&amp;
     72./configure --with-x=no --prefix=/usr \
     73    --without-texinfo   --with-system-ncurses --with-system-zlib \
     74    --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
     75make world &amp;&amp;
     76texconfig dvips paper letter &amp;&amp;
     77texconfig font rw</command></userinput></screen>
     78
     79<note><para>
     80The 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>
     90Untar 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
     97configure option.</para>
     98
     99<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: This switch
     100will 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
     106installed; this switch will avoid overwriting it with the included
     107<application>texinfo</application>
     108package.</para>
     109
     110<para><option>--with-system-ncurses</option>: This switch specifies using the
     111already installed <filename class="libraryfile">libncurses</filename> library.</para>
     112
     113<para><option>--with-system-zlib</option>: <acronym>LFS</acronym>
     114Systems starting with version 4.0 have zlib installed as part of the
     115base operating system; this switch avoids building it here.</para>
     116
     117<para><command>texconfig dvips paper letter</command>: This command sets the
     118default paper size for <application>TeX</application>.</para>
     119
     120<para><command>texconfig font rw</command>: This command specifies writable
     121fonts.</para>
     122
     123</sect2>
     124
     125<sect2>
     126<title>Contents</title>
     127
     128<para>The <application>TeX</application> package contains 125 separate binaries.
     129Please refer to <ulink url="file:///usr/share/texmf/doc/index.html"/>
     130for details, as well as a tour of the expansive
     131<application>TeX</application> documentation.</para>
     132</sect2>
    9133
    10134</sect1>
Note: See TracChangeset for help on using the changeset viewer.