update intro to TeX

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1041 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Larry Lawrence 2003-09-08 02:50:30 +00:00
parent 03973ca63f
commit e7f61d6fb7
7 changed files with 63 additions and 44 deletions

View File

@ -28,7 +28,7 @@ chown -R mysql:mysql /var/lib/mysql</command></userinput></screen>
<screen><userinput><command>mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</command>
</userinput></screen>
<para>A default installation, does not setup a password for the administrator.
<para>A default installation does not setup a password for the administrator.
So here we will login and set one. We strongly suggest changing
'new-password' to your own.</para>

View File

@ -10,6 +10,9 @@ page in Chapter 1 for details on who wrote what.</para>
<itemizedlist>
<listitem><para>September 7th, 2003 [larry]: updated intro to
tex.</para></listitem>
<listitem><para>September 7th, 2003 [larry]: update to MySQL-4.0.14, nano-1.2.2,
GTK2+-2.2.5 and pciutils-2.1.11, all submitted by
Igor.</para></listitem>

View File

@ -1,8 +1,9 @@
<sect2>
<title>Contents</title>
<para>The TeX package contains 125 separate binaries. Please refer to
<ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as
well as a tour of the expansive TeX documentation.</para>
<para>The <application>TeX</application> package contains 125 separate binaries.
Please refer to <ulink url="file:///usr/share/texmf/doc/index.html"/>
for details, as well as a tour of the expansive
<application>TeX</application> documentation.</para>
</sect2>

View File

@ -1,24 +1,35 @@
<sect2>
<title>Installation command explanations</title>
<para><screen><userinput>gzip -dc ../teTeX-texmf-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)</userinput></screen> Untar the TeX fonts and macro libraries.</para>
<para><screen><command>gzip -dc ../teTeX-texmf-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></screen>
Untar the <application>TeX</application> fonts and macro libraries.</para>
<para><userinput>--with-x=no</userinput> : Avoid any X-Windows dependencies. TeX can be compiled with X-Windows support, notably for xdvi. If this is desired, remove this
<para><command>--with-x=no</command> : Avoid any
<application>XFree86</application> dependencies.
<application>TeX</application> can be compiled with
<application>XFree86</application> support, notably for
<command>xdvi</command>. If this is desired, remove this
configure option.</para>
<para><userinput>--exec-prefix=/usr --bindir=/usr/bin</userinput> : Insure that TeX binaries will be installed in <filename>/usr/bin</filename>.</para>
<para><command>--exec-prefix=/usr --bindir=/usr/bin</command> : Insure
that <application>TeX</application> binaries will be installed in <filename>/usr/bin</filename>.</para>
<para><userinput>--without-texinfo</userinput> : A default LFS installation already has the texinfo package
installed, we will avoid overwriting it with the included texinfo
<para><command>--without-texinfo</command> : A default
<acronym>LFS</acronym> installation already has the
<application>texinfo</application> package
installed, we will avoid overwriting it with the included
<application>texinfo</application>
package.</para>
<para><userinput>--with-system-ncurses</userinput> : Specify using the already installed ncurses library.</para>
<para><command>--with-system-ncurses</command> : Specify using the
already installed <filename>libncurses</filename> library.</para>
<para><userinput>--with-system-zlib</userinput> : LFS Systems starting with version 4.0 have zlib installed as part of the base operating system, we can avoid building it here.</para>
<para><command>--with-system-zlib</command> : <acronym>LFS</acronym> Systems starting with version 4.0 have zlib installed as part of the base operating system, we can avoid building it here.</para>
<para><userinput>texconfig dvips paper letter</userinput> : Set the default paper size for TeX.</para>
<para><command>texconfig dvips paper letter</command> : Set the default
paper size for <application>TeX</application>.</para>
<para><userinput>texconfig font rw</userinput> : Specify writable fonts.</para>
<para><command>texconfig font rw</command> : Specify writable fonts.</para>
</sect2>

View File

@ -1,32 +1,30 @@
<sect2>
<title>Installation of TeX</title>
<title>Installation of <application>TeX</application></title>
<para>TeX is installed slightly differently than a typical GNU
package, these instructions will assume <filename>/usr/src</filename> to be the current
working directory, containing the three TeX tarballs.</para>
<para><application>TeX</application> is installed from the source
directory (usually <filename>/usr/src</filename>) and untarring
instructions are included below instead of the usual assumption that you
have already untarred the package. The source directory should contain
the two required packages and the optional package, if desired.</para>
<para>Install TeX by running the following commands:</para>
<para>Install <application>TeX</application> by running the following commands:</para>
<para><screen><userinput>mkdir -p /usr/share/texmf &amp;&amp;
<screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
tar zxvf tetex-src-&tex-version;.tar.gz &amp;&amp;
cd tetex-src-&tex-version; &amp;&amp;
gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)</userinput></screen></para>
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
<para>If the optional texmf source code tarball was downloaded, untar
it now:</para>
<para><screen><userinput>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)</userinput></screen></para>
<screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
<para><screen><userinput>./configure --with-x=no --prefix=/usr \
<screen><userinput><command>./configure --with-x=no --prefix=/usr \
--without-texinfo --with-system-ncurses --with-system-zlib \
--exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
make world &amp;&amp;
texconfig dvips paper letter &amp;&amp;
texconfig font rw</userinput></screen></para>
texconfig font rw</command></userinput></screen>
<note><para>
LFS Systems prior to version 4.0 did not install zlib by default.
Remove the --with-system-zlib option from the above commands if you
do not have zlib installed.</para></note>
</sect2>

View File

@ -1,19 +1,25 @@
<sect2>
<title>Introduction to TeX</title>
<title>Introduction to <application>TeX</application></title>
<screen>
Required:
Download location (FTP): <ulink url="&tex-download-http;"/>
Download location (FTP): <ulink url="&texmf-download-ftp;"/>
Optional:
Download location (FTP): <ulink url="&texmfsrc-download-ftp;"/>
Version used: &tex-version;
Package size: &tex-size;
Estimated Disk space required: &tex-buildsize;</screen>
<para>TeX is a typesetting package, able to create documents in a
variety of formats. The optional texmfsrc tarball contains source
code for packages that are contained in the texmf tarball, including
<para><application>TeX</application> is a typesetting package, able to create
documents in a variety of formats. The optional texmfsrc tarball contains
source code for packages that are contained in the texmf tarball, including
the docstrip sources.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (FTP): <ulink
url="&tex-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&texmf-download-ftp;"/></para></listitem>
<listitem><para>Optional Download (FTP): <ulink
url="&texmfsrc-download-ftp;"/></para></listitem>
<listitem><para>Download size: &tex-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&tex-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&tex-time;</para></listitem></itemizedlist>
</sect3>
</sect2>

View File

@ -10,4 +10,4 @@
<!ENTITY texmfsrc-download-ftp
"ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
<!ENTITY tex-size "52 MB">
<!ENTITY tex-time "8.15 SBU">
<!ENTITY tex-time "2.97 SBU">