diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-12 23:22:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-12 23:22:40 +0000 |
commit | a5001941ec5a8946eacf97a854879431b260abaf (patch) | |
tree | 268da9fbc5122a0c8cac0eb794ca9b997b60a205 /Master | |
parent | aaabc08a0813867da817735d0c417ef0e7c98d81 (diff) |
new post-install section for doing internet
updates after dvd installation; other post-install
cleanups; move windows memory stuff to windows
section.
git-svn-id: svn://tug.org/texlive/trunk@22446 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf/doc/texlive/texlive-en/texlive-en.html | 1292 | ||||
-rw-r--r-- | Master/texmf/doc/texlive/texlive-en/texlive-en.pdf | bin | 1015714 -> 1015956 bytes | |||
-rw-r--r-- | Master/texmf/doc/texlive/texlive-en/texlive-en.tex | 144 |
3 files changed, 735 insertions, 701 deletions
diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.html b/Master/texmf/doc/texlive/texlive-en/texlive-en.html index 813a19beac0..5aacb4ab0f0 100644 --- a/Master/texmf/doc/texlive/texlive-en/texlive-en.html +++ b/Master/texmf/doc/texlive/texlive-en/texlive-en.html @@ -3,13 +3,13 @@ <html > <head> <title>The TeX Live Guide -TeX Live 2010</title> +TeX Live 2011</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> <!-- charset=iso-8859-1,html,info,fn-in --> <meta name="src" content="texlive-en.tex"> -<meta name="date" content="2011-03-01 20:14:00"> +<meta name="date" content="2011-05-13 01:22:00"> <link rel="stylesheet" type="text/css" href="texlive-en.css"> <link rel="stylesheet" type="text/css" href="texlive-en.css" /> <link rel="stylesheet" type="text/css" href="tex-live.css" /> @@ -24,14 +24,14 @@ TeX Live 2010</title> <h2 class="titleHead">The <span class="TEX">T<span class="E">E</span>X</span> Live Guide<br /> <span class="TEX">T<span -class="E">E</span>X</span> Live 2010</h2> +class="E">E</span>X</span> Live 2011</h2> <div class="author" ><span class="ec-lmr-12">Karl Berry, editor</span> <br /> <a href="http://tug.org/texlive/" class="url" ><span class="ec-lmtt-12">http://tug.org/texlive/</span></a> </div><br /> <div class="date" ><span -class="ec-lmr-12">November 2010</span></div> +class="ec-lmr-12">May 2011</span></div> </div> <h3 class="likesectionHead"><a id="x1-1000"></a>Contents</h3> @@ -104,107 +104,105 @@ class="ec-lmtt-10">-repository </span>option</a></span> <br />  <span class="subsectionToc" >3.4 <a href="#x1-310003.4" id="QQ2-1-38">Post-install actions</a></span> <br />   <span class="subsubsectionToc" >3.4.1 <a -href="#x1-320003.4.1" id="QQ2-1-39">Windows</a></span> +href="#x1-320003.4.1" id="QQ2-1-39">Environment variables for Unix</a></span> <br />   <span class="subsubsectionToc" >3.4.2 <a -href="#x1-330003.4.2" id="QQ2-1-40">If symlinks were created</a></span> +href="#x1-330003.4.2" id="QQ2-1-40">Environment variables: Global configuration</a></span> <br />   <span class="subsubsectionToc" >3.4.3 <a -href="#x1-340003.4.3" id="QQ2-1-41">Environment variables for Unix</a></span> +href="#x1-340003.4.3" id="QQ2-1-41">Internet updates after DVD installation</a></span> <br />   <span class="subsubsectionToc" >3.4.4 <a -href="#x1-350003.4.4" id="QQ2-1-42">Environment variables: global configuration</a></span> +href="#x1-350003.4.4" id="QQ2-1-42">Font configuration for XeTEX</a></span> <br />   <span class="subsubsectionToc" >3.4.5 <a -href="#x1-360003.4.5" id="QQ2-1-43">Font configuration for XeTEX</a></span> +href="#x1-360003.4.5" id="QQ2-1-43">ConTEXt Mark IV</a></span> <br />   <span class="subsubsectionToc" >3.4.6 <a -href="#x1-370003.4.6" id="QQ2-1-44">ConTEXt Mark IV</a></span> +href="#x1-370003.4.6" id="QQ2-1-44">Integrating local and personal macros</a></span> <br />   <span class="subsubsectionToc" >3.4.7 <a -href="#x1-380003.4.7" id="QQ2-1-45">Integrating local and personal macros</a></span> -<br />   <span class="subsubsectionToc" >3.4.8 <a -href="#x1-390003.4.8" id="QQ2-1-46">Integrating third-party fonts</a></span> -<br />   <span class="subsubsectionToc" >3.4.9 <a -href="#x1-400003.4.9" id="QQ2-1-47">Increasing maximum memory on Windows and Cygwin</a></span> +href="#x1-380003.4.7" id="QQ2-1-45">Integrating third-party fonts</a></span> <br />  <span class="subsectionToc" >3.5 <a -href="#x1-410003.5" id="QQ2-1-48">Testing the installation</a></span> +href="#x1-390003.5" id="QQ2-1-46">Testing the installation</a></span> <br />  <span class="subsectionToc" >3.6 <a -href="#x1-420003.6" id="QQ2-1-49">Links for additional downloadable software</a></span> +href="#x1-400003.6" id="QQ2-1-47">Links for additional downloadable software</a></span> <br /> <span class="sectionToc" >4 <a -href="#x1-430004" id="QQ2-1-50">Network installations</a></span> +href="#x1-410004" id="QQ2-1-48">Network installations</a></span> <br /> <span class="sectionToc" >5 <a -href="#x1-440005" id="QQ2-1-51">Maximally portable <span class="TEX">T<span +href="#x1-420005" id="QQ2-1-49">Maximally portable <span class="TEX">T<span class="E">E</span>X</span> Live on DVD and USB</a></span> <br /> <span class="sectionToc" >6 <a -href="#x1-450006" id="QQ2-1-52"><span +href="#x1-430006" id="QQ2-1-50"><span class="ec-lmss-10">tlmgr</span>: Managing your installation</a></span> <br />  <span class="subsectionToc" >6.1 <a -href="#x1-460006.1" id="QQ2-1-56"><span +href="#x1-440006.1" id="QQ2-1-54"><span class="ec-lmss-10">tlmgr </span>GUI mode</a></span> <br />  <span class="subsectionToc" >6.2 <a -href="#x1-470006.2" id="QQ2-1-57">Sample <span +href="#x1-450006.2" id="QQ2-1-55">Sample <span class="ec-lmss-10">tlmgr </span>command-line invocations</a></span> <br /> <span class="sectionToc" >7 <a -href="#x1-480007" id="QQ2-1-58">Notes on Windows</a></span> +href="#x1-460007" id="QQ2-1-56">Notes on Windows</a></span> <br />  <span class="subsectionToc" >7.1 <a -href="#x1-490007.1" id="QQ2-1-59">Windows-specific features</a></span> +href="#x1-470007.1" id="QQ2-1-57">Windows-specific features</a></span> <br />  <span class="subsectionToc" >7.2 <a -href="#x1-500007.2" id="QQ2-1-60">Additional software included on Windows</a></span> +href="#x1-480007.2" id="QQ2-1-58">Additional software included on Windows</a></span> <br />  <span class="subsectionToc" >7.3 <a -href="#x1-510007.3" id="QQ2-1-62">User Profile is Home</a></span> +href="#x1-490007.3" id="QQ2-1-60">User Profile is Home</a></span> <br />  <span class="subsectionToc" >7.4 <a -href="#x1-520007.4" id="QQ2-1-63">The Windows registry</a></span> +href="#x1-500007.4" id="QQ2-1-61">The Windows registry</a></span> <br />  <span class="subsectionToc" >7.5 <a -href="#x1-530007.5" id="QQ2-1-64">Windows permissions</a></span> +href="#x1-510007.5" id="QQ2-1-62">Windows permissions</a></span> +<br />  <span class="subsectionToc" >7.6 <a +href="#x1-520007.6" id="QQ2-1-63">Increasing maximum memory on Windows and Cygwin</a></span> <br /> <span class="sectionToc" >8 <a -href="#x1-540008" id="QQ2-1-65">A user’s guide to Web2C</a></span> +href="#x1-530008" id="QQ2-1-64">A user’s guide to Web2C</a></span> <br />  <span class="subsectionToc" >8.1 <a -href="#x1-550008.1" id="QQ2-1-66">Kpathsea path searching</a></span> +href="#x1-540008.1" id="QQ2-1-65">Kpathsea path searching</a></span> <br />   <span class="subsubsectionToc" >8.1.1 <a -href="#x1-560008.1.1" id="QQ2-1-67">Path sources</a></span> +href="#x1-550008.1.1" id="QQ2-1-66">Path sources</a></span> <br />   <span class="subsubsectionToc" >8.1.2 <a -href="#x1-570008.1.2" id="QQ2-1-68">Config files</a></span> +href="#x1-560008.1.2" id="QQ2-1-67">Config files</a></span> <br />   <span class="subsubsectionToc" >8.1.3 <a -href="#x1-580008.1.3" id="QQ2-1-69">Path expansion</a></span> +href="#x1-570008.1.3" id="QQ2-1-68">Path expansion</a></span> <br />   <span class="subsubsectionToc" >8.1.4 <a -href="#x1-590008.1.4" id="QQ2-1-70">Default expansion</a></span> +href="#x1-580008.1.4" id="QQ2-1-69">Default expansion</a></span> <br />   <span class="subsubsectionToc" >8.1.5 <a -href="#x1-600008.1.5" id="QQ2-1-71">Brace expansion</a></span> +href="#x1-590008.1.5" id="QQ2-1-70">Brace expansion</a></span> <br />   <span class="subsubsectionToc" >8.1.6 <a -href="#x1-610008.1.6" id="QQ2-1-72">Subdirectory expansion</a></span> +href="#x1-600008.1.6" id="QQ2-1-71">Subdirectory expansion</a></span> <br />   <span class="subsubsectionToc" >8.1.7 <a -href="#x1-620008.1.7" id="QQ2-1-73">List of special characters and their meaning: a summary</a></span> +href="#x1-610008.1.7" id="QQ2-1-72">List of special characters and their meaning: a summary</a></span> <br />  <span class="subsectionToc" >8.2 <a -href="#x1-630008.2" id="QQ2-1-74">Filename databases</a></span> +href="#x1-620008.2" id="QQ2-1-73">Filename databases</a></span> <br />   <span class="subsubsectionToc" >8.2.1 <a -href="#x1-640008.2.1" id="QQ2-1-75">The filename database</a></span> +href="#x1-630008.2.1" id="QQ2-1-74">The filename database</a></span> <br />   <span class="subsubsectionToc" >8.2.2 <a -href="#x1-650008.2.2" id="QQ2-1-76">kpsewhich: Standalone path searching</a></span> +href="#x1-640008.2.2" id="QQ2-1-75">kpsewhich: Standalone path searching</a></span> <br />   <span class="subsubsectionToc" >8.2.3 <a -href="#x1-660008.2.3" id="QQ2-1-77">Examples of use</a></span> +href="#x1-650008.2.3" id="QQ2-1-76">Examples of use</a></span> <br />   <span class="subsubsectionToc" >8.2.4 <a -href="#x1-670008.2.4" id="QQ2-1-78">Debugging actions</a></span> +href="#x1-660008.2.4" id="QQ2-1-77">Debugging actions</a></span> <br />  <span class="subsectionToc" >8.3 <a -href="#x1-680008.3" id="QQ2-1-82">Runtime options</a></span> +href="#x1-670008.3" id="QQ2-1-81">Runtime options</a></span> <br /> <span class="sectionToc" >9 <a -href="#x1-690009" id="QQ2-1-83">Acknowledgements</a></span> +href="#x1-680009" id="QQ2-1-82">Acknowledgements</a></span> <br /> <span class="sectionToc" >10 <a -href="#x1-7000010" id="QQ2-1-84">Release history</a></span> +href="#x1-6900010" id="QQ2-1-83">Release history</a></span> <br />  <span class="subsectionToc" >10.1 <a -href="#x1-7100010.1" id="QQ2-1-85">Past</a></span> +href="#x1-7000010.1" id="QQ2-1-84">Past</a></span> <br />   <span class="subsubsectionToc" >10.1.1 <a -href="#x1-7200010.1.1" id="QQ2-1-86">2003</a></span> +href="#x1-7100010.1.1" id="QQ2-1-85">2003</a></span> <br />   <span class="subsubsectionToc" >10.1.2 <a -href="#x1-7300010.1.2" id="QQ2-1-87">2004</a></span> +href="#x1-7200010.1.2" id="QQ2-1-86">2004</a></span> <br />   <span class="subsubsectionToc" >10.1.3 <a -href="#x1-7400010.1.3" id="QQ2-1-88">2005</a></span> +href="#x1-7300010.1.3" id="QQ2-1-87">2005</a></span> <br />   <span class="subsubsectionToc" >10.1.4 <a -href="#x1-7500010.1.4" id="QQ2-1-89">2006–2007</a></span> +href="#x1-7400010.1.4" id="QQ2-1-88">2006–2007</a></span> <br />   <span class="subsubsectionToc" >10.1.5 <a -href="#x1-7600010.1.5" id="QQ2-1-90">2008</a></span> +href="#x1-7500010.1.5" id="QQ2-1-89">2008</a></span> <br />   <span class="subsubsectionToc" >10.1.6 <a -href="#x1-7700010.1.6" id="QQ2-1-91">2009</a></span> +href="#x1-7600010.1.6" id="QQ2-1-90">2009</a></span> <br />  <span class="subsectionToc" >10.2 <a -href="#x1-7800010.2" id="QQ2-1-92">Present</a></span> +href="#x1-7700010.2" id="QQ2-1-91">Present</a></span> <br />  <span class="subsectionToc" >10.3 <a -href="#x1-7900010.3" id="QQ2-1-93">Future</a></span> +href="#x1-7800010.3" id="QQ2-1-92">Future</a></span> </div> <!--l. 32--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">1 </span> <a @@ -241,8 +239,8 @@ many different scripts from around the world. <!--l. 52--><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-7000010">10<!--tex4ht:ref: sec:history --></a> (p. <a -href="#x1-7000010">70<!--tex4ht:ref: sec:history --></a>). +href="#x1-6900010">10<!--tex4ht:ref: sec:history --></a> (p. <a +href="#x1-6900010">69<!--tex4ht:ref: sec:history --></a>). <!--l. 57--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">1.2 </span> <a id="x1-40001.2"></a>Operating system support</h4> @@ -269,9 +267,10 @@ The net installer itself is small, and downloads everything requested from the I <!--l. 81--><p class="indent" > The DVD installer lets you install to a local disk. You cannot run <span class="TEX">T<span class="E">E</span>X</span> Live directly from the <span class="TEX">T<span -class="E">E</span>X</span> Collection DVD (or a DVD image), but you can prepare a runnable installation on, e.g., a +class="E">E</span>X</span> Collection DVD (or its <span +class="ec-lmtt-10">.iso </span>image), but you can prepare a runnable installation on, e.g., a USB stick (see section <a -href="#x1-440005">5<!--tex4ht:ref: sec:portable-tl --></a>). Installation is described in later sections (p. <a +href="#x1-420005">5<!--tex4ht:ref: sec:portable-tl --></a>). Installation is described in later sections (p. <a href="#x1-150003">12<!--tex4ht:ref: sec:install --></a>), but here is a quick start: <ul class="itemize1"> @@ -606,8 +605,8 @@ class="E">E</span>X</span> Directory Structure (TDS, <a href="http://tug.org/tds" class="url" ><span class="ec-lmtt-10">http://tug.org/tds</span></a>), with all its myriad subdirectories, or files may not be found. Section <a -href="#x1-380003.4.7">3.4.7<!--tex4ht:ref: sec:local-personal-macros --></a> (p. <a -href="#x1-380003.4.7">38<!--tex4ht:ref: sec:local-personal-macros --></a>) +href="#x1-370003.4.6">3.4.6<!--tex4ht:ref: sec:local-personal-macros --></a> (p. <a +href="#x1-370003.4.6">38<!--tex4ht:ref: sec:local-personal-macros --></a>) describes this in more detail. <!--l. 294--><p class="noindent" > <dl class="list1"><dt class="list"> @@ -996,8 +995,11 @@ class="E">E</span>X</span> Collection DVD or download the <span class="TE class="E">E</span>X</span> Live net installer, and locate the installer script: <span class="ec-lmtt-10">install-tl </span>for Unix, <span -class="ec-lmtt-10">install-tl.bat </span>for Windows. -<!--l. 466--><p class="indent" > +class="ec-lmtt-10">install-tl.bat </span>for Windows. See <a +href="http://tug.org/texlive/acquire.html" class="url" ><span +class="ec-lmtt-10">http://tug.org/texlive/acquire.html</span></a> for more +information and other methods of getting the software. +<!--l. 468--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Net installer:</span> </dt><dd @@ -1022,26 +1024,25 @@ class="E"><span class="ec-lmbx-10">E</span></span><span class="ec-lmbx-10">X</span></span> <span class="ec-lmbx-10">Collection DVD:</span> </dt><dd -class="description">go to its <span -class="ec-lmtt-10">texlive </span>subdirectory. Under Windows, the installer normally starts - automatically when you insert the DVD. You can get the DVD by becoming a member of a - <span class="TEX">T<span +class="description">go to the DVD’s <span +class="ec-lmtt-10">texlive </span>subdirectory. Under Windows, the installer + normally starts automatically when you insert the DVD. You can get the DVD by becoming + a member of a <span class="TEX">T<span class="E">E</span>X</span> user group (highly recommended, <a href="http://tug.org/usergroups.html" class="url" ><span -class="ec-lmtt-10">http://tug.org/usergroups.html</span></a>), or purchasing it - separately (<a +class="ec-lmtt-10">http://tug.org/usergroups.html</span></a>), or + purchasing it separately (<a href="http://tug.org/store" class="url" ><span class="ec-lmtt-10">http://tug.org/store</span></a>), or burning your own from the ISO image. + After installing from DVD, if you want to get continuing updates from the Internet, please see + <a +href="#x1-340003.4.3">3.4.3<!--tex4ht:ref: sec:dvd-install-net-updates --></a>. </dd></dl> -<!--l. 487--><p class="indent" > See <a -href="http://tug.org/texlive/acquire.html" class="url" ><span -class="ec-lmtt-10">http://tug.org/texlive/acquire.html</span></a> for more information and other methods of getting the -software. -<!--l. 490--><p class="indent" > The following sections explain installer start-up in more detail. -<!--l. 492--><p class="noindent" > +<!--l. 490--><p class="noindent" >The following sections explain installer start-up in more detail. +<!--l. 493--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">3.1.1 </span> <a id="x1-170003.1.1"></a>Unix</h5> -<!--l. 494--><p class="noindent" >Below, <span +<!--l. 495--><p class="noindent" >Below, <span class="ec-lmtt-10">> </span>denotes the shell prompt; user input is <span class="ec-lmtk-10">bold</span>. The script <span class="ec-lmtt-10">install-tl </span>is a Perl script. The simplest @@ -2028,7 +2029,7 @@ class="E">E</span>X</span> macro files, font files, and so on. class="E">E</span>X</span> Live Manager (<span class="ec-lmss-10">tlmgr</span>) program after installation (see section <a -href="#x1-450006">6<!--tex4ht:ref: sec:tlmgr --></a>); using that, you can control the installation at the package +href="#x1-430006">6<!--tex4ht:ref: sec:tlmgr --></a>); using that, you can control the installation at the package level. <h5 class="subsubsectionHead"><span class="titlemark">3.2.3 </span> <a id="x1-270003.2.3"></a>Directories</h5> @@ -2075,8 +2076,8 @@ class="ec-lmtt-10">TEXMFVAR </span>is the location for storing most cached runti class="ec-lmtt-10">TEXMFCACHE </span>is used for that purpose by Con<span class="TEX">T<span class="E">E</span>X</span>t MkIV (see section <a -href="#x1-370003.4.6">3.4.6<!--tex4ht:ref: sec:context-mkiv --></a>, p. <a -href="#x1-370003.4.6">38<!--tex4ht:ref: sec:context-mkiv --></a>). +href="#x1-360003.4.5">3.4.5<!--tex4ht:ref: sec:context-mkiv --></a>, p. <a +href="#x1-360003.4.5">38<!--tex4ht:ref: sec:context-mkiv --></a>). <!--l. 815--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">3.2.4 </span> <a id="x1-280003.2.4"></a>Options</h5> @@ -2281,7 +2282,7 @@ class="E">E</span>X</span> Live 2010, execution of a few external programs is allowed by default. The (very short) list of allowed programs is given in the <span class="ec-lmtt-10">texmf.cnf</span>. See the 2010 news (section <a -href="#x1-7800010.2">10.2<!--tex4ht:ref: sec:2010news --></a>) for more details. +href="#x1-7700010.2">10.2<!--tex4ht:ref: sec:2010news --></a>) for more details. </dd><dt class="description"> <span class="ec-lmbx-10">create format files:</span> </dt><dd @@ -2386,7 +2387,7 @@ class="list"> <!--l. 919--><p class="noindent" >Install for portable use on a USB stick or DVD. This option minimizes impact on the host system, making <span class="TEX">T<span class="E">E</span>X</span> Live self-contained in a single directory. See also section <a -href="#x1-440005">5<!--tex4ht:ref: sec:portable-tl --></a> for more details on +href="#x1-420005">5<!--tex4ht:ref: sec:portable-tl --></a> for more details on portable usage. </dd><dt class="list"> <span @@ -2438,96 +2439,90 @@ of the repository path are used (even if uncompressed files are available as wel <h4 class="subsectionHead"><span class="titlemark">3.4 </span> <a id="x1-310003.4"></a>Post-install actions</h4> <!--l. 960--><p class="noindent" >Some post-install may be required. -<!--l. 962--><p class="noindent" > +<!--l. 963--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">3.4.1 </span> <a - id="x1-320003.4.1"></a>Windows</h5> -<!--l. 964--><p class="noindent" >But on Windows, the installer takes care of everything. -<!--l. 966--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.2 </span> <a - id="x1-330003.4.2"></a>If symlinks were created</h5> -<!--l. 968--><p class="noindent" >If you elected to create symlinks in standard directories (mentioned in section <a -href="#x1-280003.2.4">3.2.4<!--tex4ht:ref: sec:options --></a>), then there is no need to -edit environment variables. -<!--l. 972--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.3 </span> <a - id="x1-340003.4.3"></a>Environment variables for Unix</h5> -<!--l. 975--><p class="noindent" >The directory of the binaries for your platform must be added to the search path. Each supported platform has -its own subdirectory under <span + id="x1-320003.4.1"></a>Environment variables for Unix</h5> +<!--l. 966--><p class="noindent" >If you elected to create symlinks in standard directories (described in section <a +href="#x1-280003.2.4">3.2.4<!--tex4ht:ref: sec:options --></a>), then there is no +need to edit environment variables. Otherwise, on Unix systems, the directory of the binaries +for your platform must be added to the search path. (On Windows, the installer takes care of +this.) +<!--l. 972--><p class="indent" > Each supported platform has its own subdirectory under <span class="ec-lmtt-10">TEXDIR/bin</span>. See figure <a -href="#x1-25043r4">4<!--tex4ht:ref: fig:bin-text --></a> for the list of subdirectories and corresponding -platforms. - - -<!--l. 980--><p class="indent" > You can also add the documentation man and Info directories to their respective search paths, if you want -the system tools to find them. The man pages might be found automatically after the addition to +href="#x1-25043r4">4<!--tex4ht:ref: fig:bin-text --></a> for the list of +subdirectories and corresponding platforms. +<!--l. 976--><p class="indent" > Optionally, you can also add the documentation man and Info directories to their respective search paths, if +you want the system tools to find them. The man pages might be found automatically after the addition to <span class="ec-lmtt-10">PATH</span>. -<!--l. 985--><p class="indent" > For Bourne-compatible shells such as <span +<!--l. 981--><p class="indent" > For Bourne-compatible shells such as <span class="ec-lmss-10">bash</span>, and using Intel x86 GNU/Linux and a default directory setup as an example, the file to edit might be <span class="ec-lmtt-10">$HOME/.profile </span>(or another file sourced by <span class="ec-lmtt-10">.profile</span>, and the lines to add would look like this: -<!--l. 990--><p class="indent" > +<!--l. 986--><p class="indent" > + + <div class="fancyvrb" id="fancyvrb5"><a - id="x1-34002r1"></a><span + id="x1-32002r1"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> PATH=/usr/local/texlive/2010/bin/i386-linux:$PATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> PATH</span> <br class="fancyvrb" /><a - id="x1-34004r2"></a><span + id="x1-32004r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> MANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> MANPATH</span> <br class="fancyvrb" /><a - id="x1-34006r3"></a><span + id="x1-32006r3"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> INFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> INFOPATH</span></div> -<!--l. 996--><p class="indent" > For csh or tcsh, the file to edit is typically <span +<!--l. 992--><p class="indent" > For csh or tcsh, the file to edit is typically <span class="ec-lmtt-10">$HOME/.cshrc</span>, and the lines to add might look like: -<!--l. 999--><p class="indent" > +<!--l. 995--><p class="indent" > <div class="fancyvrb" id="fancyvrb6"><a - id="x1-34008r1"></a><span + id="x1-32008r1"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> setenv</span><span class="ec-lmtt-9"> PATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2010/bin/i386-linux:$PATH</span><br class="fancyvrb" /><a - id="x1-34010r2"></a><span + id="x1-32010r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> setenv</span><span class="ec-lmtt-9"> MANPATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2010/texmf/doc/man:$MANPATH</span> <br class="fancyvrb" /><a - id="x1-34012r3"></a><span + id="x1-32012r3"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> setenv</span><span class="ec-lmtt-9"> INFOPATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2010/texmf/doc/info:$INFOPATH</span></div> -<!--l. 1005--><p class="indent" > If you already have settings somewhere in your “dot” files, naturally the <span class="TEX">T<span +<!--l. 1001--><p class="indent" > If you already have settings somewhere in your “dot” files, naturally the <span class="TEX">T<span class="E">E</span>X</span> Live directories should simply be merged in as appropriate. -<!--l. 1008--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.4 </span> <a - id="x1-350003.4.4"></a>Environment variables: global configuration</h5> -<!--l. 1011--><p class="noindent" >If you want to make these changes globally, or for a user newly added to the system, then you are on +<!--l. 1005--><p class="noindent" > + <h5 class="subsubsectionHead"><span class="titlemark">3.4.2 </span> <a + id="x1-330003.4.2"></a>Environment variables: Global configuration</h5> +<!--l. 1008--><p class="noindent" >If you want to make these changes globally, or for a user newly added to the system, then you are on your own; there is just too much variation between systems in how and where these things are configured. -<!--l. 1015--><p class="indent" > Our two hints are: 1) you may want to check for a file <span +<!--l. 1012--><p class="indent" > Our two hints are: 1) you may want to check for a file <span class="ec-lmtt-10">/etc/manpath.config </span>and, if present, add lines such as -<!--l. 1018--><p class="indent" > +<!--l. 1015--><p class="indent" > <div class="fancyvrb" id="fancyvrb7"><a - id="x1-35002r1"></a><span + id="x1-33002r1"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> MANPATH_MAP</span><span class="ec-lmtt-9"> /usr/local/texlive/2010/bin/i386-linux</span><span class="ec-lmtt-9"> \</span><br class="fancyvrb" /><a - id="x1-35004r2"></a><span + id="x1-33004r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span @@ -2542,21 +2537,46 @@ class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> /usr/local/texlive/2010/texmf/doc/man</span></div> -<!--l. 1023--><p class="indent" > And 2) check for a file <span +<!--l. 1020--><p class="indent" > And 2) check for a file <span class="ec-lmtt-10">/etc/environment </span>which may define the search path and other default environment variables. -<!--l. 1026--><p class="indent" > In each (Unix) binary directory, we also create a symbolic link named <span +<!--l. 1023--><p class="indent" > In each (Unix) binary directory, we also create a symbolic link named <span class="ec-lmtt-10">man </span>to the directory <span class="ec-lmtt-10">texmf/doc/man</span>. Some <span class="ec-lmtt-10">man </span>programs, such as the standard Mac OS X <span class="ec-lmtt-10">man</span>, will automatically find that, obviating the need for any man page setup. -<!--l. 1032--><p class="indent" > <a id="xetexfontconfig"></a> - <h5 class="subsubsectionHead"><span class="titlemark">3.4.5 </span> <a - id="x1-360003.4.5"></a>Font configuration for Xe<span class="TEX">T<span +<!--l. 1029--><p class="noindent" > + <h5 class="subsubsectionHead"><span class="titlemark">3.4.3 </span> <a + id="x1-340003.4.3"></a>Internet updates after DVD installation</h5> +<!--l. 1032--><p class="noindent" >If you installed <span class="TEX">T<span +class="E">E</span>X</span> Live from DVD and then wish to get updates from the Internet, you need to run this +command—<span +class="ec-lmri-10">after </span>you’ve updated your search path (as described in the previous section): + <div class="alltt"> +<!--l. 1036--><p class="noindent" ><div class="obeylines-v"> +<span +class="ec-lmtt-10">></span><span +class="ec-lmtt-10"> </span><span +class="ec-lmtk-10">tlmgr</span><span +class="ec-lmtk-10"> option</span><span +class="ec-lmtk-10"> repository</span><span +class="ec-lmtk-10"> http://mirror.ctan.org/systems/texlive/tlnet</span> +</div> +</div> +<!--l. 1040--><p class="indent" > This tells C<tlmgr> to use a nearby CTAN mirror for future updates. +<!--l. 1042--><p class="indent" > If there are problems with the automatic mirror selection, you can specify a particular CTAN mirror from +the list at <a +href="http://ctan.org/mirrors" class="url" ><span +class="ec-lmtt-10">http://ctan.org/mirrors</span></a>. Use the exact path to the <span +class="ec-lmtt-10">tlnet </span>subdir on that mirror, as shown +above. +<!--l. 1048--><p class="indent" > <a id="xetexfontconfig"></a> + <h5 class="subsubsectionHead"><span class="titlemark">3.4.4 </span> <a + id="x1-350003.4.4"></a>Font configuration for Xe<span class="TEX">T<span class="E">E</span>X</span></h5> -<!--l. 1036--><p class="noindent" >If you have installed the <span +<!--l. 1052--><p class="noindent" >If you have installed the <span class="ec-lmtt-10">xetex </span>package on a Unix-compatible system, you need to configure your system if you want Xe<span class="TEX">T<span class="E">E</span>X</span> to be able to find the fonts shipped with <span class="TEX">T<span @@ -2565,39 +2585,39 @@ class="ec-lmss-10">xetex </span>package is installed (either at initial installation or later), the necessary configuration file is created in <span class="ec-lmtt-10">TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf</span>. -<!--l. 1043--><p class="indent" > To set up the <span class="TEX">T<span +<!--l. 1059--><p class="indent" > To set up the <span class="TEX">T<span class="E">E</span>X</span> Live fonts for system-wide use (assuming you have suitable privileges), proceed as follows: <ol class="enumerate1" > <li - class="enumerate" id="x1-36002x1">Copy the <span + class="enumerate" id="x1-35002x1">Copy the <span class="ec-lmtt-10">texlive-fontconfig.conf </span>file to <span class="ec-lmtt-10">/etc/fonts/conf.d/09-texlive.conf</span>. + + </li> <li - class="enumerate" id="x1-36004x2">Run <span + class="enumerate" id="x1-35004x2">Run <span class="ec-lmtk-10">fc-cache -fsv</span>.</li></ol> -<!--l. 1051--><p class="indent" > If you do not have sufficient privileges to carry out the steps above, you can instead do the following to +<!--l. 1067--><p class="indent" > If you do not have sufficient privileges to carry out the steps above, you can instead do the following to make the <span class="TEX">T<span class="E">E</span>X</span> Live fonts available to you as an individual Xe<span class="TEX">T<span class="E">E</span>X</span> user: <ol class="enumerate1" > <li - class="enumerate" id="x1-36006x1">Copy the <span + class="enumerate" id="x1-35006x1">Copy the <span class="ec-lmtt-10">texlive-fontconfig.conf </span>file to <span class="ec-lmtt-10">~/.fonts.conf</span>, where <span class="ec-lmtt-10">~ </span>is your home directory. </li> <li - class="enumerate" id="x1-36008x2">Run <span + class="enumerate" id="x1-35008x2">Run <span class="ec-lmtk-10">fc-cache -fv</span>.</li></ol> - - -<!--l. 1061--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.6 </span> <a - id="x1-370003.4.6"></a>Con<span class="TEX">T<span +<!--l. 1077--><p class="noindent" > + <h5 class="subsubsectionHead"><span class="titlemark">3.4.5 </span> <a + id="x1-360003.4.5"></a>Con<span class="TEX">T<span class="E">E</span>X</span>t Mark IV</h5> -<!--l. 1064--><p class="noindent" >The ‘old’ Con<span class="TEX">T<span +<!--l. 1080--><p class="noindent" >The ‘old’ Con<span class="TEX">T<span class="E">E</span>X</span>t (Mark II) should run out of the box after <span class="TEX">T<span class="E">E</span>X</span> Live installation. The ‘new’ Lua<span class="TEX">T<span @@ -2605,30 +2625,30 @@ class="E">E</span>X</span>-based Con<span class="TEX">T<span class="E">E</span>X</span>t Mark IV requires manual setup. After installation, each MkIV user must run: <div class="fancyvrb" id="fancyvrb8"><a - id="x1-37002r1"></a><span + id="x1-36002r1"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> luatools</span><span class="ec-lmtt-9"> --generate</span><br class="fancyvrb" /><a - id="x1-37004r2"></a><span + id="x1-36004r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> context</span><span class="ec-lmtt-9"> --make</span></div> -<!--l. 1072--><p class="noindent" >The resulting files are stored under <span +<!--l. 1088--><p class="noindent" >The resulting files are stored under <span class="ec-lmtt-10">TEXMFCACHE</span>, with the same default value in <span class="TEX">T<span class="E">E</span>X</span> Live as <span class="ec-lmtt-10">TEXMFVAR</span>, as defined in <span class="ec-lmtt-10">texmfcnf.lua</span>. -<!--l. 1076--><p class="indent" > For more information, see <a +<!--l. 1092--><p class="indent" > For more information, see <a href="http://wiki.contextgarden.net/Running_Mark_IV" class="url" ><span class="ec-lmtt-10">http://wiki.contextgarden.net/Running_Mark_IV</span></a> and <a href="http://wiki.contextgarden.net/TeX_Live_2010" class="url" ><span class="ec-lmtt-10">http://wiki.contextgarden.net/TeX_Live_2010</span></a>. -<!--l. 1081--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.7 </span> <a - id="x1-380003.4.7"></a>Integrating local and personal macros</h5> -<!--l. 1084--><p class="noindent" >This is already mentioned implicitly in section <a +<!--l. 1097--><p class="noindent" > + <h5 class="subsubsectionHead"><span class="titlemark">3.4.6 </span> <a + id="x1-370003.4.6"></a>Integrating local and personal macros</h5> +<!--l. 1100--><p class="noindent" >This is already mentioned implicitly in section <a href="#x1-110002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>: <span class="ec-lmtt-10">TEXMFLOCAL </span>(by default, <span class="ec-lmtt-10">/usr/local/texlive/texmf-local</span> @@ -2645,7 +2665,7 @@ class="ec-lmtt-10">TEXMFLOCAL </span>to be too far away from the main <span class="TEX">T<span class="E">E</span>X</span> Live directory, or you will need to manually change future releases. -<!--l. 1097--><p class="indent" > For both trees, files should be placed in their proper <span class="TEX">T<span +<!--l. 1113--><p class="indent" > For both trees, files should be placed in their proper <span class="TEX">T<span class="E">E</span>X</span> Directory Structure (TDS) subdirectories; see <a href="http://tug.org/tds" class="url" ><span @@ -2656,13 +2676,13 @@ package should be placed in <span class="ec-lmtt-10">TEXMFLOCAL/tex/latex </span>or <span class="ec-lmtt-10">TEXMFHOME/tex/latex</span>, or a subdirectory thereof. -<!--l. 1103--><p class="indent" > <span +<!--l. 1119--><p class="indent" > <span class="ec-lmtt-10">TEXMFLOCAL </span>requires an up-to-date filename database, or files will not be found. You can update it with the command <span class="ec-lmss-10">mktexlsr </span>or use the ‘Reinit file database’ button on the configuration tab of the <span class="TEX">T<span class="E">E</span>X</span> Live Manager GUI. -<!--l. 1108--><p class="indent" > By default, each of these variables is defined to be a single directory, as shown. This is not a hard-and-fast +<!--l. 1124--><p class="indent" > By default, each of these variables is defined to be a single directory, as shown. This is not a hard-and-fast requirement. If you need to easily switch back and forth between different versions of large packages, for example, you can maintain multiple trees for your own purposes. This is done by setting <span class="ec-lmtt-10">TEXMFHOME </span>to the list @@ -2671,25 +2691,25 @@ of directories, within braces, separated by commas: <div class="verbatim" id="verbatim-1"> <div class="fancyvrb" id="fancyvrb9"><a - id="x1-38002r1"></a>    TEXMFHOME = {/my/dir1,/mydir2,/a/third/dir}</div> + id="x1-37002r1"></a>    TEXMFHOME = {/my/dir1,/mydir2,/a/third/dir}</div> </div> -<!--l. 1117--><p class="nopar" > -<!--l. 1119--><p class="indent" > Section <a -href="#x1-600008.1.5">8.1.5<!--tex4ht:ref: sec:brace-expansion --></a> describes brace expansion further. -<!--l. 1122--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.8 </span> <a - id="x1-390003.4.8"></a>Integrating third-party fonts</h5> -<!--l. 1124--><p class="noindent" >This is unfortunately a messy topic. Forget about it unless you want to delve into many details of the <span class="TEX">T<span +<!--l. 1133--><p class="nopar" > +<!--l. 1135--><p class="indent" > Section <a +href="#x1-590008.1.5">8.1.5<!--tex4ht:ref: sec:brace-expansion --></a> describes brace expansion further. +<!--l. 1138--><p class="noindent" > + <h5 class="subsubsectionHead"><span class="titlemark">3.4.7 </span> <a + id="x1-380003.4.7"></a>Integrating third-party fonts</h5> +<!--l. 1140--><p class="noindent" >This is unfortunately a messy topic. Forget about it unless you want to delve into many details of the <span class="TEX">T<span class="E">E</span>X</span> installation. Don’t forget to check first what you get for free: see section <a href="#x1-140002.6">2.6<!--tex4ht:ref: sec:tl-fonts --></a>. -<!--l. 1128--><p class="indent" > A possible alternative is to use Xe<span class="TEX">T<span +<!--l. 1144--><p class="indent" > A possible alternative is to use Xe<span class="TEX">T<span class="E">E</span>X</span> or Lua<span class="TEX">T<span class="E">E</span>X</span> (see section <a href="#x1-120002.4">2.4<!--tex4ht:ref: sec:tex-extensions --></a>), which let you use operating system fonts without any installation in <span class="TEX">T<span class="E">E</span>X</span>. -<!--l. 1132--><p class="indent" > If you do need to do this, see <a +<!--l. 1148--><p class="indent" > If you do need to do this, see <a href="http://tug.org/fonts/fontinstall.html" class="url" ><span class="ec-lmtt-10">http://tug.org/fonts/fontinstall.html</span></a> for our best effort at describing the procedure. If you rigorously maintain your local font maps, <span @@ -2697,60 +2717,21 @@ class="ec-lmtt-10">tlmgr generate updmap </span><span class="ec-lmri-10">may </span>be useful, notably in moving from release to release; see the <span class="ec-lmss-10">tlmgr </span>documentation. -<!--l. 1139--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">3.4.9 </span> <a - id="x1-400003.4.9"></a>Increasing maximum memory on Windows and Cygwin</h5> -<!--l. 1142--><p class="noindent" >Windows and Cygwin (see section <a -href="#x1-200003.1.4">3.1.4<!--tex4ht:ref: sec:cygwin --></a> for Cygwin installation specifics) users may find that they run out of -memory when running some of the programs shipped with <span class="TEX">T<span -class="E">E</span>X</span> Live. For example, <span -class="ec-lmss-10">asy </span>might run out of -memory if you try to allocate an array of 25,000,000 reals, and Lua<span class="TEX">T<span -class="E">E</span>X</span> might run out of memory if you try to -process a document with a lot of big fonts. -<!--l. 1149--><p class="indent" > For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin -User’s Guide (<a -href="http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html" class="url" ><span -class="ec-lmtt-10">http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html</span></a>). -<!--l. 1153--><p class="indent" > For Windows, you have to create a file, say <span -class="ec-lmtt-10">moremem.reg</span>, with these four lines: -<!--l. 1156--><p class="indent" > - <div class="fancyvrb" id="fancyvrb10"><a - id="x1-40002r1"></a><span -class="ec-lmtt-9"> </span><span -class="ec-lmtt-9"> Windows</span><span -class="ec-lmtt-9"> Registry</span><span -class="ec-lmtt-9"> Editor</span><span -class="ec-lmtt-9"> Version</span><span -class="ec-lmtt-9"> 5.00</span><br class="fancyvrb" /><a - id="x1-40004r2"></a><span -class="ec-lmtt-9"> </span><span -class="ec-lmtt-9"> </span><br class="fancyvrb" /><a - id="x1-40006r3"></a><span -class="ec-lmtt-9"> </span><span -class="ec-lmtt-9"> [HKEY_LOCAL_MACHINE\Software\Cygwin]</span><br class="fancyvrb" /><a - id="x1-40008r4"></a><span -class="ec-lmtt-9"> </span><span -class="ec-lmtt-9"> "heap_chunk_in_mb"=dword:ffffff00</span></div> -<!--l. 1163--><p class="noindent" >and then execute the command <span -class="ec-lmtt-10">regedit /s moremem.reg </span>as administrator. (If you want to change memory -only for the current user instead of system-wide, use <span -class="ec-lmtt-10">HKEY_CURRENT_USER</span>.) -<!--l. 1168--><p class="noindent" > +<!--l. 1155--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">3.5 </span> <a - id="x1-410003.5"></a>Testing the installation</h4> -<!--l. 1171--><p class="noindent" >After installing <span class="TEX">T<span + id="x1-390003.5"></a>Testing the installation</h4> +<!--l. 1158--><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. 1174--><p class="indent" > This section gives some basic procedures for testing that the new system is functional. We give Unix +<!--l. 1161--><p class="indent" > This section gives some basic procedures for testing that the new system is functional. We give Unix commands here; 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. 1179--><p class="indent" > +<!--l. 1166--><p class="indent" > <ol class="enumerate1" > <li - class="enumerate" id="x1-41002x1">Make sure that you can run the <span + class="enumerate" id="x1-39002x1">Make sure that you can run the <span class="ec-lmss-10">tex </span>program in the first place: <div class="alltt"> - <!--l. 1183--><p class="noindent" ><div class="obeylines-v"> + <!--l. 1170--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2779,14 +2760,12 @@ class="ec-lmtt-10">...</span> class="ec-lmtt-10">bin </span>subdirectory in your <span class="ec-lmtt-10">PATH</span>. See the environment-setting information on p. <a -href="#x1-340003.4.3">36<!--tex4ht:ref: sec:env --></a>. - - +href="#x1-320003.4.1">36<!--tex4ht:ref: sec:env --></a>. </li> <li - class="enumerate" id="x1-41004x2">Process a basic <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span + class="enumerate" id="x1-39004x2">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. 1196--><p class="noindent" ><div class="obeylines-v"> + <!--l. 1183--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2822,11 +2801,13 @@ class="E">E</span>X</span>-related environment variables for a start. (For a deep analysis, you can ask <span class="TEX">T<span 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-670008.2.4">63<!--tex4ht:ref: sec:debugging --></a>.) +href="#x1-660008.2.4">62<!--tex4ht:ref: sec:debugging --></a>.) + + </li> <li - class="enumerate" id="x1-41006x3">Preview the result online: <div class="alltt"> - <!--l. 1211--><p class="noindent" ><div class="obeylines-v"> + class="enumerate" id="x1-39006x3">Preview the result online: <div class="alltt"> + <!--l. 1198--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2858,8 +2839,8 @@ class="ec-lmtt-10">Can’t open</span> class="ec-lmtt-10">display</span>’. </li> <li - class="enumerate" id="x1-41008x4">Create a PostScript file for printing or display: <div class="alltt"> - <!--l. 1222--><p class="noindent" ><div class="obeylines-v"> + class="enumerate" id="x1-39008x4">Create a PostScript file for printing or display: <div class="alltt"> + <!--l. 1209--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2871,10 +2852,10 @@ class="ec-lmtk-10"> sample2e.ps</span> </div> </li> <li - class="enumerate" id="x1-41010x5">Create a PDF file instead of DVI; this processes the <span + class="enumerate" id="x1-39010x5">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. 1228--><p class="noindent" ><div class="obeylines-v"> + <!--l. 1215--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2884,8 +2865,8 @@ class="ec-lmtk-10"> sample2e.tex</span> </div> </li> <li - class="enumerate" id="x1-41012x6">Preview the PDF file: <div class="alltt"> - <!--l. 1233--><p class="noindent" ><div class="obeylines-v"> + class="enumerate" id="x1-39012x6">Preview the PDF file: <div class="alltt"> + <!--l. 1220--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2897,8 +2878,6 @@ class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">xpdf</span><span class="ec-lmtk-10"> sample2e.pdf</span> - - </div> </div> Neither <span class="ec-lmss-10">gv </span>nor <span @@ -2915,36 +2894,38 @@ href="http://blog.kowalczyk.info/software/sumatrapdf" class="url" ><span class="ec-lmtt-10">http://blog.kowalczyk.info/software/sumatrapdf</span></a>). </li> <li - class="enumerate" id="x1-41014x7">Standard test files you may find useful in addition to <span + class="enumerate" id="x1-39014x7">Standard test files you may find useful in addition to <span class="ec-lmtt-10">sample2e.tex</span>: - <!--l. 1247--><p class="noindent" > + <!--l. 1234--><p class="noindent" > <dl class="list2"><dt class="list"> <span class="ec-lmtt-10">small2e.tex</span> </dt><dd class="list"> - <!--l. 1248--><p class="noindent" >A simpler document than <span + <!--l. 1235--><p class="noindent" >A simpler document than <span class="ec-lmtt-10">sample2e</span>, to reduce the input size if you’re having troubles. </dd><dt class="list"> <span class="ec-lmtt-10">testpage.tex</span> </dt><dd class="list"> - <!--l. 1250--><p class="noindent" >Test if your printer introduces any offsets. + <!--l. 1237--><p class="noindent" >Test if your printer introduces any offsets. + + </dd><dt class="list"> <span class="ec-lmtt-10">nfssfont.tex</span> </dt><dd class="list"> - <!--l. 1251--><p class="noindent" >For printing font tables and tests. + <!--l. 1238--><p class="noindent" >For printing font tables and tests. </dd><dt class="list"> <span class="ec-lmtt-10">testfont.tex</span> </dt><dd class="list"> - <!--l. 1252--><p class="noindent" >Also for font tables, but using plain <span class="TEX">T<span + <!--l. 1239--><p class="noindent" >Also for font tables, but using plain <span class="TEX">T<span class="E">E</span>X</span>. </dd><dt class="list"> <span class="ec-lmtt-10">story.tex</span> </dt><dd class="list"> - <!--l. 1253--><p class="noindent" >The most canonical (plain) <span class="TEX">T<span + <!--l. 1240--><p class="noindent" >The most canonical (plain) <span class="TEX">T<span class="E">E</span>X</span> test file of all. You must type ‘<span class="ec-lmtt-10">\bye</span>’ to the <span class="ec-lmtt-10">* </span>prompt after @@ -2952,10 +2933,10 @@ class="ec-lmtt-10">* </span>prompt after class="ec-lmtt-10">tex story.tex</span>’.</dd></dl> </li> <li - class="enumerate" id="x1-41016x8">If you have installed the <span + class="enumerate" id="x1-39016x8">If you have installed the <span class="ec-lmtt-10">xetex </span>package, you can test its access to system fonts as follows: <div class="alltt"> - <!--l. 1260--><p class="noindent" ><div class="obeylines-v"> + <!--l. 1247--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -2988,19 +2969,19 @@ class="ec-lmtt-10"> opentype-info.log.</span> class="E">E</span>X</span> can find the fonts shipped with <span class="TEX">T<span class="E">E</span>X</span> Live. See Section <a -href="#x1-360003.4.5">3.4.5<!--tex4ht:ref: sec:font-conf-xetex --></a>. +href="#x1-350003.4.4">3.4.4<!--tex4ht:ref: sec:font-conf-xetex --></a>. </li></ol> -<!--l. 1274--><p class="noindent" > +<!--l. 1261--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">3.6 </span> <a - id="x1-420003.6"></a>Links for additional downloadable software</h4> -<!--l. 1276--><p class="noindent" >If you are new to <span class="TEX">T<span + id="x1-400003.6"></a>Links for additional downloadable software</h4> +<!--l. 1263--><p class="noindent" >If you are new to <span class="TEX">T<span class="E">E</span>X</span>, or otherwise need help with actually writing <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 <a href="http://tug.org/begin.html" class="url" ><span class="ec-lmtt-10">http://tug.org/begin.html</span></a> for some introductory resources. -<!--l. 1280--><p class="indent" > Links for some other tools you may consider installing: +<!--l. 1267--><p class="indent" > Links for some other tools you may consider installing: <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Ghostscript</span> </dt><dd @@ -3021,8 +3002,6 @@ class="ec-lmbx-10">ImageMagick</span> </dt><dd class="description"><a href="http://www.imagemagick.com" class="url" ><span class="ec-lmtt-10">http://www.imagemagick.com</span></a>, for graphics processing and conversion - - </dd><dt class="description"> <span class="ec-lmbx-10">NetPBM</span> </dt><dd @@ -3058,6 +3037,8 @@ class="ec-lmtt-10">http://www.gnu.org/software/auctex</span></a>. class="ec-lmss-10">LEd </span>is available from <a href="http://www.ctan.org/support/LEd" class="url" ><span class="ec-lmtt-10">http://www.ctan.org/support/LEd</span></a>. + + </li> <li class="itemize"><span class="ec-lmss-10">SciTE </span>is available from <a @@ -3100,13 +3081,13 @@ class="ec-lmss-10">WinShell </span>is available from <a href="http://www.winshell.de" class="url" ><span class="ec-lmtt-10">http://www.winshell.de</span></a>.</li></ul> </dd></dl> -<!--l. 1315--><p class="noindent" >For a much longer list of packages and programs, see <a +<!--l. 1302--><p class="noindent" >For a much longer list of packages and programs, see <a href="http://tug.org/interest.html" class="url" ><span class="ec-lmtt-10">http://tug.org/interest.html</span></a>. -<!--l. 1320--><p class="noindent" > +<!--l. 1307--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">4 </span> <a - id="x1-430004"></a>Network installations</h3> -<!--l. 1323--><p class="noindent" ><span class="TEX">T<span + id="x1-410004"></a>Network installations</h3> +<!--l. 1310--><p class="noindent" ><span class="TEX">T<span class="E">E</span>X</span> Live has been designed to be sharable between different users on one system, and/or between different systems on a network. With a standard directory layout, no hard paths are configured: the locations for files needed by <span class="TEX">T<span @@ -3114,27 +3095,27 @@ class="E">E</span>X</span> Live programs are found relative to the programs. You this in the principal configuration file <span class="ec-lmtt-10">$TEXMFMAIN/web2c/texmf.cnf</span>, which contains lines such as - <div class="fancyvrb" id="fancyvrb11"><a - id="x1-43002r1"></a><span + <div class="fancyvrb" id="fancyvrb10"><a + id="x1-41002r1"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> TEXMFMAIN</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> $SELFAUTOPARENT/texmf</span><br class="fancyvrb" /><a - id="x1-43004r2"></a><span + id="x1-41004r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> ...</span><br class="fancyvrb" /><a - id="x1-43006r3"></a><span + id="x1-41006r3"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> TEXMFLOCAL</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> $SELFAUTOPARENT/../texmf-local</span></div> -<!--l. 1334--><p class="noindent" >This means that adding the directory for <span class="TEX">T<span +<!--l. 1321--><p class="noindent" >This means that adding the directory for <span class="TEX">T<span class="E">E</span>X</span> Live executables for their platform to their search path is sufficient to get a working setup. -<!--l. 1337--><p class="indent" > By the same token, you can also install <span class="TEX">T<span +<!--l. 1324--><p class="indent" > By the same token, you can also install <span class="TEX">T<span class="E">E</span>X</span> Live locally and then move the entire hierarchy afterwards to a network location. -<!--l. 1340--><p class="indent" > For Windows, a sample network installation script named <span +<!--l. 1327--><p class="indent" > For Windows, a sample network installation script named <span class="ec-lmtt-10">w32client </span>can be downloaded through <a href="http://tug.org/texlive/w32client.html" class="url" ><span @@ -3143,13 +3124,11 @@ class="E">E</span>X</span> Live installation on a LAN. It also registers an uninstaller <span class="ec-lmtt-10">w32unclient</span>, available in the same zip file. See the web page for more information. -<!--l. 1348--><p class="indent" > <a id="tlportable"></a> +<!--l. 1335--><p class="indent" > <a id="tlportable"></a> <h3 class="sectionHead"><span class="titlemark">5 </span> <a - id="x1-440005"></a>Maximally portable <span class="TEX">T<span + id="x1-420005"></a>Maximally portable <span class="TEX">T<span class="E">E</span>X</span> Live on DVD and USB</h3> - - -<!--l. 1352--><p class="noindent" >To use <span class="TEX">T<span +<!--l. 1339--><p class="noindent" >To use <span class="TEX">T<span class="E">E</span>X</span> Live in a “portable” way, minimizing impact on the host system, you should first install <span class="TEX">T<span class="E">E</span>X</span> Live to a USB stick using the <span @@ -3159,70 +3138,70 @@ href="#x1-290003.3">3.3<!--tex4ht:ref: sec:cmdline --></a>). Then you can run th class="ec-lmtt-10">tl-portable </span>script (Unix) or <span class="ec-lmtt-10">tl-portable.bat </span>batch file (Windows) from the resulting installation root to start up a shell. -<!--l. 1359--><p class="indent" > You could also burn the resulting contents of the stick back to DVD if that is more convenient to (for +<!--l. 1346--><p class="indent" > You could also burn the resulting contents of the stick back to DVD if that is more convenient to (for example) give to others. -<!--l. 1362--><p class="indent" > When the <span +<!--l. 1349--><p class="indent" > When the <span class="ec-lmtt-10">tl-portable </span>script is run from a DVD for the first time, some files will be generated on the host system in a directory <span class="ec-lmtt-10">~/.tlportable2010</span>, which will take some time. On subsequent runs, though, it will start quickly. -<!--l. 1367--><p class="indent" > The rest of the system will be unaware of <span class="TEX">T<span +<!--l. 1354--><p class="indent" > The rest of the system will be unaware of <span class="TEX">T<span class="E">E</span>X</span> Live. If you want your editor to be aware of this <span class="TEX">T<span class="E">E</span>X</span> Live, then you should start it from a second, parallel, such <span class="ec-lmtt-10">tl-portable </span>session. -<!--l. 1372--><p class="noindent" > +<!--l. 1359--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">6 </span> <a - id="x1-450006"></a><span + id="x1-430006"></a><span class="ec-lmss-10">tlmgr</span>: Managing your installation</h3> -<!--l. 1375--><p class="noindent" ><hr class="figure"><div class="figure" +<!--l. 1362--><p class="noindent" ><hr class="figure"><div class="figure" > <a - id="x1-45001r8"></a> + id="x1-43001r8"></a> -<!--l. 1376--><p class="noindent" ><img +<!--l. 1363--><p class="noindent" ><img src="../texlive-common/tlmgr-gui.png" alt="pict" > <br /> <div class="caption" ><span class="id">Figure 8: </span><span class="content"><span -class="ec-lmss-10">tlmgr </span>in GUI mode: main window, after ‘Load’.</span></div><!--tex4ht:label?: x1-45001r8 --> +class="ec-lmss-10">tlmgr </span>in GUI mode: main window, after ‘Load’.</span></div><!--tex4ht:label?: x1-43001r8 --> -<!--l. 1379--><p class="noindent" ></div><hr class="endfigure"> -<!--l. 1381--><p class="indent" > <hr class="figure"><div class="figure" +<!--l. 1366--><p class="noindent" ></div><hr class="endfigure"> +<!--l. 1368--><p class="indent" > <hr class="figure"><div class="figure" > <a - id="x1-45002r9"></a><a - id="x1-45003r10"></a> + id="x1-43002r9"></a><a + id="x1-43003r10"></a> -<!--l. 1385--><p class="noindent" ><img +<!--l. 1372--><p class="noindent" ><img src="../texlive-common/tlmgr-general-options.png" alt="pict" > <br /> <div class="caption" ><span class="id">Figure 9: </span><span class="content"><span -class="ec-lmtt-10">tlmgr </span>in GUI mode: General options</span></div><!--tex4ht:label?: x1-45002r9 --> -<!--l. 1392--><p class="noindent" ><img +class="ec-lmtt-10">tlmgr </span>in GUI mode: General options</span></div><!--tex4ht:label?: x1-43002r9 --> +<!--l. 1379--><p class="noindent" ><img src="../texlive-common/tlmgr-paper-options.png" alt="pict" > <br /> <div class="caption" ><span class="id">Figure 10: </span><span class="content"><span class="ec-lmtt-10">tlmgr </span>in GUI mode: Paper -size options</span></div><!--tex4ht:label?: x1-45003r10 --> +size options</span></div><!--tex4ht:label?: x1-43003r10 --> -<!--l. 1397--><p class="indent" > </div><hr class="endfigure"> -<!--l. 1399--><p class="indent" > <span class="TEX">T<span +<!--l. 1384--><p class="indent" > </div><hr class="endfigure"> +<!--l. 1386--><p class="indent" > <span class="TEX">T<span class="E">E</span>X</span> Live includes a program named <span class="ec-lmss-10">tlmgr </span>for managing <span class="TEX">T<span class="E">E</span>X</span> Live after the initial installation. The @@ -3242,17 +3221,17 @@ the preferred interface. Its capabilities include: </li> <li class="itemize">changing installation options such as paper size and source location (see section <a href="#x1-300003.3.1">3.3.1<!--tex4ht:ref: sec:location --></a>).</li></ul> -<!--l. 1413--><p class="noindent" ><span +<!--l. 1400--><p class="noindent" ><span class="ec-lmri-10">Warning: </span><span class="ec-lmss-10">tlmgr </span>has not been designed for or tested with portable installations (section <a -href="#x1-440005">5<!--tex4ht:ref: sec:portable-tl --></a>). +href="#x1-420005">5<!--tex4ht:ref: sec:portable-tl --></a>). <h4 class="subsectionHead"><span class="titlemark">6.1 </span> <a - id="x1-460006.1"></a><span + id="x1-440006.1"></a><span class="ec-lmss-10">tlmgr </span>GUI mode</h4> -<!--l. 1417--><p class="noindent" ><span +<!--l. 1404--><p class="noindent" ><span class="ec-lmss-10">tlmgr </span>can be started in GUI mode (figure <a -href="#x1-45001r8">8<!--tex4ht:ref: fig:tlmgr-gui --></a>) with <div class="alltt"> -<!--l. 1418--><p class="noindent" ><div class="obeylines-v"> +href="#x1-43001r8">8<!--tex4ht:ref: fig:tlmgr-gui --></a>) with <div class="alltt"> +<!--l. 1405--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3266,16 +3245,16 @@ class="ec-lmtt-10">TeX Live 2010</span>, <span class="ec-lmtt-10">TeX Live Manager</span>. After clicking ‘Load’ it displays a list of available and installed packages. This assumes of course that the installation source is valid and reachable. -<!--l. 1426--><p class="indent" > Figures <a -href="#x1-45002r9">9<!--tex4ht:ref: fig:tlmgr-general-options --></a> and <a -href="#x1-45003r10">10<!--tex4ht:ref: fig:tlmgr-paper-options --></a> show the general and paper size option screens. -<!--l. 1429--><p class="noindent" > +<!--l. 1413--><p class="indent" > Figures <a +href="#x1-43002r9">9<!--tex4ht:ref: fig:tlmgr-general-options --></a> and <a +href="#x1-43003r10">10<!--tex4ht:ref: fig:tlmgr-paper-options --></a> show the general and paper size option screens. +<!--l. 1416--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">6.2 </span> <a - id="x1-470006.2"></a>Sample <span + id="x1-450006.2"></a>Sample <span class="ec-lmss-10">tlmgr </span>command-line invocations</h4> -<!--l. 1431--><p class="noindent" >After the initial installation, you can update your system to the latest versions available with: +<!--l. 1418--><p class="noindent" >After the initial installation, you can update your system to the latest versions available with: <div class="alltt"> -<!--l. 1433--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1420--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3284,7 +3263,7 @@ class="ec-lmtk-10"> update</span><span class="ec-lmtk-10"> -all</span> </div> </div> If this makes you nervous, first try <div class="alltt"> -<!--l. 1437--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1424--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3294,7 +3273,7 @@ class="ec-lmtk-10"> -all</span><span class="ec-lmtk-10"> -dry-run</span> </div> </div> or (less verbose): <div class="alltt"> -<!--l. 1441--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1428--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3303,10 +3282,10 @@ class="ec-lmtk-10"> update</span><span class="ec-lmtk-10"> -list</span> </div> </div> -<!--l. 1445--><p class="indent" > This more complex example adds a collection, for the engine Xe<span class="TEX">T<span +<!--l. 1432--><p class="indent" > This more complex example adds a collection, for the engine Xe<span class="TEX">T<span class="E">E</span>X</span>, from a local directory: <div class="alltt"> -<!--l. 1448--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1435--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3319,32 +3298,32 @@ class="ec-lmtk-10"> collection-xetex</span> </div> </div> It generates the following output (abridged): - <div class="fancyvrb" id="fancyvrb12"><a - id="x1-47002r1"></a><span + <div class="fancyvrb" id="fancyvrb11"><a + id="x1-45002r1"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> collection-xetex</span><br class="fancyvrb" /><a - id="x1-47004r2"></a><span + id="x1-45004r2"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> arabxetex</span><br class="fancyvrb" /><a - id="x1-47006r3"></a><span + id="x1-45006r3"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span><br class="fancyvrb" /><a - id="x1-47008r4"></a><span + id="x1-45008r4"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> xetex</span><br class="fancyvrb" /><a - id="x1-47010r5"></a><span + id="x1-45010r5"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> xetexconfig</span> <br class="fancyvrb" /><a - id="x1-47012r6"></a><span + id="x1-45012r6"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> xetex.i386-linux</span><br class="fancyvrb" /><a - id="x1-47014r7"></a><span + id="x1-45014r7"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> running</span><span class="ec-lmtt-8"> post</span><span @@ -3352,53 +3331,53 @@ class="ec-lmtt-8"> install</span><span class="ec-lmtt-8"> action</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> xetex</span><br class="fancyvrb" /><a - id="x1-47016r8"></a><span + id="x1-45016r8"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> install:</span><span class="ec-lmtt-8"> xetex-def</span><br class="fancyvrb" /><a - id="x1-47018r9"></a><span + id="x1-45018r9"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span><br class="fancyvrb" /><a - id="x1-47020r10"></a><span + id="x1-45020r10"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> running</span><span class="ec-lmtt-8"> mktexlsr</span> <br class="fancyvrb" /><a - id="x1-47022r11"></a><span + id="x1-45022r11"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> mktexlsr:</span><span class="ec-lmtt-8"> Updating</span><span class="ec-lmtt-8"> /usr/local/texlive/2010/texmf/ls-R...</span><br class="fancyvrb" /><a - id="x1-47024r12"></a><span + id="x1-45024r12"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span><br class="fancyvrb" /><a - id="x1-47026r13"></a><span + id="x1-45026r13"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> running</span><span class="ec-lmtt-8"> fmtutil-sys</span><span class="ec-lmtt-8"> --missing</span><br class="fancyvrb" /><a - id="x1-47028r14"></a><span + id="x1-45028r14"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span> <br class="fancyvrb" /><a - id="x1-47030r15"></a><span + id="x1-45030r15"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> Transcript</span><span class="ec-lmtt-8"> written</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> xelatex.log.</span><br class="fancyvrb" /><a - id="x1-47032r16"></a><span + id="x1-45032r16"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> fmtutil:</span><span class="ec-lmtt-8"> /usr/local/texlive/2010/texmf-var/web2c/xetex/xelatex.fmt</span><span class="ec-lmtt-8"> installed.</span></div> -<!--l. 1471--><p class="indent" > As you can see, <span +<!--l. 1458--><p class="indent" > As you can see, <span class="ec-lmss-10">tlmgr </span>installs dependencies, and takes care of any necessary post-install actions, including updating the filename database and (re)generating formats. In the above, we generated new formats for Xe<span class="TEX">T<span class="E">E</span>X</span>. -<!--l. 1476--><p class="indent" > To describe a package (or collection or scheme): <div class="alltt"> -<!--l. 1477--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1463--><p class="indent" > To describe a package (or collection or scheme): <div class="alltt"> +<!--l. 1464--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3407,21 +3386,21 @@ class="ec-lmtk-10"> show</span><span class="ec-lmtk-10"> collection-latexextra</span> </div> </div> which produces - <div class="fancyvrb" id="fancyvrb13"><a - id="x1-47034r1"></a><span + <div class="fancyvrb" id="fancyvrb12"><a + id="x1-45034r1"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> package:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> collection-latexextra</span><br class="fancyvrb" /><a - id="x1-47036r2"></a><span + id="x1-45036r2"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> category:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> Collection</span><br class="fancyvrb" /><a - id="x1-47038r3"></a><span + id="x1-45038r3"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> shortdesc:</span><span class="ec-lmtt-8"> </span><span @@ -3429,7 +3408,7 @@ class="ec-lmtt-8"> LaTeX</span><span class="ec-lmtt-8"> supplementary</span><span class="ec-lmtt-8"> packages</span> <br class="fancyvrb" /><a - id="x1-47040r4"></a><span + id="x1-45040r4"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> longdesc:</span><span class="ec-lmtt-8"> </span><span @@ -3442,22 +3421,22 @@ class="ec-lmtt-8"> add-on</span><span class="ec-lmtt-8"> packages</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> LaTeX.</span><br class="fancyvrb" /><a - id="x1-47042r5"></a><span + id="x1-45042r5"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> installed:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> Yes</span><br class="fancyvrb" /><a - id="x1-47044r6"></a><span + id="x1-45044r6"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> revision:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> 14675</span></div> -<!--l. 1490--><p class="indent" > Last and most important, for full documentation see <a +<!--l. 1477--><p class="indent" > Last and most important, for full documentation see <a href="http://tug.org/texlive/tlmgr.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/tlmgr.html</span></a>, or: <div class="alltt"> -<!--l. 1492--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1479--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -3465,18 +3444,18 @@ class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> -help</span> </div> </div> -<!--l. 1497--><p class="noindent" > +<!--l. 1484--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">7 </span> <a - id="x1-480007"></a>Notes on Windows</h3> -<!--l. 1500--><p class="noindent" ><span class="TEX">T<span + id="x1-460007"></a>Notes on Windows</h3> +<!--l. 1487--><p class="noindent" ><span class="TEX">T<span class="E">E</span>X</span> Live has a single installer which runs on both Windows and Unix. This was only possible by dropping support for older Windows versions, so <span class="TEX">T<span class="E">E</span>X</span> Live can now be installed only on Windows 2000 and later. -<!--l. 1505--><p class="noindent" > +<!--l. 1492--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.1 </span> <a - id="x1-490007.1"></a>Windows-specific features</h4> -<!--l. 1508--><p class="noindent" >Under Windows, the installer does some extra things: + id="x1-470007.1"></a>Windows-specific features</h4> +<!--l. 1495--><p class="noindent" >Under Windows, the installer does some extra things: <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Menus and shortcuts.</span> </dt><dd @@ -3501,10 +3480,10 @@ class="E">E</span>X</span> Live. The uninstall class="E">E</span>X</span> Live Manager GUI refers to this.</dd></dl> -<!--l. 1523--><p class="noindent" > +<!--l. 1510--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a - id="x1-500007.2"></a>Additional software included on Windows</h4> -<!--l. 1525--><p class="noindent" >To be complete, a <span class="TEX">T<span + id="x1-480007.2"></a>Additional software included on Windows</h4> +<!--l. 1512--><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. <span class="TEX">T<span class="E">E</span>X</span> Live provides the missing pieces: @@ -3522,16 +3501,16 @@ class="E">E</span>X</span> Live programs that need them know where to find them, <span class="ec-lmbx-10">PS_View.</span> </dt><dd class="description">Also installed is PS_View, a PostScript and PDF viewer; see figure <a -href="#x1-50001r11">11<!--tex4ht:ref: fig:psview --></a>. - <!--l. 1540--><p class="noindent" ><hr class="figure"><div class="figure" +href="#x1-48001r11">11<!--tex4ht:ref: fig:psview --></a>. + <!--l. 1527--><p class="noindent" ><hr class="figure"><div class="figure" ><a - id="x1-50001r11"></a> <img + id="x1-48001r11"></a> <img src="../texlive-common/psview.png" alt="pict" > <br /> <div class="caption" ><span class="id">Figure 11: </span><span -class="content">PS_View: very high magnifications available!</span></div><!--tex4ht:label?: x1-50001r11 --> - <!--l. 1543--><p class="noindent" ></div><hr class="endfigure"> +class="content">PS_View: very high magnifications available!</span></div><!--tex4ht:label?: x1-48001r11 --> + <!--l. 1530--><p class="noindent" ></div><hr class="endfigure"> </dd><dt class="description"> <span class="ec-lmbx-10">dviout.</span> </dt><dd @@ -3582,10 +3561,10 @@ class="ec-lmtt-10">\font </span>command. If necessary, run <span class="ec-lmss-10">fc-cache </span>first to update font information. </dd></dl> -<!--l. 1573--><p class="noindent" > +<!--l. 1560--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.3 </span> <a - id="x1-510007.3"></a>User Profile is Home</h4> -<!--l. 1576--><p class="noindent" >The Windows counterpart of a Unix home directory is the <span class="obeylines-h"><span class="verb"><span + id="x1-490007.3"></a>User Profile is Home</h4> +<!--l. 1563--><p class="noindent" >The Windows counterpart of a Unix home directory is the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%USERPROFILE%</span></span></span> directory. Under Windows XP and Windows 2000, this is usually <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\Documents</span><span @@ -3596,10 +3575,10 @@ class="ec-lmtt-10">C:\Users\<username></span></span></span>. In th class="ec-lmtt-10">texmf.cnf </span>file, and Kpathsea in general, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~</span></span></span> will expand appropriately on both Windows and Unix. -<!--l. 1584--><p class="noindent" > +<!--l. 1571--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a - id="x1-520007.4"></a>The Windows registry</h4> -<!--l. 1587--><p class="noindent" >Windows stores nearly all configuration data in its registry. The registry contains a set of hierarchically + id="x1-500007.4"></a>The Windows registry</h4> +<!--l. 1574--><p class="noindent" >Windows stores nearly all configuration data in its registry. The registry contains a set of hierarchically organized keys, with several root keys. The most important ones for installation programs are <span class="path"><span class="ec-lmtt-10">HKEY_CURRENT_USER</span></span> and <span class="path"><span @@ -3608,32 +3587,32 @@ class="ec-lmtt-10">HKCU</span></span> and <span class="path"><span class="ec-lmtt-10">HKLM</span></span> in short. The <span class="path"><span class="ec-lmtt-10">HKCU</span></span> part of the registry is in the user’s home directory (see section <a -href="#x1-510007.3">7.3<!--tex4ht:ref: sec:winhome --></a>). <span class="path"><span +href="#x1-490007.3">7.3<!--tex4ht:ref: sec:winhome --></a>). <span class="path"><span class="ec-lmtt-10">HKLM</span></span> is normally in a subdirectory of the Windows directory. -<!--l. 1595--><p class="indent" > In some cases, system information could be obtained from environment variables but for other information, +<!--l. 1582--><p class="indent" > In some cases, system information could be obtained from environment variables but for other information, for example the location of shortcuts, it is necessary to consult the registry. Setting environment variables permanently also requires registry access. -<!--l. 1601--><p class="noindent" > +<!--l. 1588--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.5 </span> <a - id="x1-530007.5"></a>Windows permissions</h4> -<!--l. 1604--><p class="noindent" >In later versions of Windows, a distinction is made between regular users and administrators, where only the + id="x1-510007.5"></a>Windows permissions</h4> +<!--l. 1591--><p class="noindent" >In later versions of Windows, a distinction is made between regular users and administrators, where only the latter have free access to the entire operating system. In practice, though, you could better describe these classes of users as unprivileged users and normal users: being an administrator is the rule, not the exception. Nevertheless, we have made an effort to make <span class="TEX">T<span class="E">E</span>X</span> Live installable without administrative privileges. -<!--l. 1611--><p class="indent" > If the user is an administrator, there is an option to install for all users. If this option is chosen, shortcuts +<!--l. 1598--><p class="indent" > If the user is an administrator, there is an option to install for all users. If this option is chosen, shortcuts are created for all users, and the system environment is modified. Otherwise, shortcuts and menu entries are created for the current user, and the user environment is modified. -<!--l. 1617--><p class="indent" > Regardless of administrator status, the default root of <span class="TEX">T<span +<!--l. 1604--><p class="indent" > Regardless of administrator status, the default root of <span class="TEX">T<span class="E">E</span>X</span> Live proposed by the installer is always under <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%SystemDrive%</span></span></span>. The installer always tests whether the root is writable for the current user. -<!--l. 1621--><p class="indent" > A problem may arise if the user is not an administrator and <span class="TEX">T<span +<!--l. 1608--><p class="indent" > A problem may arise if the user is not an administrator and <span class="TEX">T<span class="E">E</span>X</span> already exists in the search path. Since the effective path consists of the system path followed by the user path, the new <span class="TEX">T<span class="E">E</span>X</span> Live would @@ -3646,14 +3625,53 @@ class="E">E</span>X</span>works, if installed, also prepends <span class="TEX">T<span class="E">E</span>X</span> Live to the search path, so it should also be immune to this path problem. -<!--l. 1631--><p class="indent" > For Vista there is another twist: even if you are logged in as administrator, you need to explicitly ask for +<!--l. 1618--><p class="indent" > For Vista there is another twist: even if you are logged in as administrator, you need to explicitly ask for administrator privileges. In fact, there is not much point in logging in as administrator. Instead, right-clicking on the program or shortcut that you want to run usually gives you a choice ‘Run as administrator’. -<!--l. 1638--><p class="noindent" > +<!--l. 1625--><p class="noindent" > + <h4 class="subsectionHead"><span class="titlemark">7.6 </span> <a + id="x1-520007.6"></a>Increasing maximum memory on Windows and Cygwin</h4> +<!--l. 1628--><p class="noindent" >Windows and Cygwin (see section <a +href="#x1-200003.1.4">3.1.4<!--tex4ht:ref: sec:cygwin --></a> for Cygwin installation specifics) users may find that they run out of +memory when running some of the programs shipped with <span class="TEX">T<span +class="E">E</span>X</span> Live. For example, <span +class="ec-lmss-10">asy </span>might run out of +memory if you try to allocate an array of 25,000,000 reals, and Lua<span class="TEX">T<span +class="E">E</span>X</span> might run out of memory if you try to +process a document with a lot of big fonts. +<!--l. 1635--><p class="indent" > For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin +User’s Guide (<a +href="http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html" class="url" ><span +class="ec-lmtt-10">http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html</span></a>). +<!--l. 1639--><p class="indent" > For Windows, you have to create a file, say <span +class="ec-lmtt-10">moremem.reg</span>, with these four lines: +<!--l. 1642--><p class="indent" > + <div class="fancyvrb" id="fancyvrb13"><a + id="x1-52002r1"></a><span +class="ec-lmtt-9"> </span><span +class="ec-lmtt-9"> Windows</span><span +class="ec-lmtt-9"> Registry</span><span +class="ec-lmtt-9"> Editor</span><span +class="ec-lmtt-9"> Version</span><span +class="ec-lmtt-9"> 5.00</span><br class="fancyvrb" /><a + id="x1-52004r2"></a><span +class="ec-lmtt-9"> </span><span +class="ec-lmtt-9"> </span><br class="fancyvrb" /><a + id="x1-52006r3"></a><span +class="ec-lmtt-9"> </span><span +class="ec-lmtt-9"> [HKEY_LOCAL_MACHINE\Software\Cygwin]</span><br class="fancyvrb" /><a + id="x1-52008r4"></a><span +class="ec-lmtt-9"> </span><span +class="ec-lmtt-9"> "heap_chunk_in_mb"=dword:ffffff00</span></div> +<!--l. 1649--><p class="noindent" >and then execute the command <span +class="ec-lmtt-10">regedit /s moremem.reg </span>as administrator. (If you want to change memory +only for the current user instead of system-wide, use <span +class="ec-lmtt-10">HKEY_CURRENT_USER</span>.) +<!--l. 1654--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">8 </span> <a - id="x1-540008"></a>A user’s guide to Web2C</h3> -<!--l. 1640--><p class="noindent" >Web2C is an integrated collection of <span class="TEX">T<span + id="x1-530008"></a>A user’s guide to Web2C</h3> +<!--l. 1656--><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 @@ -3661,154 +3679,154 @@ class="E">E</span>X</span> Live. The home page for Web2C, with the current manua <a href="http://tug.org/web2c" class="url" ><span class="ec-lmtt-10">http://tug.org/web2c</span></a>. -<!--l. 1645--><p class="indent" > A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first +<!--l. 1661--><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, who returned it to Karl in 2006. -<!--l. 1654--><p class="indent" > The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. It uses +<!--l. 1670--><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 the <span class="ec-lmtt-10">WEB </span>literate programming system and translates them into C source code. The core <span class="TEX">T<span class="E">E</span>X</span> programs handled in this way are: -<!--l. 1660--><p class="indent" > +<!--l. 1676--><p class="indent" > + + <dl class="list1"><dt class="list"> <span class="ec-lmss-10">bibtex</span> </dt><dd class="list"> - <!--l. 1661--><p class="noindent" >Maintaining bibliographies. + <!--l. 1677--><p class="noindent" >Maintaining bibliographies. </dd><dt class="list"> <span class="ec-lmss-10">dvicopy</span> </dt><dd class="list"> - <!--l. 1662--><p class="noindent" >Expands virtual font references in DVI files. + <!--l. 1678--><p class="noindent" >Expands virtual font references in DVI files. </dd><dt class="list"> <span class="ec-lmss-10">dvitomp</span> </dt><dd class="list"> - <!--l. 1663--><p class="noindent" >DVI to MPX (MetaPost pictures). + <!--l. 1679--><p class="noindent" >DVI to MPX (MetaPost pictures). </dd><dt class="list"> <span class="ec-lmss-10">dvitype</span> </dt><dd class="list"> - <!--l. 1664--><p class="noindent" >DVI to human-readable text. - - + <!--l. 1680--><p class="noindent" >DVI to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">gftodvi</span> </dt><dd class="list"> - <!--l. 1665--><p class="noindent" >Generic font proofsheets. + <!--l. 1681--><p class="noindent" >Generic font proofsheets. </dd><dt class="list"> <span class="ec-lmss-10">gftopk</span> </dt><dd class="list"> - <!--l. 1666--><p class="noindent" >Generic to packed fonts. + <!--l. 1682--><p class="noindent" >Generic to packed fonts. </dd><dt class="list"> <span class="ec-lmss-10">gftype</span> </dt><dd class="list"> - <!--l. 1667--><p class="noindent" >GF to human-readable text. + <!--l. 1683--><p class="noindent" >GF to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">mf</span> </dt><dd class="list"> - <!--l. 1668--><p class="noindent" >Creating typeface families. + <!--l. 1684--><p class="noindent" >Creating typeface families. </dd><dt class="list"> <span class="ec-lmss-10">mft</span> </dt><dd class="list"> - <!--l. 1669--><p class="noindent" >Prettyprinting Metafont source. + <!--l. 1685--><p class="noindent" >Prettyprinting Metafont source. </dd><dt class="list"> <span class="ec-lmss-10">mpost</span> </dt><dd class="list"> - <!--l. 1670--><p class="noindent" >Creating technical diagrams. + <!--l. 1686--><p class="noindent" >Creating technical diagrams. </dd><dt class="list"> <span class="ec-lmss-10">patgen</span> </dt><dd class="list"> - <!--l. 1671--><p class="noindent" >Creating hyphenation patterns. + <!--l. 1687--><p class="noindent" >Creating hyphenation patterns. </dd><dt class="list"> <span class="ec-lmss-10">pktogf</span> </dt><dd class="list"> - <!--l. 1672--><p class="noindent" >Packed to generic fonts. + <!--l. 1688--><p class="noindent" >Packed to generic fonts. </dd><dt class="list"> <span class="ec-lmss-10">pktype</span> </dt><dd class="list"> - <!--l. 1673--><p class="noindent" >PK to human-readable text. + <!--l. 1689--><p class="noindent" >PK to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">pltotf</span> </dt><dd class="list"> - <!--l. 1674--><p class="noindent" >Plain text property list to TFM. + <!--l. 1690--><p class="noindent" >Plain text property list to TFM. </dd><dt class="list"> <span class="ec-lmss-10">pooltype</span> </dt><dd class="list"> - <!--l. 1675--><p class="noindent" >Display <span + <!--l. 1691--><p class="noindent" >Display <span class="ec-lmtt-10">WEB </span>pool files. </dd><dt class="list"> <span class="ec-lmss-10">tangle</span> </dt><dd class="list"> - <!--l. 1676--><p class="noindent" ><span + <!--l. 1692--><p class="noindent" ><span class="ec-lmtt-10">WEB </span>to Pascal. + + </dd><dt class="list"> <span class="ec-lmss-10">tex</span> </dt><dd class="list"> - <!--l. 1677--><p class="noindent" >Typesetting. + <!--l. 1693--><p class="noindent" >Typesetting. </dd><dt class="list"> <span class="ec-lmss-10">tftopl</span> </dt><dd class="list"> - <!--l. 1678--><p class="noindent" >TFM to plain text property list. + <!--l. 1694--><p class="noindent" >TFM to plain text property list. </dd><dt class="list"> <span class="ec-lmss-10">vftovp</span> </dt><dd class="list"> - <!--l. 1679--><p class="noindent" >Virtual font to virtual property list. + <!--l. 1695--><p class="noindent" >Virtual font to virtual property list. </dd><dt class="list"> <span class="ec-lmss-10">vptovf</span> </dt><dd class="list"> - <!--l. 1680--><p class="noindent" >Virtual property list to virtual font. - - + <!--l. 1696--><p class="noindent" >Virtual property list to virtual font. </dd><dt class="list"> <span class="ec-lmss-10">weave</span> </dt><dd class="list"> - <!--l. 1681--><p class="noindent" ><span + <!--l. 1697--><p class="noindent" ><span class="ec-lmtt-10">WEB </span>to <span class="TEX">T<span class="E">E</span>X</span>.</dd></dl> -<!--l. 1684--><p class="noindent" >The precise functions and syntax of these programs are described in the documentation of the individual +<!--l. 1700--><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. 1689--><p class="indent" > All programs honor these standard GNU options: +<!--l. 1705--><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 class="list"> - <!--l. 1691--><p class="noindent" >print basic usage summary. + <!--l. 1707--><p class="noindent" >print basic usage summary. </dd><dt class="list"> <span class="ec-lmtt-10">--verbose</span> </dt><dd class="list"> - <!--l. 1692--><p class="noindent" >print detailed progress report. + <!--l. 1708--><p class="noindent" >print detailed progress report. </dd><dt class="list"> <span class="ec-lmtt-10">--version</span> </dt><dd class="list"> - <!--l. 1693--><p class="noindent" >print version information, then exit.</dd></dl> -<!--l. 1696--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea (<a + <!--l. 1709--><p class="noindent" >print version information, then exit.</dd></dl> +<!--l. 1712--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea (<a href="http://tug.org/kpathsea" class="url" ><span class="ec-lmtt-10">http://tug.org/kpathsea</span></a>). This library uses a combination of environment variables and a configuration files to optimize searching the @@ -3819,11 +3837,11 @@ class="E">E</span>X</span>’s standard distribution and local and personal searches, the root of each tree has a file <span class="ec-lmtt-10">ls-R</span>, containing an entry showing the name and relative pathname for all files under that root. -<!--l. 1707--><p class="noindent" > +<!--l. 1723--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">8.1 </span> <a - id="x1-550008.1"></a>Kpathsea path searching</h4> -<!--l. 1710--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library. -<!--l. 1713--><p class="indent" > We call a <span + id="x1-540008.1"></a>Kpathsea path searching</h4> +<!--l. 1726--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library. +<!--l. 1729--><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 ‘<span @@ -3833,23 +3851,25 @@ 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. 1721--><p class="indent" > In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can use +<!--l. 1737--><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. 1725--><p class="indent" > To check a particular path element <span +<!--l. 1741--><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-630008.2">60<!--tex4ht:ref: sec:filename-database --></a>) applies to <span +href="#x1-620008.2">59<!--tex4ht:ref: sec: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. 1731--><p class="indent" > If the database does not exist, or does not apply to this path element, or contains no matches, the +<!--l. 1747--><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. 1738--><p class="indent" > The “file must exist” condition comes into play with ‘<span + + +<!--l. 1754--><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> @@ -3860,27 +3880,25 @@ 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. 1747--><p class="indent" > Although the simplest and most common path element is a directory name, Kpathsea supports additional +<!--l. 1763--><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. 1756--><p class="indent" > Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span +<!--l. 1772--><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. 1770--><p class="noindent" > +<!--l. 1786--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.1 </span> <a - id="x1-560008.1.1"></a>Path sources</h5> -<!--l. 1773--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them: -<!--l. 1776--><p class="indent" > + id="x1-550008.1.1"></a>Path sources</h5> +<!--l. 1789--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them: +<!--l. 1792--><p class="indent" > <ol class="enumerate1" > <li - class="enumerate" id="x1-56002x1">A user-set environment variable, for instance, <span + class="enumerate" id="x1-55002x1">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 being run, @@ -3889,37 +3907,37 @@ class="ec-lmtt-10">TEXINPUTS.latex </span>will override <span class="ec-lmtt-10">TEXINPUTS</span>. </li> <li - class="enumerate" id="x1-56004x2">A program-specific configuration file, for example, a line ‘<span + class="enumerate" id="x1-55004x2">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" id="x1-56006x3">A Kpathsea configuration file <span + class="enumerate" id="x1-55006x3">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" id="x1-56008x4">The compile-time default.</li></ol> -<!--l. 1789--><p class="noindent" >You can see each of these values for a given search path by using the debugging options (see “Debugging actions” + class="enumerate" id="x1-55008x4">The compile-time default.</li></ol> +<!--l. 1805--><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-670008.2.4">63<!--tex4ht:ref: sec:debugging --></a>). -<!--l. 1793--><p class="noindent" > +href="#x1-660008.2.4">62<!--tex4ht:ref: sec:debugging --></a>). +<!--l. 1809--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.2 </span> <a - id="x1-570008.1.2"></a>Config files</h5> -<!--l. 1795--><p class="noindent" >Kpathsea reads <span + id="x1-560008.1.2"></a>Config files</h5> +<!--l. 1811--><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 class="ec-lmtt-10">TEXMFCNF</span>, but we do not recommend setting this (or any) environment variable. -<!--l. 1800--><p class="indent" > Instead, normal installation results in a file <span +<!--l. 1816--><p class="indent" > Instead, normal installation results in a file <span class="ec-lmtt-10">.../2010/texmf.cnf</span>. If you must make changes to the defaults (not normally necessary), this is the place to put them. The main configuration file is in <span class="ec-lmtt-10">.../2010/texmf/web2c/texmf.cnf</span>. You should not edit this latter file, as your changes will be lost when the distributed version is updated. -<!--l. 1807--><p class="indent" > <span +<!--l. 1823--><p class="indent" > <span class="ec-lmri-10">All </span><span class="ec-lmtt-10">texmf.cnf </span>files in the search path will be read and definitions in earlier files override those in later files. For example, with a search path of <span class="obeylines-h"><span class="verb"><span @@ -3938,7 +3956,9 @@ class="ec-lmtt-10">\ </span>at the end of a line acts as a continuation characte at the beginning of continuation lines is not ignored. </li> <li class="itemize">Each remaining line has the form: <div class="alltt"> - <!--l. 1823--><p class="noindent" ><div class="obeylines-v"> + + + <!--l. 1839--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span @@ -3969,8 +3989,6 @@ class="ec-lmro-10">progname</span><span class="ec-lmtt-10">.exe</span>. This allows different flavors of <span class="TEX">T<span class="E">E</span>X</span> to have different search paths, for example. - - </li> <li class="itemize"><span class="ec-lmro-10">value </span>may contain any characters except <span @@ -3990,11 +4008,11 @@ class="ec-lmtt-10">texmf.cnf </span>for Unix, MS-DOS and Windows </li> <li class="itemize">All definitions are read before anything is expanded, so variables can be referenced before they are defined.</li></ul> -<!--l. 1848--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below: -<!--l. 1852--><p class="indent" > +<!--l. 1864--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below: +<!--l. 1868--><p class="indent" > <div class="fancyvrb" id="fancyvrb14"> <a - id="x1-57002r1"></a><span + id="x1-56002r1"></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 @@ -4013,7 +4031,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-57004r2"></a><span + id="x1-56004r2"></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 @@ -4022,20 +4040,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-57006r3"></a><span + id="x1-56006r3"></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-57008r4"></a><span + id="x1-56008r4"></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-57010r5"></a><span + id="x1-56010r5"></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 @@ -4043,7 +4061,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-57012r6"></a><span + id="x1-56012r6"></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 @@ -4053,10 +4071,10 @@ 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}/{eplain,plain,generic;}//</span> </div> -<!--l. 1857--><p class="noindent" > +<!--l. 1873--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.3 </span> <a - id="x1-580008.1.3"></a>Path expansion</h5> -<!--l. 1861--><p class="noindent" >Kpathsea recognizes certain special characters and constructions in search paths, similar to those available in + id="x1-570008.1.3"></a>Path expansion</h5> +<!--l. 1877--><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 @@ -4066,15 +4084,15 @@ class="ec-lmtt-10">$USER</span>’s home directory that contain a directory 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-590008.1.4"></a>Default expansion</h5> -<!--l. 1872--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a -href="#x1-560008.1.1">55<!--tex4ht:ref: sec:path-sources --></a>) contains an <span + id="x1-580008.1.4"></a>Default expansion</h5> +<!--l. 1888--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a +href="#x1-550008.1.1">54<!--tex4ht:ref: sec: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. 1879--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1895--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4086,32 +4104,32 @@ class="ec-lmtk-10"> /home/karl:</span> class="ec-lmtt-10">TEXINPUTS </span>value from <span class="ec-lmtt-10">texmf.cnf </span>of <div class="alltt"> -<!--l. 1884--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1900--><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. 1889--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1905--><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. 1893--><p class="indent" > Since it would be useless to insert the default value in more than one place, Kpathsea changes only one +<!--l. 1909--><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. 1898--><p class="noindent" > +<!--l. 1914--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.5 </span> <a - id="x1-600008.1.5"></a>Brace expansion</h5> -<!--l. 1901--><p class="noindent" >A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span + id="x1-590008.1.5"></a>Brace expansion</h5> +<!--l. 1917--><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 @@ -4124,16 +4142,16 @@ made: <div class="verbatim" id="verbatim-2"> <div class="fancyvrb" id="fancyvrb15"><a - id="x1-60002r1"></a>    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN}</div> + id="x1-59002r1"></a>    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN}</div> </div> -<!--l. 1909--><p class="nopar" >Using this you can then write something like +<!--l. 1925--><p class="nopar" >Using this you can then write something like <div class="verbatim" id="verbatim-3"> <div class="fancyvrb" id="fancyvrb16"><a - id="x1-60004r1"></a>    TEXINPUTS = .;$TEXMF/tex//</div> + id="x1-59004r1"></a>    TEXINPUTS = .;$TEXMF/tex//</div> </div> -<!--l. 1913--><p class="nopar" >which means that, after looking in the current directory, the <span +<!--l. 1929--><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 @@ -4147,17 +4165,17 @@ instance) and the other being continuously updated with new versions as they bec By 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. 1925--><p class="noindent" > +<!--l. 1941--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.6 </span> <a - id="x1-610008.1.6"></a>Subdirectory expansion</h5> -<!--l. 1928--><p class="noindent" >Two or more consecutive slashes in a path element following a directory <span + id="x1-600008.1.6"></a>Subdirectory expansion</h5> +<!--l. 1944--><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. 1934--><p class="indent" > If you specify any filename components after the ‘<span +<!--l. 1950--><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 @@ -4167,82 +4185,82 @@ 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. 1939--><p class="indent" > Multiple ‘<span +<!--l. 1955--><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. 1942--><p class="noindent" > +<!--l. 1958--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.7 </span> <a - id="x1-620008.1.7"></a>List of special characters and their meaning: a summary</h5> -<!--l. 1944--><p class="noindent" >The following list summarizes the special characters in Kpathsea configuration files. -<!--l. 1949--><p class="noindent" > + id="x1-610008.1.7"></a>List of special characters and their meaning: a summary</h5> +<!--l. 1960--><p class="noindent" >The following list summarizes the special characters in Kpathsea configuration files. +<!--l. 1965--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">:</span> </dt><dd class="list"> - <!--l. 1950--><p class="noindent" >Separator in path specification; at the beginning or the end of a path it substitutes the default + <!--l. 1966--><p class="noindent" >Separator in path specification; at the beginning or the end of a path it substitutes the default path expansion. </dd><dt class="list"> <span class="ec-lmtt-10">;</span> </dt><dd class="list"> - <!--l. 1952--><p class="noindent" >Separator on non-Unix systems (acts like <span + <!--l. 1968--><p class="noindent" >Separator on non-Unix systems (acts like <span class="ec-lmtt-10">:</span>). </dd><dt class="list"> <span class="ec-lmtt-10">$</span> </dt><dd class="list"> - <!--l. 1953--><p class="noindent" >Variable expansion. + <!--l. 1969--><p class="noindent" >Variable expansion. </dd><dt class="list"> <span class="ec-lmtt-10">~</span> </dt><dd class="list"> - <!--l. 1954--><p class="noindent" >Represents the user’s home directory. + <!--l. 1970--><p class="noindent" >Represents the user’s home directory. </dd><dt class="list"> <span class="ec-lmtt-10">{...}</span> </dt><dd class="list"> - <!--l. 1955--><p class="noindent" >Brace expansion. + <!--l. 1971--><p class="noindent" >Brace expansion. </dd><dt class="list"> <span class="ec-lmtt-10">//</span> </dt><dd class="list"> - <!--l. 1956--><p class="noindent" >Subdirectory expansion (can occur anywhere in a path, except at its beginning). + <!--l. 1972--><p class="noindent" >Subdirectory expansion (can occur anywhere in a path, except at its beginning). </dd><dt class="list"> <span class="ec-lmtt-10">%</span> </dt><dd class="list"> - <!--l. 1958--><p class="noindent" >Start of comment. + <!--l. 1974--><p class="noindent" >Start of comment. </dd><dt class="list"> <span class="ec-lmtt-10">\</span> </dt><dd class="list"> - <!--l. 1959--><p class="noindent" >Continuation character (allows multi-line entries). + <!--l. 1975--><p class="noindent" >Continuation character (allows multi-line entries). </dd><dt class="list"> <span class="ec-lmtt-10">!!</span> </dt><dd class="list"> - <!--l. 1960--><p class="noindent" >Search <span + <!--l. 1976--><p class="noindent" >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. 1965--><p class="noindent" > +<!--l. 1981--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">8.2 </span> <a - id="x1-630008.2"></a>Filename databases</h4> -<!--l. 1968--><p class="noindent" >Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with + id="x1-620008.2"></a>Filename databases</h4> +<!--l. 1984--><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. 1976--><p class="indent" > A second database file <span +<!--l. 1992--><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. 1980--><p class="noindent" > +<!--l. 1996--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.1 </span> <a - id="x1-640008.2.1"></a>The filename database</h5> -<!--l. 1983--><p class="noindent" >As explained above, the name of the main filename database must be <span + id="x1-630008.2.1"></a>The filename database</h5> +<!--l. 1999--><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 @@ -4250,13 +4268,13 @@ class="ec-lmtt-10">$TEXMF </span>by default). Kpathsea looks for <span class="ec-lmtt-10">ls-R </span>files along the <span class="ec-lmtt-10">TEXMFDBS </span>path. -<!--l. 1989--><p class="indent" > The recommended way to create and maintain ‘<span +<!--l. 2005--><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. 1993--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2009--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">cd</span><span class="ec-lmtt-10"> </span><span @@ -4277,15 +4295,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. 2002--><p class="indent" > If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a particular +<!--l. 2018--><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. 2008--><p class="noindent" > +<!--l. 2024--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.2 </span> <a - id="x1-650008.2.2"></a>kpsewhich: Standalone path searching</h5> -<!--l. 2011--><p class="noindent" >The <span + id="x1-640008.2.2"></a>kpsewhich: Standalone path searching</h5> +<!--l. 2027--><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 @@ -4293,7 +4311,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. 2016--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2032--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4310,18 +4328,18 @@ 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. 2022--><p class="indent" > Kpathsea looks up each non-option argument on the command line as a filename, and returns the first file +<!--l. 2038--><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. 2027--><p class="indent" > The most common options are described next. -<!--l. 2029--><p class="noindent" > +<!--l. 2043--><p class="indent" > The most common options are described next. +<!--l. 2045--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--dpi=</span><span class="ec-lmro-10">num</span> </dt><dd class="list"> - <!--l. 2030--><p class="noindent" > Set the resolution to <span + <!--l. 2046--><p class="noindent" > Set the resolution to <span class="ec-lmro-10">num</span>; this only affects ‘<span class="ec-lmtt-10">gf</span>’ and ‘<span class="ec-lmtt-10">pk</span>’ lookups. ‘<span @@ -4335,7 +4353,7 @@ class="ec-lmss-10">dvips</span>. Default is 600. class="ec-lmtt-10">--format=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> - <!--l. 2035--><p class="noindent" ><br + <!--l. 2051--><p class="noindent" ><br class="newline" />Set the format for lookup to <span class="ec-lmro-10">name</span>. By default, the format is guessed from the filename. For formats which do not have an associated unambiguous suffix, such as MetaPost support files and @@ -4351,7 +4369,7 @@ class="ec-lmtt-10">kpsewhich --help </span>for a list. class="ec-lmtt-10">--mode=</span><span class="ec-lmro-10">string</span> </dt><dd class="list"> - <!--l. 2043--><p class="noindent" ><br + <!--l. 2059--><p class="noindent" ><br class="newline" />Set the mode name to <span class="ec-lmro-10">string</span>; this only affects ‘<span class="ec-lmtt-10">gf</span>’ and ‘<span @@ -4361,7 +4379,7 @@ class="ec-lmtt-10">pk</span>’ lookups. No default: any mode will <span class="ec-lmtt-10">--must-exist</span> </dt><dd class="list"> - <!--l. 2046--><p class="noindent" ><br + <!--l. 2062--><p class="noindent" ><br class="newline" />Do everything possible to find the files, notably including searching the disk. By default, only the <span class="ec-lmtt-10">ls-R </span>database is checked, in the interest of efficiency. @@ -4370,7 +4388,7 @@ class="ec-lmtt-10">ls-R </span>database is checked, in the interest of efficienc class="ec-lmtt-10">--path=</span><span class="ec-lmro-10">string</span> </dt><dd class="list"> - <!--l. 2050--><p class="noindent" ><br + <!--l. 2066--><p class="noindent" ><br class="newline" />Search along the path <span class="ec-lmro-10">string </span>(colon-separated as usual), instead of guessing the search path from the filename. ‘<span @@ -4383,7 +4401,7 @@ class="ec-lmtt-10">--format</span>’ class="ec-lmtt-10">--progname=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> - <!--l. 2055--><p class="noindent" ><br + <!--l. 2071--><p class="noindent" ><br class="newline" />Set the program name to <span class="ec-lmro-10">name</span>. This can affect the search paths via the <span class="ec-lmtt-10">.</span><span @@ -4395,7 +4413,7 @@ class="ec-lmss-10">kpsewhich</span>. class="ec-lmtt-10">--show-path=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> - <!--l. 2060--><p class="noindent" ><br + <!--l. 2076--><p class="noindent" ><br class="newline" />shows the path used for file lookups of file type <span class="ec-lmro-10">name</span>. Either a filename extension (<span class="ec-lmtt-10">.pk</span>, <span @@ -4407,15 +4425,15 @@ class="ec-lmtt-10">--format</span>’ option. class="ec-lmtt-10">--debug=</span><span class="ec-lmro-10">num</span> </dt><dd class="list"> - <!--l. 2064--><p class="noindent" ><br + <!--l. 2080--><p class="noindent" ><br class="newline" />sets the debugging options to <span class="ec-lmro-10">num</span>.</dd></dl> -<!--l. 2069--><p class="noindent" > +<!--l. 2085--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.3 </span> <a - id="x1-660008.2.3"></a>Examples of use</h5> -<!--l. 2072--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search: + id="x1-650008.2.3"></a>Examples of use</h5> +<!--l. 2088--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search: <div class="alltt"> -<!--l. 2074--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2090--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4439,7 +4457,7 @@ class="E">E</span>X</span> Live directory. Similarly, all of the followin problems thanks to their unambiguous suffix. <div class="alltt"> -<!--l. 2084--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2100--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4487,10 +4505,10 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib</span> </div> </div> -<!--l. 2097--><p class="indent" > By the way, that last is a BibTeX bibliography database for <span +<!--l. 2113--><p class="indent" > By the way, that last is a BibTeX bibliography database for <span class="ec-lmro-10">TUGboat </span>articles. <div class="alltt"> -<!--l. 2100--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2116--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4505,7 +4523,7 @@ 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. 2107--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2123--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4521,7 +4539,7 @@ 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. 2117--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2133--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4537,7 +4555,7 @@ class="ec-lmss-10">xdvi </span>would go off and actually build the required <spa class="ec-lmtt-10">.pk</span> files using the script <span class="ec-lmss-10">mktexpk</span>. -<!--l. 2126--><p class="indent" > Next we turn our attention to <span +<!--l. 2142--><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 prologue <span class="ec-lmtt-10">tex.pro </span>for <span class="TEX">T<span @@ -4552,7 +4570,7 @@ 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. 2135--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2151--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4586,11 +4604,11 @@ class="ec-lmtt-10"> /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map</ </div> </div> -<!--l. 2144--><p class="indent" > We now take a closer look at the URW Times PostScript support files. The prefix for these in the standard +<!--l. 2160--><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. 2148--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2164--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4604,7 +4622,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. 2153--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2169--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span @@ -4612,7 +4630,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. 2158--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2174--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4625,7 +4643,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. 2165--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2181--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">utmb8r</span><span class="ec-lmtt-10"> </span><span @@ -4673,7 +4691,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. 2176--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2192--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4685,21 +4703,21 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb</span> </div> </div> -<!--l. 2183--><p class="indent" > It should be evident from these examples how you can easily locate the whereabouts of a given file. This is +<!--l. 2199--><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. 2188--><p class="noindent" > +<!--l. 2204--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.4 </span> <a - id="x1-670008.2.4"></a>Debugging actions</h5> -<!--l. 2191--><p class="noindent" >Sometimes it is necessary to investigate how a program resolves file references. To make this practical, + id="x1-660008.2.4"></a>Debugging actions</h5> +<!--l. 2207--><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. 2195--><p class="noindent" > +<!--l. 2211--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10"> 1</span> </dt><dd class="list"> - <!--l. 2196--><p class="noindent" ><span + <!--l. 2212--><p class="noindent" ><span class="ec-lmtt-10">stat </span>calls (disk lookups). When running with an up-to-date <span class="ec-lmtt-10">ls-R </span>database this should almost give no output. @@ -4709,49 +4727,49 @@ class="ec-lmtt-10">ls-R </span>database this should almost <span class="ec-lmtt-10"> 2</span> </dt><dd class="list"> - <!--l. 2199--><p class="noindent" >References to hash tables (such as <span + <!--l. 2215--><p class="noindent" >References to hash tables (such as <span class="ec-lmtt-10">ls-R </span>databases, map files, configuration files). </dd><dt class="list"> <span class="ec-lmtt-10"> 4</span> </dt><dd class="list"> - <!--l. 2201--><p class="noindent" >File open and close operations. + <!--l. 2217--><p class="noindent" >File open and close operations. </dd><dt class="list"> <span class="ec-lmtt-10"> 8</span> </dt><dd class="list"> - <!--l. 2202--><p class="noindent" >General path information for file types searched by Kpathsea. This is useful to find out where a + <!--l. 2218--><p class="noindent" >General path information for file types searched by Kpathsea. This is useful to find out where a particular path for the file was defined. </dd><dt class="list"> <span class="ec-lmtt-10">16</span> </dt><dd class="list"> - <!--l. 2205--><p class="noindent" >Directory list for each path element (only relevant for searches on disk). + <!--l. 2221--><p class="noindent" >Directory list for each path element (only relevant for searches on disk). </dd><dt class="list"> <span class="ec-lmtt-10">32</span> </dt><dd class="list"> - <!--l. 2207--><p class="noindent" >File searches. + <!--l. 2223--><p class="noindent" >File searches. </dd><dt class="list"> <span class="ec-lmtt-10">64</span> </dt><dd class="list"> - <!--l. 2208--><p class="noindent" >Variable values.</dd></dl> -<!--l. 2210--><p class="noindent" >A value of <span + <!--l. 2224--><p class="noindent" >Variable values.</dd></dl> +<!--l. 2226--><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. 2213--><p class="indent" > Similarly, with the <span +<!--l. 2229--><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. 2219--><p class="indent" > Generally speaking, as most programs call the Kpathsea library internally, one can select a debug option by +<!--l. 2235--><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. 2224--><p class="indent" > (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic +<!--l. 2240--><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. 2228--><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. 2244--><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. @@ -4759,18 +4777,18 @@ input. <div class="verbatim" id="verbatim-4"> <div class="fancyvrb" id="fancyvrb17"><a - id="x1-67002r1"></a>    \documentclass{article}<br class="fancyvrb" /><a - id="x1-67004r2"></a>    \begin{document}<br class="fancyvrb" /><a - id="x1-67006r3"></a>    Hello World!<br class="fancyvrb" /><a - id="x1-67008r4"></a>    \end{document}</div> + id="x1-66002r1"></a>    \documentclass{article}<br class="fancyvrb" /><a + id="x1-66004r2"></a>    \begin{document}<br class="fancyvrb" /><a + id="x1-66006r3"></a>    Hello World!<br class="fancyvrb" /><a + id="x1-66008r4"></a>    \end{document}</div> </div> -<!--l. 2235--><p class="nopar" >This little file only uses the font <span +<!--l. 2251--><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. 2239--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2255--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4786,11 +4804,11 @@ class="ec-lmss-10">dvips</span>’s debug class 4 (font paths) with Kpathsea class="ec-lmss-10">dvips </span>Reference Manual, <a href="../../../../texmf/doc/dvips/dvips.pdf" >texmf/doc/dvips/dvips.pdf</a>). The output (slightly rearranged) appears in Figure <a -href="#x1-67031r12">12<!--tex4ht:ref: fig:dvipsdbga --></a>. -<!--l. 2247--><p class="indent" > <a - id="x1-67031r12"></a><a - id="x1-67036r13"></a><a - id="x1-67049r14"></a><hr class="float"><div class="float" +href="#x1-66031r12">12<!--tex4ht:ref: fig:dvipsdbga --></a>. +<!--l. 2263--><p class="indent" > <a + id="x1-66031r12"></a><a + id="x1-66036r13"></a><a + id="x1-66049r14"></a><hr class="float"><div class="float" > @@ -4864,7 +4882,7 @@ class="ec-lmtt-9">kdebug:search(config.cms)</span><br /><span class="ec-lmtt-9">=>/usr/local/texmf/dvips/cms/config.cms</span></div> <div class="caption" ><span class="id">Figure 12: </span><span -class="content">Finding configuration files</span></div><!--tex4ht:label?: x1-67031r12 --> +class="content">Finding configuration files</span></div><!--tex4ht:label?: x1-66031r12 --> <div class="BVerbatimInput"><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=texc.pro,</span><span @@ -4884,7 +4902,7 @@ class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span></div> <div class="caption" ><span class="id">Figure 13: </span><span -class="content">Finding the prolog file</span></div><!--tex4ht:label?: x1-67036r13 --> +class="content">Finding the prolog file</span></div><!--tex4ht:label?: x1-66036r13 --> <div class="BVerbatimInput"><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=cmr10.tfm,</span><span @@ -4929,11 +4947,11 @@ class="ec-lmtt-9"> /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb</span class="ec-lmtt-9"><cmr10.pfb>[1]</span></div> <div class="caption" ><span class="id">Figure 14: </span><span -class="content">Finding the font file</span></div><!--tex4ht:label?: x1-67049r14 --> +class="content">Finding the font file</span></div><!--tex4ht:label?: x1-66049r14 --> </div><hr class="endfloat" /> -<!--l. 2263--><p class="indent" > <span +<!--l. 2279--><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 @@ -4955,7 +4973,7 @@ class="ec-lmss-10">dvips </span>command). This file contains the list of the map files 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. 2277--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2293--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span @@ -4986,11 +5004,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-660008.2.3">8.2.3<!--tex4ht:ref: sec:examples-of-use --></a> for more details +href="#x1-650008.2.3">8.2.3<!--tex4ht:ref: sec:examples-of-use --></a> for more details about PostScript map file handling). -<!--l. 2290--><p class="indent" > At this point <span +<!--l. 2306--><p class="indent" > At this point <span class="ec-lmss-10">dvips </span>identifies itself to the user: <div class="alltt"> -<!--l. 2291--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2307--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span @@ -5005,7 +5023,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. 2296--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2312--><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 @@ -5028,13 +5046,13 @@ class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span> </div> </div> -<!--l. 2307--><p class="indent" > After having found the file in question, <span +<!--l. 2323--><p class="indent" > After having found the file in question, <span class="ec-lmss-10">dvips </span>outputs the 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. 2312--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2328--><p class="noindent" ><div class="obeylines-v"> <br /><span class="ec-lmtt-9">TeX</span><span class="ec-lmtt-9"> output</span><span @@ -5060,7 +5078,7 @@ class="ec-lmtt-10">cmr10.tfm</span>, which is found, then a few more prolog file referenced, and finally the Type 1 instance <span class="ec-lmtt-10">cmr10.pfb </span>of the font is located and included in the output file (see last line). <div class="alltt"> -<!--l. 2321--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2337--><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 @@ -5119,18 +5137,18 @@ class="ec-lmtt-9"><cmr10.pfb>[1]</span> </div> </div> <h4 class="subsectionHead"><span class="titlemark">8.3 </span> <a - id="x1-680008.3"></a>Runtime options</h4> -<!--l. 2338--><p class="noindent" >Another useful feature of Web2C is its possibility to control a number of memory parameters (in particular, + id="x1-670008.3"></a>Runtime options</h4> +<!--l. 2354--><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. 2344--><p class="noindent" > +<!--l. 2360--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">main_memory</span> </dt><dd class="list"> - <!--l. 2345--><p class="noindent" >Total words of memory available, for <span class="TEX">T<span + <!--l. 2361--><p class="noindent" >Total words of memory available, for <span class="TEX">T<span class="E">E</span>X</span>, Metafont and MetaPost. You must make a new format file for each different setting. For instance, you could generate a “huge” version of <span class="TEX">T<span class="E">E</span>X</span>, and call @@ -5143,7 +5161,7 @@ class="ec-lmtt-10">texmf.cnf</span>. <span class="ec-lmtt-10">extra_mem_bot</span> </dt><dd class="list"> - <!--l. 2353--><p class="noindent" >Extra space for “large” <span class="TEX">T<span + <!--l. 2369--><p class="noindent" >Extra space for “large” <span class="TEX">T<span class="E">E</span>X</span> data structures: boxes, glue, breakpoints, etc. Especially useful if you use PI C<span class="TEX">T<span class="E">E</span>X</span>. @@ -5151,27 +5169,27 @@ class="E">E</span>X</span>. <span class="ec-lmtt-10">font_mem_size</span> </dt><dd class="list"> - <!--l. 2357--><p class="noindent" >Number of words for font information available for <span class="TEX">T<span + <!--l. 2373--><p class="noindent" >Number of words for font information available for <span class="TEX">T<span class="E">E</span>X</span>. This is more or less the total size of all TFM files read. </dd><dt class="list"> <span class="ec-lmtt-10">hash_extra</span> </dt><dd class="list"> - <!--l. 2360--><p class="noindent" >Additional space for the hash table of control sequence names. Only <span + <!--l. 2376--><p class="noindent" >Additional space for the hash table of control sequence names. Only <span class="lmsy-10">≈</span>10,000 control sequences can be stored in the main hash table; if you have a large book with numerous cross-references, this might not be enough. The default value of <span class="ec-lmtt-10">hash_extra </span>is <span class="ec-lmtt-10">50000</span>.</dd></dl> -<!--l. 2368--><p class="noindent" >Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these are +<!--l. 2384--><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. 2476--><p class="indent" > <a id="ack"></a> +<!--l. 2492--><p class="indent" > <a id="ack"></a> <h3 class="sectionHead"><span class="titlemark">9 </span> <a - id="x1-690009"></a>Acknowledgements</h3> -<!--l. 2479--><p class="noindent" ><span class="TEX">T<span + id="x1-680009"></a>Acknowledgements</h3> +<!--l. 2495--><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 overseen by @@ -5335,7 +5353,7 @@ class="E">E</span>X</span> Live, and coordinator of the many <li class="itemize">Graham Williams, on whose work the <span class="TEX">T<span class="E">E</span>X</span> Catalogue of packages depends. </li></ul> -<!--l. 2602--><p class="indent" > Builders of the binaries: Alan Braslau (<span +<!--l. 2618--><p class="indent" > Builders of the binaries: Alan Braslau (<span class="ec-lmss-10">amd64-kfreebsd</span>, <span class="ec-lmss-10">i386-kfreebsd</span>), Peter Breitenlohner (<span class="ec-lmss-10">x86_64-linux</span>), @@ -5363,23 +5381,23 @@ class="E">E</span>X</span> Live build process, see <a href="http://tug.org/texlive/build.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/build.html</span></a>. -<!--l. 2619--><p class="indent" > Current documentation translators: Boris Veytsman (Russian), Jjgod Jiang, Jinsong Zhao, Yue Wang, & +<!--l. 2635--><p class="indent" > Current documentation translators: Boris Veytsman (Russian), Jjgod Jiang, Jinsong Zhao, Yue Wang, & Helin Gai (Chinese), Klaus Höppner (German), Manuel Pégourié-Gonnard (French), Marco Pallante (Italian), Nikola Lečić (Serbian), Petr Sojka & Jan Busa (Czech/Slovak), Staszek Wawrykiewicz (Polish). The <span class="TEX">T<span class="E">E</span>X</span> Live documentation web page is <a href="http://tug.org/texlive/doc.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/doc.html</span></a>. -<!--l. 2630--><p class="indent" > Of course the most important acknowledgement must go to Donald Knuth, first for inventing <span class="TEX">T<span +<!--l. 2646--><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. 2635--><p class="noindent" > +<!--l. 2651--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">10 </span> <a - id="x1-7000010"></a>Release history</h3> -<!--l. 2638--><p class="noindent" > + id="x1-6900010"></a>Release history</h3> +<!--l. 2654--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">10.1 </span> <a - id="x1-7100010.1"></a>Past</h4> -<!--l. 2640--><p class="noindent" >Discussion began in late 1993 when the Dutch <span class="TEX">T<span + id="x1-7000010.1"></a>Past</h4> +<!--l. 2656--><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 too @@ -5403,7 +5421,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. 2656--><p class="indent" > We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified +<!--l. 2672--><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 @@ -5423,7 +5441,7 @@ included almost all of its features. The 4th edition followed the same pattern, of 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. 2672--><p class="indent" > For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds of +<!--l. 2688--><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 non-free software was removed. Everything in <span class="TEX">T<span @@ -5433,19 +5451,19 @@ href="http://www.debian.org/intro/free" class="url" ><span class="ec-lmtt-10">http://www.debian.org/intro/free</span></a>); we have done our best to check the license conditions of all packages, but we would very much appreciate hearing of any mistakes. -<!--l. 2681--><p class="indent" > The 6th edition (July 2001) had much more material updated. The major change was a new install concept: +<!--l. 2697--><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. 2687--><p class="indent" > The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of updates to +<!--l. 2703--><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. 2692--><p class="noindent" > +<!--l. 2708--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.1 </span> <a - id="x1-7200010.1.1"></a>2003</h5> -<!--l. 2694--><p class="noindent" >In 2003, with the continuing flood of updates and additions, we found that <span class="TEX">T<span + id="x1-7100010.1.1"></a>2003</h5> +<!--l. 2710--><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 href="#x1-90002.1">2.1<!--tex4ht:ref: sec:tl-coll-dists --></a>, @@ -5502,16 +5520,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. 2732--><p class="noindent" > +<!--l. 2748--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.2 </span> <a - id="x1-7300010.1.2"></a>2004</h5> -<!--l. 2734--><p class="noindent" >2004 saw many changes: + id="x1-7200010.1.2"></a>2004</h5> +<!--l. 2750--><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. 2742--><p class="noindent" ><span + <!--l. 2758--><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), along @@ -5522,7 +5540,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. 2749--><p class="noindent" >For methods of handling this and other information, please see + <!--l. 2765--><p class="noindent" >For methods of handling this and other information, please see <a href="http://tug.org/texlive/mapenc.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/mapenc.html</span></a>. @@ -5598,7 +5616,7 @@ class="E">E</span>X</span>t, etc., as well as the e-<span class="TEX">T<sp class="E">E</span>X</span> features (<a href="../../../../texmf-dist/doc/etex/base/" >texmf-dist/doc/etex/base/</a>). - <!--l. 2796--><p class="noindent" >It also means it’s <span + <!--l. 2812--><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 @@ -5649,10 +5667,10 @@ class="ec-lmss-10">mpost</span>) now accepts double quotes containing spaces and <div class="verbatim" id="verbatim-5"> <div class="fancyvrb" id="fancyvrb18"><a - id="x1-73002r1"></a>  \input "filename with spaces"   % plain<br class="fancyvrb" /><a - id="x1-73004r2"></a>  \input{"filename with spaces"}  % latex</div> + id="x1-72002r1"></a>  \input "filename with spaces"   % plain<br class="fancyvrb" /><a + id="x1-72004r2"></a>  \input{"filename with spaces"}  % latex</div> </div> - <!--l. 2830--><p class="nopar" >See the Web2C manual for more: <a + <!--l. 2846--><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 @@ -5727,10 +5745,10 @@ class="ec-lmss-10">t1utils </span>programs. This is because they are compiled wi class="ec-lmss-10">mips-irix</span>, the MIPSpro 7.4 runtimes are required. </li></ul> -<!--l. 2881--><p class="noindent" > +<!--l. 2897--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.3 </span> <a - id="x1-7400010.1.3"></a>2005</h5> -<!--l. 2883--><p class="noindent" >2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed relatively + id="x1-7300010.1.3"></a>2005</h5> +<!--l. 2899--><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 @@ -5784,9 +5802,9 @@ class="ec-lmtt-10">^^</span></span></span> notation if you so desire, <div class="verbatim" id="verbatim-6"> <div class="fancyvrb" id="fancyvrb19"><a - id="x1-74002r1"></a>  latex --translate-file=empty.tcx yourfile.tex</div> + id="x1-73002r1"></a>  latex --translate-file=empty.tcx yourfile.tex</div> </div> - <!--l. 2920--><p class="nopar" > + <!--l. 2936--><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 maintained @@ -5811,10 +5829,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. 2942--><p class="noindent" > +<!--l. 2958--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.4 </span> <a - id="x1-7500010.1.4"></a>2006–2007</h5> -<!--l. 2944--><p class="noindent" >In 2006–2007, the major new addition to <span class="TEX">T<span + id="x1-7400010.1.4"></a>2006–2007</h5> +<!--l. 2960--><p class="noindent" >In 2006–2007, 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 @@ -5822,14 +5840,14 @@ class="ec-lmtt-10">xetex </span>and class="ec-lmtt-10">xelatex </span>programs; see <a href="http://scripts.sil.org/xetex" class="url" ><span class="ec-lmtt-10">http://scripts.sil.org/xetex</span></a>. -<!--l. 2948--><p class="indent" > MetaPost also received a notable update, with more planned for the future (<a +<!--l. 2964--><p class="indent" > MetaPost also received a notable update, with more planned for the future (<a href="http://tug.org/metapost/articles" class="url" ><span class="ec-lmtt-10">http://tug.org/metapost/articles</span></a>), likewise pdf<span class="TEX">T<span class="E">E</span>X</span> (<a href="http://tug.org/applications/pdftex" class="url" ><span class="ec-lmtt-10">http://tug.org/applications/pdftex</span></a>). -<!--l. 2952--><p class="indent" > The <span class="TEX">T<span +<!--l. 2968--><p class="indent" > The <span class="TEX">T<span class="E">E</span>X</span> <span class="ec-lmtt-10">.fmt </span>(high-speed format) and the similar files for MetaPost and Metafont are now stored in subdirectories of <span @@ -5840,21 +5858,21 @@ class="ec-lmtt-10">tex </span>or <span class="ec-lmtt-10">pdftex </span>or <span class="ec-lmtt-10">xetex</span>. This change should be invisible in normal use. -<!--l. 2960--><p class="indent" > The (plain) <span +<!--l. 2976--><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. 2964--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, +<!--l. 2980--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check CTAN (<a href="http://www.ctan.org" class="url" ><span class="ec-lmtt-10">http://www.ctan.org</span></a>) for updates. -<!--l. 2968--><p class="indent" > Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the tree, +<!--l. 2984--><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. 2973--><p class="indent" > Finally, in May 2006 Thomas Esser announced that he would no longer be updating te<span class="TEX">T<span +<!--l. 2989--><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> (<a href="http://tug.org/tetex" class="url" ><span @@ -5866,78 +5884,78 @@ 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. 2981--><p class="noindent" > +<!--l. 2997--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.5 </span> <a - id="x1-7600010.1.5"></a>2008</h5> -<!--l. 2983--><p class="noindent" >In 2008, the entire <span class="TEX">T<span + id="x1-7500010.1.5"></a>2008</h5> +<!--l. 2999--><p class="noindent" >In 2008, the entire <span class="TEX">T<span class="E">E</span>X</span> Live infrastructure was redesigned and reimplemented. Complete information about an installation is now stored in a plain text file <span class="ec-lmtt-10">tlpkg/texlive.tlpdb</span>. -<!--l. 2987--><p class="indent" > Among other things, this finally makes possible upgrading a <span class="TEX">T<span +<!--l. 3003--><p class="indent" > Among other things, this finally makes possible upgrading a <span class="TEX">T<span class="E">E</span>X</span> Live installation over the Internet after the initial installation, a feature MiK<span class="TEX">T<span class="E">E</span>X</span> has provided for many years. We expect to regularly update new packages as they are released to CTAN. -<!--l. 2992--><p class="indent" > The major new engine Lua<span class="TEX">T<span +<!--l. 3008--><p class="indent" > The major new engine Lua<span class="TEX">T<span class="E">E</span>X</span> (<a href="http://luatex.org" class="url" ><span class="ec-lmtt-10">http://luatex.org</span></a>) is included; besides a new level of flexibility in typesetting, this provides an excellent scripting language for use both inside and outside of <span class="TEX">T<span class="E">E</span>X</span> documents. -<!--l. 2997--><p class="indent" > Support among Windows and the Unix-based platforms is now much more uniform. In particular, most +<!--l. 3013--><p class="indent" > Support among Windows and the Unix-based platforms is now much more uniform. In particular, most Perl and Lua scripts are now available on Windows, using the Perl internally distributed with <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 3001--><p class="indent" > The new <span +<!--l. 3017--><p class="indent" > The new <span class="ec-lmss-10">tlmgr </span>script (section <a -href="#x1-450006">6<!--tex4ht:ref: sec:tlmgr --></a>) is the general interface for managing <span class="TEX">T<span +href="#x1-430006">6<!--tex4ht:ref: sec:tlmgr --></a>) is the general interface for managing <span class="TEX">T<span class="E">E</span>X</span> Live after the initial installation. It handles package updates and consequent regeneration of formats, map files, and language files, optionally including local additions. -<!--l. 3006--><p class="indent" > With the advent of <span +<!--l. 3022--><p class="indent" > With the advent of <span class="ec-lmss-10">tlmgr</span>, the <span class="ec-lmss-10">texconfig </span>actions to edit the format and hyphenation configuration files are now disabled. -<!--l. 3009--><p class="indent" > The <span +<!--l. 3025--><p class="indent" > The <span class="ec-lmss-10">xindy </span>indexing program (<a href="http://xindy.sourceforge.net/" class="url" ><span class="ec-lmtt-10">http://xindy.sourceforge.net/</span></a>) is now included on most platforms. -<!--l. 3012--><p class="indent" > The <span +<!--l. 3028--><p class="indent" > The <span class="ec-lmss-10">kpsewhich </span>tool can now report all matches for a given file (option <span class="ec-lmtt-10">–all</span>) and limit matches to a given subdirectory (option <span class="ec-lmtt-10">–subdir</span>). -<!--l. 3016--><p class="indent" > The <span +<!--l. 3032--><p class="indent" > The <span class="ec-lmss-10">dvipdfmx </span>program now includes functionality to extract bounding box information, via the command name <span class="ec-lmss-10">extractbb</span>; this was one of the last features provided by <span class="ec-lmss-10">dvipdfm </span>not in <span class="ec-lmss-10">dvipdfmx</span>. -<!--l. 3021--><p class="indent" > The font aliases <span +<!--l. 3037--><p class="indent" > The font aliases <span class="ec-lmtt-10">Times-Roman</span>, <span class="ec-lmtt-10">Helvetica</span>, and so on have been removed. Different packages expected them to behave differently (in particular, to have different encodings), and there was no good way to resolve this. -<!--l. 3026--><p class="indent" > The <span +<!--l. 3042--><p class="indent" > The <span class="ec-lmss-10">platex </span>format has been removed, to resolve a name conflict with a completely different Japanese <span class="ec-lmss-10">platex</span>; the <span class="ec-lmss-10">polski </span>package is now the main Polish support. -<!--l. 3030--><p class="indent" > Internally, the <span +<!--l. 3046--><p class="indent" > Internally, the <span class="ec-lmtt-10">WEB</span> string pool files are now compiled into the binaries, to ease upgrades. -<!--l. 3033--><p class="indent" > Finally, the changes made by Donald Knuth in his ‘<span class="TEX">T<span +<!--l. 3049--><p class="indent" > Finally, the changes made by Donald Knuth in his ‘<span class="TEX">T<span class="E">E</span>X</span> tuneup of 2008’ are included in this release. See <a href="http://tug.org/TUGboat/Articles/tb29-2/tb92knut.pdf" class="url" ><span class="ec-lmtt-10">http://tug.org/TUGboat/Articles/tb29-2/tb92knut.pdf</span></a>. -<!--l. 3037--><p class="noindent" > +<!--l. 3053--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.6 </span> <a - id="x1-7700010.1.6"></a>2009</h5> -<!--l. 3039--><p class="noindent" >In 2009, the default output format for Lua(L<span + id="x1-7600010.1.6"></a>2009</h5> +<!--l. 3055--><p class="noindent" >In 2009, the default output format for Lua(L<span class="ec-lmr-7">A</span> )<span class="TEX">T<span class="E">E</span>X</span> is now PDF, to take advantage of Lua<span class="TEX">T<span class="E">E</span>X</span>’s OpenType @@ -5949,9 +5967,9 @@ Lua<span class="TEX">T<span class="E">E</span>X</span> home page is <a href="http://luatex.org" class="url" ><span class="ec-lmtt-10">http://luatex.org</span></a>. -<!--l. 3044--><p class="indent" > The original Omega engine and Lambda format have been excised, after discussions with the Omega +<!--l. 3060--><p class="indent" > The original Omega engine and Lambda format have been excised, after discussions with the Omega authors. The updated Aleph and Lamed remain, as do the Omega utilities. -<!--l. 3048--><p class="indent" > A new release of the AMS Type 1 fonts is included, including Computer Modern: a few shape +<!--l. 3064--><p class="indent" > A new release of the AMS Type 1 fonts is included, including Computer Modern: a few shape changes made over the years by Knuth in the Metafont sources have been integrated, and the hinting has been updated. The Euler fonts have been thoroughly reshaped by Hermann Zapf (see <a @@ -5960,7 +5978,7 @@ class="ec-lmtt-10">http://tug.org/TUGboat/Articles/tb29-2/tb92hagen-euler.pdf</s unchanged. The AMS fonts home page is <a href="http://www.ams.org/tex/amsfonts.html" class="url" ><span class="ec-lmtt-10">http://www.ams.org/tex/amsfonts.html</span></a>. -<!--l. 3056--><p class="indent" > The new GUI front end <span class="TEX">T<span +<!--l. 3072--><p class="indent" > The new GUI front end <span class="TEX">T<span class="E">E</span>X</span>works is included for Windows, and also in Mac<span class="TEX">T<span class="E">E</span>X</span>. For other platforms, and more information, see the <span class="TEX">T<span @@ -5968,12 +5986,12 @@ class="E">E</span>X</span>works home page, <a href="http://tug.org/texworks" class="url" ><span class="ec-lmtt-10">http://tug.org/texworks</span></a>. It is a cross-platform front end inspired by the Mac OS X TeXShop editor, aiming at ease-of-use. -<!--l. 3061--><p class="indent" > The graphics program Asymptote is included for several platforms. This implements a text-based graphics +<!--l. 3077--><p class="indent" > The graphics program Asymptote is included for several platforms. This implements a text-based graphics description language vaguely akin to MetaPost, but with advanced 3D support and other features. Its home page is <a href="http://asymptote.sourceforge.net" class="url" ><span class="ec-lmtt-10">http://asymptote.sourceforge.net</span></a>. -<!--l. 3066--><p class="indent" > The separate <span +<!--l. 3082--><p class="indent" > The separate <span class="ec-lmtt-10">dvipdfm </span>program has been replaced by <span class="ec-lmtt-10">dvipdfmx</span>, which operates in a special compatibility mode under that name. <span @@ -5982,13 +6000,13 @@ since the last <span class="ec-lmtt-10">dvipdfm </span>release. The DVIPDFMx home page is <a href="http://project.ktug.or.kr/dvipdfmx" class="url" ><span class="ec-lmtt-10">http://project.ktug.or.kr/dvipdfmx</span></a>. -<!--l. 3073--><p class="indent" > Executables for the <span +<!--l. 3089--><p class="indent" > Executables for the <span class="ec-lmss-10">cygwin </span>and <span class="ec-lmss-10">i386-netbsd </span>platforms are now included, while we were advised that OpenBSD users get <span class="TEX">T<span class="E">E</span>X</span> through their package systems, plus there were difficulties in making binaries that have a chance of working on more than one version. -<!--l. 3078--><p class="indent" > A miscellany of smaller changes: we now use <span +<!--l. 3094--><p class="indent" > A miscellany of smaller changes: we now use <span class="ec-lmss-10">xz </span>compression, the stable replacement for <span class="ec-lmss-10">lzma</span> (<a @@ -5998,15 +6016,15 @@ class="ec-lmtt-10">$</span></span></span> is allowed in filenames when it does n name; the Kpathsea library is now multi-threaded (made use of in MetaPost); the entire <span class="TEX">T<span class="E">E</span>X</span> Live build is now based on Automake. -<!--l. 3085--><p class="indent" > Final note on the past: all releases of <span class="TEX">T<span +<!--l. 3101--><p class="indent" > Final note on the past: all releases of <span class="TEX">T<span class="E">E</span>X</span> Live, along with ancillary material such as CD labels, are available at <a href="ftp://tug.org/historic/systems/texlive" class="url" ><span class="ec-lmtt-10">ftp://tug.org/historic/systems/texlive</span></a>. -<!--l. 3091--><p class="indent" > <a id="news"></a> +<!--l. 3107--><p class="indent" > <a id="news"></a> <h4 class="subsectionHead"><span class="titlemark">10.2 </span> <a - id="x1-7800010.2"></a>Present</h4> -<!--l. 3096--><p class="noindent" >In 2010, the default version for PDF output is now 1.5, enabling more compression. This applies to all the + id="x1-7700010.2"></a>Present</h4> +<!--l. 3112--><p class="noindent" >In 2010, the default version for PDF output is now 1.5, enabling more compression. This applies to all the <span class="TEX">T<span class="E">E</span>X</span> engines when used to produce PDF and to <span class="ec-lmtt-10">dvipdfmx</span>. Loading the <span @@ -6016,7 +6034,7 @@ to PDF 1.4, or set <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\pdfminorversion=4</span></span></span>. -<!--l. 3101--><p class="indent" > pdf(L<span +<!--l. 3117--><p class="indent" > pdf(L<span class="ec-lmr-7">A</span> )<span class="TEX">T<span class="E">E</span>X</span> now <span class="ec-lmri-10">automatically </span>converts a requested Encapsulated PostScript (EPS) file to PDF, via the @@ -6037,7 +6055,7 @@ class="ec-lmss-10">epstopdf </span>package documentation (<a href="http://ctan.org/pkg/epstopdf-pkg" class="url" ><span class="ec-lmtt-10">http://ctan.org/pkg/epstopdf-pkg</span></a>). -<!--l. 3113--><p class="indent" > A related change is that execution of a very few external commands from <span class="TEX">T<span +<!--l. 3129--><p class="indent" > A related change is that execution of a very few external commands from <span class="TEX">T<span class="E">E</span>X</span>, via the <span class="ec-lmtt-10">\write18 </span>feature, is now enabled by default. These are commands are <span @@ -6056,7 +6074,7 @@ class="ec-lmtt-10"> conf</span><span class="ec-lmtt-10"> texmf</span><span class="ec-lmtt-10"> shell_escape</span><span class="ec-lmtt-10"> 0</span></span></span>. -<!--l. 3122--><p class="indent" > Yet another related change is that BibTeX and Makeindex now refuse to write their output files to an +<!--l. 3138--><p class="indent" > Yet another related change is that BibTeX and Makeindex now refuse to write their output files to an arbitrary directory (like <span class="TEX">T<span class="E">E</span>X</span> itself), by default. This is so they can now be enabled for use by the restricted <span @@ -6064,18 +6082,18 @@ class="ec-lmtt-10">\write18</span>. To change this, the <span class="ec-lmtt-10">TEXMFOUTPUT </span>environment variable can be set, or the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">openout_any</span></span></span> setting changed. -<!--l. 3128--><p class="indent" > Xe<span class="TEX">T<span +<!--l. 3144--><p class="indent" > Xe<span class="TEX">T<span class="E">E</span>X</span> now supports margin kerning along the same lines as pdf<span class="TEX">T<span class="E">E</span>X</span>. (Font expansion is not presently supported.) -<!--l. 3131--><p class="indent" > By default, <span +<!--l. 3147--><p class="indent" > By default, <span class="ec-lmss-10">tlmgr </span>now saves one backup of each package updated (<span class="ec-lmtt-10">tlmgr option autobackup 1</span>), so broken packages updates can be easily reverted with <span class="ec-lmtt-10">tlmgr restore</span>. If you do post-install updates, and don’t have the disk space for the backups, run <span class="ec-lmtt-10">tlmgr option autobackup 0</span>. -<!--l. 3137--><p class="indent" > New programs included: the p<span class="TEX">T<span +<!--l. 3153--><p class="indent" > New programs included: the p<span class="TEX">T<span class="E">E</span>X</span> engine and related utilities for typesetting Japanese; the BibTeXU program for Unicode-enabled BibTeX; the <span class="ec-lmss-10">chktex </span>utility (<a @@ -6088,7 +6106,7 @@ class="ec-lmss-10">dvisvgm </span>(<a href="http://dvisvgm.sourceforge.net" class="url" ><span class="ec-lmtt-10">http://dvisvgm.sourceforge.net</span></a>) DVI-to-SVG translator. -<!--l. 3144--><p class="indent" > Executables for these new platforms are now included: <span +<!--l. 3160--><p class="indent" > Executables for these new platforms are now included: <span class="ec-lmtt-10">amd64-freebsd</span>, <span class="ec-lmtt-10">amd64-kfreebsd</span>, <span class="ec-lmtt-10">i386-freebsd</span>, @@ -6096,7 +6114,7 @@ class="ec-lmtt-10">i386-freebsd</span>, class="ec-lmtt-10">i386-kfreebsd</span>, <span class="ec-lmtt-10">x86_64-darwin</span>, <span class="ec-lmtt-10">x86_64-solaris</span>. -<!--l. 3148--><p class="indent" > A change in <span class="TEX">T<span +<!--l. 3164--><p class="indent" > A change in <span class="TEX">T<span class="E">E</span>X</span> Live 2009 that we failed to note: numerous <span class="TEX">T<span class="E">E</span>X</span>4ht-related executables (<a @@ -6105,15 +6123,15 @@ class="ec-lmtt-10">http://tug.org/tex4ht</span></a>) were removed from the binar class="ec-lmtt-10">mk4ht </span>program can be used to run any of the various <span class="ec-lmtt-10">tex4ht </span>combinations. -<!--l. 3153--><p class="indent" > Finally, the <span class="TEX">T<span +<!--l. 3169--><p class="indent" > Finally, the <span class="TEX">T<span class="E">E</span>X</span> Live release on the <span class="TEX">T<span class="E">E</span>X</span> Collection DVD can no longer be run live (oddly enough). A -single DVD no longer has enough room. One benefit is that installation from the physical DVD should now be -much faster. -<!--l. 3159--><p class="noindent" > +single DVD no longer has enough room. One beneficial side effect is that installation from the physical +DVD is much faster. +<!--l. 3175--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">10.3 </span> <a - id="x1-7900010.3"></a>Future</h4> -<!--l. 3161--><p class="noindent" ><span class="TEX"><span + id="x1-7800010.3"></a>Future</h4> +<!--l. 3177--><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 @@ -6124,15 +6142,15 @@ better-checked tree of macros and fonts. This work is all done by volunteers in always more to do. Please see <a href="http://tug.org/texlive/contribute.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/contribute.html</span></a>. -<!--l. 3168--><p class="indent" > Please send corrections, suggestions, and offers of help to: +<!--l. 3184--><p class="indent" > Please send corrections, suggestions, and offers of help to: <div class="quote"> - <!--l. 3170--><p class="noindent" ><a + <!--l. 3186--><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" /><a href="http://tug.org/texlive" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive</span></a></div> -<!--l. 3175--><p class="noindent" ><span +<!--l. 3191--><p class="noindent" ><span class="ec-lmro-10">Happy </span><span class="TEX"><span class="ec-lmro-10">T</span><span class="E"><span diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.pdf b/Master/texmf/doc/texlive/texlive-en/texlive-en.pdf Binary files differindex ca8a64fe10e..58c9b91550d 100644 --- a/Master/texmf/doc/texlive/texlive-en/texlive-en.pdf +++ b/Master/texmf/doc/texlive/texlive-en/texlive-en.pdf diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.tex b/Master/texmf/doc/texlive/texlive-en/texlive-en.tex index 20f24f1f176..b6c0c8c9efe 100644 --- a/Master/texmf/doc/texlive/texlive-en/texlive-en.tex +++ b/Master/texmf/doc/texlive/texlive-en/texlive-en.tex @@ -13,14 +13,14 @@ \title{% {\huge \textit{The \TeX\ Live Guide}\\\smallskip}% - {\LARGE \textsf{\TL{} 2010}}% + {\LARGE \textsf{\TL{} 2011}}% } \author{Karl Berry, editor \\[3mm] \url{http://tug.org/texlive/} } -\date{November 2010} +\date{May 2011} \maketitle @@ -79,8 +79,8 @@ You can install \TL{} either from \DVD{} or over the Internet small, and downloads everything requested from the Internet. The \DVD{} installer lets you install to a local disk. You cannot run -\TL{} directly from the \TK{} \DVD{} (or a \DVD{} image), but you can -prepare a runnable installation on, e.g., a \acro{USB} stick (see +\TL{} directly from the \TK{} \DVD{} (or its \code{.iso} image), but you +can prepare a runnable installation on, e.g., a \acro{USB} stick (see section~\ref{sec:portable-tl}). Installation is described in later sections (\p.\pageref{sec:install}), but here is a quick start: @@ -459,9 +459,11 @@ to pdf\TeX\ (mentioned above). \subsection{Starting the installer} \label{sec:inst-start} -To begin, get the \TK{} \DVD{} or download the \TL{} net installer, -and locate the installer script: \filename{install-tl} for Unix, -\filename{install-tl.bat} for Windows. +To begin, get the \TK{} \DVD{} or download the \TL{} net installer, and +locate the installer script: \filename{install-tl} for Unix, +\filename{install-tl.bat} for Windows. See +\url{http://tug.org/texlive/acquire.html} for more information and other +methods of getting the software. \begin{description} \item [Net installer:] Download from \CTAN, under @@ -474,24 +476,22 @@ only. After unpacking, \filename{install-tl} and \filename{install-tl.bat} will be in the \dirname{install-tl} subdirectory. -\item [\TeX{} Collection \DVD:] go to its \dirname{texlive} +\item [\TeX{} Collection \DVD:] go to the \DVD's \dirname{texlive} subdirectory. Under Windows, the installer normally starts automatically when you insert the \DVD. You can get the \DVD\ by becoming a member of a \TeX\ user group (highly recommended, \url{http://tug.org/usergroups.html}), or purchasing it separately -(\url{http://tug.org/store}), or burning your own from the \ISO\ -image. +(\url{http://tug.org/store}), or burning your own from the \ISO\ image. +After installing from \DVD, if you want to get continuing updates from +the Internet, please see \ref{sec:dvd-install-net-updates}. \end{description} -See \url{http://tug.org/texlive/acquire.html} for more information and -other methods of getting the software. - +\noindent The following sections explain installer start-up in more detail. \subsubsection{Unix} -\noindent Below, \texttt{>} denotes the shell prompt; user input is \Ucom{\texttt{bold}}. The script \filename{install-tl} is a Perl script. The simplest way @@ -959,27 +959,23 @@ path are used (even if uncompressed files are available as well). Some post-install may be required. -\subsubsection{Windows} - -But on Windows, the installer takes care of everything. - -\subsubsection{If symlinks were created} - -If you elected to create symlinks in standard directories (mentioned in -section~\ref{sec:options}), then there is no need to edit environment -variables. \subsubsection{Environment variables for Unix} \label{sec:env} -The directory of the binaries for your platform must be added to -the search path. Each supported platform has its own subdirectory -under \dirname{TEXDIR/bin}. See figure~\ref{fig:bin-text} for the -list of subdirectories and corresponding platforms. +If you elected to create symlinks in standard directories (described in +section~\ref{sec:options}), then there is no need to edit environment +variables. Otherwise, on Unix systems, the directory of the binaries +for your platform must be added to the search path. (On Windows, the +installer takes care of this.) + +Each supported platform has its own subdirectory under +\dirname{TEXDIR/bin}. See figure~\ref{fig:bin-text} for the list of +subdirectories and corresponding platforms. -You can also add the documentation man and Info directories to their -respective search paths, if you want the system tools to find them. -The man pages might be found automatically after the addition to +Optionally, you can also add the documentation man and Info directories +to their respective search paths, if you want the system tools to find +them. The man pages might be found automatically after the addition to \envname{PATH}. For Bourne-compatible shells such as \prog{bash}, and using Intel x86 @@ -1005,7 +1001,8 @@ setenv INFOPATH /usr/local/texlive/2010/texmf/doc/info:$INFOPATH If you already have settings somewhere in your ``dot'' files, naturally the \TL\ directories should simply be merged in as appropriate. -\subsubsection{Environment variables: global configuration} + +\subsubsection{Environment variables: Global configuration} \label{sec:envglobal} If you want to make these changes globally, or for a user newly added to @@ -1029,6 +1026,25 @@ programs, such as the standard \MacOSX\ \code{man}, will automatically find that, obviating the need for any man page setup. +\subsubsection{Internet updates after \DVD\ installation} +\label{sec:dvd-install-net-updates} + +If you installed \TL\ from \DVD\ and then wish to get updates from the +Internet, you need to run this command---\emph{after} you've updated +your search path (as described in the previous section): + +\begin{alltt} +> \Ucom{tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet} +\end{alltt} + +This tells C<tlmgr> to use a nearby \CTAN\ mirror for future updates. + +If there are problems with the automatic mirror selection, you can +specify a particular \CTAN\ mirror from the list at +\url{http://ctan.org/mirrors}. Use the exact path to the +\dirname{tlnet} subdir on that mirror, as shown above. + + \htmlanchor{xetexfontconfig} \subsubsection{Font configuration for \XeTeX} \label{sec:font-conf-xetex} @@ -1136,35 +1152,6 @@ maps, \texttt{tlmgr generate updmap} \textit{may} be useful, notably in moving from release to release; see the \cmdname{tlmgr} documentation. -\subsubsection{Increasing maximum memory on Windows and Cygwin} -\label{sec:cygwin-maxmem} - -Windows and Cygwin (see section~\ref{sec:cygwin} for Cygwin installation -specifics) users may find that they run out of memory when running some -of the programs shipped with \TL. For example, \prog{asy} might run out -of memory if you try to allocate an array of 25,000,000 reals, and -Lua\TeX\ might run out of memory if you try to process a document with a -lot of big fonts. - -For Cygwin, you can increase the amount of available memory by following -the instructions in the Cygwin User's Guide -(\url{http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html}). - -For Windows, you have to create a file, say \code{moremem.reg}, with -these four lines: - -\begin{sverbatim} -Windows Registry Editor Version 5.00 - -[HKEY_LOCAL_MACHINE\Software\Cygwin] -"heap_chunk_in_mb"=dword:ffffff00 -\end{sverbatim} - -\noindent and then execute the command \code{regedit /s moremem.reg} as -administrator. (If you want to change memory only for the current user -instead of system-wide, use \code{HKEY\_CURRENT\_USER}.) - - \subsection{Testing the installation} \label{sec:test-install} @@ -1635,6 +1622,35 @@ administrator. Instead, right-clicking on the program or shortcut that you want to run usually gives you a choice `Run as administrator'. +\subsection{Increasing maximum memory on Windows and Cygwin} +\label{sec:cygwin-maxmem} + +Windows and Cygwin (see section~\ref{sec:cygwin} for Cygwin installation +specifics) users may find that they run out of memory when running some +of the programs shipped with \TL. For example, \prog{asy} might run out +of memory if you try to allocate an array of 25,000,000 reals, and +Lua\TeX\ might run out of memory if you try to process a document with a +lot of big fonts. + +For Cygwin, you can increase the amount of available memory by following +the instructions in the Cygwin User's Guide +(\url{http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html}). + +For Windows, you have to create a file, say \code{moremem.reg}, with +these four lines: + +\begin{sverbatim} +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\Software\Cygwin] +"heap_chunk_in_mb"=dword:ffffff00 +\end{sverbatim} + +\noindent and then execute the command \code{regedit /s moremem.reg} as +administrator. (If you want to change memory only for the current user +instead of system-wide, use \code{HKEY\_CURRENT\_USER}.) + + \section{A user's guide to Web2C} \Webc{} is an integrated collection of \TeX-related programs: \TeX{} @@ -3150,10 +3166,10 @@ executables (\url{http://tug.org/tex4ht}) were removed from the binary directories. The generic \code{mk4ht} program can be used to run any of the various \code{tex4ht} combinations. -Finally, the \TL{} release on the \TK\ \DVD\ can no longer be run -live (oddly enough). A single \DVD\ no longer has enough room. One -benefit is that installation from the physical \DVD\ should now be much -faster. +Finally, the \TL{} release on the \TK\ \DVD\ can no longer be run live +(oddly enough). A single \DVD\ no longer has enough room. One +beneficial side effect is that installation from the physical \DVD\ is +much faster. \subsection{Future} |