diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-03 22:05:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-03 22:05:03 +0000 |
commit | 1a3991f41a8a8f3f6c693951e333c6c417688cb8 (patch) | |
tree | a434ed608a433489fb0eeb732fe0751e46076508 /Master/texmf-doc | |
parent | cad22e5a1cceb04cd561c7d2706c729ad7b88683 (diff) |
noninteractive install
git-svn-id: svn://tug.org/texlive/trunk@2582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc')
-rw-r--r-- | Master/texmf-doc/doc/english/texlive-en/live.html | 1121 | ||||
-rw-r--r-- | Master/texmf-doc/doc/english/texlive-en/live.pdf | bin | 791781 -> 795503 bytes | |||
-rw-r--r-- | Master/texmf-doc/source/english/texlive-en/live.tex | 56 |
3 files changed, 658 insertions, 519 deletions
diff --git a/Master/texmf-doc/doc/english/texlive-en/live.html b/Master/texmf-doc/doc/english/texlive-en/live.html index f17e204d30c..061a937398c 100644 --- a/Master/texmf-doc/doc/english/texlive-en/live.html +++ b/Master/texmf-doc/doc/english/texlive-en/live.html @@ -8,7 +8,7 @@ <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)"> <!-- charset=utf-8,html,info,fn-in --> <meta name="src" content="live.tex"> -<meta name="date" content="2006-12-03 02:28:00"> +<meta name="date" content="2006-12-03 23:04:00"> <link rel="stylesheet" type="text/css" href="live.css"> <link rel="stylesheet" type="text/css" href="live.css" /> <link rel="stylesheet" type="text/css" href="tex-live.css" /> @@ -70,71 +70,71 @@ class="E">E</span>X</span> Live directly from media (Unix)</a></span> href="#x1-140003.2" id="QQ2-1-15">Installing <span class="TEX">T<span class="E">E</span>X</span> Live to disk</a></span> <br>  <span class="subsectionToc">3.3 <a -href="#x1-150003.3" id="QQ2-1-17">Installing individual packages to disk</a></span> +href="#x1-160003.3" id="QQ2-1-18">Installing individual packages to disk</a></span> <br> <span class="sectionToc">4 <a -href="#x1-160004" id="QQ2-1-18">Post-installation</a></span> +href="#x1-170004" id="QQ2-1-19">Post-installation</a></span> <br>  <span class="subsectionToc">4.1 <a -href="#x1-170004.1" id="QQ2-1-19">The <span +href="#x1-180004.1" id="QQ2-1-20">The <span class="ec-lmss-10">texconfig </span>program</a></span> <br>  <span class="subsectionToc">4.2 <a -href="#x1-180004.2" id="QQ2-1-20">Testing the installation</a></span> +href="#x1-190004.2" id="QQ2-1-21">Testing the installation</a></span> <br> <span class="sectionToc">5 <a -href="#x1-190005" id="QQ2-1-21">Mac OS X installation</a></span> +href="#x1-200005" id="QQ2-1-22">Mac OS X installation</a></span> <br> <span class="sectionToc">6 <a -href="#x1-200006" id="QQ2-1-22">Windows installation</a></span> +href="#x1-210006" id="QQ2-1-23">Windows installation</a></span> <br>  <span class="subsectionToc">6.1 <a -href="#x1-210006.1" id="QQ2-1-23">Installing <span class="TEX">T<span +href="#x1-220006.1" id="QQ2-1-24">Installing <span class="TEX">T<span class="E">E</span>X</span> Live to disk</a></span> <br>  <span class="subsectionToc">6.2 <a -href="#x1-220006.2" id="QQ2-1-24">Support packages for Windows</a></span> +href="#x1-230006.2" id="QQ2-1-25">Support packages for Windows</a></span> <br> <span class="sectionToc">7 <a -href="#x1-230007" id="QQ2-1-25">Maintenance of the installation in Windows</a></span> +href="#x1-240007" id="QQ2-1-26">Maintenance of the installation in Windows</a></span> <br>  <span class="subsectionToc">7.1 <a -href="#x1-240007.1" id="QQ2-1-26">Adding/removing packages</a></span> +href="#x1-250007.1" id="QQ2-1-27">Adding/removing packages</a></span> <br>  <span class="subsectionToc">7.2 <a -href="#x1-250007.2" id="QQ2-1-27">Configuring and other management tasks</a></span> +href="#x1-260007.2" id="QQ2-1-28">Configuring and other management tasks</a></span> <br>  <span class="subsectionToc">7.3 <a -href="#x1-260007.3" id="QQ2-1-28">Uninstalling <span class="TEX">T<span +href="#x1-270007.3" id="QQ2-1-29">Uninstalling <span class="TEX">T<span class="E">E</span>X</span> Live</a></span> <br>  <span class="subsectionToc">7.4 <a -href="#x1-270007.4" id="QQ2-1-29">Adding your own packages to the installation</a></span> +href="#x1-280007.4" id="QQ2-1-30">Adding your own packages to the installation</a></span> <br>  <span class="subsectionToc">7.5 <a -href="#x1-280007.5" id="QQ2-1-30">Running <span +href="#x1-290007.5" id="QQ2-1-31">Running <span class="ec-lmtt-10">tlmp.exe </span>from the command line</a></span> <br>  <span class="subsectionToc">7.6 <a -href="#x1-290007.6" id="QQ2-1-31">Network installation</a></span> +href="#x1-300007.6" id="QQ2-1-32">Network installation</a></span> <br>  <span class="subsectionToc">7.7 <a -href="#x1-300007.7" id="QQ2-1-32">What’s different in Windows?</a></span> +href="#x1-310007.7" id="QQ2-1-33">What’s different in Windows?</a></span> <br>  <span class="subsectionToc">7.8 <a -href="#x1-310007.8" id="QQ2-1-33">Personal configurations</a></span> +href="#x1-320007.8" id="QQ2-1-34">Personal configurations</a></span> <br>  <span class="subsectionToc">7.9 <a -href="#x1-360007.9" id="QQ2-1-38">Testing</a></span> +href="#x1-370007.9" id="QQ2-1-39">Testing</a></span> <br>  <span class="subsectionToc">7.10 <a -href="#x1-370007.10" id="QQ2-1-39">Printing</a></span> +href="#x1-380007.10" id="QQ2-1-40">Printing</a></span> <br>  <span class="subsectionToc">7.11 <a -href="#x1-380007.11" id="QQ2-1-40">Tips and tricks for Win32</a></span> +href="#x1-390007.11" id="QQ2-1-41">Tips and tricks for Win32</a></span> <br>  <span class="subsectionToc">7.12 <a -href="#x1-450007.12" id="QQ2-1-47">In case of problems</a></span> +href="#x1-460007.12" id="QQ2-1-48">In case of problems</a></span> <br> <span class="sectionToc">8 <a -href="#x1-480008" id="QQ2-1-50">A user’s guide to Web2C</a></span> +href="#x1-490008" id="QQ2-1-51">A user’s guide to Web2C</a></span> <br>  <span class="subsectionToc">8.1 <a -href="#x1-490008.1" id="QQ2-1-51">Kpathsea path searching</a></span> +href="#x1-500008.1" id="QQ2-1-52">Kpathsea path searching</a></span> <br>  <span class="subsectionToc">8.2 <a -href="#x1-570008.2" id="QQ2-1-59">Filename databases</a></span> +href="#x1-580008.2" id="QQ2-1-60">Filename databases</a></span> <br>  <span class="subsectionToc">8.3 <a -href="#x1-620008.3" id="QQ2-1-67">Runtime options</a></span> +href="#x1-630008.3" id="QQ2-1-68">Runtime options</a></span> <br> <span class="sectionToc">9 <a -href="#x1-630009" id="QQ2-1-68">Acknowledgements</a></span> +href="#x1-640009" id="QQ2-1-69">Acknowledgements</a></span> <br> <span class="sectionToc">10 <a -href="#x1-6400010" id="QQ2-1-69">Release history</a></span> +href="#x1-6500010" id="QQ2-1-70">Release history</a></span> <br>  <span class="subsectionToc">10.1 <a -href="#x1-6500010.1" id="QQ2-1-70">Past</a></span> +href="#x1-6600010.1" id="QQ2-1-71">Past</a></span> <br>  <span class="subsectionToc">10.2 <a -href="#x1-6900010.2" id="QQ2-1-74">Present</a></span> +href="#x1-7000010.2" id="QQ2-1-75">Present</a></span> <br>  <span class="subsectionToc">10.3 <a -href="#x1-7000010.3" id="QQ2-1-75">Future</a></span> +href="#x1-7100010.3" id="QQ2-1-76">Future</a></span> </div> <h3 class="likesectionHead"><a id="x1-2000"></a>List of Tables</h3> @@ -172,8 +172,8 @@ class="ec-lmtt-10">http://www.ctan.org</span></a></span>. <!--l. 48--><p class="indent"> For a brief summary of the major changes in this edition of <span class="TEX">T<span class="E">E</span>X</span> Live, see the end of the document, section <a -href="#x1-6400010">10<!--tex4ht:ref: sec:history --></a> (p. <a -href="#x1-6400010">65<!--tex4ht:ref: sec:history --></a>). +href="#x1-6500010">10<!--tex4ht:ref: sec:history --></a> (p. <a +href="#x1-6500010">66<!--tex4ht:ref: sec:history --></a>). <!--l. 53--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">1.1 </span> <a id="x1-40001.1"></a>Basic usage of <span class="TEX">T<span @@ -223,7 +223,7 @@ class="ec-lmtt-10">install-pkg.sh</span>. <li class="itemize">The installation program for Windows is <span class="ec-lmtt-10">tlpmgui.exe</span>. It can be used also for adding or removing the packages. See section <a -href="#x1-200006">6<!--tex4ht:ref: sec:win-install --></a> below for more information. +href="#x1-210006">6<!--tex4ht:ref: sec:win-install --></a> below for more information. </li></ul> <!--l. 94--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">1.2 </span> <a @@ -584,8 +584,8 @@ class="ec-lmtt-10">fmtutil-sys</span></span></span> to store (cached) runtime data such as format files and generated map files.</dd></dl> <!--l. 298--><p class="indent"> For more discussion of <span class="ec-lmtt-10">texconfig </span>and related utilities, please see section <a -href="#x1-170004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a -href="#x1-170004.1">26<!--tex4ht:ref: sec:texconfig --></a>. +href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a +href="#x1-180004.1">27<!--tex4ht:ref: sec:texconfig --></a>. <!--l. 302--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a id="x1-100002.4"></a>Extensions to <span class="TEX">T<span @@ -915,8 +915,8 @@ run <span class="ec-lmss-10">texconfig </span>or <span class="ec-lmss-10">texconfig-sys </span>to customize your installation to your needs. This is explained in section <a -href="#x1-170004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a -href="#x1-170004.1">26<!--tex4ht:ref: sec:texconfig --></a>. +href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a +href="#x1-180004.1">27<!--tex4ht:ref: sec:texconfig --></a>. <!--l. 509--><p class="indent"> <a @@ -1033,8 +1033,8 @@ class="ec-lmtt-10"> /opt/texlive2006/texmf-var</span> </div> </div> <!--l. 550--><p class="noindent">Then log out, log back in, and test your installation (see section <a -href="#x1-180004.2">4.2<!--tex4ht:ref: sec:test-install --></a>, p. <a -href="#x1-180004.2">27<!--tex4ht:ref: sec:test-install --></a>). +href="#x1-190004.2">4.2<!--tex4ht:ref: sec:test-install --></a>, p. <a +href="#x1-190004.2">28<!--tex4ht:ref: sec:test-install --></a>). <!--l. 559--><p class="indent"> If in doubt, please ask any local system gurus to help you with problems; for example, the way to mount the <span class="TEX">T<span class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to @@ -1313,8 +1313,8 @@ class="ec-lmtt-10">TEXDIR/texmf-var</span>, and there’s generally no reaso class="ec-lmtt-10">TEXMFSYSCONFIG</span>, which is where <span class="ec-lmss-10">texconfig </span>looks for modified configuration data. See section <a -href="#x1-170004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a -href="#x1-170004.1">26<!--tex4ht:ref: sec:texconfig --></a> for more information. +href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a +href="#x1-180004.1">27<!--tex4ht:ref: sec:texconfig --></a> for more information. </dd></dl> <!--l. 709--><p class="indent"> <span class="ec-lmtk-10">o </span><span @@ -1400,8 +1400,8 @@ run <span class="ec-lmss-10">texconfig </span>or <span class="ec-lmss-10">texconfig-sys </span>to customize your installation to your needs. This is explained in section <a -href="#x1-170004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a -href="#x1-170004.1">26<!--tex4ht:ref: sec:texconfig --></a>. +href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a +href="#x1-180004.1">27<!--tex4ht:ref: sec:texconfig --></a>. <!--l. 769--><p class="indent"> Here is a minimal annotated example which accepts the default directories and installs binaries for the current system only. Thus, only one command is needed, <span class="underline"><span class="ec-lmtt-10">i</span></span> for install. The <span @@ -1462,7 +1462,7 @@ class="ec-lmtt-10"> #</span><span class="ec-lmtt-10"> see</span><span class="ec-lmtt-10"> section</span><span class="ec-lmtt-10"> </span><a -href="#x1-170004.1"><span +href="#x1-180004.1"><span class="ec-lmtt-10">4.1</span><!--tex4ht:ref: sec:texconfig --></a> <br><span class="ec-lmtt-10">#</span><span @@ -1486,20 +1486,86 @@ class="ec-lmtt-10">PATH</span></span> mount the <span class="TEX">T<span class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to your personal initialization files can and do vary from site to site. + <h5 class="subsubsectionHead"><span class="titlemark">3.2.1 </span> <a + id="x1-150003.2.1"></a>Non-interactive installation</h5> +<!--l. 788--><p class="noindent">It is possible to override the default directories with environment variables, and then install +non-interactively. Example: <div class="alltt"> +<!--l. 790--><p class="noindent"><div class="obeylines-v"> +<span +class="ec-lmtt-10">></span><span +class="ec-lmtt-10"> </span><span class="underline"><span +class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX=/opt/texlive</span></span> +<br><span +class="ec-lmtt-10">></span><span +class="ec-lmtt-10"> </span><span class="underline"><span +class="ec-lmtt-10">export</span> <span +class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX</span></span> +<br><span +class="ec-lmtt-10">></span><span +class="ec-lmtt-10"> </span><span class="underline"><span +class="ec-lmtt-10">echo</span> <span +class="ec-lmtt-10">i</span> <span +class="ec-lmtt-10">|</span> <span +class="ec-lmtt-10">sh</span> <span +class="ec-lmtt-10">install-tl.sh</span></span> +</div> +</div> +<!--l. 796--><p class="indent"> The <span +class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX </span>variable overrides the default location of <span +class="ec-lmtt-10">/usr/local/texlive</span>, +leaving all else unchanged—so with the above invocation, the main installation will go to +<span +class="ec-lmtt-10">/opt/texlive/2006</span>. +<!--l. 801--><p class="indent"> In the usual Unix way, the final <span class="underline"><span +class="ec-lmtt-10">echo</span> i</span> can be replaced by any sequence of input commands via a +here document, so any sequence of commands can be scripted. +<!--l. 805--><p class="indent"> Here are all the possible overrides: +<!--l. 807--><p class="noindent"> + <dl class="list1"><dt class="list"> + <span +class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX</span> </dt><dd +class="list">Override <span +class="ec-lmtt-10">/usr/local/texlive</span>. + </dd><dt class="list"> + <span +class="ec-lmtt-10">TEXLIVE_INSTALL_TEXDIR</span> </dt><dd +class="list">Override <span +class="ec-lmtt-10">$TEXLIVE_INSTALL_PREFIX</span>/2006. + + + </dd><dt class="list"> + <span +class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFLOCAL</span> </dt><dd +class="list">Override <span +class="ec-lmtt-10">$TEXLIVE_INSTALL_PREFIX/texmf-var</span>. + </dd><dt class="list"> + <span +class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFSYSVAR</span> </dt><dd +class="list">Override <span +class="ec-lmtt-10">$TEXLIVE_INSTALL_TEXDIR/texmf-var</span>. + </dd><dt class="list"> + <span +class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFHOME</span> </dt><dd +class="list">Override <span +class="ec-lmtt-10">$HOME/texmf</span>.</dd></dl> +<!--l. 820--><p class="indent"> It would be better to support a standard GNU-style <span +class="ec-lmtt-10">configure </span>with options, instead of these +environment variables. Volunteers are welcome! +<!--l. 826--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">3.3 </span> <a - id="x1-150003.3"></a>Installing individual packages to disk</h4> -<!--l. 788--><p class="noindent">You can add individual packages or collections from the current distribution to an existing non-<span class="TEX">T<span + id="x1-160003.3"></a>Installing individual packages to disk</h4> +<!--l. 828--><p class="noindent">You can add individual packages or collections from the current distribution to an existing non-<span class="TEX">T<span class="E">E</span>X</span> Live setup, or an earlier <span class="TEX">T<span class="E">E</span>X</span> Live installation. -<!--l. 792--><p class="indent"> To start, you mount the CD or DVD, with Rock Ridge extensions enabled. The exact command to do +<!--l. 832--><p class="indent"> To start, you mount the CD or DVD, with Rock Ridge extensions enabled. The exact command to do this varies from system to system; the following works under Linux, except the name of the device (<span class="ec-lmtt-10">/dev/cdrom</span>, here) may vary. (All our examples will use <span class="ec-lmtt-10">> </span>as the shell prompt; user input is <span class="underline"><span class="ec-lmtt-10">underlined</span></span>.) <div class="alltt"> -<!--l. 792--><p class="noindent"><div class="obeylines-v"> <span +<!--l. 832--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">> </span><span class="underline"><span class="ec-lmtt-10">mount</span> <span class="ec-lmtt-10">-t</span> <span @@ -1508,23 +1574,21 @@ class="ec-lmtt-10">/dev/cdrom</span> <span class="ec-lmtt-10">/mnt/cdrom</span></span> </div> </div> -<!--l. 792--><p class="noindent">Change the current directory to the mount point: <div class="alltt"> -<!--l. 792--><p class="noindent"><div class="obeylines-v"> <span +<!--l. 832--><p class="noindent">Change the current directory to the mount point: <div class="alltt"> +<!--l. 832--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">> </span><span class="underline"><span class="ec-lmtt-10">cd</span> <span class="ec-lmtt-10">/mnt/cdrom</span></span> </div> </div> -<!--l. 792--><p class="noindent">Under Mac OS X, the directory is typically under <span +<!--l. 832--><p class="noindent">Under Mac OS X, the directory is typically under <span class="ec-lmtt-10">/Volumes</span>, and the media will be mounted automatically. -<!--l. 794--><p class="indent"> Run the installation script <span +<!--l. 834--><p class="indent"> Run the installation script <span class="ec-lmtt-10">install-pkg.sh </span>(not <span class="ec-lmtt-10">install-tl.sh</span>, which is intended for complete installations only): <div class="alltt"> - - -<!--l. 797--><p class="noindent"><div class="obeylines-v"> +<!--l. 837--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1533,8 +1597,8 @@ class="ec-lmtt-10">install-pkg.sh</span> <span class="ec-lmro-10">options</span></span> </div> </div> -<!--l. 801--><p class="indent"> The first set of options controls what gets read: -<!--l. 803--><p class="noindent"> +<!--l. 841--><p class="indent"> The first set of options controls what gets read: +<!--l. 843--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--package=</span><span @@ -1549,6 +1613,8 @@ class="list">The individual collection to work on. <span class="ec-lmtt-10">--nodoc</span> </dt><dd class="list">Exclude documentation files from the operation. + + </dd><dt class="list"> <span class="ec-lmtt-10">--nosrc</span> </dt><dd @@ -1569,7 +1635,7 @@ class="ec-lmro-10">cddir </span>from which to read the package class="E">E</span>X</span> Live yourself. </dd></dl> -<!--l. 823--><p class="indent"> What actually happens is controlled by the following options. If neither of these are specified, the +<!--l. 863--><p class="indent"> What actually happens is controlled by the following options. If neither of these are specified, the default action is to install the selected files. The main destination tree is found by expanding <span class="ec-lmtt-10">$TEXMFMAIN</span> with <span @@ -1577,7 +1643,7 @@ class="ec-lmss-10">kpsewhich</span>. You can override it by setting either the e class="ec-lmtt-10">TEXMFMAIN </span>or <span class="ec-lmtt-10">TEXMF</span>. -<!--l. 830--><p class="noindent"> +<!--l. 870--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--listonly</span> </dt><dd @@ -1590,8 +1656,8 @@ class="list">Instead of installing the files into the <span class="TEX">T<span class="E">E</span>X</span> system, make a <span class="ec-lmss-10">tar </span>archive. </dd></dl> -<!--l. 839--><p class="indent"> Additional options: -<!--l. 841--><p class="noindent"> +<!--l. 879--><p class="indent"> Additional options: +<!--l. 881--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--config</span> </dt><dd @@ -1607,16 +1673,15 @@ class="ec-lmss-10">mktexlsr </span>to rebuild the filename database. class="ec-lmtt-10">--verbose</span> </dt><dd class="list">Give more information as the script runs. </dd></dl> -<!--l. 852--><p class="indent"> Here are some usage examples: -<!--l. 854--><p class="indent"> - +<!--l. 892--><p class="indent"> Here are some usage examples: +<!--l. 894--><p class="indent"> <ol class="enumerate1" > <li class="enumerate" value="1" ><a - id="x1-15002x1"></a>To see the files in the package <span + id="x1-16002x1"></a>To see the files in the package <span class="ec-lmss-10">fancyhdr </span>without installing it: <div class="alltt"> - <!--l. 859--><p class="noindent"><div class="obeylines-v"> + <!--l. 899--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1632,14 +1697,15 @@ class="ec-lmtt-10">texmf/doc/latex/fancyhdr/fancyhdr.pdf</span> <br><span class="ec-lmtt-10">...</span> </div> - </div> + </div> + </li> <li class="enumerate" value="2" ><a - id="x1-15004x2"></a>Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span + id="x1-16004x2"></a>Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> package <span class="ec-lmss-10">natbib</span>: <div class="alltt"> - <!--l. 870--><p class="noindent"><div class="obeylines-v"> + <!--l. 910--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1651,10 +1717,10 @@ class="ec-lmtt-10">--package=natbib</span></span> </li> <li class="enumerate" value="3" ><a - id="x1-15006x3"></a>Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span + id="x1-16006x3"></a>Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> package <span class="ec-lmss-10">alg </span>without source files or documentation: <div class="alltt"> - <!--l. 876--><p class="noindent"><div class="obeylines-v"> + <!--l. 916--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1668,9 +1734,9 @@ class="ec-lmtt-10">--nodoc</span></span> </li> <li class="enumerate" value="4" ><a - id="x1-15008x4"></a>Install all the packages in the collection of additional plain <span class="TEX">T<span + id="x1-16008x4"></a>Install all the packages in the collection of additional plain <span class="TEX">T<span class="E">E</span>X</span> macros: <div class="alltt"> - <!--l. 884--><p class="noindent"><div class="obeylines-v"> + <!--l. 924--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1682,32 +1748,33 @@ class="ec-lmtt-10">--collection=tex-plainextra</span></span> </li> <li class="enumerate" value="5" ><a - id="x1-15010x5"></a>Write all files in the <span + id="x1-16010x5"></a>Write all files in the <span class="ec-lmss-10">pstricks </span>package to a <span class="ec-lmss-10">tar </span>file in <span class="path"><span class="ec-lmtt-10">/tmp</span></span>: <div class="alltt"> - <!--l. 890--><p class="noindent"><div class="obeylines-v"> + <!--l. 930--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span class="ec-lmtt-10">sh</span> <span class="ec-lmtt-10">install-pkg.sh</span> <span class="ec-lmtt-10">--package=pstricks</span> <span -class="ec-lmtt-10">--archive=/tmp/pstricks.tar</span></span> - +class="ec-lmtt-10">--archive=/tmp/pstricks.tar</span></span> </div> </div> </li></ol> -<!--l. 899--><p class="indent"> If in doubt, please ask any local system gurus to help you with problems; for example, the way to +<!--l. 939--><p class="indent"> If in doubt, please ask any local system gurus to help you with problems; for example, the way to mount the <span class="TEX">T<span class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to your personal initialization files can and do vary from site to site. -<!--l. 903--><p class="noindent"> + + +<!--l. 943--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">4 </span> <a - id="x1-160004"></a>Post-installation</h3> -<!--l. 906--><p class="noindent">After the main installation is done, for any operating system, the remaining steps are to configure the + id="x1-170004"></a>Post-installation</h3> +<!--l. 946--><p class="noindent">After the main installation is done, for any operating system, the remaining steps are to configure the system for your local needs, and perform some basic tests. -<!--l. 910--><p class="indent"> Another sort of post-installation is to acquire packages, fonts, or programs that were not included in +<!--l. 950--><p class="indent"> Another sort of post-installation is to acquire packages, fonts, or programs that were not included in <span class="TEX">T<span class="E">E</span>X</span> Live. The basic idea is to install such additions in the <span class="ec-lmtt-10">TEXMFLOCAL </span>tree (if you installed to @@ -1715,7 +1782,7 @@ disk), or <span class="ec-lmtt-10">TEXMFSYSVAR </span>(if you are running live). See the “Installation directories” option on p. <a href="#x1-140003.2">21<!--tex4ht:ref: text:instdir --></a>. -<!--l. 916--><p class="indent"> Unfortunately, the details can and do vary widely, and so we do not attempt to address them here. +<!--l. 956--><p class="indent"> Unfortunately, the details can and do vary widely, and so we do not attempt to address them here. Here are some external links to descriptions: <ul class="itemize1"> <li class="itemize"><span class="obeylines-h"><a @@ -1734,22 +1801,22 @@ class="ec-lmtt-10">http://www.ctan.org/tex-archive/info/beginlatex/html/chapter5 href="http://www.ctan.org/tex-archive/info/Type1fonts" class="url" ><span class="ec-lmtt-10">http://www.ctan.org/tex-archive/info/Type1fonts</span></a></span> for installation information for fonts in particular.</li></ul> -<!--l. 931--><p class="noindent"> +<!--l. 971--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">4.1 </span> <a - id="x1-170004.1"></a>The <span + id="x1-180004.1"></a>The <span class="ec-lmss-10">texconfig </span>program</h4> -<!--l. 934--><p class="noindent">At any time after installation, you can and should use the program <span +<!--l. 974--><p class="noindent">At any time after installation, you can and should use the program <span class="ec-lmss-10">texconfig </span>to configure the system to fit your local needs. It is installed in the architecture-specific subdirectory <span class="ec-lmtt-10">TEXDIR/bin/</span><span class="ec-lmro-10">arch </span>along with everything else. -<!--l. 939--><p class="indent"> If you run it without arguments, it will enter full-screen mode and allow you to view and change +<!--l. 979--><p class="indent"> If you run it without arguments, it will enter full-screen mode and allow you to view and change options interactively. -<!--l. 942--><p class="indent"> You can also run it with various command-line options. Here are some of the most common (<span class="TEX">T<span +<!--l. 982--><p class="indent"> You can also run it with various command-line options. Here are some of the most common (<span class="TEX">T<span class="E">E</span>X</span> Live is configured for the A4 paper size by default): -<!--l. 945--><p class="noindent"> +<!--l. 985--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">texconfig paper letter</span> </dt><dd @@ -1773,15 +1840,13 @@ class="E">E</span>X</span> FAQ. (See also the main <span class class="E">E</span>X</span> FAQ in <a href="../../../../texmf-doc/doc/english/FAQ-en" >texmf-doc/doc/english/FAQ-en</a>.) - - </dd><dt class="list"> <span class="ec-lmtt-10">texconfig help</span> </dt><dd class="list">Output help information for <span class="ec-lmss-10">texconfig</span>. </dd></dl> -<!--l. 962--><p class="indent"> Of course, <span +<!--l. 1002--><p class="indent"> Of course, <span class="ec-lmss-10">texconfig </span>can only support changing a few of the many options and configuration parameters in a <span class="TEX">T<span class="E">E</span>X</span> system. The main configuration file for the base Web2C programs is named @@ -1789,7 +1854,9 @@ class="E">E</span>X</span> system. The main configuration file for the base Web2 class="ec-lmtt-10">texmf.cnf</span>. You can find its location by running ‘<span class="ec-lmtt-10">kpsewhich texmf.cnf</span>’; it contains many comments explaining the default settings and useful alternatives. -<!--l. 969--><p class="indent"> As of 2005, <span + + +<!--l. 1009--><p class="indent"> As of 2005, <span class="ec-lmss-10">texconfig </span>alters files in a user-specific directory, as in <span class="ec-lmtt-10">$HOME/.texlive2005</span>. If you install <span class="TEX">T<span @@ -1799,46 +1866,46 @@ system, you will want to change the configuration for the whole system. In this class="ec-lmss-10">texconfig-sys</span> instead of <span class="ec-lmss-10">texconfig</span>. -<!--l. 976--><p class="indent"> Likewise, the <span +<!--l. 1016--><p class="indent"> Likewise, the <span class="ec-lmss-10">updmap </span>and <span class="ec-lmss-10">fmtutil </span>scripts were changed, to work under <span class="ec-lmtt-10">$HOME/.texliveYYYY</span>. To alter system directories, use <span class="ec-lmss-10">updmap-sys </span>and <span class="ec-lmss-10">fmtutil-sys</span>. -<!--l. 980--><p class="indent"> In particular, for multi-user systems, you will probably want to pregenerate the standard formats +<!--l. 1020--><p class="indent"> In particular, for multi-user systems, you will probably want to pregenerate the standard formats with <span class="ec-lmtt-10">fmtutil-sys –missing</span>. Otherwise, each user will end up with their own formats. -<!--l. 984--><p class="indent"> Also, if you have a personally-modified copy of <span +<!--l. 1024--><p class="indent"> Also, if you have a personally-modified copy of <span class="ec-lmtt-10">fmtutil.cnf </span>or <span class="ec-lmtt-10">updmap.cfg</span>, instead of using the ones generated by installation, they must be installed in the tree referenced by the variable <span class="ec-lmtt-10">TEXMFSYSCONFIG</span>. -<!--l. 989--><p class="indent"> The variables specifying the directories altered by these commands are listed in section <a +<!--l. 1029--><p class="indent"> The variables specifying the directories altered by these commands are listed in section <a href="#x1-90002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>, p. <a href="#x1-90002.3">7<!--tex4ht:ref: sec:texmftrees --></a>. You can see the actual directories by running <span class="ec-lmtt-10">texconfig conf</span>, and you can change them by editing <span class="ec-lmtt-10">texmf.cnf</span>. -<!--l. 995--><p class="noindent"> +<!--l. 1035--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">4.2 </span> <a - id="x1-180004.2"></a>Testing the installation</h4> -<!--l. 998--><p class="noindent">After installing <span class="TEX">T<span + id="x1-190004.2"></a>Testing the installation</h4> +<!--l. 1038--><p class="noindent">After installing <span class="TEX">T<span class="E">E</span>X</span> Live as best you can, you naturally want to test it out, so you can start creating beautiful documents and/or fonts. -<!--l. 1001--><p class="indent"> This section gives some basic procedures for testing that the new system is functional. We give Unix +<!--l. 1041--><p class="indent"> This section gives some basic procedures for testing that the new system is functional. We give Unix commands; under Mac OS X and Windows, you’re more likely to run the tests through a graphical interface, but the principles are the same. -<!--l. 1006--><p class="indent"> +<!--l. 1046--><p class="indent"> <ol class="enumerate1" > <li class="enumerate" value="1" ><a - id="x1-18002x1"></a>Make sure that you can run the <span + id="x1-19002x1"></a>Make sure that you can run the <span class="ec-lmss-10">tex </span>program in the first place: <div class="alltt"> - <!--l. 1011--><p class="noindent"><div class="obeylines-v"> + <!--l. 1051--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1865,11 +1932,9 @@ href="#x1-130003.1">17<!--tex4ht:ref: text:path --></a>. </li> <li class="enumerate" value="2" ><a - id="x1-18004x2"></a>Process a basic <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span + id="x1-19004x2"></a>Process a basic <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> file: <div class="alltt"> - - - <!--l. 1023--><p class="noindent"><div class="obeylines-v"> + <!--l. 1063--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1896,7 +1961,8 @@ class="ec-lmtt-10"> bytes).</span> class="ec-lmtt-10">Transcript</span><span class="ec-lmtt-10"> written</span><span class="ec-lmtt-10"> on</span><span -class="ec-lmtt-10"> sample2e.log.</span> +class="ec-lmtt-10"> sample2e.log.</span> + </div> </div> If this fails to find <span class="ec-lmtt-10">sample2e.tex </span>or other files, perhaps you have interference from old @@ -1904,12 +1970,12 @@ class="ec-lmtt-10">sample2e.tex </span>or other files, perhaps you have interfer class="E">E</span>X</span> to report on exactly what it is searching for, and finding; see “Debugging actions” on page <a -href="#x1-610008.2.4">59<!--tex4ht:ref: Debugging --></a>. +href="#x1-620008.2.4">60<!--tex4ht:ref: Debugging --></a>. </li> <li class="enumerate" value="3" ><a - id="x1-18006x3"></a>Preview the result online: <div class="alltt"> - <!--l. 1037--><p class="noindent"><div class="obeylines-v"> + id="x1-19006x3"></a>Preview the result online: <div class="alltt"> + <!--l. 1077--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1930,8 +1996,8 @@ class="ec-lmtt-10">display</span>’. </li> <li class="enumerate" value="4" ><a - id="x1-18008x4"></a>Create a PostScript file for printing or display: <div class="alltt"> - <!--l. 1048--><p class="noindent"><div class="obeylines-v"> + id="x1-19008x4"></a>Create a PostScript file for printing or display: <div class="alltt"> + <!--l. 1088--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1944,10 +2010,10 @@ class="ec-lmtt-10">sample2e.ps</span></span> </li> <li class="enumerate" value="5" ><a - id="x1-18010x5"></a>Create a PDF file instead of DVI; this processes the <span + id="x1-19010x5"></a>Create a PDF file instead of DVI; this processes the <span class="ec-lmtt-10">.tex </span>file and writes PDF directly: <div class="alltt"> - <!--l. 1054--><p class="noindent"><div class="obeylines-v"> + <!--l. 1094--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1958,10 +2024,8 @@ class="ec-lmtt-10">sample2e.tex</span></span> </li> <li class="enumerate" value="6" ><a - id="x1-18012x6"></a>Preview the PDF file: <div class="alltt"> - - - <!--l. 1059--><p class="noindent"><div class="obeylines-v"> + id="x1-19012x6"></a>Preview the PDF file: <div class="alltt"> + <!--l. 1099--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -1983,12 +2047,13 @@ href="http://www.gnu.org/software/gv" class="url" ><span class="ec-lmtt-10">http://www.gnu.org/software/gv</span></a></span> and <span class="obeylines-h"><a href="http://www.foolabs.com/xpdf" class="url" ><span class="ec-lmtt-10">http://www.foolabs.com/xpdf</span></a></span>, - respectively. + respectively. + </li> <li class="enumerate" value="7" ><a - id="x1-18014x7"></a>Other standard test files you may find useful: - <!--l. 1071--><p class="noindent"> + id="x1-19014x7"></a>Other standard test files you may find useful: + <!--l. 1111--><p class="noindent"> <dl class="list2"><dt class="list"> <span class="ec-lmtt-10">small2e.tex</span> </dt><dd @@ -2017,20 +2082,20 @@ class="ec-lmtt-10">\bye</span>’ to the <span class="ec-lmtt-10">*</span> prompt after ‘<span class="ec-lmtt-10">tex story.tex</span>’.</dd></dl> - <!--l. 1081--><p class="noindent">You can process these in the same way as we did with <span + <!--l. 1121--><p class="noindent">You can process these in the same way as we did with <span class="ec-lmtt-10">sample2e.tex</span>. </li></ol> -<!--l. 1086--><p class="indent"> If you are new to <span class="TEX">T<span +<!--l. 1126--><p class="indent"> If you are new to <span class="TEX">T<span class="E">E</span>X</span>, or otherwise need help with actually constructing <span class="TEX">T<span class="E">E</span>X</span> or <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> documents, please visit <span class="obeylines-h"><a href="http://tug.org/begin.html" class="url" ><span class="ec-lmtt-10">http://tug.org/begin.html</span></a></span> for some introductory resources. -<!--l. 1091--><p class="noindent"> +<!--l. 1131--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">5 </span> <a - id="x1-190005"></a>Mac OS X installation</h3> -<!--l. 1094--><p class="noindent">The recommended way to install <span class="TEX">T<span + id="x1-200005"></a>Mac OS X installation</h3> +<!--l. 1134--><p class="noindent">The recommended way to install <span class="TEX">T<span class="E">E</span>X</span> on Mac OS X is from the Mac<span class="TEX">T<span class="E">E</span>X</span> distribution, new in 2005. This is provided on the <span @@ -2043,12 +2108,12 @@ class="E">E</span>X</span> Live, along with many additional applications and documentation. The project web page is <span class="obeylines-h"><a href="http://tug.org/mactex" class="url" ><span class="ec-lmtt-10">http://tug.org/mactex</span></a></span>. -<!--l. 1101--><p class="indent"> If you prefer, installation of <span class="TEX">T<span +<!--l. 1141--><p class="indent"> If you prefer, installation of <span class="TEX">T<span class="E">E</span>X</span> under Mac OS X can also be done directly from <span class="TEX">T<span class="E">E</span>X</span> Live, using the <span class="ec-lmtt-10">install* </span>scripts, as follows. -<!--l. 1104--><p class="indent"> In order to run the installation scripts under Mac OS X, you need to have the <span +<!--l. 1144--><p class="indent"> In order to run the installation scripts under Mac OS X, you need to have the <span class="ec-lmss-10">bash </span>shell installed. If you are running Mac OS X 10.2 or later, you have <span class="ec-lmss-10">bash</span>, and can proceed. If you’re running an earlier @@ -2056,23 +2121,21 @@ Mac OS X version, however, the default shell is <span class="ec-lmss-10">zsh</span>, which won’t work; you’ll need to get <span class="ec-lmss-10">bash </span>from the Internet, or more likely upgrade your system. -<!--l. 1111--><p class="indent"> Once you have <span +<!--l. 1151--><p class="indent"> Once you have <span class="ec-lmss-10">bash</span>, the Unix installation documentation in the previous section can be followed. See section <a href="#x1-120003">3<!--tex4ht:ref: sec:unix-install --></a> on p. <a href="#x1-120003">10<!--tex4ht:ref: sec:unix-install --></a>; Mac OS X-specific notes are included there where needed. - - -<!--l. 1116--><p class="noindent"> +<!--l. 1156--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">6 </span> <a - id="x1-200006"></a>Windows installation</h3> -<!--l. 1119--><p class="noindent">In this release of <span class="TEX">T<span + id="x1-210006"></a>Windows installation</h3> +<!--l. 1159--><p class="noindent">In this release of <span class="TEX">T<span class="E">E</span>X</span> Live, happily, the distribution once again has a native Windows installer, named <span class="ec-lmss-10">tlpmgui.exe</span>. (See section <a href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>, for an explanation of the different distributions.) -<!--l. 1124--><p class="indent"> <span +<!--l. 1164--><p class="indent"> <span class="ec-lmss-10">tlpmgui </span>has essentially the same options as the Unix installer, only done through a GUI interface: selecting schemes, individual collections, installation directories, and so on. Section <a href="#x1-140003.2">3.2<!--tex4ht:ref: sec:unix-install-disk --></a> on p. <a @@ -2080,12 +2143,13 @@ href="#x1-140003.2">17<!--tex4ht:ref: sec:unix-install-disk --></a> describes the basic elements. It also allows some post-installation activities such as adding/removing packages, updating the filename database and building formats. Moreover, <span class="ec-lmss-10">tlpmgui </span>can setup the system for -running programs directly from the DVD. -<!--l. 1134--><p class="indent"> For those who like to look underneath the hood, <span +running programs directly from the DVD. + +<!--l. 1174--><p class="indent"> For those who like to look underneath the hood, <span class="ec-lmss-10">tlpmgui </span>uses as its “engine” a command-line Windows program named <span class="ec-lmss-10">tlpm</span>. -<!--l. 1137--><p class="indent"> The Windows <span class="TEX">T<span +<!--l. 1177--><p class="indent"> The Windows <span class="TEX">T<span class="E">E</span>X</span> system included in <span class="TEX">T<span class="E">E</span>X</span> Live is based on new binaries borrowed from the XEm<span class="TEX">T<span class="E">E</span>X</span> @@ -2100,10 +2164,10 @@ is similar in usage to the established Unix <span class="ec-lmss-10">xdvi</span>. The documentation can be found in <a href="../../../../texmf/doc/html/windvi/windvi.html" >texmf/doc/html/windvi/windvi.html</a>. -<!--l. 1145--><p class="indent"> <span class="TEX">T<span +<!--l. 1185--><p class="indent"> <span class="TEX">T<span class="E">E</span>X</span> Live can be installed on systems running Windows 98, ME, NT, 2K or XP. Older versions of Windows (3.1x) and MS-DOS are not supported. -<!--l. 1149--><p class="indent"> <span +<!--l. 1189--><p class="indent"> <span class="ec-lmbx-10">Warning: </span>Win9.x users must ensure they have enough environment space before undertaking installation. The <span class="ec-lmss-10">tlpmgui.exe </span>program won’t change the environment size for them. A few @@ -2111,11 +2175,11 @@ environment variables will be created and it is possible you run out of environm <span class="ec-lmtt-10">SHELL=<path>COMMAND.COM /E:4096 /P </span>in the config.sys file in order to increase your environment size. -<!--l. 1156--><p class="noindent"> +<!--l. 1196--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">6.1 </span> <a - id="x1-210006.1"></a>Installing <span class="TEX">T<span + id="x1-220006.1"></a>Installing <span class="TEX">T<span class="E">E</span>X</span> Live to disk</h4> -<!--l. 1158--><p class="noindent">After inserting the <span class="TEX">T<span +<!--l. 1198--><p class="noindent">After inserting the <span class="TEX">T<span class="E">E</span>X</span> Live CD into the CD drive, autostart should activate <span class="ec-lmss-10">tlpmgui</span>. If it does not, click <span @@ -2131,7 +2195,7 @@ DVD), where <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10"><drive</span><span class="ec-lmtt-10"> letter></span></span></span> is the drive letter with the TeX Live CD (or TeX Collection DVD), and then click OK. -<!--l. 1166--><p class="indent"> The installation window titled <span +<!--l. 1206--><p class="indent"> The installation window titled <span class="ec-lmss-10">TeX Live installation and maintenance utility </span>should open. It contains the following sections: <span class="ec-lmss-10">Main customization</span>, <span @@ -2141,7 +2205,7 @@ class="ec-lmss-10">Select systems</span>, <span class="ec-lmss-10">Directories </span>and <span class="ec-lmss-10">Options</span>. -<!--l. 1171--><p class="indent"> In the <span +<!--l. 1211--><p class="indent"> In the <span class="ec-lmss-10">Directories </span>section the installation drive (directory) next to the <span class="ec-lmss-10">CD/DVD </span>button should be displayed (e.g., <span @@ -2151,7 +2215,7 @@ class="ec-lmtt-10">F:/texlive/ </span>for the DVD), but if it is not, then click class="ec-lmss-10">CD/DVD </span>button and select the CD/DVD drive, with the <span class="TEX">T<span class="E">E</span>X</span> Live CD (or TeX Collection DVD). -<!--l. 1176--><p class="indent"> The directory in which you wish to install the software can be set by clicking the <span +<!--l. 1216--><p class="indent"> The directory in which you wish to install the software can be set by clicking the <span class="ec-lmss-10">TLroot </span>button. This directory will be set as <span class="path"><span class="ec-lmtt-10">TLroot</span></span> environment variable for later usage. The <span class="path"><span @@ -2162,7 +2226,7 @@ class="ec-lmss-10">TEXMFTEMP </span>and <span class="ec-lmss-10">TEXMFCNF </span>buttons will be adjusted automatically and set during installation, but they can also be adjusted manually now to suit special needs. -<!--l. 1184--><p class="indent"> In the <span +<!--l. 1224--><p class="indent"> In the <span class="ec-lmss-10">Select a scheme </span>section the desired <span class="TEX">T<span class="E">E</span>X</span> Live installation scheme should be chosen by clicking the radio button labelled with the installation scheme name (e.g., <span @@ -2170,11 +2234,9 @@ class="ec-lmss-10">scheme-gust</span>). Each scheme is accompanied by an <span class="ec-lmss-10">Info </span>button which, when clicked, displays a short description of the relevant scheme. -<!--l. 1190--><p class="indent"> A scheme is a large set of files targeted at some kind of usage. There are generic schemes for +<!--l. 1230--><p class="indent"> A scheme is a large set of files targeted at some kind of usage. There are generic schemes for basic, medium and full installations. The remaining ones are either targeted at certain LUGs (i.e., what GUST or GUTenberg propose for their members) or application targeted (e.g., - - for XML and <span class="TEX">T<span class="E">E</span>X</span> cooperation). A preselected scheme can be refined. This is done in the <span @@ -2186,7 +2248,7 @@ class="ec-lmss-10">Select </span>button labelled <span class="ec-lmss-10">Standard collections</span>, additional collections like Metapost, Omega or documentation in different languages can be selected. -<!--l. 1201--><p class="indent"> <span +<!--l. 1241--><p class="indent"> <span class="ec-lmbx-10">Note: </span>The <span class="ec-lmss-10">Ghostscript</span>, <span class="ec-lmss-10">Perl </span>and <span @@ -2196,33 +2258,35 @@ required by many important tools. The <span class="obeylines-h"><span class="ver class="ec-lmtt-10">PERL5LIB</span></span></span> and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">GS_LIB</span></span></span> environment variables will be set too. -<!--l. 1207--><p class="indent"> Next, clicking the <span + + +<!--l. 1247--><p class="indent"> Next, clicking the <span class="ec-lmss-10">Select </span>button labelled <span class="ec-lmss-10">Language Collections </span>in the <span class="ec-lmss-10">Main customization </span>section opens the <span class="ec-lmss-10">Language collections </span>window in which the installation language can be chosen by ticking the box next to the language. -<!--l. 1212--><p class="indent"> Next, click the <span +<!--l. 1252--><p class="indent"> Next, click the <span class="ec-lmss-10">Install </span>button in the <span class="ec-lmss-10">Install </span>section to start the installation proper process. -<!--l. 1215--><p class="indent"> The <span class="TEX">T<span +<!--l. 1255--><p class="indent"> The <span class="TEX">T<span class="E">E</span>X</span> Live system needs some post-processing steps (format files generation, ls-R databases generation, environment variables, etc.). All these operations are done there, some of them can be lengthy. So please wait until you see a statement about the successfully finished installation. -<!--l. 1220--><p class="indent"> The shortcut for <span +<!--l. 1260--><p class="indent"> The shortcut for <span class="ec-lmss-10">tlpmgui </span>will be added to the <span class="ec-lmss-10">Start</span><span class="cmsy-10">→</span><span class="ec-lmss-10">Programs</span><span class="cmsy-10">→</span><span class="ec-lmss-10">TeXLive2006 </span>menu. -<!--l. 1223--><p class="indent"> If it is needed (Win9x/WinME), you will be asked to reboot your computer. -<!--l. 1225--><p class="noindent"> +<!--l. 1263--><p class="indent"> If it is needed (Win9x/WinME), you will be asked to reboot your computer. +<!--l. 1265--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">6.2 </span> <a - id="x1-220006.2"></a>Support packages for Windows</h4> -<!--l. 1228--><p class="noindent">To be complete, a <span class="TEX">T<span + id="x1-230006.2"></a>Support packages for Windows</h4> +<!--l. 1268--><p class="noindent">To be complete, a <span class="TEX">T<span class="E">E</span>X</span> Live installation needs support packages that are not commonly found on a Windows machine. Many scripts are written using the Perl language. Some important tools require the Ghostscript PostScript interpreter to render or to convert files. A graphic file toolbox is also needed in @@ -2230,7 +2294,7 @@ some cases. Last but not least, a <span class="TEX">T<span class="E">E</span>X</span>-oriented editor makes it easy to type in your <span class="TEX">T<span class="E">E</span>X</span> files. -<!--l. 1235--><p class="indent"> All these tools are quite easy to find for Windows, but in order to try to make your life even easier, +<!--l. 1275--><p class="indent"> All these tools are quite easy to find for Windows, but in order to try to make your life even easier, we have put such a set of tools on <span class="TEX">T<span class="E">E</span>X</span> Live: <ul class="itemize1"> @@ -2242,15 +2306,15 @@ class="ec-lmss-10">Perl </span>5.8, sufficient to run all the <span class="TEX"> class="E">E</span>X</span> Live Perl scripts. </li> <li class="itemize">win-tools is a set of small programs (bzip2, gzip, jpeg2ps and tiff2png)</li></ul> -<!--l. 1249--><p class="indent"> These packages are borrowed from the XEm<span class="TEX">T<span +<!--l. 1289--><p class="indent"> These packages are borrowed from the XEm<span class="TEX">T<span class="E">E</span>X</span> distribution (the successor of fp<span class="TEX">T<span class="E">E</span>X</span>). -<!--l. 1252--><p class="indent"> Perl and Ghostscript are installed by default; you may explicitly deselect them during installation if +<!--l. 1292--><p class="indent"> Perl and Ghostscript are installed by default; you may explicitly deselect them during installation if you already have them. -<!--l. 1255--><p class="indent"> If you don’t want to install this bundle, then you are on your own to install the required tools to +<!--l. 1295--><p class="indent"> If you don’t want to install this bundle, then you are on your own to install the required tools to complete your <span class="TEX">T<span class="E">E</span>X</span> Live system. Here is a list of places to get those tools: -<!--l. 1259--><p class="indent"> +<!--l. 1299--><p class="indent"> <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Ghostscript</span> </dt><dd @@ -2271,8 +2335,7 @@ class="ec-lmtt-10">http://www.cpan.org/</span></a></span>) class="ec-lmbx-10">ImageMagick</span> </dt><dd class="description"><span class="obeylines-h"><a href="http://www.imagemagick.com" class="url" ><span -class="ec-lmtt-10">http://www.imagemagick.com</span></a></span> - +class="ec-lmtt-10">http://www.imagemagick.com</span></a></span> </dd><dt class="description"> <span class="ec-lmbx-10">NetPBM</span> </dt><dd @@ -2289,6 +2352,8 @@ class="ec-lmbx-10">X</span></span><span class="ec-lmbx-10">-oriented editors</span> </dt><dd class="description">There is a wide choice, and it is a matter of the user’s taste. Here is a selection: + + <ul class="itemize1"> <li class="itemize"><span class="ec-lmss-10">GNU Emacs </span>is available natively under Windows, see <span class="obeylines-h"><a @@ -2334,10 +2399,10 @@ class="ec-lmss-10">SciTE </span>is available from <span class="obeylines-h"><a href="http://www.scintilla.org/SciTE.html" class="url" ><span class="ec-lmtt-10">http://www.scintilla.org/SciTE.html</span></a></span></li></ul> </dd></dl> -<!--l. 1287--><p class="indent"> You might want to install other tools that are not +<!--l. 1327--><p class="indent"> You might want to install other tools that are not free<span class="footnote-mark"><a href="#fn1x0" id="fn1x0-bk"><sup>1</sup></a></span><a - id="x1-22001f1"></a> + id="x1-23001f1"></a> and therefore not included on <span class="TEX">T<span class="E">E</span>X</span> Live, such as <span class="ec-lmss-10">GSView</span>, the <span @@ -2347,16 +2412,16 @@ class="ec-lmss-10">GSView </span>is available from <span class="obeylines-h"><a href="http://www.cs.wisc.edu/~ghost/gsview/" class="url" ><span class="ec-lmtt-10">http://www.cs.wisc.edu/~ghost/gsview/</span></a></span> or any CTAN site. -<!--l. 1295--><p class="noindent"> +<!--l. 1335--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">7 </span> <a - id="x1-230007"></a>Maintenance of the installation in Windows</h3> -<!--l. 1297--><p class="noindent">If you have TeX Live installed, you can use <span + id="x1-240007"></a>Maintenance of the installation in Windows</h3> +<!--l. 1337--><p class="noindent">If you have TeX Live installed, you can use <span class="ec-lmss-10">tlpmgui </span>again for modifying and maintaining your installation. -<!--l. 1300--><p class="noindent"> +<!--l. 1340--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.1 </span> <a - id="x1-240007.1"></a>Adding/removing packages</h4> -<!--l. 1302--><p class="noindent">As the <span + id="x1-250007.1"></a>Adding/removing packages</h4> +<!--l. 1342--><p class="noindent">As the <span class="ec-lmss-10">tlpmgui </span>shortcut is available in the <span class="ec-lmss-10">Start</span><span class="cmsy-10">→</span><span @@ -2370,12 +2435,10 @@ class="ec-lmss-10">Add Packages</span>, <span class="ec-lmss-10">Remove packages</span>, <span class="ec-lmss-10">Manage installation</span>, <span class="ec-lmss-10">Remove installation</span>. -<!--l. 1308--><p class="indent"> Click the tab labelled <span +<!--l. 1348--><p class="indent"> Click the tab labelled <span class="ec-lmss-10">Add packages </span>or <span class="ec-lmss-10">Remove packages </span>to enter the relevant functionality and then: - - <ul class="itemize1"> <li class="itemize">In the first tab select the proper CD drive (or DVD with <span class="ec-lmtt-10">texlive </span>directory) by pressing the @@ -2388,11 +2451,13 @@ class="ec-lmss-10">Buttons </span>section to display or refresh in the <span class="ec-lmss-10">Select packages</span> <span class="ec-lmss-10">to... </span>section the list of packages to install or remove. - <!--l. 1318--><p class="noindent">When adding packages, the list of installed packages is compared to the list of packages + + + <!--l. 1358--><p class="noindent">When adding packages, the list of installed packages is compared to the list of packages available from your CD/DVD. Only packages not already installed are displayed. It is up to you to select which packages you want to install. - <!--l. 1323--><p class="noindent">When removing individual packages, only a list of installed packages will be displayed. - <!--l. 1326--><p class="noindent">Please note that for both <span + <!--l. 1363--><p class="noindent">When removing individual packages, only a list of installed packages will be displayed. + <!--l. 1366--><p class="noindent">Please note that for both <span class="ec-lmss-10">Add packages </span>and <span class="ec-lmss-10">Remove packages </span>the collections are listed first. </li> @@ -2409,15 +2474,15 @@ class="ec-lmss-10">Info about the selected item </span>section. To select severa class="ec-lmss-10">Install </span>or <span class="ec-lmss-10">Remove </span>button in the <span class="ec-lmss-10">Buttons </span>section to perform the appropriate action.</li></ul> -<!--l. 1341--><p class="noindent"> +<!--l. 1381--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a - id="x1-250007.2"></a>Configuring and other management tasks</h4> -<!--l. 1343--><p class="noindent">The functions available in the tab labelled <span + id="x1-260007.2"></a>Configuring and other management tasks</h4> +<!--l. 1383--><p class="noindent">The functions available in the tab labelled <span class="ec-lmss-10">Manage the installation </span>are helpful in performing actions needed when you want to add support for a language which was not selected during the installation, or add/regenerate a format which was not selected during the installation or was modified after the installation. -<!--l. 1349--><p class="indent"> The following actions can be performed: +<!--l. 1389--><p class="indent"> The following actions can be performed: <ul class="itemize1"> <li class="itemize">Refresh the <span class="ec-lmtt-10">ls-R </span>database @@ -2432,36 +2497,36 @@ class="ec-lmtt-10">fmtutil.cnf</span> </li> <li class="itemize">Edit <span class="ec-lmtt-10">updmap.cfg</span></li></ul> -<!--l. 1359--><p class="indent"> Note: you can close the Edit... window with the <span +<!--l. 1399--><p class="indent"> Note: you can close the Edit... window with the <span class="ec-lmss-10">Cancel </span>or <span class="ec-lmss-10">Done </span>button; the latter will start rebuilding the format files (or the fontmap files if you have edited <span class="ec-lmtt-10">updmap.cfg</span>), followed by a <span class="ec-lmtt-10">ls-R</span> database files refresh. -<!--l. 1364--><p class="indent"> For more information about the configuration see section <a -href="#x1-310007.8">7.8<!--tex4ht:ref: sec:persconf --></a>, p. <a -href="#x1-310007.8">36<!--tex4ht:ref: sec:persconf --></a>. - - -<!--l. 1367--><p class="noindent"> +<!--l. 1404--><p class="indent"> For more information about the configuration see section <a +href="#x1-320007.8">7.8<!--tex4ht:ref: sec:persconf --></a>, p. <a +href="#x1-320007.8">37<!--tex4ht:ref: sec:persconf --></a>. +<!--l. 1407--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.3 </span> <a - id="x1-260007.3"></a>Uninstalling <span class="TEX">T<span + id="x1-270007.3"></a>Uninstalling <span class="TEX">T<span class="E">E</span>X</span> Live</h4> -<!--l. 1369--><p class="noindent">The tab labelled <span +<!--l. 1409--><p class="noindent">The tab labelled <span class="ec-lmss-10">Remove the TeX Live installation </span>opens a window which contains functionality not worth describing and we do not know who would need it and what it is for...:-) -<!--l. 1373--><p class="indent"> Anyway, if you have the <span class="path"><span + + +<!--l. 1413--><p class="indent"> Anyway, if you have the <span class="path"><span class="ec-lmtt-10">texmf-local</span></span> directory for your local additions, the removal procedure will not wipe it out or delete things in it. The <span class="path"><span class="ec-lmtt-10">setup-win32</span></span> directory containing <span class="ec-lmss-10">tlpmgui </span>and related files will not be deleted. You will have to do some manual cleanup to actually remove them. -<!--l. 1378--><p class="noindent"> +<!--l. 1418--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a - id="x1-270007.4"></a>Adding your own packages to the installation</h4> -<!--l. 1380--><p class="noindent">First, whatever changes you make, <span + id="x1-280007.4"></a>Adding your own packages to the installation</h4> +<!--l. 1420--><p class="noindent">First, whatever changes you make, <span class="ec-lmbx-10">do not forget to rebuild the ls-R database files</span>. Otherwise, your new files will not be found. You can do this either via the <span class="ec-lmss-10">tlpmgui </span>run and selection of the @@ -2469,13 +2534,13 @@ appropriate action from the <span class="ec-lmss-10">Manage the installation </span>tab, or manually running the <span class="ec-lmtt-10">mktexlsr</span> command. -<!--l. 1386--><p class="indent"> If you want to add files that are not provided by the <span class="TEX">T<span +<!--l. 1426--><p class="indent"> If you want to add files that are not provided by the <span class="TEX">T<span class="E">E</span>X</span> Live distribution, it is recommended to put them in the <span class="path"><span class="ec-lmtt-10">$TEXMFLOCAL</span></span> directory. This way, you will be safe against upgrades of the <span class="TEX">T<span class="E">E</span>X</span> Live software. -<!--l. 1390--><p class="indent"> The directory pointed to by <span class="path"><span +<!--l. 1430--><p class="indent"> The directory pointed to by <span class="path"><span class="ec-lmtt-10">$TEXMFLOCAL</span></span> is initially empty. If, for example, you want to add the support file for the Maple symbolic computation program, you will have to put the style files in: @@ -2484,11 +2549,11 @@ class="ec-lmtt-10">c:\TeXLive2006\texmf-local\tex\latex\maple\</span></span> <br class="newline">and the documentation files in: <br class="newline"><span class="path"><span class="ec-lmtt-10">c:\TeXLive2006\texmf-local\doc\latex\maple\</span></span> -<!--l. 1396--><p class="noindent"> +<!--l. 1436--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.5 </span> <a - id="x1-280007.5"></a>Running <span + id="x1-290007.5"></a>Running <span class="ec-lmtt-10">tlmp.exe </span>from the command line</h4> -<!--l. 1397--><p class="noindent">The <span +<!--l. 1437--><p class="noindent">The <span class="ec-lmss-10">tlpm.exe </span>program which is used as engine by <span class="ec-lmss-10">tlpmgui </span>has a number of other useful options. You can get the list by running: @@ -2499,17 +2564,17 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb1"> <a - id="x1-28002r1"></a>  tlpm --help + id="x1-29002r1"></a>  tlpm --help </div> </div> </td></tr></table> -<!--l. 1401--><p class="nopar"> -<!--l. 1403--><p class="indent"> More information and examples of use can be found in <span class="path"><span +<!--l. 1441--><p class="nopar"> +<!--l. 1443--><p class="indent"> More information and examples of use can be found in <span class="path"><span class="ec-lmtt-10">tlpm.readme</span></span>. -<!--l. 1405--><p class="noindent"> +<!--l. 1445--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.6 </span> <a - id="x1-290007.6"></a>Network installation</h4> -<!--l. 1407--><p class="noindent">Kpathsea knows about UNC names, so you can use them to get your TEXMF tree from the network. + id="x1-300007.6"></a>Network installation</h4> +<!--l. 1447--><p class="noindent">Kpathsea knows about UNC names, so you can use them to get your TEXMF tree from the network. But there is better than this. All the support files and configuration files, everything except the files in the <span class="path"><span class="ec-lmtt-10">bin/win32</span></span> are shareable with a te<span class="TEX">T<span @@ -2532,11 +2597,11 @@ class="ec-lmtt-10">$TEXMFMAIN</span></span> to the class="ec-lmtt-10">texmf</span></span> tree that will be accessed remotely. Set <span class="path"><span class="ec-lmtt-10">$TEXMFVAR</span></span> to be a local directory which will hold local configuration files and on-the-fly generated files.</li></ul> -<!--l. 1426--><p class="noindent"> +<!--l. 1466--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.7 </span> <a - id="x1-300007.7"></a>What’s different in Windows?</h4> -<!--l. 1428--><p class="noindent">The Windows version of Web2C has some specific features that should be pointed out. -<!--l. 1431--><p class="indent"> + id="x1-310007.7"></a>What’s different in Windows?</h4> +<!--l. 1468--><p class="noindent">The Windows version of Web2C has some specific features that should be pointed out. +<!--l. 1471--><p class="indent"> <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Kpathsea</span> </dt><dd @@ -2566,14 +2631,14 @@ class="ec-lmtt-10">README</span></span> files). class="ec-lmtt-10">-multiple-occurrences</span></span> with 2 other options for including or excluding any filename that match some pattern (you can request for several patterns). - <!--l. 1455--><p class="noindent">The <span + <!--l. 1495--><p class="noindent">The <span class="ec-lmss-10">kpsecheck </span>command will also report the status of shared memory: in use or not used. That might be useful to know because if the status reported is ‘<span class="ec-lmtt-10">in use</span>’, that means one or several processes are working, and the effect of any <span class="ec-lmss-10">mktexlsr </span>command will be delayed until the next time where no Kpathsea linked process will be running. - <!--l. 1462--><p class="noindent">Last, this same command will report about the location it thinks Ghostscript can be found. + <!--l. 1502--><p class="noindent">Last, this same command will report about the location it thinks Ghostscript can be found. Under Win32, for many programs, it is easier to use the Ghostscript dll, and find it by using the Ghostscript registry key than to change the <span class="path"><span class="ec-lmtt-10">PATH</span></span>, which has a limited length anyway. @@ -2603,17 +2668,17 @@ class="ec-lmtt-10">-time-statistics</span></span> print statistics about the job the <span class="path"><span class="ec-lmtt-10">time</span></span> command is not usually available to Windows users.</li></ul> </dd></dl> -<!--l. 1487--><p class="noindent"> +<!--l. 1527--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.8 </span> <a - id="x1-310007.8"></a>Personal configurations</h4> -<!--l. 1490--><p class="noindent"> + id="x1-320007.8"></a>Personal configurations</h4> +<!--l. 1530--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.8.1 </span> <a - id="x1-320007.8.1"></a>Dvips</h5> -<!--l. 1492--><p class="noindent">The configuration file for dvips can be found in + id="x1-330007.8.1"></a>Dvips</h5> +<!--l. 1532--><p class="noindent">The configuration file for dvips can be found in <br class="newline"><span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\TeXLive2006\texmf-var\dvips\config\config.ps</span></span></span> <br class="newline">You may open it with any editor and change some parameters: -<!--l. 1498--><p class="indent"> +<!--l. 1538--><p class="indent"> <dl class="description"><dt class="description"> <span class="ec-lmbx-10">fonts</span> </dt><dd @@ -2637,15 +2702,15 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb2"> <a - id="x1-32002r1"></a>  o lpt1: + id="x1-33002r1"></a>  o lpt1: <br class="fancyvrb"><a - id="x1-32004r2"></a>  % o | lpr -S server -P myprinter + id="x1-33004r2"></a>  % o | lpr -S server -P myprinter <br class="fancyvrb"><a - id="x1-32006r3"></a>  % o \\server\myprinter + id="x1-33006r3"></a>  % o \\server\myprinter </div> </div> </td></tr></table> - <!--l. 1511--><p class="nopar"> + <!--l. 1551--><p class="nopar"> </dd><dt class="description"> <span class="ec-lmbx-10">paper</span> </dt><dd @@ -2659,23 +2724,23 @@ class="ec-lmtt-10">@</span>. Move the appropriate lines so that this section beg <br class="newline">  @+ %%BeginPaperSize: Letter <br class="newline">  @+ letter <br class="newline">  @+ %%EndPaperSize</dd></dl> -<!--l. 1524--><p class="indent"> The current <span class="TEX">T<span +<!--l. 1564--><p class="indent"> The current <span class="TEX">T<span class="E">E</span>X</span> Live distribution implements the procedure of making always up-to-date fontmaps files for Dvips and Pdftex. This is done by the <span class="ec-lmss-10">updmap </span>program during installation, as well as during any font package addition. If you add new packages by hand, edit the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap.cfg</span></span></span> in <span class="path"><span class="ec-lmtt-10">$TEXMFVAR/web2c</span></span>. -<!--l. 1530--><p class="noindent"> +<!--l. 1570--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.8.2 </span> <a - id="x1-330007.8.2"></a>PdfTeX</h5> -<!--l. 1532--><p class="noindent">If you use the program pdflatex to write PDF format directly, and you are using US letter-size paper, + id="x1-340007.8.2"></a>PdfTeX</h5> +<!--l. 1572--><p class="noindent">If you use the program pdflatex to write PDF format directly, and you are using US letter-size paper, edit the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\TeXLive2006\texmf-var\tex\generic\config\pdftexconfig.tex</span></span></span> and change ‘<span class="ec-lmtt-10">\pdfpagewidth</span>’ and ‘<span class="ec-lmtt-10">\pdfpageheight</span>’. These entries should read: <div class="alltt"> -<!--l. 1537--><p class="noindent"><div class="obeylines-v"> +<!--l. 1577--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">\pdfpagewidth=8.5</span><span class="ec-lmtt-10"> true</span><span @@ -2686,44 +2751,44 @@ class="ec-lmtt-10"> true</span><span class="ec-lmtt-10"> in</span> </div> </div> Save the file and exit the editor. -<!--l. 1543--><p class="noindent"> +<!--l. 1583--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.8.3 </span> <a - id="x1-340007.8.3"></a>GSView</h5> -<!--l. 1544--><p class="noindent">GSView is now distributed under the Aladdin License, and therefore is no longer included in <span class="TEX">T<span + id="x1-350007.8.3"></a>GSView</h5> +<!--l. 1584--><p class="noindent">GSView is now distributed under the Aladdin License, and therefore is no longer included in <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 1547--><p class="indent"> If you may want to change the page size to US letter size. If so, open GSView from the <span +<!--l. 1587--><p class="indent"> If you may want to change the page size to US letter size. If so, open GSView from the <span class="ec-lmss-10">Start </span>menu, and select <span class="ec-lmss-10">Media</span><span class="cmsy-10">→</span><span class="ec-lmss-10">Letter</span>. -<!--l. 1550--><p class="indent"> Also, there are menu settings that are supposed to give you the most readable screen image. On +<!--l. 1590--><p class="indent"> Also, there are menu settings that are supposed to give you the most readable screen image. On <span class="ec-lmss-10">Media</span><span class="cmsy-10">→</span><span class="ec-lmss-10">Display Settings</span>, set both <span class="ec-lmtt-10">Text Alpha </span>and <span class="ec-lmtt-10">Graphics Alpha </span>to 4 bits. -<!--l. 1554--><p class="indent"> Note that the installation process has set all <span +<!--l. 1594--><p class="indent"> Note that the installation process has set all <span class="ec-lmtt-10">.ps </span>and <span class="ec-lmtt-10">.eps </span>files to automatically open with <span class="ec-lmss-10">GSView</span>. -<!--l. 1557--><p class="indent"> For printing instructions, see section <a -href="#x1-370007.10">7.10<!--tex4ht:ref: printing --></a> below. -<!--l. 1559--><p class="noindent"> +<!--l. 1597--><p class="indent"> For printing instructions, see section <a +href="#x1-380007.10">7.10<!--tex4ht:ref: printing --></a> below. +<!--l. 1599--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.8.4 </span> <a - id="x1-350007.8.4"></a>WinDvi</h5> -<!--l. 1562--><p class="noindent">The <span + id="x1-360007.8.4"></a>WinDvi</h5> +<!--l. 1602--><p class="noindent">The <span class="ec-lmtt-10">tlpmgui.exe </span>program takes care of associating the files with the <span class="ec-lmtt-10">.dvi </span>extension with <span class="ec-lmtt-10">Windvi</span>, but it doesn’t make an icon on the desktop, so please do it yourself. -<!--l. 1566--><p class="indent"> Open <span +<!--l. 1606--><p class="indent"> Open <span class="ec-lmss-10">windvi </span>by clicking an icon or from the command line. -<!--l. 1568--><p class="indent"> You can set it for US letter-size paper by going to <span +<!--l. 1608--><p class="indent"> You can set it for US letter-size paper by going to <span class="ec-lmss-10">View</span><span class="cmsy-10">→</span><span class="ec-lmss-10">Options</span><span @@ -2734,11 +2799,11 @@ class="ec-lmtt-10">"</span></span></span> x class="ec-lmtt-10">"</span></span></span>) (and then <span class="ec-lmtt-10">OK</span>. Exit <span class="ec-lmss-10">windvi</span>. -<!--l. 1572--><p class="indent"> You can change other parameters from there as well, such as the ability to execute system commands +<!--l. 1612--><p class="indent"> You can change other parameters from there as well, such as the ability to execute system commands specified by the document (disabled by default for security reasons). Also, the first time you view any .dvi file, you may find the magnification too large. Zoom out until you get an appropriate size. -<!--l. 1578--><p class="indent"> All configuration settings for <span +<!--l. 1618--><p class="indent"> All configuration settings for <span class="ec-lmss-10">windvi </span>are stored in a file named <span class="path"><span class="ec-lmtt-10">windvi.cnf</span></span> file. You can find it by running this command at the prompt: @@ -2749,22 +2814,22 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb3"> <a - id="x1-35002r1"></a>  c:\>kpsewhich --expand-var $HOME/windvi.cnf + id="x1-36002r1"></a>  c:\>kpsewhich --expand-var $HOME/windvi.cnf </div> </div> </td></tr></table> -<!--l. 1583--><p class="nopar"> -<!--l. 1585--><p class="indent"> Should you have problems with <span +<!--l. 1623--><p class="nopar"> +<!--l. 1625--><p class="indent"> Should you have problems with <span class="ec-lmss-10">windvi</span>, please remove the configuration file and test your problem against a vanilla configuration. -<!--l. 1588--><p class="noindent"> +<!--l. 1628--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.9 </span> <a - id="x1-360007.9"></a>Testing</h4> -<!--l. 1590--><p class="noindent">For generic verification procedures, see section <a -href="#x1-180004.2">4.2<!--tex4ht:ref: sec:test-install --></a> (p. <a -href="#x1-180004.2">27<!--tex4ht:ref: sec:test-install --></a>). This section describes Windows-specific + id="x1-370007.9"></a>Testing</h4> +<!--l. 1630--><p class="noindent">For generic verification procedures, see section <a +href="#x1-190004.2">4.2<!--tex4ht:ref: sec:test-install --></a> (p. <a +href="#x1-190004.2">28<!--tex4ht:ref: sec:test-install --></a>). This section describes Windows-specific tests. -<!--l. 1594--><p class="indent"> Open the file <span class="obeylines-h"><span class="verb"><span +<!--l. 1634--><p class="indent"> Open the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">sample2e.tex</span></span></span> in your editor (Xemacs, WinShell), found in <span class="path"><span class="ec-lmtt-10">C:\TeXLive2006\texmf-dist\tex\latex\base</span></span>. The <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> source should appear on the screen. @@ -2778,26 +2843,26 @@ class="ec-lmss-10">Command</span><span class="cmsy-10">→</span><span class="ec-lmss-10">View DVI </span>menu (XEmacs) or Preview (Windvi) icon (WinShell). -<!--l. 1601--><p class="indent"> At first, when you preview files with Windvi, it will create fonts because screen fonts were not +<!--l. 1641--><p class="indent"> At first, when you preview files with Windvi, it will create fonts because screen fonts were not installed. After a while, you will have created most of the fonts you use, and you will rarely see the font-creation window. -<!--l. 1605--><p class="indent"> <span +<!--l. 1645--><p class="indent"> <span class="ec-lmbx-10">Hint for the future: </span>If a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> run stops because <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> cannot find a file, you can press Ctrl-z to quit. -<!--l. 1609--><p class="noindent"> +<!--l. 1649--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.10 </span> <a - id="x1-370007.10"></a>Printing</h4> -<!--l. 1612--><p class="noindent">It is possible to print from Windvi. In this case, printing will be done using the Windows unified printer + id="x1-380007.10"></a>Printing</h4> +<!--l. 1652--><p class="noindent">It is possible to print from Windvi. In this case, printing will be done using the Windows unified printer driver. By definition, it is compatible with all printers. However, there is some drawback: it can generate some huge spool files, and some (older) versions of Windows just don’t like them. The advantage is that you can use features like embedding BMP or WMF images. You also need to make sure that the printer parameters are correctly set (subsection <a -href="#x1-350007.8.4">7.8.4<!--tex4ht:ref: sub:windvi --></a>), else you will get scaled +href="#x1-360007.8.4">7.8.4<!--tex4ht:ref: sub:windvi --></a>), else you will get scaled printing (printing at 600dpi on a 300dpi printer will give you only one quadrant of your page). -<!--l. 1622--><p class="indent"> Printing is faster and more reliable if you run <span +<!--l. 1662--><p class="indent"> Printing is faster and more reliable if you run <span class="ec-lmss-10">dvips </span>to make a <span class="ec-lmtt-10">.ps </span>file and then print from <span class="ec-lmss-10">GSView</span>. In @@ -2807,7 +2872,7 @@ class="ec-lmss-10">File</span><span class="cmsy-10">→</span><span class="ec-lmss-10">Print...</span>. A <span class="ec-lmss-10">Print </span>window will appear. -<!--l. 1627--><p class="indent"> If you are using a PostScript printer, <span +<!--l. 1667--><p class="indent"> If you are using a PostScript printer, <span class="ec-lmri-10">be sure to select </span><span class="ec-lmsso-10">PostScript Printer</span>. This is done in the <span class="ec-lmss-10">Print</span> @@ -2817,7 +2882,7 @@ class="ec-lmss-10">Print </span>window. You can then select any of the printers previously installed. If you fail to check the box for <span class="ec-lmtt-10">PostScript Printer</span>, printing will not work. -<!--l. 1633--><p class="indent"> If you will be using your own non-PostScript printer, select <span +<!--l. 1673--><p class="indent"> If you will be using your own non-PostScript printer, select <span class="ec-lmss-10">Ghostscript device </span>in the <span class="ec-lmss-10">Print Method</span> box, then click on the button to the right labelled <span @@ -2828,18 +2893,18 @@ class="ec-lmtt-10">PostScript Printer </span>is <span class="ec-lmri-10">not </span>selected, then select your printer type from the <span class="ec-lmss-10">Device </span>list.) -<!--l. 1640--><p class="noindent"> +<!--l. 1680--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.11 </span> <a - id="x1-380007.11"></a>Tips and tricks for Win32</h4> + id="x1-390007.11"></a>Tips and tricks for Win32</h4> -<!--l. 1642--><p class="noindent"> +<!--l. 1682--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.1 </span> <a - id="x1-390007.11.1"></a>Different flavors of Win32</h5> -<!--l. 1644--><p class="noindent">What we call Win32 is not an operating system by itself. It is a large set of functions (around 12,000 in + id="x1-400007.11.1"></a>Different flavors of Win32</h5> +<!--l. 1684--><p class="noindent">What we call Win32 is not an operating system by itself. It is a large set of functions (around 12,000 in the header files of the Microsoft SDK) that you can use to write programs for different operating systems of the Windows family. -<!--l. 1649--><p class="indent"> Windows comes in different flavors: +<!--l. 1689--><p class="indent"> Windows comes in different flavors: <ul class="itemize1"> <li class="itemize">Win95, Win98 and WinME, which <span class="ec-lmri-10">are not true multitasking, multithreading </span>environments. @@ -2857,7 +2922,7 @@ class="ec-lmtt-10">MS-DOS 7.0</span>’ (at least for the old versions of Wi </li> <li class="itemize">Windows XP, which comes with Personal and Pro flavors. This is the last step in merging both lines of products (Win9x based and NT based). XP is based on NT.</li></ul> -<!--l. 1668--><p class="indent"> Win9x are able to run 32 bits programs and 16 bits programs concurrently. But the operating +<!--l. 1708--><p class="indent"> Win9x are able to run 32 bits programs and 16 bits programs concurrently. But the operating system by itself is not entirely written in 32 bits mode, and does not support memory protection: 16bits applications can overwrite parts of the operating system memory! Some parts of the system like the GDI (Graphical Device Interface) manage limited resources like bitmaps, fonts, pens and so on for the @@ -2865,24 +2930,24 @@ set of all programs that run concurrently. All the bitmaps headers available at time can’t amount for more than 64kB. This explains the performance tool and the fact that you can put your system on his knees by making intensive use of graphic objects for example. -<!--l. 1679--><p class="indent"> NT, 2K and XP do not suffer from these limitations, and neither from other Win9x limitations. They +<!--l. 1719--><p class="indent"> NT, 2K and XP do not suffer from these limitations, and neither from other Win9x limitations. They are true multitasking environments, with protected memory. They are much more responsive than Win9x because of better memory management, better file system and so on. -<!--l. 1684--><p class="noindent"> +<!--l. 1724--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.2 </span> <a - id="x1-400007.11.2"></a>Command line prompt</h5> -<!--l. 1686--><p class="noindent">You may wonder, “Why would I need to use a command line prompt when I have Windows?” -<!--l. 1689--><p class="indent"> Good question. The problem is of very general nature. Not all operations can be done easily using + id="x1-410007.11.2"></a>Command line prompt</h5> +<!--l. 1726--><p class="noindent">You may wonder, “Why would I need to use a command line prompt when I have Windows?” +<!--l. 1729--><p class="indent"> Good question. The problem is of very general nature. Not all operations can be done easily using only a GUI. Command line gives you programming power — assuming a clever command interpreter. -<!--l. 1693--><p class="indent"> But the problem here is more fundamental: <span class="TEX">T<span +<!--l. 1733--><p class="indent"> But the problem here is more fundamental: <span class="TEX">T<span class="E">E</span>X</span> is <span class="ec-lmri-10">a batch </span>tool. Not an interactive one. <span class="TEX">T<span class="E">E</span>X</span> needs to compute the best layout for each page, resolve cross-references and so on. This can be done only by a global processing of the document. It is not (yet) a task that can be done interactively. -<!--l. 1699--><p class="indent"> This means that you should use <span class="TEX">T<span +<!--l. 1739--><p class="indent"> This means that you should use <span class="TEX">T<span class="E">E</span>X</span> from a command line. In fact the situation is not so bad. There is an advantage to write command line tools for complex processing: they are better debugged, because they are independent of any GUI problems, and GUI tools can be designed to interface to the command @@ -2891,9 +2956,9 @@ class="E">E</span>X</span>, where you will mostly interact with it through a GUI editor. -<!--l. 1707--><p class="indent"> However, you may need to use the command line prompt in a number of situations. One is when you +<!--l. 1747--><p class="indent"> However, you may need to use the command line prompt in a number of situations. One is when you are having difficulties and want to debug your setup. -<!--l. 1711--><p class="indent"> +<!--l. 1751--><p class="indent"> <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Win9x</span> </dt><dd @@ -2923,11 +2988,11 @@ class="ec-lmtt-10">cmd.exe</span></span>, which is the name of the brand new command interpreter for NT (thus, it is untrue to call this a <span class="ec-lmri-10">DOS</span> box!).</dd></dl> -<!--l. 1724--><p class="indent"> These locations may change across different Windows versions. -<!--l. 1726--><p class="noindent"> +<!--l. 1764--><p class="indent"> These locations may change across different Windows versions. +<!--l. 1766--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.3 </span> <a - id="x1-410007.11.3"></a>Path separators</h5> -<!--l. 1728--><p class="noindent">The Win32 API understands both <span class="path"><span + id="x1-420007.11.3"></a>Path separators</h5> +<!--l. 1768--><p class="noindent">The Win32 API understands both <span class="path"><span class="ec-lmtt-10">/</span></span> and <span class="path"><span class="ec-lmtt-10">\</span></span> characters as PATH separators. But the command interpreters do not! So whenever a path name is used programmatically, you can use both separators, @@ -2936,14 +3001,14 @@ class="ec-lmtt-10">\</span></span> as path separator. The reason is compatibility: the command processor used ‘<span class="ec-lmtt-10">/</span>’ to introduce arguments to commands. -<!--l. 1735--><p class="indent"> All this to say: do not be surprised to read path names written using the Unix convention; fp<span class="TEX">T<span +<!--l. 1775--><p class="indent"> All this to say: do not be surprised to read path names written using the Unix convention; fp<span class="TEX">T<span class="E">E</span>X</span> is a port of Web2C, and aims to be compatible across platforms. For this reason, all the configuration files that need to specify path names use the Unix convention. -<!--l. 1740--><p class="noindent"> +<!--l. 1780--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.4 </span> <a - id="x1-420007.11.4"></a>File systems</h5> -<!--l. 1743--><p class="noindent">The worst feature of Win9x with regard to <span class="TEX">T<span + id="x1-430007.11.4"></a>File systems</h5> +<!--l. 1783--><p class="noindent">The worst feature of Win9x with regard to <span class="TEX">T<span class="E">E</span>X</span> is probably the so-called FAT file system. <span class="TEX">T<span class="E">E</span>X</span> uses very many small files, with size around 1–3kB. The FAT file system is old, and predates by decades the @@ -2955,19 +3020,19 @@ class="ec-lmri-10">any</span> file on a huge partition. It means that <span class="TEX">T<span class="E">E</span>X</span> will use much more disk space than it actually needs. -<!--l. 1752--><p class="indent"> The other, more modern, file systems available, FAT32 and NTFS, do not have this drawback. They +<!--l. 1792--><p class="indent"> The other, more modern, file systems available, FAT32 and NTFS, do not have this drawback. They manage clusters of 4kB only. (You can lower the limit to 512 bytes on NTFS.) -<!--l. 1756--><p class="noindent"> +<!--l. 1796--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.5 </span> <a - id="x1-430007.11.5"></a>How to add some directory to your PATH</h5> -<!--l. 1758--><p class="noindent">There are pairs of variables and values which behave much like global variables inside your programs. + id="x1-440007.11.5"></a>How to add some directory to your PATH</h5> +<!--l. 1798--><p class="noindent">There are pairs of variables and values which behave much like global variables inside your programs. The set of those variables is called the environment. Each program is initialized with a copy of the environment when it is run. It can request and change the value of any variable. The changes happen in the copy of the environment, and is not at all propagated to the other running programs. -<!--l. 1766--><p class="indent"> Your PATH is a special environment variable used to search for programs you want to run. There is a +<!--l. 1806--><p class="indent"> Your PATH is a special environment variable used to search for programs you want to run. There is a different procedure to change it for Win9x, WinME and NT/2K/XP: -<!--l. 1770--><p class="indent"> +<!--l. 1810--><p class="indent"> <dl class="description"><dt class="description"> @@ -2986,11 +3051,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb4"> <a - id="x1-43002r1"></a>  PATH=c:\windows;c:\windows\system;c:\TeXLive2006\bin\win32 + id="x1-44002r1"></a>  PATH=c:\windows;c:\windows\system;c:\TeXLive2006\bin\win32 </div> </div> </td></tr></table> - <!--l. 1777--><p class="nopar"> + <!--l. 1817--><p class="nopar"> </dd><dt class="description"> <span class="ec-lmbx-10">Windows ME</span> </dt><dd @@ -3019,7 +3084,7 @@ class="ec-lmss-10">Environment Variables </span>among the dialog boxes. Now class="ec-lmtt-10">PATH </span>for all users, you will have to contact your system administrator or be the system administrator yourself — in the latter case you should know what you are doing. - <!--l. 1796--><p class="noindent">If there is already a <span + <!--l. 1836--><p class="noindent">If there is already a <span class="ec-lmtt-10">PATH </span>setting for your user account, left click on <span class="ec-lmtt-10">PATH</span>. In the field <span @@ -3039,7 +3104,7 @@ class="ec-lmss-10">Ok</span>, otherwise the changes to <span class="ec-lmtt-10">PATH </span>won’t apply to your system. Be careful when changing the environment settings.</dd></dl> -<!--l. 1810--><p class="indent"> The best way to be sure that a variable has been properly set is to open a console and +<!--l. 1850--><p class="indent"> The best way to be sure that a variable has been properly set is to open a console and type: @@ -3048,31 +3113,31 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb5"> <a - id="x1-43004r1"></a>  set VARIABLE + id="x1-44004r1"></a>  set VARIABLE </div> </div> </td></tr></table> -<!--l. 1814--><p class="nopar">which should return the corresponding value. -<!--l. 1817--><p class="noindent"> +<!--l. 1854--><p class="nopar">which should return the corresponding value. +<!--l. 1857--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.11.6 </span> <a - id="x1-440007.11.6"></a><span class="TEX">T<span + id="x1-450007.11.6"></a><span class="TEX">T<span class="E">E</span>X</span> engines</h5> -<!--l. 1819--><p class="noindent">If you have a look at the Web2C documentation, you will read that all the various <span class="TEX">T<span +<!--l. 1859--><p class="noindent">If you have a look at the Web2C documentation, you will read that all the various <span class="TEX">T<span class="E">E</span>X</span> derived programs use the same base engine. For example, <span class="path"><span class="ec-lmtt-10">tex.exe</span></span> and <span class="path"><span class="ec-lmtt-10">latex.exe</span></span> are exact copies of the same program, but each one will use a different format file, based on its calling name. -<!--l. 1825--><p class="indent"> Under Unix, this feature is implemented through <span +<!--l. 1865--><p class="indent"> Under Unix, this feature is implemented through <span class="ec-lmri-10">symbolic links</span>. It saves up a bit of disk space, because some engines are used with many different format files. -<!--l. 1829--><p class="indent"> The Win32 API does not know about file links. So to save up almost the same amount of memory, all +<!--l. 1869--><p class="indent"> The Win32 API does not know about file links. So to save up almost the same amount of memory, all the <span class="TEX">T<span class="E">E</span>X</span> base engines have been put in DLLs (<span class="ec-lmri-10">Dynamic Linked Library</span>). This means that you will have the following layout: <div class="alltt"> -<!--l. 1833--><p class="noindent"><div class="obeylines-v"> +<!--l. 1873--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">18/09/2005</span><span class="ec-lmtt-10"> </span><span @@ -3145,15 +3210,15 @@ class="ec-lmtt-10">tl90pdfetex.dll</span></span>. The same trick has been used f class="ec-lmtt-10">mktex*.exe</span></span> family of programs which are linked to the <span class="path"><span class="ec-lmtt-10">mktex.dll</span></span> library. -<!--l. 1843--><p class="indent"> In fact, a generic tool called <span class="path"><span +<!--l. 1883--><p class="indent"> In fact, a generic tool called <span class="path"><span class="ec-lmtt-10">irun.exe</span></span> is provided to build the equivalent of Unix hard links for executable files only under Win32. -<!--l. 1846--><p class="noindent"> +<!--l. 1886--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">7.12 </span> <a - id="x1-450007.12"></a>In case of problems</h4> -<!--l. 1849--><p class="noindent"> + id="x1-460007.12"></a>In case of problems</h4> +<!--l. 1889--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.12.1 </span> <a - id="x1-460007.12.1"></a>What to do if <span + id="x1-470007.12.1"></a>What to do if <span class="ec-lmtt-10">latex </span>does not find your files?</h5> <ul class="itemize1"> <li class="itemize"><span @@ -3170,11 +3235,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb6"> <a - id="x1-46002r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=err.log + id="x1-47002r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=err.log </div> </div> </td></tr></table> - <!--l. 1862--><p class="nopar">You can also set the debug level: + <!--l. 1902--><p class="nopar">You can also set the debug level: <table width="100%" @@ -3182,12 +3247,12 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb7"> <a - id="x1-46004r1"></a>  SET KPATHSEA_DEBUG=-1 + id="x1-47004r1"></a>  SET KPATHSEA_DEBUG=-1 </div> </div> </td></tr></table> - <!--l. 1866--><p class="nopar"> - <!--l. 1868--><p class="noindent">If you want to redirect stderr to stdout, which is not possible Windows, then do: + <!--l. 1906--><p class="nopar"> + <!--l. 1908--><p class="noindent">If you want to redirect stderr to stdout, which is not possible Windows, then do: <table width="100%" @@ -3195,11 +3260,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb8"> <a - id="x1-46006r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=con: + id="x1-47006r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=con: </div> </div> </td></tr></table> - <!--l. 1872--><p class="nopar">This way you can capture both stdout and stderr in the same file. + <!--l. 1912--><p class="nopar">This way you can capture both stdout and stderr in the same file. </li> <li class="itemize">Assuming the installation has been done in <span class="path"><span class="ec-lmtt-10">c:/TeX</span></span>, check the following values: @@ -3262,28 +3327,28 @@ class="E">E</span>X</span> and friends should work. If it is not the case, you w class="ec-lmtt-10">-debug=n</span></span> option from <span class="path"><span class="ec-lmtt-10">kpsewhich</span></span>, and check back all the values. Try to identify and report the problem.</li></ul> -<!--l. 1902--><p class="noindent"> +<!--l. 1942--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">7.12.2 </span> <a - id="x1-470007.12.2"></a>What to do if your setup still does not work as expected?</h5> -<!--l. 1904--><p class="noindent">Here are several questions to investigate: -<!--l. 1906--><p class="indent"> + id="x1-480007.12.2"></a>What to do if your setup still does not work as expected?</h5> +<!--l. 1944--><p class="noindent">Here are several questions to investigate: +<!--l. 1946--><p class="indent"> <ol class="enumerate1" > <li class="enumerate" value="1" ><a - id="x1-47002x1"></a>Is <span + id="x1-48002x1"></a>Is <span class="ec-lmtt-10">tex.exe </span>in my <span class="path"><span class="ec-lmtt-10">PATH</span></span>? </li> <li class="enumerate" value="2" ><a - id="x1-47004x2"></a>Is the <span class="path"><span + id="x1-48004x2"></a>Is the <span class="path"><span class="ec-lmtt-10">TEXMFCNF</span></span> variable correctly set to <span class="path"><span class="ec-lmtt-10">c:/TeXLive2006/texmf-var/web2c</span></span> (default value)? </li> <li class="enumerate" value="3" ><a - id="x1-47006x3"></a>Are there any errors in the log file generated by the <span + id="x1-48006x3"></a>Are there any errors in the log file generated by the <span class="ec-lmtt-10">tlmpgui.exe </span>program? <span class="ec-lmtt-10">tlmpgui.log</span> can be found in your <span @@ -3294,40 +3359,40 @@ class="ec-lmtt-10">Error</span>’. </li> <li class="enumerate" value="4" ><a - id="x1-47008x4"></a>Are there any relevant bug fixes at <span class="obeylines-h"><a + id="x1-48008x4"></a>Are there any relevant bug fixes at <span class="obeylines-h"><a href="http://tug.org/texlive/" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/</span></a></span>? (Unlikely, but it doesn’t hurt to check.) </li></ol> -<!--l. 1925--><p class="indent"> The <span class="TEX">T<span +<!--l. 1965--><p class="indent"> The <span class="TEX">T<span class="E">E</span>X</span> Live software consists of hundreds of programs and tens of thousands of files, all from varying sources. So it is quite difficult to predict all possible causes for problems. Nevertheless, we will do our best to help you. (See section <a href="#x1-50001.2">1.2<!--tex4ht:ref: sec:help --></a>, p. <a href="#x1-50001.2">5<!--tex4ht:ref: sec:help --></a>.) -<!--l. 1931--><p class="noindent"> +<!--l. 1971--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">8 </span> <a - id="x1-480008"></a>A user’s guide to Web2C</h3> -<!--l. 1933--><p class="noindent">Web2C is an integrated collection of <span class="TEX">T<span + id="x1-490008"></a>A user’s guide to Web2C</h3> +<!--l. 1973--><p class="noindent">Web2C is an integrated collection of <span class="TEX">T<span class="E">E</span>X</span>-related programs: <span class="TEX">T<span class="E">E</span>X</span> itself, Metafont, MetaPost, BibTeX, etc. It is the heart of <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 1936--><p class="indent"> A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first +<!--l. 1976--><p class="indent"> A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first <span class="TEX">T<span class="E">E</span>X</span>-to-C system based on change files under Unix, which were primarily the original work of Howard Trickey and Pavel Curtis. Tim Morgan became the maintainer of the system, and during this period the name changed to Web-to-C. In 1990, Karl Berry took over the work, assisted by dozens of additional contributors, and in 1997 he handed the baton to Olaf Weber. -<!--l. 1944--><p class="indent"> The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. +<!--l. 1984--><p class="indent"> The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. It uses Knuth’s original sources for <span class="TEX">T<span class="E">E</span>X</span> and other basic programs written in <span class="ec-lmtt-10">web </span>and translates them into C source code. The core <span class="TEX">T<span class="E">E</span>X</span> programs are: -<!--l. 1949--><p class="indent"> +<!--l. 1989--><p class="indent"> <dl class="list1"><dt class="list"> <span class="ec-lmss-10">bibtex</span> </dt><dd @@ -3434,10 +3499,10 @@ class="ec-lmss-10">weave</span> </dt><dd class="list"><span class="ec-lmtt-10">web </span>to <span class="TEX">T<span class="E">E</span>X</span>.</dd></dl> -<!--l. 1977--><p class="noindent">The precise functions and syntax of these programs are described in the documentation of the individual +<!--l. 2017--><p class="noindent">The precise functions and syntax of these programs are described in the documentation of the individual packages and of Web2C itself. However, knowing a few principles governing the whole family of programs will help you take advantage of your Web2C installation. -<!--l. 1982--><p class="indent"> All programs honor these standard GNU options: +<!--l. 2022--><p class="indent"> All programs honor these standard GNU options: <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--help</span> </dt><dd @@ -3450,7 +3515,7 @@ class="list">print detailed progress report. <span class="ec-lmtt-10">--version</span> </dt><dd class="list">print version information, then exit.</dd></dl> -<!--l. 1989--><p class="indent"> For locating files the Web2C programs use the path searching library Kpathsea. This +<!--l. 2029--><p class="indent"> For locating files the Web2C programs use the path searching library Kpathsea. This library uses a combination of environment variables and a configuration files to optimize searching the (huge) collection of <span class="TEX">T<span class="E">E</span>X</span> files. Web2C can look at more than one directory @@ -3460,13 +3525,13 @@ extensions in two distinct trees. To speed up file searches the root of each tre <span class="ec-lmtt-10">ls-R</span>, containing an entry showing the name and relative pathname for all files under that root. -<!--l. 1999--><p class="noindent"> +<!--l. 2039--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">8.1 </span> <a - id="x1-490008.1"></a>Kpathsea path searching</h4> -<!--l. 2001--><p class="noindent">Let us first describe the generic path searching mechanism of the Kpathsea library. + id="x1-500008.1"></a>Kpathsea path searching</h4> +<!--l. 2041--><p class="noindent">Let us first describe the generic path searching mechanism of the Kpathsea library. -<!--l. 2004--><p class="indent"> We call a <span +<!--l. 2044--><p class="indent"> We call a <span class="ec-lmri-10">search path </span>a colon- or semicolon-separated list of <span class="ec-lmri-10">path elements</span>, which are basically directory names. A search path can come from (a combination of) many sources. To look up a file @@ -3476,23 +3541,23 @@ class="ec-lmtt-10">.:/dir</span>’, Kpathsea checks each element of the pat class="ec-lmtt-10">./my-file</span>, then <span class="ec-lmtt-10">/dir/my-file</span>, returning the first match (or possibly all matches). -<!--l. 2012--><p class="indent"> In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can +<!--l. 2052--><p class="indent"> In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can use filename separators different from colon (‘<span class="ec-lmtt-10">:</span>’) and slash (‘<span class="ec-lmtt-10">/</span>’). -<!--l. 2016--><p class="indent"> To check a particular path element <span +<!--l. 2056--><p class="indent"> To check a particular path element <span class="ec-lmro-10">p</span>, Kpathsea first checks if a prebuilt database (see “Filename database” on page <a -href="#x1-570008.2">55<!--tex4ht:ref: Filename-database --></a>) applies to <span +href="#x1-580008.2">56<!--tex4ht:ref: Filename-database --></a>) applies to <span class="ec-lmro-10">p</span>, i.e., if the database is in a directory that is a prefix of <span class="ec-lmro-10">p</span>. If so, the path specification is matched against the contents of the database. -<!--l. 2022--><p class="indent"> If the database does not exist, or does not apply to this path element, or contains no matches, the +<!--l. 2062--><p class="indent"> If the database does not exist, or does not apply to this path element, or contains no matches, the filesystem is searched (if this was not forbidden by a specification starting with ‘<span class="ec-lmtt-10">!!</span>’ and if the file being searched for must exist). Kpathsea constructs the list of directories that correspond to this path element, and then checks in each for the file being sought. -<!--l. 2029--><p class="indent"> The “file must exist” condition comes into play with ‘<span +<!--l. 2069--><p class="indent"> The “file must exist” condition comes into play with ‘<span class="ec-lmtt-10">.vf</span>’ files and input files read by <span class="TEX">T<span class="E">E</span>X</span>’s <span class="ec-lmtt-10">\openin</span> @@ -3503,27 +3568,27 @@ class="ec-lmtt-10">ls-R </span>when you install a new ‘<span class="ec-lmtt-10">.vf</span>’ file, it will never be found. Each path element is checked in turn: first the database, then the disk. If a match is found, the search stops and the result is returned. -<!--l. 2038--><p class="indent"> Although the simplest and most common path element is a directory name, Kpathsea supports +<!--l. 2078--><p class="indent"> Although the simplest and most common path element is a directory name, Kpathsea supports additional features in search paths: layered default values, environment variable names, config file values, users’ home directories, and recursive subdirectory searching. Thus, we say that Kpathsea <span class="ec-lmri-10">expands </span>a path element, meaning it transforms all the specifications into basic directory name or names. This is described in the following sections in the same order as it takes place. -<!--l. 2047--><p class="indent"> Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span +<!--l. 2087--><p class="indent"> Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span class="ec-lmtt-10">/</span>’ or ‘<span class="ec-lmtt-10">./</span>’ or ‘<span class="ec-lmtt-10">../</span>’, Kpathsea simply checks if that file exists. -<!--l. 2061--><p class="noindent"> +<!--l. 2101--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.1 </span> <a - id="x1-500008.1.1"></a>Path sources</h5> -<!--l. 2064--><p class="noindent">A search path can come from many sources. In the order in which Kpathsea uses them: -<!--l. 2067--><p class="indent"> + id="x1-510008.1.1"></a>Path sources</h5> +<!--l. 2104--><p class="noindent">A search path can come from many sources. In the order in which Kpathsea uses them: +<!--l. 2107--><p class="indent"> <ol class="enumerate1" > <li class="enumerate" value="1" ><a - id="x1-50002x1"></a>A user-set environment variable, for instance, <span + id="x1-51002x1"></a>A user-set environment variable, for instance, <span class="ec-lmtt-10">TEXINPUTS</span>. Environment variables with a period and a program name appended override; e.g., if ‘<span class="ec-lmtt-10">latex</span>’ is the name of the program @@ -3533,30 +3598,30 @@ class="ec-lmtt-10">TEXINPUTS</span>. </li> <li class="enumerate" value="2" ><a - id="x1-50004x2"></a>A program-specific configuration file, for example, a line ‘<span + id="x1-51004x2"></a>A program-specific configuration file, for example, a line ‘<span class="ec-lmtt-10">S /a:/b</span>’ in <span class="ec-lmss-10">dvips</span>’s <span class="ec-lmtt-10">config.ps</span>. </li> <li class="enumerate" value="3" ><a - id="x1-50006x3"></a>A Kpathsea configuration file <span + id="x1-51006x3"></a>A Kpathsea configuration file <span class="ec-lmtt-10">texmf.cnf</span>, containing a line like ‘<span class="ec-lmtt-10">TEXINPUTS=/c:/d</span>’ (see below). </li> <li class="enumerate" value="4" ><a - id="x1-50008x4"></a>The compile-time default.</li></ol> -<!--l. 2080--><p class="noindent">You can see each of these values for a given search path by using the debugging options (see “Debugging + id="x1-51008x4"></a>The compile-time default.</li></ol> +<!--l. 2120--><p class="noindent">You can see each of these values for a given search path by using the debugging options (see “Debugging actions” on page <a -href="#x1-610008.2.4">59<!--tex4ht:ref: Debugging --></a>). +href="#x1-620008.2.4">60<!--tex4ht:ref: Debugging --></a>). -<!--l. 2084--><p class="noindent"> +<!--l. 2124--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.2 </span> <a - id="x1-510008.1.2"></a>Config files</h5> -<!--l. 2087--><p class="noindent">Kpathsea reads <span + id="x1-520008.1.2"></a>Config files</h5> +<!--l. 2127--><p class="noindent">Kpathsea reads <span class="ec-lmri-10">runtime configuration files </span>named <span class="ec-lmtt-10">texmf.cnf </span>for search path and other definitions. The search path used to look for these files is named <span @@ -3581,7 +3646,7 @@ class="ec-lmtt-10">\ </span>at the end of a line acts as a continuation characte Whitespace at the beginning of continuation lines is not ignored. </li> <li class="itemize">Each remaining line has the form: <div class="alltt"> - <!--l. 2108--><p class="noindent"><div class="obeylines-v"> + <!--l. 2148--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span @@ -3631,11 +3696,11 @@ class="ec-lmtt-10">texmf.cnf </span>for Unix, MS-DOS and </li> <li class="itemize">All definitions are read before anything is expanded, so variables can be referenced before they are defined.</li></ul> -<!--l. 2133--><p class="noindent">A configuration file fragment illustrating most of these points is shown below: -<!--l. 2137--><p class="indent"> +<!--l. 2173--><p class="noindent">A configuration file fragment illustrating most of these points is shown below: +<!--l. 2177--><p class="indent"> <div class="fancyvrb" id="fancyvrb9"> <a - id="x1-51002r1"></a><span + id="x1-52002r1"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> TEXMF</span><span class="ec-lmtt-8x-x-87"> </span><span @@ -3654,7 +3719,7 @@ class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> =</span><span class="ec-lmtt-8x-x-87"> {$TEXMFLOCAL,!!$TEXMFMAIN}</span> <br class="fancyvrb"><a - id="x1-51004r2"></a><span + id="x1-52004r2"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> TEXINPUTS.latex</span><span class="ec-lmtt-8x-x-87"> </span><span @@ -3663,20 +3728,20 @@ class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> =</span><span class="ec-lmtt-8x-x-87"> .;$TEXMF/tex/{latex,generic;}//</span> <br class="fancyvrb"><a - id="x1-51006r3"></a><span + id="x1-52006r3"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> TEXINPUTS.fontinst</span><span class="ec-lmtt-8x-x-87"> =</span><span class="ec-lmtt-8x-x-87"> .;$TEXMF/tex//;$TEXMF/fonts/afm//</span> <br class="fancyvrb"><a - id="x1-51008r4"></a><span + id="x1-52008r4"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> %</span><span class="ec-lmtt-8x-x-87"> e-TeX</span><span class="ec-lmtt-8x-x-87"> related</span><span class="ec-lmtt-8x-x-87"> files</span> <br class="fancyvrb"><a - id="x1-51010r5"></a><span + id="x1-52010r5"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> TEXINPUTS.elatex</span><span class="ec-lmtt-8x-x-87"> </span><span @@ -3684,7 +3749,7 @@ class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> =</span><span class="ec-lmtt-8x-x-87"> .;$TEXMF/{etex,tex}/{latex,generic;}//</span> <br class="fancyvrb"><a - id="x1-51012r6"></a><span + id="x1-52012r6"></a><span class="ec-lmtt-8x-x-87"> </span><span class="ec-lmtt-8x-x-87"> TEXINPUTS.etex</span><span class="ec-lmtt-8x-x-87"> </span><span @@ -3696,10 +3761,10 @@ class="ec-lmtt-8x-x-87"> .;$TEXMF/{etex,tex}/{eplain,plain,generic;}//</s </div> -<!--l. 2142--><p class="noindent"> +<!--l. 2182--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.3 </span> <a - id="x1-520008.1.3"></a>Path expansion</h5> -<!--l. 2146--><p class="noindent">Kpathsea recognizes certain special characters and constructions in search paths, similar to those + id="x1-530008.1.3"></a>Path expansion</h5> +<!--l. 2186--><p class="noindent">Kpathsea recognizes certain special characters and constructions in search paths, similar to those available in Unix shells. As a general example, the complex path, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~$USER/{foo,bar}//baz</span></span></span>, expands to all subdirectories under directories <span @@ -3709,15 +3774,15 @@ class="ec-lmtt-10">$USER</span>’s home directory that contain a directory <span class="ec-lmtt-10">baz</span>. These expansions are explained in the sections below. <h5 class="subsubsectionHead"><span class="titlemark">8.1.4 </span> <a - id="x1-530008.1.4"></a>Default expansion</h5> -<!--l. 2158--><p class="noindent">If the highest-priority search path (see “Path sources” on page <a -href="#x1-500008.1.1">50<!--tex4ht:ref: Path-sources --></a>) contains an <span + id="x1-540008.1.4"></a>Default expansion</h5> +<!--l. 2198--><p class="noindent">If the highest-priority search path (see “Path sources” on page <a +href="#x1-510008.1.1">51<!--tex4ht:ref: Path-sources --></a>) contains an <span class="ec-lmri-10">extra colon </span>(i.e., leading, trailing, or doubled), Kpathsea inserts at that point the next-highest-priority search path that is defined. If that inserted path has an extra colon, the same happens with the next highest. For example, given an environment variable setting <div class="alltt"> -<!--l. 2167--><p class="noindent"><div class="obeylines-v"> +<!--l. 2207--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -3729,30 +3794,30 @@ class="ec-lmtt-10">/home/karl:</span></span> class="ec-lmtt-10">TEXINPUTS </span>value from <span class="ec-lmtt-10">texmf.cnf </span>of <div class="alltt"> -<!--l. 2172--><p class="noindent"><div class="obeylines-v"> +<!--l. 2212--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> .:$TEXMF//tex</span> </div> </div> then the final value used for searching will be: <div class="alltt"> -<!--l. 2177--><p class="noindent"><div class="obeylines-v"> +<!--l. 2217--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /home/karl:.:$TEXMF//tex</span> </div> </div> -<!--l. 2181--><p class="indent"> Since it would be useless to insert the default value in more than one place, Kpathsea changes only +<!--l. 2221--><p class="indent"> Since it would be useless to insert the default value in more than one place, Kpathsea changes only one extra ‘<span class="ec-lmtt-10">:</span>’ and leaves any others in place. It checks first for a leading ‘<span class="ec-lmtt-10">:</span>’, then a trailing ‘<span class="ec-lmtt-10">:</span>’, then a doubled ‘<span class="ec-lmtt-10">:</span>’. -<!--l. 2186--><p class="noindent"> +<!--l. 2226--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.5 </span> <a - id="x1-540008.1.5"></a>Brace expansion</h5> -<!--l. 2188--><p class="noindent">A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span + id="x1-550008.1.5"></a>Brace expansion</h5> +<!--l. 2228--><p class="noindent">A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">v{a,b}w</span></span></span> expands to <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">vaw:vbw</span></span></span>. Nesting is allowed. This is used to implement multiple <span class="TEX">T<span @@ -3768,11 +3833,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb10"> <a - id="x1-54002r1"></a>    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN} + id="x1-55002r1"></a>    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN} </div> </div> </td></tr></table> -<!--l. 2196--><p class="nopar">Using this you can then write something like +<!--l. 2236--><p class="nopar">Using this you can then write something like <table width="100%" @@ -3780,11 +3845,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb11"> <a - id="x1-54004r1"></a>    TEXINPUTS = .;$TEXMF/tex// + id="x1-55004r1"></a>    TEXINPUTS = .;$TEXMF/tex// </div> </div> </td></tr></table> -<!--l. 2200--><p class="nopar">which means that, after looking in the current directory, the <span +<!--l. 2240--><p class="nopar">which means that, after looking in the current directory, the <span class="ec-lmtt-10">$TEXMFHOME/tex</span>, <span class="ec-lmtt-10">$TEXMFLOCAL/tex</span>, <span @@ -3798,17 +3863,17 @@ instance) and the other being continuously updated with new versions as they bec using the <span class="ec-lmtt-10">$TEXMF </span>variable in all definitions, one is sure to always search the up-to-date tree first. -<!--l. 2212--><p class="noindent"> +<!--l. 2252--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.6 </span> <a - id="x1-550008.1.6"></a>Subdirectory expansion</h5> -<!--l. 2215--><p class="noindent">Two or more consecutive slashes in a path element following a directory <span + id="x1-560008.1.6"></a>Subdirectory expansion</h5> +<!--l. 2255--><p class="noindent">Two or more consecutive slashes in a path element following a directory <span class="ec-lmro-10">d </span>is replaced by all subdirectories of <span class="ec-lmro-10">d</span>: first those subdirectories directly under <span class="ec-lmro-10">d</span>, then the subsubdirectories under those, and so on. At each level, the order in which the directories are searched is <span class="ec-lmri-10">unspecified</span>. -<!--l. 2221--><p class="indent"> If you specify any filename components after the ‘<span +<!--l. 2261--><p class="indent"> If you specify any filename components after the ‘<span class="ec-lmtt-10">//</span>’, only subdirectories with matching components are included. For example, ‘<span class="ec-lmtt-10">/a//b</span>’ expands into directories <span @@ -3818,15 +3883,15 @@ class="ec-lmtt-10">/a/1/1/b</span>, and so on, but not <span class="ec-lmtt-10">/a/b/c </span>or <span class="ec-lmtt-10">/a/1</span>. -<!--l. 2226--><p class="indent"> Multiple ‘<span +<!--l. 2266--><p class="indent"> Multiple ‘<span class="ec-lmtt-10">//</span>’ constructs in a path are possible, but ‘<span class="ec-lmtt-10">//</span>’ at the beginning of a path is ignored. -<!--l. 2229--><p class="noindent"> +<!--l. 2269--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.1.7 </span> <a - id="x1-560008.1.7"></a>List of special characters and their meaning: a summary</h5> -<!--l. 2231--><p class="noindent">The following list summarizes the special characters in Kpathsea configuration files. -<!--l. 2236--><p class="noindent"> + id="x1-570008.1.7"></a>List of special characters and their meaning: a summary</h5> +<!--l. 2271--><p class="noindent">The following list summarizes the special characters in Kpathsea configuration files. +<!--l. 2276--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">:</span> </dt><dd @@ -3869,23 +3934,23 @@ class="ec-lmtt-10">!!</span> </dt><dd class="list">Search <span class="ec-lmri-10">only </span>database to locate file, <span class="ec-lmri-10">do not </span>search the disk.</dd></dl> -<!--l. 2252--><p class="noindent"> +<!--l. 2292--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">8.2 </span> <a - id="x1-570008.2"></a>Filename databases</h4> -<!--l. 2255--><p class="noindent">Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with + id="x1-580008.2"></a>Filename databases</h4> +<!--l. 2295--><p class="noindent">Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with enough directories, searching each possible directory for a given file can take an excessively long time (this is especially true if many hundreds of font directories have to be traversed.) Therefore, Kpathsea can use an externally-built plain text “database” file named <span class="ec-lmtt-10">ls-R </span>that maps files to directories, thus avoiding the need to exhaustively search the disk. -<!--l. 2263--><p class="indent"> A second database file <span +<!--l. 2303--><p class="indent"> A second database file <span class="ec-lmtt-10">aliases </span>allows you to give additional names to the files listed in <span class="ec-lmtt-10">ls-R</span>. This can be helpful to confirm to DOS 8.3 filename conventions in source files. -<!--l. 2267--><p class="noindent"> +<!--l. 2307--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.2.1 </span> <a - id="x1-580008.2.1"></a>The filename database</h5> -<!--l. 2270--><p class="noindent">As explained above, the name of the main filename database must be <span + id="x1-590008.2.1"></a>The filename database</h5> +<!--l. 2310--><p class="noindent">As explained above, the name of the main filename database must be <span class="ec-lmtt-10">ls-R</span>. You can put one at the root of each <span class="TEX">T<span class="E">E</span>X</span> hierarchy in your installation that you wish to be searched (<span @@ -3894,13 +3959,13 @@ default); most sites have only one hierarchy. Kpathsea looks for <span class="ec-lmtt-10">ls-R </span>files along the <span class="ec-lmtt-10">TEXMFDBS</span> path. -<!--l. 2276--><p class="indent"> The recommended way to create and maintain ‘<span +<!--l. 2316--><p class="indent"> The recommended way to create and maintain ‘<span class="ec-lmtt-10">ls-R</span>’ is to run the <span class="ec-lmtt-10">mktexlsr </span>script included with the distribution. It is invoked by the various ‘<span class="ec-lmtt-10">mktex</span>’... scripts. In principle, this script just runs the command <div class="alltt"> -<!--l. 2280--><p class="noindent"><div class="obeylines-v"> +<!--l. 2320--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">cd</span><span class="ec-lmtt-10"> </span><span @@ -3921,15 +3986,15 @@ class="ec-lmtt-10">cron</span>, so that it is automatically updated when the installed files change, such as after installing or updating a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> package. -<!--l. 2289--><p class="indent"> If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a +<!--l. 2329--><p class="indent"> If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a particular path element begins with ‘<span class="ec-lmtt-10">!!</span>’, however, <span class="ec-lmri-10">only </span>the database will be searched for that element, never the disk. -<!--l. 2295--><p class="noindent"> +<!--l. 2335--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.2.2 </span> <a - id="x1-590008.2.2"></a>kpsewhich: Standalone path searching</h5> -<!--l. 2298--><p class="noindent">The <span + id="x1-600008.2.2"></a>kpsewhich: Standalone path searching</h5> +<!--l. 2338--><p class="noindent">The <span class="ec-lmtt-10">kpsewhich </span>program exercises path searching independent of any particular application. This can be useful as a sort of <span class="ec-lmtt-10">find </span>program to locate files in <span class="TEX">T<span @@ -3937,7 +4002,7 @@ class="E">E</span>X</span> hierarchies (this is used heavily in the distributed ‘<span class="ec-lmtt-10">mktex</span>’... scripts). <div class="alltt"> -<!--l. 2303--><p class="noindent"><div class="obeylines-v"> +<!--l. 2343--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -3954,12 +4019,12 @@ class="ec-lmro-10">option </span>start with either ‘<span class="ec-lmtt-10">-</span>’ or ‘<span class="ec-lmtt-10">--</span>’, and any unambiguous abbreviation is accepted. -<!--l. 2309--><p class="indent"> Kpathsea looks up each non-option argument on the command line as a filename, and returns the +<!--l. 2349--><p class="indent"> Kpathsea looks up each non-option argument on the command line as a filename, and returns the first file found. There is no option to return all the files with a particular name (you can run the Unix ‘<span class="ec-lmtt-10">find</span>’ utility for that). -<!--l. 2314--><p class="indent"> The more important options are described next. -<!--l. 2316--><p class="noindent"> +<!--l. 2354--><p class="indent"> The more important options are described next. +<!--l. 2356--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--dpi=</span><span @@ -4043,14 +4108,14 @@ class="ec-lmro-10">num</span> </dt><dd class="list"> <br class="newline">sets the debugging options to <span class="ec-lmro-10">num</span>.</dd></dl> -<!--l. 2356--><p class="noindent"> +<!--l. 2396--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.2.3 </span> <a - id="x1-600008.2.3"></a>Examples of use</h5> -<!--l. 2359--><p class="noindent">Let us now have a look at Kpathsea in action. Here’s a straightforward search: + id="x1-610008.2.3"></a>Examples of use</h5> +<!--l. 2399--><p class="noindent">Let us now have a look at Kpathsea in action. Here’s a straightforward search: <div class="alltt"> -<!--l. 2361--><p class="noindent"><div class="obeylines-v"> +<!--l. 2401--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4073,7 +4138,7 @@ class="ec-lmtt-10">texmf-dist</span>’ <span class="TEX">T<span class="E">E</span>X</span> Live directory. Similarly, all of the following are found without problems thanks to their unambiguous suffix. <div class="alltt"> -<!--l. 2371--><p class="noindent"><div class="obeylines-v"> +<!--l. 2411--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4121,10 +4186,10 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib</span> </div> </div> -<!--l. 2384--><p class="indent"> That last is a BibTeX bibliography database for <span +<!--l. 2424--><p class="indent"> That last is a BibTeX bibliography database for <span class="ec-lmro-10">TUGBoat </span>articles. <div class="alltt"> -<!--l. 2386--><p class="noindent"><div class="obeylines-v"> +<!--l. 2426--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4139,7 +4204,7 @@ in this case since there are no pre-generated Computer Modern ‘<span class="ec-lmtt-10">.pk</span>’ files in <span class="TEX">T<span class="E">E</span>X</span> Live — the Type 1 variants are used by default. <div class="alltt"> -<!--l. 2393--><p class="noindent"><div class="obeylines-v"> +<!--l. 2433--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4151,12 +4216,12 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk</span> </div> </div> -<!--l. 2400--><p class="indent"> For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span +<!--l. 2440--><p class="indent"> For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span class="ec-lmtt-10">.pk</span>’ files, and since the default Metafont mode on our installation is <span class="ec-lmtt-10">ljfour </span>with a base resolution of 600dpi (dots per inch), this instantiation is returned. <div class="alltt"> -<!--l. 2404--><p class="noindent"><div class="obeylines-v"> +<!--l. 2444--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4173,7 +4238,7 @@ required <span class="ec-lmtt-10">.pk </span>files using the script <span class="ec-lmss-10">mktexpk</span>. -<!--l. 2413--><p class="indent"> Next we turn our attention to <span +<!--l. 2453--><p class="indent"> Next we turn our attention to <span class="ec-lmss-10">dvips</span>’s header and configuration files. We first look at one of the commonly used files, the general prolog <span class="ec-lmtt-10">tex.pro </span>for <span class="TEX">T<span @@ -4188,7 +4253,7 @@ ambiguous we have to specify explicitly which type we are considering (<span class="ec-lmtt-10">dvips config</span>) for the file <span class="ec-lmtt-10">config.ps</span>. <div class="alltt"> -<!--l. 2422--><p class="noindent"><div class="obeylines-v"> +<!--l. 2462--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4220,11 +4285,11 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map</span> </div> </div> -<!--l. 2431--><p class="indent"> We now take a closer look at the URW Times PostScript support files. The prefix for these in the +<!--l. 2471--><p class="indent"> We now take a closer look at the URW Times PostScript support files. The prefix for these in the standard font naming scheme is ‘<span class="ec-lmtt-10">utm</span>’. The first file we look at is the configuration file, which contains the name of the map file: <div class="alltt"> -<!--l. 2435--><p class="noindent"><div class="obeylines-v"> +<!--l. 2475--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4238,7 +4303,7 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/dvips/psnfss/config.utm</span> </div> </div> The contents of that file is <div class="alltt"> -<!--l. 2440--><p class="noindent"><div class="obeylines-v"> +<!--l. 2480--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span @@ -4246,7 +4311,7 @@ class="ec-lmtt-10"> +utm.map</span> </div> </div> which points to the file <span class="ec-lmtt-10">utm.map</span>, which we want to locate next. <div class="alltt"> -<!--l. 2445--><p class="noindent"><div class="obeylines-v"> +<!--l. 2485--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4259,7 +4324,7 @@ class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/map/dvips/times/utm.map</ </div> </div> This map file defines the file names of the Type 1 PostScript fonts in the URW collection. Its contents look like (we only show part of the lines): <div class="alltt"> -<!--l. 2452--><p class="noindent"><div class="obeylines-v"> +<!--l. 2492--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">utmb8r</span><span class="ec-lmtt-10"> </span><span @@ -4308,7 +4373,7 @@ class="ec-lmtt-10"> <utmr8a.pfb</span> class="ec-lmtt-10">utmr8a.pfb </span>and find its position in the <span class="ec-lmtt-10">texmf</span> directory tree with a search for Type 1 font files: <div class="alltt"> -<!--l. 2463--><p class="noindent"><div class="obeylines-v"> +<!--l. 2503--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4320,16 +4385,16 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb</span> </div> </div> -<!--l. 2470--><p class="indent"> It should be evident from these examples how you can easily locate the whereabouts of a given file. +<!--l. 2510--><p class="indent"> It should be evident from these examples how you can easily locate the whereabouts of a given file. This is especially important if you suspect that the wrong version of a file is picked up somehow, since <span class="ec-lmss-10">kpsewhich </span>will show you the first file encountered. -<!--l. 2475--><p class="noindent"> +<!--l. 2515--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">8.2.4 </span> <a - id="x1-610008.2.4"></a>Debugging actions</h5> -<!--l. 2478--><p class="noindent">Sometimes it is necessary to investigate how a program resolves file references. To make this practical, + id="x1-620008.2.4"></a>Debugging actions</h5> +<!--l. 2518--><p class="noindent">Sometimes it is necessary to investigate how a program resolves file references. To make this practical, Kpathsea offers various levels of debugging output: -<!--l. 2482--><p class="noindent"> +<!--l. 2522--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10"> 1</span> </dt><dd @@ -4359,21 +4424,21 @@ class="list">Directory list for each path element (only relevant for searches on <span class="ec-lmtt-10">32</span> </dt><dd class="list">File searches.</dd></dl> -<!--l. 2496--><p class="noindent">A value of <span +<!--l. 2536--><p class="noindent">A value of <span class="ec-lmtt-10">-1 </span>will set all the above options; in practice, this is usually the most convenient. -<!--l. 2499--><p class="indent"> Similarly, with the <span +<!--l. 2539--><p class="indent"> Similarly, with the <span class="ec-lmss-10">dvips </span>program, by setting a combination of debug switches, one can follow in detail where files are being picked up from. Alternatively, when a file is not found, the debug trace shows in which directories the program looks for the given file, so that one can get an indication what the problem is. -<!--l. 2505--><p class="indent"> Generally speaking, as most programs call the Kpathsea library internally, one can select a debug +<!--l. 2545--><p class="indent"> Generally speaking, as most programs call the Kpathsea library internally, one can select a debug option by using the <span class="ec-lmtt-10">KPATHSEA_DEBUG </span>environment variable, and setting it to (a combination of) values as described in the above list. -<!--l. 2510--><p class="indent"> (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic +<!--l. 2550--><p class="indent"> (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic purposes you can temporarily <span class="ec-lmtt-10">SET KPATHSEA_DEBUG_OUTPUT=err.log</span>). -<!--l. 2514--><p class="indent"> Let us consider, as an example, a small <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +<!--l. 2554--><p class="indent"> Let us consider, as an example, a small <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> source file, <span class="ec-lmtt-10">hello-world.tex</span>, which contains the following input. @@ -4384,23 +4449,23 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb12"> <a - id="x1-61002r1"></a>    \documentclass{article} + id="x1-62002r1"></a>    \documentclass{article} <br class="fancyvrb"><a - id="x1-61004r2"></a>    \begin{document} + id="x1-62004r2"></a>    \begin{document} <br class="fancyvrb"><a - id="x1-61006r3"></a>    Hello World! + id="x1-62006r3"></a>    Hello World! <br class="fancyvrb"><a - id="x1-61008r4"></a>    \end{document} + id="x1-62008r4"></a>    \end{document} </div> </div> </td></tr></table> -<!--l. 2521--><p class="nopar">This little file only uses the font <span +<!--l. 2561--><p class="nopar">This little file only uses the font <span class="ec-lmtt-10">cmr10</span>, so let us look at how <span class="ec-lmss-10">dvips </span>prepares the PostScript file (we want to use the Type 1 version of the Computer Modern fonts, hence the option <span class="ec-lmtt-10">-Pcms</span>). <div class="alltt"> -<!--l. 2525--><p class="noindent"><div class="obeylines-v"> +<!--l. 2565--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4416,11 +4481,11 @@ expansion (see <span class="ec-lmss-10">dvips </span>Reference Manual, <a href="../../../../texmf/doc/html/dvips/dvips_toc.html" >texmf/doc/html/dvips/dvips_toc.html</a>). The output (slightly rearranged) appears in Figure <a -href="#x1-61031r1">1<!--tex4ht:ref: fig:dvipsdbga --></a>. -<!--l. 2533--><p class="indent"> <a - id="x1-61031r1"></a><a - id="x1-61036r2"></a><a - id="x1-61049r3"></a><hr class="float"><div class="float" +href="#x1-62031r1">1<!--tex4ht:ref: fig:dvipsdbga --></a>. +<!--l. 2573--><p class="indent"> <a + id="x1-62031r1"></a><a + id="x1-62036r2"></a><a + id="x1-62049r3"></a><hr class="float"><div class="float" ><table class="float"><tr class="float"><td class="float" > @@ -4518,7 +4583,7 @@ class="ec-lmtt-9">=>/usr/local/texmf/dvips/cms/config.cms</span> </div> <table class="caption" ><tr valign="baseline" class="caption"><td class="id">Figure 1: </td><td -class="content">Finding configuration files</td></tr></table><!--tex4ht:label?: x1-61031r1 --> +class="content">Finding configuration files</td></tr></table><!--tex4ht:label?: x1-62031r1 --> <div class="BVerbatimInput"> <span class="ec-lmtt-9">kdebug:start</span><span @@ -4543,7 +4608,7 @@ class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span> </div> <table class="caption" ><tr valign="baseline" class="caption"><td class="id">Figure 2: </td><td -class="content">Finding the prolog file</td></tr></table><!--tex4ht:label?: x1-61036r2 --> +class="content">Finding the prolog file</td></tr></table><!--tex4ht:label?: x1-62036r2 --> <div class="BVerbatimInput"> <span class="ec-lmtt-9">kdebug:start</span><span @@ -4601,11 +4666,11 @@ class="ec-lmtt-9"><cmr10.pfb>[1]</span> </div> <table class="caption" ><tr valign="baseline" class="caption"><td class="id">Figure 3: </td><td -class="content">Finding the font file</td></tr></table><!--tex4ht:label?: x1-61049r3 --> +class="content">Finding the font file</td></tr></table><!--tex4ht:label?: x1-62049r3 --> </td></tr></table></div><hr class="endfloat" /> -<!--l. 2549--><p class="indent"> <span +<!--l. 2589--><p class="indent"> <span class="ec-lmss-10">dvips </span>starts by locating its working files. First, <span class="ec-lmtt-10">texmf.cnf </span>is found, which gives the definitions of the search paths for the other files, then the file database <span @@ -4627,7 +4692,7 @@ class="ec-lmss-10">dvips </span>command). This file contains the list of the map which define the relation between the <span class="TEX">T<span class="E">E</span>X</span>, PostScript and file system names of the fonts. <div class="alltt"> -<!--l. 2563--><p class="noindent"><div class="obeylines-v"> +<!--l. 2603--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4658,11 +4723,11 @@ class="ec-lmtt-10"> +amsbkm.map</span> class="ec-lmss-10">dvips </span>thus goes on to find all these files, plus the generic map file <span class="ec-lmtt-10">psfonts.map</span>, which is always loaded (it contains declarations for commonly used PostScript fonts; see the last part of Section <a -href="#x1-600008.2.3">8.2.3<!--tex4ht:ref: SExamplesofuse --></a> for more +href="#x1-610008.2.3">8.2.3<!--tex4ht:ref: SExamplesofuse --></a> for more details about PostScript map file handling). -<!--l. 2576--><p class="indent"> At this point <span +<!--l. 2616--><p class="indent"> At this point <span class="ec-lmss-10">dvips </span>identifies itself to the user: <div class="alltt"> -<!--l. 2577--><p class="noindent"><div class="obeylines-v"> +<!--l. 2617--><p class="noindent"><div class="obeylines-v"> <span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span @@ -4677,7 +4742,7 @@ class="ec-lmtt-10"> (www.radicaleye.com)</span> </div> </div> Then it goes on to look for the prolog file <span class="ec-lmtt-10">texc.pro</span>: <div class="alltt"> -<!--l. 2582--><p class="noindent"><div class="obeylines-v"> +<!--l. 2622--><p class="noindent"><div class="obeylines-v"> <br><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=texc.pro,</span><span @@ -4700,13 +4765,13 @@ class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span> </div> </div> -<!--l. 2593--><p class="indent"> After having found the file in question, <span +<!--l. 2633--><p class="indent"> After having found the file in question, <span class="ec-lmss-10">dvips </span>outputs date and time, and informs us that it will generate the file <span class="ec-lmtt-10">hello-world.ps</span>, then that it needs the font file <span class="ec-lmtt-10">cmr10</span>, and that the latter is declared as “resident” (no bitmaps needed): <div class="alltt"> -<!--l. 2598--><p class="noindent"><div class="obeylines-v"> +<!--l. 2638--><p class="noindent"><div class="obeylines-v"> <br><span class="ec-lmtt-9">TeX</span><span class="ec-lmtt-9"> output</span><span @@ -4734,7 +4799,7 @@ class="ec-lmtt-10">cmr10.pfb </span>of the font is located and included in the o file (see last line). <div class="alltt"> -<!--l. 2607--><p class="noindent"><div class="obeylines-v"> +<!--l. 2647--><p class="noindent"><div class="obeylines-v"> <br><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=cmr10.tfm,</span><span @@ -4791,14 +4856,14 @@ class="ec-lmtt-9"><cmr10.pfb>[1]</span> </div> </div> <h4 class="subsectionHead"><span class="titlemark">8.3 </span> <a - id="x1-620008.3"></a>Runtime options</h4> -<!--l. 2624--><p class="noindent">Another useful feature of Web2C is its possibility to control a number of memory parameters + id="x1-630008.3"></a>Runtime options</h4> +<!--l. 2664--><p class="noindent">Another useful feature of Web2C is its possibility to control a number of memory parameters (in particular, array sizes) via the runtime file <span class="ec-lmtt-10">texmf.cnf </span>read by Kpathsea. The memory settings can be found in Part 3 of that file in the <span class="TEX">T<span class="E">E</span>X</span> Live distribution. The more important are: -<!--l. 2630--><p class="noindent"> +<!--l. 2670--><p class="noindent"> <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">main_memory</span> </dt><dd @@ -4834,16 +4899,16 @@ class="list">Additional space for the hash table of control sequence names. Appr class="ec-lmtt-10">hash_extra </span>is <span class="ec-lmtt-10">50000</span>.</dd></dl> -<!--l. 2655--><p class="noindent">Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these +<!--l. 2695--><p class="noindent">Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these are extremely difficult to implement in the present <span class="TEX">T<span class="E">E</span>X</span> source, these runtime parameters provide a practical compromise allowing some flexibility. -<!--l. 2763--><p class="noindent"> +<!--l. 2803--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">9 </span> <a - id="x1-630009"></a>Acknowledgements</h3> + id="x1-640009"></a>Acknowledgements</h3> -<!--l. 2765--><p class="noindent"><span class="TEX">T<span +<!--l. 2805--><p class="noindent"><span class="TEX">T<span class="E">E</span>X</span> Live is a joint effort by virtually all of the <span class="TEX">T<span class="E">E</span>X</span> user groups. This edition of <span class="TEX">T<span class="E">E</span>X</span> Live was @@ -4931,7 +4996,7 @@ class="E">E</span>X</span> Live, and coordinator of the many </li> <li class="itemize">Graham Williams, on whose work the catalogue of packages depends. </li></ul> -<!--l. 2841--><p class="indent"> Builders of the binaries: Tigran Aivazian (<span +<!--l. 2881--><p class="indent"> Builders of the binaries: Tigran Aivazian (<span class="ec-lmss-10">x86_64-linux</span>), Manfred Lotz (<span class="ec-lmss-10">i386-freebsd</span>), Fabrice Popineau (<span @@ -4946,19 +5011,19 @@ class="ec-lmss-10">mips-irix</span>), Gerben Wierda (<span class="ec-lmss-10">i386-darwin</span>, <span class="ec-lmss-10">powerpc-darwin</span>). -<!--l. 2852--><p class="indent"> Documentation and translation updates: Karl Berry (English), Daniel Flipo & Fabrice Popineau +<!--l. 2892--><p class="indent"> Documentation and translation updates: Karl Berry (English), Daniel Flipo & Fabrice Popineau (French), Günter Partosch & Hartmut Henkel (German), Petr Sojka & Jan Busa (Czech/Slovak), Boris Veytsman (Russian), Staszek Wawrykiewicz (Polish). -<!--l. 2860--><p class="indent"> Of course the most important acknowledgement must go to Donald Knuth, first for inventing <span class="TEX">T<span +<!--l. 2900--><p class="indent"> Of course the most important acknowledgement must go to Donald Knuth, first for inventing <span class="TEX">T<span class="E">E</span>X</span>, and then for giving it to the world. -<!--l. 2864--><p class="noindent"> +<!--l. 2904--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">10 </span> <a - id="x1-6400010"></a>Release history</h3> -<!--l. 2867--><p class="noindent"> + id="x1-6500010"></a>Release history</h3> +<!--l. 2907--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">10.1 </span> <a - id="x1-6500010.1"></a>Past</h4> -<!--l. 2869--><p class="noindent">Discussion began in late 1993 when the Dutch <span class="TEX">T<span + id="x1-6600010.1"></a>Past</h4> +<!--l. 2909--><p class="noindent">Discussion began in late 1993 when the Dutch <span class="TEX">T<span class="E">E</span>X</span> Users Group was starting work on its 4All<span class="TEX">T<span class="E">E</span>X</span> CD for MS-DOS users, and it was hoped at that time to issue a single, rational, CD for all systems. This was @@ -4982,7 +5047,7 @@ class="E">E</span>X</span> CD showed that Unix users would benefit from a similarly easy system, and this is the other main strand of <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 2885--><p class="indent"> We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified +<!--l. 2925--><p class="indent"> We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified Thomas Esser’s te<span class="TEX">T<span class="E">E</span>X</span> as the ideal setup, as it already had multi-platform support and was built with portability across file systems in mind. Thomas agreed to help, and work began seriously at the start of @@ -5000,7 +5065,7 @@ almost all of its features. The 4th edition followed the same pattern, using a n te<span class="TEX">T<span class="E">E</span>X</span>, and a new release of Web2C (7.3). The system now included a complete Windows setup. -<!--l. 2901--><p class="indent"> For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds +<!--l. 2941--><p class="indent"> For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds of packages. Package details were stored in XML files. But the major change for <span class="TEX">T<span class="E">E</span>X</span> Live 5 was that all @@ -5012,19 +5077,19 @@ href="http://www.debian.org/intro/free" class="url" ><span class="ec-lmtt-10">http://www.debian.org/intro/free</span></a></span>); we have done our best to check the license conditions of all packages, but we would very much appreciate hearing of any mistakes. -<!--l. 2910--><p class="indent"> The 6th edition (July 2001) had much more material updated. The major change was a new install +<!--l. 2950--><p class="indent"> The 6th edition (July 2001) had much more material updated. The major change was a new install concept: the user could select a more exact set of needed collections. Language-related collections were completely reorganized, so selecting any of them installs not only macros, fonts, etc., but also prepares an appropriate <span class="ec-lmtt-10">language.dat</span>. -<!--l. 2916--><p class="indent"> The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of +<!--l. 2956--><p class="indent"> The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of updates to all sorts of packages and programs. An important goal was integration of the source back with te<span class="TEX">T<span class="E">E</span>X</span>, to correct the drift apart in versions 5 and 6. -<!--l. 2921--><p class="noindent"> +<!--l. 2961--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">10.1.1 </span> <a - id="x1-6600010.1.1"></a>2003</h5> -<!--l. 2923--><p class="noindent">In 2003, with the continuing flood of updates and additions, we found that <span class="TEX">T<span + id="x1-6700010.1.1"></a>2003</h5> +<!--l. 2963--><p class="noindent">In 2003, with the continuing flood of updates and additions, we found that <span class="TEX">T<span class="E">E</span>X</span> Live had grown so large it could no longer be contained on a single CD, so we split it into three different distributions (see section <a @@ -5081,16 +5146,16 @@ class="ec-lmtt-10">texmf/web2c/cp8bit.tcx</span></span></span>. (Future releases class="E">E</span>X</span> Live 2003.</li></ul> -<!--l. 2961--><p class="noindent"> +<!--l. 3001--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">10.1.2 </span> <a - id="x1-6700010.1.2"></a>2004</h5> -<!--l. 2963--><p class="noindent">2004 saw many changes: + id="x1-6800010.1.2"></a>2004</h5> +<!--l. 3003--><p class="noindent">2004 saw many changes: <ul class="itemize1"> <li class="itemize">If you have locally-installed fonts which use their own <span class="ec-lmtt-10">.map </span>or (much less likely) <span class="ec-lmtt-10">.enc </span>support files, you may need to move those support files. - <!--l. 2971--><p class="noindent"><span + <!--l. 3011--><p class="noindent"><span class="ec-lmtt-10">.map </span>files are now searched for in subdirectories of <span class="ec-lmtt-10">fonts/map </span>only (in each <span class="ec-lmtt-10">texmf </span>tree), @@ -5102,7 +5167,7 @@ class="ec-lmtt-10">fonts/enc </span>only, along the <span class="ec-lmtt-10">ENCFONTS </span>path. <span class="ec-lmss-10">updmap </span>will attempt to warn about problematic files. - <!--l. 2978--><p class="noindent">For methods of handling this and other information, please see <span class="obeylines-h"><a + <!--l. 3018--><p class="noindent">For methods of handling this and other information, please see <span class="obeylines-h"><a href="http://tug.org/texlive/mapenc.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/mapenc.html</span></a></span>. </li> @@ -5181,7 +5246,7 @@ class="E">E</span>X</span>t, etc., as well as the e-<span class="TEX">T<span class="E">E</span>X</span> features (<a href="../../../../texmf-dist/doc/etex/base/" >texmf-dist/doc/etex/base/</a>). - <!--l. 3025--><p class="noindent">It also means it’s <span + <!--l. 3065--><p class="noindent">It also means it’s <span class="ec-lmri-10">more important than ever </span>to use the <span class="ec-lmss-10">ifpdf </span>package (works with both plain and <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span @@ -5235,13 +5300,13 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb13"> <a - id="x1-67002r1"></a>  \input "filename with spaces"   % plain + id="x1-68002r1"></a>  \input "filename with spaces"   % plain <br class="fancyvrb"><a - id="x1-67004r2"></a>  \input{"filename with spaces"}  % latex + id="x1-68004r2"></a>  \input{"filename with spaces"}  % latex </div> </div> </td></tr></table> - <!--l. 3059--><p class="nopar">See the Web2C manual for more: <a + <!--l. 3099--><p class="nopar">See the Web2C manual for more: <a href="../../../../texmf/doc/web2c" >texmf/doc/web2c</a>. </li> <li class="itemize">enc<span class="TEX">T<span @@ -5318,10 +5383,10 @@ class="ec-lmss-10">mips-irix</span>, the MIPSpro 7.4 runtimes are </li></ul> -<!--l. 3110--><p class="noindent"> +<!--l. 3150--><p class="noindent"> <h5 class="subsubsectionHead"><span class="titlemark">10.1.3 </span> <a - id="x1-6800010.1.3"></a>2005</h5> -<!--l. 3112--><p class="noindent">2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed + id="x1-6900010.1.3"></a>2005</h5> +<!--l. 3152--><p class="noindent">2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed relatively stable from 2004, but inevitably there were some changes there as well: <ul class="itemize1"> <li class="itemize">New scripts <span @@ -5334,8 +5399,8 @@ class="ec-lmss-10">updmap</span>, and <span class="ec-lmss-10">fmtutil </span>scripts now modify user-specific files, under <span class="ec-lmtt-10">$HOME/.texlive2005</span>. See section <a -href="#x1-170004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a -href="#x1-170004.1">26<!--tex4ht:ref: sec:texconfig --></a>. +href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a +href="#x1-180004.1">27<!--tex4ht:ref: sec:texconfig --></a>. </li> <li class="itemize">Corresponding new variables <span class="ec-lmtt-10">TEXMFCONFIG </span>and <span @@ -5379,11 +5444,11 @@ class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> <div class="fancyvrb" id="fancyvrb14"> <a - id="x1-68002r1"></a>  latex --translate-file=empty.tcx yourfile.tex + id="x1-69002r1"></a>  latex --translate-file=empty.tcx yourfile.tex </div> </div> </td></tr></table> - <!--l. 3150--><p class="nopar"> + <!--l. 3190--><p class="nopar"> </li> <li class="itemize">The new program <span class="ec-lmss-10">dvipdfmx </span>is included for translation of DVI to PDF; this is an actively @@ -5409,10 +5474,10 @@ class="ec-lmtt-10">TEXMFSYSVAR</span>, respectively. There is also <span class="ec-lmtt-10">TEXMFVAR</span>, which is by default user-specific. See the first point above. </li></ul> -<!--l. 3172--><p class="noindent"> +<!--l. 3212--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">10.2 </span> <a - id="x1-6900010.2"></a>Present</h4> -<!--l. 3175--><p class="noindent">In 2006, the major new addition to <span class="TEX">T<span + id="x1-7000010.2"></a>Present</h4> +<!--l. 3215--><p class="noindent">In 2006, the major new addition to <span class="TEX">T<span class="E">E</span>X</span> Live was the Xe<span class="TEX">T<span class="E">E</span>X</span> program, available as the <span class="ec-lmtt-10">xetex </span>and @@ -5420,23 +5485,46 @@ class="ec-lmtt-10">xetex </span>and class="ec-lmtt-10">xelatex </span>programs; see <span class="obeylines-h"><a href="http://scripts.sil.org/xetex" class="url" ><span class="ec-lmtt-10">http://scripts.sil.org/xetex</span></a></span>. -<!--l. 3179--><p class="indent"> MetaPost also received a notable update, with more planned for the future (<span class="obeylines-h"><a +<!--l. 3219--><p class="indent"> MetaPost also received a notable update, with more planned for the future (<span class="obeylines-h"><a href="http://tug.org/metapost/articles" class="url" ><span class="ec-lmtt-10">http://tug.org/metapost/articles</span></a></span>), likewise pdf<span class="TEX">T<span class="E">E</span>X</span> (<span class="obeylines-h"><a href="http://tug.org/applications/pdftex" class="url" ><span class="ec-lmtt-10">http://tug.org/applications/pdftex</span></a></span>) -<!--l. 3183--><p class="indent"> Of course the year also saw (the usual) hundreds of other updates to packages and programs. As +<!--l. 3223--><p class="indent"> The (plain) <span +class="ec-lmtt-10">tex </span>program no longer reads <span +class="ec-lmtt-10">%& </span>first lines to determine what format to run; it is the pure +Knuthian <span class="TEX">T<span +class="E">E</span>X</span>. (<span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +class="E">E</span>X</span></span> and everything else do still read <span +class="ec-lmtt-10">%& </span>lines). +<!--l. 3227--><p class="indent"> The installation scripts now accept various environment variables to allow for non-interactive +installation; see section <a +href="#x1-150003.2.1">3.2.1<!--tex4ht:ref: sec:noninteractive-install --></a>. +<!--l. 3231--><p class="indent"> Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check CTAN (<span class="obeylines-h"><a href="http://www.ctan.org" class="url" ><span class="ec-lmtt-10">http://www.ctan.org</span></a></span>) for updates. -<!--l. 3187--><p class="indent"> Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the +<!--l. 3235--><p class="indent"> Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the tree, as linked from our home page. Although not visible in the final distribution, we expect this will provide a stable development foundation for future years. -<!--l. 3193--><p class="noindent"> +<!--l. 3240--><p class="indent"> Finally, in May 2006 Thomas Esser announced that he would no longer be updating te<span class="TEX">T<span +class="E">E</span>X</span> (<span class="obeylines-h"><a +href="http://tug.org/tetex" class="url" ><span +class="ec-lmtt-10">http://tug.org/tetex</span></a></span>). As a result, there was been a surge of interest in <span class="TEX">T<span +class="E">E</span>X</span> Live, especially among +GNU/Linux distributors. (There is a new <span +class="ec-lmtt-10">tetex </span>installation scheme in <span class="TEX">T<span +class="E">E</span>X</span> Live, which provides +an approximate equivalent.) We hope this will eventually translate to improvements in the +<span class="TEX">T<span +class="E">E</span>X</span> environment for everyone. + + +<!--l. 3249--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">10.3 </span> <a - id="x1-7000010.3"></a>Future</h4> -<!--l. 3195--><p class="noindent"><span class="TEX"><span + id="x1-7100010.3"></a>Future</h4> +<!--l. 3251--><p class="noindent"><span class="TEX"><span class="ec-lmri-10">T</span><span class="E"><span class="ec-lmri-10">E</span></span><span @@ -5446,23 +5534,22 @@ like to provide more help material, more utilities, more installation programs, ever-improved and checked tree of macros and fonts. This work is all done by hard-pressed volunteers in their limited spare time, and a great deal remains to be done. If you can help, don’t hesitate to put your name forward! -<!--l. 3203--><p class="indent"> Please send corrections, suggestions, and offers of help to: +<!--l. 3259--><p class="indent"> Please send corrections, suggestions, and offers of help to: <div class="quote"> - <!--l. 3205--><p class="noindent"><a + <!--l. 3261--><p class="noindent"><a href="mailto:tex-live@tug.org" ><span class="path"><span class="ec-lmtt-10">tex-live@tug.org</span></span></a> <br class="newline"><span class="obeylines-h"><a href="http://tug.org/texlive" class="url" ><span -class="ec-lmtt-10">http://tug.org/texlive</span></a></span></div> - -<!--l. 3210--><p class="noindent"><span +class="ec-lmtt-10">http://tug.org/texlive</span></a></span></div> +<!--l. 3266--><p class="noindent"><span class="ec-lmro-10">Happy </span><span class="TEX"><span class="ec-lmro-10">T</span><span class="E"><span class="ec-lmro-10">E</span></span><span class="ec-lmro-10">X</span></span><span class="ec-lmro-10">ing!</span> - <div class="footnotes"><!--l. 1290--><p class="indent"> <span class="footnote-mark"><a + <div class="footnotes"><!--l. 1330--><p class="indent"> <span class="footnote-mark"><a href="#fn1x0-bk" id="fn1x0"><sup>1</sup></a></span><span class="ec-lmr-8">Not free, that is, in the sense of freedom to modify and redistribute, following free software guidelines. This does</span> <span diff --git a/Master/texmf-doc/doc/english/texlive-en/live.pdf b/Master/texmf-doc/doc/english/texlive-en/live.pdf Binary files differindex 84208344552..f73d652f5b8 100644 --- a/Master/texmf-doc/doc/english/texlive-en/live.pdf +++ b/Master/texmf-doc/doc/english/texlive-en/live.pdf diff --git a/Master/texmf-doc/source/english/texlive-en/live.tex b/Master/texmf-doc/source/english/texlive-en/live.tex index 15659ff75ce..c73b0d45394 100644 --- a/Master/texmf-doc/source/english/texlive-en/live.tex +++ b/Master/texmf-doc/source/english/texlive-en/live.tex @@ -782,6 +782,46 @@ shell prompt as usual. \textifindoubt +\subsubsection{Non-interactive installation} +\label{sec:noninteractive-install} + +It is possible to override the default directories with environment +variables, and then install non-interactively. Example: +\begin{alltt} +> \Ucom{TEXLIVE_INSTALL_PREFIX=/opt/texlive} +> \Ucom{export TEXLIVE_INSTALL_PREFIX} +> \Ucom{echo i | sh install-tl.sh} +\end{alltt} + +The \envname{TEXLIVE\_INSTALL\_PREFIX} variable overrides the default +location of \dirname{/usr/local/texlive}, leaving all else +unchanged---so with the above invocation, the main installation will go +to \dirname{/opt/texlive/2006}. + +In the usual Unix way, the final \Ucom{echo i} can be replaced by any +sequence of input commands via a here document, so any sequence of +commands can be scripted. + +Here are all the possible overrides: + +\begin{ttdescription} +\item [TEXLIVE\_INSTALL\_PREFIX] + Override \dirname{/usr/local/texlive}. +\item [TEXLIVE\_INSTALL\_TEXDIR] + Override \dirname{\$TEXLIVE_INSTALL_PREFIX}/2006. +\item [TEXLIVE\_INSTALL\_TEXMFLOCAL] + Override \dirname{\$TEXLIVE_INSTALL_PREFIX/texmf-var}. +\item [TEXLIVE\_INSTALL\_TEXMFSYSVAR] + Override \dirname{\$TEXLIVE_INSTALL_TEXDIR/texmf-var}. +\item [TEXLIVE\_INSTALL\_TEXMFHOME] + Override \dirname{\$HOME/texmf}. +\end{ttdescription} + +It would be better to support a standard \acro{GNU}-style +\filename{configure} with options, instead of these environment +variables. Volunteers are welcome! + + % \subsection{Installing individual packages to disk} @@ -3180,9 +3220,13 @@ MetaPost also received a notable update, with more planned for the future (\url{http://tug.org/metapost/articles}), likewise pdf\TeX{} (\url{http://tug.org/applications/pdftex}) -The (plain) \texttt{tex} program no longer reads \texttt{\%&} first +The (plain) \texttt{tex} program no longer reads \texttt{\%\&} first lines to determine what format to run; it is the pure Knuthian \TeX. -(\LaTeX\ and everything else do still read \texttt{\%&}). +(\LaTeX\ and everything else do still read \texttt{\%\&} lines). + +The installation scripts now accept various environment variables to +allow for non-interactive installation; see +section~\ref{sec:noninteractive-install}. Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check \acro{CTAN} @@ -3193,6 +3237,14 @@ web interface for viewing the tree, as linked from our home page. Although not visible in the final distribution, we expect this will provide a stable development foundation for future years. +Finally, in May 2006 Thomas Esser announced that he would no longer be +updating te\TeX{} (\url{http://tug.org/tetex}). As a result, there was +been a surge of interest in \TL{}, especially among \acro{GNU}/Linux +distributors. (There is a new \texttt{tetex} installation scheme in +\TL{}, which provides an approximate equivalent.) We hope this will +eventually translate to improvements in the \TeX\ environment for +everyone. + \subsection{Future} |