diff options
author | Karl Berry <karl@freefriends.org> | 2007-02-06 01:43:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-02-06 01:43:39 +0000 |
commit | 2a7f40fc852571c6670a90e3ce87cea6610c4c29 (patch) | |
tree | bb56e24e0bfc87cbd37781d85434cbce04cb7199 /Master/texmf-doc/doc/english | |
parent | 85b416f2a0fb28f2cef4c768163e76b6b02271f8 (diff) |
--install_mode and --debug, for Staszel
git-svn-id: svn://tug.org/texlive/trunk@3937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english')
-rw-r--r-- | Master/texmf-doc/doc/english/texlive-en/live.html | 676 | ||||
-rw-r--r-- | Master/texmf-doc/doc/english/texlive-en/live.pdf | bin | 760427 -> 761103 bytes |
2 files changed, 349 insertions, 327 deletions
diff --git a/Master/texmf-doc/doc/english/texlive-en/live.html b/Master/texmf-doc/doc/english/texlive-en/live.html index 7b2014f1985..23d6ec5e275 100644 --- a/Master/texmf-doc/doc/english/texlive-en/live.html +++ b/Master/texmf-doc/doc/english/texlive-en/live.html @@ -8,7 +8,7 @@ <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> <!-- charset=utf-8,html,info,fn-in --> <meta name="src" content="live.tex"> -<meta name="date" content="2007-01-25 22:08:00"> +<meta name="date" content="2007-02-06 02:42:00"> <link rel="stylesheet" type="text/css" href="live.css"> <link rel="stylesheet" type="text/css" href="live.css" /> <link rel="stylesheet" type="text/css" href="tex-live.css" /> @@ -2273,10 +2273,12 @@ class="ec-lmtt-10"><drive</span><span class="ec-lmtt-10"> letter>:\setuptl\tplmgui.exe</span></span></span> (or <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10"><drive</span><span -class="ec-lmtt-10"> letter>:\texlive\setuptl\tplmgui.exe</span></span></span> if you are installing from the TeX Collection DVD), +class="ec-lmtt-10"> letter>:\texlive\setuptl\tplmgui.exe</span></span></span> if you are installing from the <span class="TEX">T<span +class="E">E</span>X</span> Collection DVD), where <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10"><drive</span><span -class="ec-lmtt-10"> letter></span></span></span> is the drive letter with the TeX Live CD (or TeX Collection DVD), and then +class="ec-lmtt-10"> letter></span></span></span> is the drive letter with the <span class="TEX">T<span +class="E">E</span>X</span> Live CD (or TeX Collection DVD), and then click OK. <!--l. 1220--><p class="indent" > The installation window titled <span class="ec-lmss-10">TeX Live installation and maintenance utility </span>should open. It contains @@ -2288,7 +2290,25 @@ class="ec-lmss-10">Select systems</span>, <span class="ec-lmss-10">Directories </span>and <span class="ec-lmss-10">Options</span>. -<!--l. 1225--><p class="indent" > In the <span +<!--l. 1225--><p class="indent" > By default, <span +class="ec-lmss-10">tlpmgui </span>tries to detect if <span class="TEX">T<span +class="E">E</span>X</span> is already installed and depending on the result starts +either in fresh installation or maintenance mode. If you have <span class="TEX">T<span +class="E">E</span>X</span> already installed but want to install +the new version nevertheless, you can use <span +class="ec-lmtt-10">tlpmgui</span><span +class="ec-lmtt-10"> –install-mode </span>to force instalation mode; but you +should know what you are doing, as the new <span class="TEX">T<span +class="E">E</span>X</span> Live installation will override the environment +variables and other settings of the existing installation; reverting to your old installation is not +automatically supported. +<!--l. 1235--><p class="indent" > Diagnostic information is collected by <span +class="ec-lmss-10">tlpmgui </span>in a log file which is deleted at the end of the run, +along with any other temporary files. Invoking with <span +class="ec-lmtt-10">–debug </span>displays the names and contents of all +<span +class="ec-lmss-10">tlpmgui </span>temporary files in a separate window. +<!--l. 1240--><p class="indent" > In the <span class="ec-lmss-10">Directories </span>section the installation drive (directory) next to the <span class="ec-lmss-10">CD/DVD </span>button should be displayed (e.g., <span @@ -2296,13 +2316,15 @@ class="ec-lmtt-10">F:/ </span>or <span class="ec-lmtt-10">F:/texlive/ </span>for the DVD), but if it is not, then click the <span class="ec-lmss-10">CD/DVD </span>button and select the CD/DVD drive, with the <span class="TEX">T<span -class="E">E</span>X</span> Live CD (or TeX Collection -DVD). -<!--l. 1230--><p class="indent" > The directory in which you wish to install the software can be set by clicking the <span +class="E">E</span>X</span> Live CD (or <span class="TEX">T<span +class="E">E</span>X</span> Collection +DVD). + +<!--l. 1246--><p class="indent" > The directory in which you wish to install the software can be set by clicking the <span class="ec-lmss-10">TLroot </span>button. This directory will be set as <span class="path"><span class="ec-lmtt-10">TLroot</span></span> environment variable for later usage. -<!--l. 1234--><p class="indent" > In the <span +<!--l. 1250--><p class="indent" > In the <span class="ec-lmss-10">Select a scheme </span>section the desired <span class="TEX">T<span class="E">E</span>X</span> Live installation scheme should be chosen by clicking the radio button labelled with the installation scheme name (e.g., <span @@ -2310,10 +2332,8 @@ class="ec-lmss-10">scheme-gust</span>). Each scheme is accompanied by an <span class="ec-lmss-10">Info </span>button which, when clicked, displays a short description of the relevant scheme. -<!--l. 1240--><p class="indent" > A scheme is a large set of files targeted at some kind of usage. There are generic schemes for +<!--l. 1256--><p class="indent" > A scheme is a large set of files targeted at some kind of usage. There are generic schemes for basic, medium and full installations. The remaining ones are either targeted at certain LUGs - - (i.e., what GUST or GUTenberg propose for their members) or application targeted (e.g., for XML and <span class="TEX">T<span class="E">E</span>X</span> cooperation). A preselected scheme can be refined. This is done in the @@ -2326,7 +2346,7 @@ class="ec-lmss-10">Select </span>button labelled <span class="ec-lmss-10">Standard collections</span>, additional collections like Metapost, Omega or documentation in different languages can be selected. -<!--l. 1251--><p class="indent" > <span +<!--l. 1267--><p class="indent" > <span class="ec-lmss-10">Wintools </span>collection is selected by default as it contains many small programs, usually absent in Windows, which can be handy, like graphics converters: <span class="ec-lmss-10">sam2p</span>, <span @@ -2339,17 +2359,17 @@ class="ec-lmss-10">unzip</span>, and <span class="ec-lmss-10">wget </span>which is needed for <span class="ec-lmss-10">getnonfreefonts </span>(new) utility. -<!--l. 1258--><p class="indent" > Next, clicking the <span +<!--l. 1274--><p class="indent" > Next, clicking the <span class="ec-lmss-10">Select </span>button labelled <span class="ec-lmss-10">Language Collections </span>in the <span class="ec-lmss-10">Main customization </span>section opens the <span class="ec-lmss-10">Language collections </span>window in which the installation language can be chosen by ticking the box next to the language. -<!--l. 1263--><p class="indent" > Next, click the <span +<!--l. 1279--><p class="indent" > Next, click the <span class="ec-lmss-10">Install </span>button in the <span class="ec-lmss-10">Install </span>section to start the installation proper process. -<!--l. 1266--><p class="indent" > <span +<!--l. 1282--><p class="indent" > <span class="ec-lmbx-10">Note: </span>The <span class="ec-lmss-10">Perl </span>and <span class="ec-lmss-10">Ghostscript </span>are installed only on demand. They should be installed unless they @@ -2359,25 +2379,25 @@ class="ec-lmtt-10">PERL5LIB</span></span></span> and <span class="obeylines-h">< class="ec-lmtt-10">GS_LIB</span></span></span> environment variables will be set too, as well the path to Ghostscript binaries will be added to the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">PATH</span></span></span> variable. -<!--l. 1273--><p class="indent" > The <span class="TEX">T<span +<!--l. 1289--><p class="indent" > The <span class="TEX">T<span class="E">E</span>X</span> Live system needs some post-processing steps (format files generation, ls-R databases generation, environment variables, etc.). All these operations are done there, some of them can be lengthy. So please wait until you see a statement about the successfully finished installation. -<!--l. 1278--><p class="indent" > The shortcut for <span +<!--l. 1294--><p class="indent" > The shortcut for <span class="ec-lmss-10">tlpmgui </span>(and also <span -class="ec-lmss-10">dviout</span>, if installed) will be added to the <span +class="ec-lmss-10">dviout</span>, if installed) will be added to the menu +<span class="ec-lmss-10">Start</span><span class="lmsy-10">!</span><span class="ec-lmss-10">Programs</span><span class="lmsy-10">!</span><span -class="ec-lmss-10">TeXLive2007</span> -menu. -<!--l. 1281--><p class="indent" > If it is needed (Win9x/WinME), you will be asked to reboot your computer. -<!--l. 1283--><p class="noindent" > +class="ec-lmss-10">TeXLive2007</span>. +<!--l. 1297--><p class="indent" > If it is needed (Win9x/WinME), you will be asked to reboot your computer. +<!--l. 1299--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">6.2 </span> <a id="x1-230006.2"></a>Support packages for Windows</h4> -<!--l. 1286--><p class="noindent" >To be complete, a <span class="TEX">T<span +<!--l. 1302--><p class="noindent" >To be complete, a <span class="TEX">T<span class="E">E</span>X</span> Live installation needs support packages that are not commonly found on a Windows machine. Many scripts are written using the Perl language. Some important tools require the Ghostscript PostScript interpreter to render or to convert files. A graphic file toolbox is also needed in @@ -2385,7 +2405,7 @@ some cases. Last but not least, a <span class="TEX">T<span class="E">E</span>X</span>-oriented editor makes it easy to type in your <span class="TEX">T<span class="E">E</span>X</span> files. -<!--l. 1293--><p class="indent" > All these tools are quite easy to find for Windows, but in order to try to make your life even easier, +<!--l. 1309--><p class="indent" > All these tools are quite easy to find for Windows, but in order to try to make your life even easier, we have put such a set of tools on <span class="TEX">T<span class="E">E</span>X</span> Live: <ul class="itemize1"> @@ -2397,20 +2417,20 @@ class="ec-lmss-10">Perl </span>5.8, sufficient to run all the <span class="TEX"> class="E">E</span>X</span> Live Perl scripts. </li> <li class="itemize">win-tools is a set of small programs (bzip2, gzip, jpeg2ps and tiff2png)</li></ul> -<!--l. 1307--><p class="indent" > Perl and Ghostscript are installed upon request; you may explicitly deselect them during installation + + +<!--l. 1323--><p class="indent" > Perl and Ghostscript are installed upon request; you may explicitly deselect them during installation if you already have them. -<!--l. 1310--><p class="indent" > If you don’t want to install this bundle, then you are on your own to install the required tools to +<!--l. 1326--><p class="indent" > If you don’t want to install this bundle, then you are on your own to install the required tools to complete your <span class="TEX">T<span class="E">E</span>X</span> Live system. Here is a list of places to get those tools: -<!--l. 1314--><p class="indent" > +<!--l. 1330--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Ghostscript</span> </dt><dd class="description"><span class="obeylines-h"><a href="http://www.cs.wisc.edu/~ghost/" class="url" ><span class="ec-lmtt-10">http://www.cs.wisc.edu/~ghost/</span></a></span> - - </dd><dt class="description"> <span class="ec-lmbx-10">Perl</span> </dt><dd @@ -2485,7 +2505,7 @@ class="ec-lmss-10">SciTE </span>is available from <span class="obeylines-h"><a href="http://www.scintilla.org/SciTE.html" class="url" ><span class="ec-lmtt-10">http://www.scintilla.org/SciTE.html</span></a></span></li></ul> </dd></dl> -<!--l. 1340--><p class="indent" > You might want to install other tools that are not +<!--l. 1356--><p class="indent" > You might want to install other tools that are not free<span class="footnote-mark"><a href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a id="x1-23001f1"></a> @@ -2498,18 +2518,19 @@ class="ec-lmss-10">GSView </span>is available from <span class="obeylines-h"><a href="http://www.cs.wisc.edu/~ghost/gsview/" class="url" ><span class="ec-lmtt-10">http://www.cs.wisc.edu/~ghost/gsview/</span></a></span> or any CTAN site. -<!--l. 1348--><p class="noindent" > + + +<!--l. 1364--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">7 </span> <a id="x1-240007"></a>Maintenance of the installation in Windows</h3> -<!--l. 1350--><p class="noindent" >If you have TeX Live installed, you can use <span +<!--l. 1366--><p class="noindent" >If you have <span class="TEX">T<span +class="E">E</span>X</span> Live installed, you can use <span class="ec-lmss-10">tlpmgui </span>again for modifying and maintaining your installation. - - -<!--l. 1353--><p class="noindent" > +<!--l. 1369--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.1 </span> <a id="x1-250007.1"></a>Adding/removing packages</h4> -<!--l. 1355--><p class="noindent" >As the <span +<!--l. 1371--><p class="noindent" >As the <span class="ec-lmss-10">tlpmgui </span>shortcut is available in the <span class="ec-lmss-10">Start</span><span class="lmsy-10">!</span><span @@ -2523,7 +2544,7 @@ class="ec-lmss-10">Add Packages</span>, <span class="ec-lmss-10">Remove packages</span>, <span class="ec-lmss-10">Manage installation</span>, <span class="ec-lmss-10">Remove installation</span>. -<!--l. 1361--><p class="indent" > Click the tab labelled <span +<!--l. 1377--><p class="indent" > Click the tab labelled <span class="ec-lmss-10">Add packages </span>or <span class="ec-lmss-10">Remove packages </span>to enter the relevant functionality and then: @@ -2540,11 +2561,11 @@ class="ec-lmss-10">Select packages</span> <span class="ec-lmss-10">to</span><span class="ec-lmss-10">… </span>section the list of packages to install or remove. - <!--l. 1371--><p class="noindent" >When adding packages, the list of installed packages is compared to the list of packages + <!--l. 1387--><p class="noindent" >When adding packages, the list of installed packages is compared to the list of packages available from your CD/DVD. Only packages not already installed are displayed. It is up to you to select which packages you want to install. - <!--l. 1376--><p class="noindent" >When removing individual packages, only a list of installed packages will be displayed. - <!--l. 1379--><p class="noindent" >Please note that for both <span + <!--l. 1392--><p class="noindent" >When removing individual packages, only a list of installed packages will be displayed. + <!--l. 1395--><p class="noindent" >Please note that for both <span class="ec-lmss-10">Add packages </span>and <span class="ec-lmss-10">Remove packages </span>the collections are listed first. </li> @@ -2561,18 +2582,20 @@ class="ec-lmss-10">Info about the selected item </span>section. To select severa class="ec-lmss-10">Install </span>or <span class="ec-lmss-10">Remove </span>button in the <span class="ec-lmss-10">Buttons </span>section to perform the appropriate action.</li></ul> -<!--l. 1394--><p class="noindent" > +<!--l. 1410--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a id="x1-260007.2"></a>Configuring and other management tasks</h4> -<!--l. 1396--><p class="noindent" >The functions available in the tab labelled <span +<!--l. 1412--><p class="noindent" >The functions available in the tab labelled <span class="ec-lmss-10">Manage the installation </span>are helpful in performing actions needed when you want to add support for a language which was not selected during the installation, or add/regenerate a format which was not selected during the installation or was modified after the installation. -<!--l. 1402--><p class="indent" > The following actions can be performed: +<!--l. 1418--><p class="indent" > The following actions can be performed: <ul class="itemize1"> <li class="itemize">Refresh the <span class="ec-lmtt-10">ls-R </span>database + + </li> <li class="itemize">Create formats (All or Missing) </li> @@ -2580,38 +2603,37 @@ class="ec-lmtt-10">ls-R </span>database class="ec-lmtt-10">language.dat</span> </li> <li class="itemize">Edit <span -class="ec-lmtt-10">fmtutil.cnf</span> - +class="ec-lmtt-10">fmtutil.cnf</span> </li> <li class="itemize">Edit <span class="ec-lmtt-10">updmap.cfg</span></li></ul> -<!--l. 1412--><p class="indent" > Note: you can close the Edit… window with the <span +<!--l. 1428--><p class="indent" > Note: you can close the Edit… window with the <span class="ec-lmss-10">Cancel </span>or <span class="ec-lmss-10">Done </span>button; the latter will start rebuilding the format files (or the fontmap files if you have edited <span class="ec-lmtt-10">updmap.cfg</span>), followed by a <span class="ec-lmtt-10">ls-R </span>database files refresh. -<!--l. 1417--><p class="indent" > For more information about the configuration see section <a +<!--l. 1433--><p class="indent" > For more information about the configuration see section <a href="#x1-320007.8">7.8<!--tex4ht:ref: sec:persconf --></a>, p. <a href="#x1-320007.8">38<!--tex4ht:ref: sec:persconf --></a>. -<!--l. 1420--><p class="noindent" > +<!--l. 1436--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.3 </span> <a id="x1-270007.3"></a>Uninstalling <span class="TEX">T<span class="E">E</span>X</span> Live</h4> -<!--l. 1422--><p class="noindent" >The tab labelled <span +<!--l. 1438--><p class="noindent" >The tab labelled <span class="ec-lmss-10">Remove the TeX Live installation </span>opens a window which contains functionality not worth describing and we do not know who would need it and what it is for…:-) -<!--l. 1426--><p class="indent" > Anyway, if you have the <span class="path"><span +<!--l. 1442--><p class="indent" > Anyway, if you have the <span class="path"><span class="ec-lmtt-10">texmf-local</span></span> directory for your local additions, the removal procedure will not wipe it out or delete things in it. However, it will be done only if you select it explicitly. The <span class="path"><span class="ec-lmtt-10">setuptl</span></span> directory containing <span class="ec-lmss-10">tlpmgui </span>and related files will not be deleted. You will have to do some manual cleanup to actually remove them. -<!--l. 1432--><p class="noindent" > +<!--l. 1448--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a id="x1-280007.4"></a>Adding your own packages to the installation</h4> -<!--l. 1434--><p class="noindent" >First, whatever changes you make, <span +<!--l. 1450--><p class="noindent" >First, whatever changes you make, <span class="ec-lmbx-10">do not forget to rebuild the ls-R database files</span>. Otherwise, your new files will not be found. You can do this either via the <span class="ec-lmss-10">tlpmgui </span>run and selection of the @@ -2619,13 +2641,13 @@ appropriate action from the <span class="ec-lmss-10">Manage the installation </span>tab, or manually running the <span class="ec-lmtt-10">mktexlsr</span> command. -<!--l. 1440--><p class="indent" > If you want to add files that are not provided by the <span class="TEX">T<span +<!--l. 1456--><p class="indent" > If you want to add files that are not provided by the <span class="TEX">T<span class="E">E</span>X</span> Live distribution, it is recommended to put them in the <span class="path"><span class="ec-lmtt-10">$TEXMFLOCAL</span></span> directory. This way, you will be safe against upgrades of the <span class="TEX">T<span class="E">E</span>X</span> Live software. -<!--l. 1444--><p class="indent" > The directory pointed to by <span class="path"><span +<!--l. 1460--><p class="indent" > The directory pointed to by <span class="path"><span class="ec-lmtt-10">$TEXMFLOCAL</span></span> is initially empty. If, for example, you want to add the support file for the Maple symbolic computation program, you will have to put the style files in: @@ -2634,11 +2656,11 @@ class="ec-lmtt-10">c:\TeXLive2007\texmf-local\tex\latex\maple\</span></span> <br class="newline" />and the documentation files in: <br class="newline" /><span class="path"><span class="ec-lmtt-10">c:\TeXLive2007\texmf-local\doc\latex\maple\</span></span> -<!--l. 1450--><p class="noindent" > +<!--l. 1466--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.5 </span> <a id="x1-290007.5"></a>Running <span class="ec-lmtt-10">tlmp.exe </span>from the command line</h4> -<!--l. 1451--><p class="noindent" >The <span +<!--l. 1467--><p class="noindent" >The <span class="ec-lmss-10">tlpm.exe </span>program which is used as engine by <span class="ec-lmss-10">tlpmgui </span>has a number of other useful options. You can get the list by running: @@ -2653,13 +2675,13 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> -<!--l. 1455--><p class="nopar" > -<!--l. 1457--><p class="indent" > More information and examples of use can be found in <span class="path"><span +<!--l. 1471--><p class="nopar" > +<!--l. 1473--><p class="indent" > More information and examples of use can be found in <span class="path"><span class="ec-lmtt-10">tlpm.readme</span></span>. -<!--l. 1459--><p class="noindent" > +<!--l. 1475--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.6 </span> <a id="x1-300007.6"></a>Network installation</h4> -<!--l. 1461--><p class="noindent" >Kpathsea knows about UNC names, so you can use them to get your TEXMF tree from the network. +<!--l. 1477--><p class="noindent" >Kpathsea knows about UNC names, so you can use them to get your TEXMF tree from the network. But there is better than this. All the support files and configuration files, everything except the files in the <span class="path"><span class="ec-lmtt-10">bin/win32</span></span> are shareable with a te<span class="TEX">T<span @@ -2682,11 +2704,11 @@ class="ec-lmtt-10">$TEXMFMAIN</span></span> to the class="ec-lmtt-10">texmf</span></span> tree that will be accessed remotely. Set <span class="path"><span class="ec-lmtt-10">$TEXMFVAR</span></span> to be a local directory which will hold local configuration files and on-the-fly generated files.</li></ul> -<!--l. 1480--><p class="noindent" > +<!--l. 1496--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.7 </span> <a id="x1-310007.7"></a>What’s different in Windows?</h4> -<!--l. 1482--><p class="noindent" >The Windows version of Web2C has some specific features that should be pointed out. -<!--l. 1485--><p class="indent" > +<!--l. 1498--><p class="noindent" >The Windows version of Web2C has some specific features that should be pointed out. +<!--l. 1501--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmssbx-10">kpsecheck</span> </dt><dd @@ -2699,14 +2721,14 @@ class="ec-lmtt-10">README</span></span> files). fortunately, Kpathsea never looks for these files. For this reason, you can combine the <span class="path"><span class="ec-lmtt-10">-multiple-occurrences</span></span> with 2 other options for including or excluding any filename that match some pattern (you can request for several patterns). - <!--l. 1497--><p class="noindent" >The <span + <!--l. 1513--><p class="noindent" >The <span class="ec-lmss-10">kpsecheck </span>command will also report the status of shared memory: in use or not used. That might be useful to know because if the status reported is ‘<span class="ec-lmtt-10">in use</span>’, that means one or several processes are working, and the effect of any <span class="ec-lmss-10">mktexlsr </span>command will be delayed until the next time where no Kpathsea linked process will be running. - <!--l. 1504--><p class="noindent" >Last, this same command will report about the location it thinks Ghostscript can be found. + <!--l. 1520--><p class="noindent" >Last, this same command will report about the location it thinks Ghostscript can be found. Under Win32, for many programs, it is easier to use the Ghostscript dll, and find it by using the Ghostscript registry key than to change the <span class="path"><span class="ec-lmtt-10">PATH</span></span>, which has a limited length anyway. @@ -2725,17 +2747,17 @@ class="ec-lmtt-10">-proctimes</span></span> print statistics about the job run t class="ec-lmtt-10">time</span></span> command is not usually available to Windows users.</li></ul> </dd></dl> -<!--l. 1522--><p class="noindent" > +<!--l. 1538--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.8 </span> <a id="x1-320007.8"></a>Personal configurations</h4> -<!--l. 1525--><p class="noindent" > +<!--l. 1541--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.8.1 </span> <a id="x1-330007.8.1"></a>Dvips</h5> -<!--l. 1527--><p class="noindent" >The configuration file for dvips can be found in +<!--l. 1543--><p class="noindent" >The configuration file for dvips can be found in <br class="newline" /><span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\TeXLive2007\texmf-var\dvips\config\config.ps</span></span></span> <br class="newline" />You may open it with any editor and change some parameters: -<!--l. 1533--><p class="indent" > +<!--l. 1549--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmbx-10">fonts</span> </dt><dd @@ -2767,7 +2789,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 1546--><p class="nopar" > + <!--l. 1562--><p class="nopar" > </dd><dt class="description"> <span class="ec-lmbx-10">paper</span> </dt><dd @@ -2781,23 +2803,23 @@ class="ec-lmtt-10">@</span>. Move the appropriate lines so that this section beg <br class="newline" />  @+ %%BeginPaperSize: Letter <br class="newline" />  @+ letter <br class="newline" />  @+ %%EndPaperSize</dd></dl> -<!--l. 1559--><p class="indent" > The current <span class="TEX">T<span +<!--l. 1575--><p class="indent" > The current <span class="TEX">T<span class="E">E</span>X</span> Live distribution implements the procedure of making always up-to-date fontmaps files for Dvips and Pdftex. This is done by the <span class="ec-lmss-10">updmap </span>program during installation. If you add new font packages using the installation program or by hand, edit the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap.cfg</span></span></span> in <span class="path"><span class="ec-lmtt-10">$TEXMFVAR/web2c</span></span>. -<!--l. 1565--><p class="noindent" > +<!--l. 1581--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.8.2 </span> <a id="x1-340007.8.2"></a>PdfTeX</h5> -<!--l. 1567--><p class="noindent" >If you use the program pdflatex to write PDF format directly, and you are using US letter-size paper, +<!--l. 1583--><p class="noindent" >If you use the program pdflatex to write PDF format directly, and you are using US letter-size paper, edit the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\TeXLive2007\texmf-var\tex\generic\config\pdftexconfig.tex</span></span></span> and change ‘<span class="ec-lmtt-10">\pdfpagewidth</span>’ and ‘<span class="ec-lmtt-10">\pdfpageheight</span>’. These entries should read: <div class="alltt"> -<!--l. 1572--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1588--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">\pdfpagewidth=8.5</span><span class="ec-lmtt-10"> true</span><span @@ -2808,11 +2830,11 @@ class="ec-lmtt-10"> true</span><span class="ec-lmtt-10"> in</span> </div> </div> Save the file and exit the editor. -<!--l. 1578--><p class="noindent" > +<!--l. 1594--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.8.3 </span> <a id="x1-350007.8.3"></a>Xe<span class="TEX">T<span class="E">E</span>X</span></h5> -<!--l. 1579--><p class="noindent" >Xe<span class="TEX">T<span +<!--l. 1595--><p class="noindent" >Xe<span class="TEX">T<span class="E">E</span>X</span> for Windows is linked statically with fontconfig 2.4.2. A configuration file for fontconfig is <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fonts.conf</span></span></span>. For details, see the file <span class="obeylines-h"><span class="verb"><span @@ -2821,40 +2843,40 @@ class="ec-lmtt-10">fonts.conf</span></span></span> itself which is in a director class="ec-lmtt-10">kpsewhich –var-value=FONTCONFIG_PATH</span>. -<!--l. 1584--><p class="noindent" > +<!--l. 1600--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.8.4 </span> <a id="x1-360007.8.4"></a>GSView</h5> -<!--l. 1585--><p class="noindent" >GSView is now distributed under the Aladdin License, and therefore is no longer included in <span class="TEX">T<span +<!--l. 1601--><p class="noindent" >GSView is now distributed under the Aladdin License, and therefore is no longer included in <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 1588--><p class="indent" > You may want to change the page size to US letter size. If so, open GSView from the <span +<!--l. 1604--><p class="indent" > You may want to change the page size to US letter size. If so, open GSView from the <span class="ec-lmss-10">Start </span>menu, and select <span class="ec-lmss-10">Media</span><span class="lmsy-10">!</span><span class="ec-lmss-10">Letter</span>. -<!--l. 1591--><p class="indent" > Also, there are menu settings that are supposed to give you the most readable screen image. On +<!--l. 1607--><p class="indent" > Also, there are menu settings that are supposed to give you the most readable screen image. On <span class="ec-lmss-10">Media</span><span class="lmsy-10">!</span><span class="ec-lmss-10">Display Settings</span>, set both <span class="ec-lmtt-10">Text Alpha </span>and <span class="ec-lmtt-10">Graphics Alpha </span>to 4 bits. -<!--l. 1595--><p class="indent" > Note that the installation process has set all <span +<!--l. 1611--><p class="indent" > Note that the installation process has set all <span class="ec-lmtt-10">.ps </span>and <span class="ec-lmtt-10">.eps </span>files to automatically open with <span class="ec-lmss-10">GSView</span>. -<!--l. 1598--><p class="indent" > For printing instructions, see section <a +<!--l. 1614--><p class="indent" > For printing instructions, see section <a href="#x1-380007.10">7.10<!--tex4ht:ref: printing --></a> below. -<!--l. 1601--><p class="noindent" > +<!--l. 1617--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.9 </span> <a id="x1-370007.9"></a>Testing</h4> -<!--l. 1603--><p class="noindent" >For generic verification procedures, see section <a +<!--l. 1619--><p class="noindent" >For generic verification procedures, see section <a href="#x1-190004.2">4.2<!--tex4ht:ref: sec:test-install --></a> (p. <a href="#x1-190004.2">29<!--tex4ht:ref: sec:test-install --></a>). This section describes Windows-specific tests. -<!--l. 1607--><p class="indent" > Open the file <span class="obeylines-h"><span class="verb"><span +<!--l. 1623--><p class="indent" > Open the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">sample2e.tex</span></span></span> in your editor (Xemacs, WinShell), found in <span class="path"><span class="ec-lmtt-10">C:\TeXLive2007\texmf-dist\tex\latex\base</span></span>. The <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> source should appear on the screen. @@ -2868,19 +2890,19 @@ class="ec-lmss-10">Command</span><span class="lmsy-10">!</span><span class="ec-lmss-10">View DVI </span>menu (XEmacs) or Preview (dviout) icon (WinShell). -<!--l. 1614--><p class="indent" > At first, when you preview files with <span +<!--l. 1630--><p class="indent" > At first, when you preview files with <span class="ec-lmss-10">dviout</span>, it will create fonts because screen fonts were not installed. After a while, you will have created most of the fonts you use, and you will rarely see the font-creation window. -<!--l. 1618--><p class="indent" > <span +<!--l. 1634--><p class="indent" > <span class="ec-lmbx-10">Hint for the future: </span>If a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> run stops because <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> cannot find a file, you can press Ctrl-z to quit. -<!--l. 1622--><p class="noindent" > +<!--l. 1638--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.10 </span> <a id="x1-380007.10"></a>Printing</h4> -<!--l. 1625--><p class="noindent" >It is possible to print from <span +<!--l. 1641--><p class="noindent" >It is possible to print from <span class="ec-lmss-10">dviout</span>. In this case, printing will be done using the Windows unified printer driver. By definition, it is compatible with all printers. However, there is some drawback: it can generate some huge spool files, and some (older) versions of Windows just don’t like @@ -2888,7 +2910,7 @@ them. The advantage is that you can use features like embedding BMP or WMF image also need to make sure that the printer parameters are correctly set, else you will get scaled printing (printing at 600dpi on a 300dpi printer will give you only one quadrant of your page). -<!--l. 1635--><p class="indent" > Printing is faster and more reliable if you run <span +<!--l. 1651--><p class="indent" > Printing is faster and more reliable if you run <span class="ec-lmss-10">dvips </span>to make a <span class="ec-lmtt-10">.ps </span>file and then print from <span class="ec-lmss-10">GSView</span>. In @@ -2899,7 +2921,7 @@ class="lmsy-10">!</span><span class="ec-lmss-10">Print</span><span class="ec-lmss-10">…</span>. A <span class="ec-lmss-10">Print </span>window will appear. -<!--l. 1640--><p class="indent" > If you are using a PostScript printer, <span +<!--l. 1656--><p class="indent" > If you are using a PostScript printer, <span class="ec-lmri-10">be sure to select </span><span class="ec-lmsso-10">PostScript Printer</span>. This is done in the <span class="ec-lmss-10">Print</span> @@ -2909,7 +2931,7 @@ class="ec-lmss-10">Print </span>window. You can then select any of the printers previously installed. If you fail to check the box for <span class="ec-lmtt-10">PostScript Printer</span>, printing will not work. -<!--l. 1646--><p class="indent" > If you will be using your own non-PostScript printer, select <span +<!--l. 1662--><p class="indent" > If you will be using your own non-PostScript printer, select <span class="ec-lmss-10">Ghostscript device </span>in the <span class="ec-lmss-10">Print Method</span> box, then click on the button to the right labelled <span @@ -2922,16 +2944,16 @@ your printer type from the <span class="ec-lmss-10">Device </span>list.) -<!--l. 1653--><p class="noindent" > +<!--l. 1669--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.11 </span> <a id="x1-390007.11"></a>Tips and tricks for Win32</h4> -<!--l. 1655--><p class="noindent" > +<!--l. 1671--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.1 </span> <a id="x1-400007.11.1"></a>Different flavors of Win32</h5> -<!--l. 1657--><p class="noindent" >What we call Win32 is not an operating system by itself. It is a large set of functions (around 12,000 in +<!--l. 1673--><p class="noindent" >What we call Win32 is not an operating system by itself. It is a large set of functions (around 12,000 in the header files of the Microsoft SDK) that you can use to write programs for different operating systems of the Windows family. -<!--l. 1662--><p class="indent" > Windows comes in different flavors: +<!--l. 1678--><p class="indent" > Windows comes in different flavors: <ul class="itemize1"> <li class="itemize">Win95, Win98 and WinME, which <span class="ec-lmri-10">are not true multitasking, multithreading </span>environments, @@ -2949,7 +2971,7 @@ class="ec-lmtt-10">MS-DOS 7.0</span>’ (at least for the old versions of Wi </li> <li class="itemize">Windows XP, which comes with Personal and Pro flavors. This is the last step in merging both lines of products (Win9x based and NT based). XP is based on NT.</li></ul> -<!--l. 1681--><p class="indent" > Win9x are able to run 32 bits programs and 16 bits programs concurrently. But the operating +<!--l. 1697--><p class="indent" > Win9x are able to run 32 bits programs and 16 bits programs concurrently. But the operating system by itself is not entirely written in 32 bits mode, and does not support memory protection: 16bits applications can overwrite parts of the operating system memory! Some parts of the system like the GDI (Graphical Device Interface) manage limited resources like bitmaps, fonts, pens and so on for the @@ -2957,17 +2979,17 @@ set of all programs that run concurrently. All the bitmaps headers available at time can’t amount for more than 64kB. This explains the performance tool and the fact that you can put your system on his knees by making intensive use of graphic objects for example. -<!--l. 1692--><p class="indent" > NT, 2K and XP do not suffer from these limitations, and neither from other Win9x limitations. They +<!--l. 1708--><p class="indent" > NT, 2K and XP do not suffer from these limitations, and neither from other Win9x limitations. They are true multitasking environments, with protected memory. They are much more responsive than Win9x because of better memory management, better file system and so on. -<!--l. 1697--><p class="noindent" > +<!--l. 1713--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.2 </span> <a id="x1-410007.11.2"></a>Command line prompt</h5> -<!--l. 1699--><p class="noindent" >You may wonder, “Why would I need to use a command line prompt when I have Windows?” -<!--l. 1702--><p class="indent" > Good question! The problem is of very general nature. Not all operations can be done easily using +<!--l. 1715--><p class="noindent" >You may wonder, “Why would I need to use a command line prompt when I have Windows?” +<!--l. 1718--><p class="indent" > Good question! The problem is of very general nature. Not all operations can be done easily using only a GUI. Command line gives you programming power — assuming a clever command interpreter. -<!--l. 1706--><p class="indent" > But the problem here is more fundamental: <span class="TEX">T<span +<!--l. 1722--><p class="indent" > But the problem here is more fundamental: <span class="TEX">T<span class="E">E</span>X</span> is <span class="ec-lmri-10">a batch </span>tool. Not an interactive one. <span class="TEX">T<span class="E">E</span>X</span> needs @@ -2976,16 +2998,16 @@ done only by a global processing of the document. It is not (yet) a task that ca interactively. -<!--l. 1712--><p class="indent" > This means that you should use <span class="TEX">T<span +<!--l. 1728--><p class="indent" > This means that you should use <span class="TEX">T<span class="E">E</span>X</span> from a command line. In fact the situation is not so bad. There is an advantage to write command line tools for complex processing: they are better debugged, because they are independent of any GUI problems, and GUI tools can be designed to interface to the command line tools. This is the case for <span class="TEX">T<span class="E">E</span>X</span>, where you will mostly interact with it through a GUI text editor. -<!--l. 1720--><p class="indent" > However, you may need to use the command line prompt in a number of situations. One is when you +<!--l. 1736--><p class="indent" > However, you may need to use the command line prompt in a number of situations. One is when you are having difficulties and want to debug your setup. -<!--l. 1724--><p class="indent" > +<!--l. 1740--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Win9x</span> </dt><dd @@ -3015,11 +3037,11 @@ class="ec-lmtt-10">cmd.exe</span></span>, which is the name of the brand new command interpreter for NT (thus, it is untrue to call this a <span class="ec-lmri-10">DOS</span> box!).</dd></dl> -<!--l. 1737--><p class="indent" > These locations may change across different Windows versions. -<!--l. 1739--><p class="noindent" > +<!--l. 1753--><p class="indent" > These locations may change across different Windows versions. +<!--l. 1755--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.3 </span> <a id="x1-420007.11.3"></a>Path separators</h5> -<!--l. 1741--><p class="noindent" >The Win32 API understands both <span class="path"><span +<!--l. 1757--><p class="noindent" >The Win32 API understands both <span class="path"><span class="ec-lmtt-10">/</span></span> and <span class="path"><span class="ec-lmtt-10">\</span></span> characters as PATH separators. But the command interpreters do not! So whenever a path name is used programmatically, you can use both separators, @@ -3028,14 +3050,14 @@ class="ec-lmtt-10">\</span></span> as path separator. The reason is compatibility: the command processor used ‘<span class="ec-lmtt-10">/</span>’ to introduce arguments to commands. -<!--l. 1748--><p class="indent" > All this to say: do not be surprised to read path names written using the Unix convention; +<!--l. 1764--><p class="indent" > All this to say: do not be surprised to read path names written using the Unix convention; Windows-<span class="TEX">T<span class="E">E</span>X</span> Live is a port of Web2C, and aims to be compatible across platforms. For this reason, all the configuration files that need to specify path names use the Unix convention. -<!--l. 1753--><p class="noindent" > +<!--l. 1769--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.4 </span> <a id="x1-430007.11.4"></a>File systems</h5> -<!--l. 1756--><p class="noindent" >The worst feature of Win9x with regard to <span class="TEX">T<span +<!--l. 1772--><p class="noindent" >The worst feature of Win9x with regard to <span class="TEX">T<span class="E">E</span>X</span> is probably the so-called FAT file system. <span class="TEX">T<span class="E">E</span>X</span> uses very many small files, with size around 1–3kB. The FAT file system is old, and predates by decades the @@ -3047,21 +3069,21 @@ class="ec-lmri-10">any</span> file on a huge partition. It means that <span class="TEX">T<span class="E">E</span>X</span> will use much more disk space than it actually needs. -<!--l. 1765--><p class="indent" > The other, more modern, file systems available, FAT32 and NTFS, do not have this drawback. They +<!--l. 1781--><p class="indent" > The other, more modern, file systems available, FAT32 and NTFS, do not have this drawback. They manage clusters of 4kB only. (You can lower the limit to 512 bytes on NTFS.) -<!--l. 1769--><p class="noindent" > +<!--l. 1785--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.5 </span> <a id="x1-440007.11.5"></a>How to add some directory to your PATH</h5> -<!--l. 1771--><p class="noindent" >There are pairs of variables and values which behave much like global variables inside your programs. +<!--l. 1787--><p class="noindent" >There are pairs of variables and values which behave much like global variables inside your programs. The set of those variables is called the environment. Each program is initialized with a copy of the environment when it is run. It can request and change the value of any variable. The changes happen in the copy of the environment, and is not at all propagated to the other running programs. -<!--l. 1779--><p class="indent" > Your PATH is a special environment variable used to search for programs you want to run. There is a +<!--l. 1795--><p class="indent" > Your PATH is a special environment variable used to search for programs you want to run. There is a different procedure to change it for Win9x, WinME and NT/2K/XP: -<!--l. 1783--><p class="indent" > +<!--l. 1799--><p class="indent" > <dl class="description"><dt class="description"> <span class="ec-lmbx-10">Windows 95/98</span> </dt><dd @@ -3082,7 +3104,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 1790--><p class="nopar" > + <!--l. 1806--><p class="nopar" > </dd><dt class="description"> <span class="ec-lmbx-10">Windows ME</span> </dt><dd @@ -3111,7 +3133,7 @@ class="ec-lmss-10">Environment Variables </span>among the dialog boxes. Now class="ec-lmtt-10">PATH </span>for all users, you will have to contact your system administrator or be the system administrator yourself — in the latter case you should know what you are doing. - <!--l. 1809--><p class="noindent" >If there is already a <span + <!--l. 1825--><p class="noindent" >If there is already a <span class="ec-lmtt-10">PATH </span>setting for your user account, left click on <span class="ec-lmtt-10">PATH</span>. In the field <span @@ -3131,7 +3153,7 @@ class="ec-lmss-10">Ok</span>, otherwise the changes to <span class="ec-lmtt-10">PATH </span>won’t apply to your system. Be careful when changing the environment settings.</dd></dl> -<!--l. 1823--><p class="indent" > The best way to be sure that a variable has been properly set is to open a console and +<!--l. 1839--><p class="indent" > The best way to be sure that a variable has been properly set is to open a console and type: @@ -3144,27 +3166,27 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> -<!--l. 1827--><p class="nopar" >which should return the corresponding value. -<!--l. 1830--><p class="noindent" > +<!--l. 1843--><p class="nopar" >which should return the corresponding value. +<!--l. 1846--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.11.6 </span> <a id="x1-450007.11.6"></a><span class="TEX">T<span class="E">E</span>X</span> engines</h5> -<!--l. 1832--><p class="noindent" >If you have a look at the Web2C documentation, you will read that all the various <span class="TEX">T<span +<!--l. 1848--><p class="noindent" >If you have a look at the Web2C documentation, you will read that all the various <span class="TEX">T<span class="E">E</span>X</span> derived programs use the same base engine. For example, <span class="path"><span class="ec-lmtt-10">tex.exe</span></span> and <span class="path"><span class="ec-lmtt-10">latex.exe</span></span> are exact copies of the same program, but each one will use a different format file, based on its calling name. -<!--l. 1838--><p class="indent" > Under Unix, this feature is implemented through <span +<!--l. 1854--><p class="indent" > Under Unix, this feature is implemented through <span class="ec-lmri-10">symbolic links</span>. It saves up a bit of disk space, because some engines are used with many different format files. -<!--l. 1842--><p class="indent" > The Win32 API does not know about file links. So to save up almost the same amount of memory, all +<!--l. 1858--><p class="indent" > The Win32 API does not know about file links. So to save up almost the same amount of memory, all the <span class="TEX">T<span class="E">E</span>X</span> base engines have been put in DLLs (<span class="ec-lmri-10">Dynamic Linked Library</span>). This means that you will have the following layout: <div class="alltt"> -<!--l. 1846--><p class="noindent" ><div class="obeylines-v"> +<!--l. 1862--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">2006-11-23</span><span class="ec-lmtt-10"> </span><span @@ -3227,13 +3249,13 @@ class="ec-lmtt-10">pdftex.dll</span></span>. The same trick has been used for the <span class="path"><span class="ec-lmtt-10">mktex*.exe</span></span> family of programs which are linked to the <span class="path"><span class="ec-lmtt-10">mktex.dll</span></span> library. -<!--l. 1856--><p class="indent" > In fact, a generic tool called <span class="path"><span +<!--l. 1872--><p class="indent" > In fact, a generic tool called <span class="path"><span class="ec-lmtt-10">irun.exe</span></span> is provided to build the equivalent of Unix hard links for executable files only under Win32. -<!--l. 1859--><p class="noindent" > +<!--l. 1875--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">7.12 </span> <a id="x1-460007.12"></a>In case of problems</h4> -<!--l. 1862--><p class="noindent" > +<!--l. 1878--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.12.1 </span> <a id="x1-470007.12.1"></a>What to do if <span class="ec-lmtt-10">latex </span>does not find your files?</h5> @@ -3256,7 +3278,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 1875--><p class="nopar" >You can also set the debug level: + <!--l. 1891--><p class="nopar" >You can also set the debug level: <table @@ -3268,8 +3290,8 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 1879--><p class="nopar" > - <!--l. 1881--><p class="noindent" >Similarly, to redirect stderr to stdout: + <!--l. 1895--><p class="nopar" > + <!--l. 1897--><p class="noindent" >Similarly, to redirect stderr to stdout: <table @@ -3281,7 +3303,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 1884--><p class="nopar" >This way you can capture both stdout and stderr in the same file. + <!--l. 1900--><p class="nopar" >This way you can capture both stdout and stderr in the same file. </li> <li class="itemize">Assuming the installation has been done in <span class="path"><span class="ec-lmtt-10">c:/TeX</span></span>, check the following values: @@ -3344,11 +3366,11 @@ class="E">E</span>X</span> and friends should work. If it is not the case, you w class="ec-lmtt-10">-debug=n</span></span> option from <span class="path"><span class="ec-lmtt-10">kpsewhich</span></span>, and check back all the values. Try to identify and report the problem.</li></ul> -<!--l. 1913--><p class="noindent" > +<!--l. 1929--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">7.12.2 </span> <a id="x1-480007.12.2"></a>What to do if your setup still does not work as expected?</h5> -<!--l. 1915--><p class="noindent" >Here are several questions to investigate: -<!--l. 1917--><p class="indent" > +<!--l. 1931--><p class="noindent" >Here are several questions to investigate: +<!--l. 1933--><p class="indent" > <ol class="enumerate1" > <li class="enumerate" id="x1-48002x1">Is <span @@ -3378,187 +3400,187 @@ class="ec-lmtt-10">http://tug.org/texlive/</span></a></span>? (Unlikely, but it hurt to check.) </li></ol> -<!--l. 1936--><p class="indent" > The <span class="TEX">T<span +<!--l. 1952--><p class="indent" > The <span class="TEX">T<span class="E">E</span>X</span> Live software consists of hundreds of programs and tens of thousands of files, all from varying sources. So it is quite difficult to predict all possible causes for problems. Nevertheless, we will do our best to help you. (See section <a href="#x1-50001.2">1.2<!--tex4ht:ref: sec:help --></a>, p. <a href="#x1-50001.2">5<!--tex4ht:ref: sec:help --></a>.) -<!--l. 1942--><p class="noindent" > +<!--l. 1958--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">8 </span> <a id="x1-490008"></a>A user’s guide to Web2C</h3> -<!--l. 1944--><p class="noindent" >Web2C is an integrated collection of <span class="TEX">T<span +<!--l. 1960--><p class="noindent" >Web2C is an integrated collection of <span class="TEX">T<span class="E">E</span>X</span>-related programs: <span class="TEX">T<span class="E">E</span>X</span> itself, Metafont, MetaPost, BibTeX, etc. It is the heart of <span class="TEX">T<span class="E">E</span>X</span> Live. -<!--l. 1947--><p class="indent" > A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first +<!--l. 1963--><p class="indent" > A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first <span class="TEX">T<span class="E">E</span>X</span>-to-C system based on change files under Unix, which were primarily the original work of Howard Trickey and Pavel Curtis. Tim Morgan became the maintainer of the system, and during this period the name changed to Web-to-C. In 1990, Karl Berry took over the work, assisted by dozens of additional contributors, and in 1997 he handed the baton to Olaf Weber. -<!--l. 1955--><p class="indent" > The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. +<!--l. 1971--><p class="indent" > The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. It uses Knuth’s original sources for <span class="TEX">T<span class="E">E</span>X</span> and other basic programs written in <span class="ec-lmtt-10">web </span>and translates them into C source code. The core <span class="TEX">T<span class="E">E</span>X</span> programs are: -<!--l. 1960--><p class="indent" > +<!--l. 1976--><p class="indent" > <dl class="list1"><dt class="list"> <span class="ec-lmss-10">bibtex</span> </dt><dd class="list"> - <!--l. 1961--><p class="noindent" >Maintaining bibliographies. + <!--l. 1977--><p class="noindent" >Maintaining bibliographies. </dd><dt class="list"> <span class="ec-lmss-10">dmp</span> </dt><dd class="list"> - <!--l. 1962--><p class="noindent" ><span + <!--l. 1978--><p class="noindent" ><span class="ec-lmss-10">troff </span>to MPX (MetaPost pictures). </dd><dt class="list"> <span class="ec-lmss-10">dvicopy</span> </dt><dd class="list"> - <!--l. 1963--><p class="noindent" >Expands virtual font references in DVI files. + <!--l. 1979--><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. 1964--><p class="noindent" >DVI to MPX (MetaPost pictures). + <!--l. 1980--><p class="noindent" >DVI to MPX (MetaPost pictures). </dd><dt class="list"> <span class="ec-lmss-10">dvitype</span> </dt><dd class="list"> - <!--l. 1965--><p class="noindent" >DVI to human-readable text. + <!--l. 1981--><p class="noindent" >DVI to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">gftodvi</span> </dt><dd class="list"> - <!--l. 1966--><p class="noindent" >Generic font proofsheets. + <!--l. 1982--><p class="noindent" >Generic font proofsheets. </dd><dt class="list"> <span class="ec-lmss-10">gftopk</span> </dt><dd class="list"> - <!--l. 1967--><p class="noindent" >Generic to packed fonts. + <!--l. 1983--><p class="noindent" >Generic to packed fonts. </dd><dt class="list"> <span class="ec-lmss-10">gftype</span> </dt><dd class="list"> - <!--l. 1968--><p class="noindent" >GF to human-readable text. + <!--l. 1984--><p class="noindent" >GF to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">makempx</span> </dt><dd class="list"> - <!--l. 1969--><p class="noindent" >MetaPost label typesetting. + <!--l. 1985--><p class="noindent" >MetaPost label typesetting. </dd><dt class="list"> <span class="ec-lmss-10">mf</span> </dt><dd class="list"> - <!--l. 1970--><p class="noindent" >Creating typeface families. + <!--l. 1986--><p class="noindent" >Creating typeface families. </dd><dt class="list"> <span class="ec-lmss-10">mft</span> </dt><dd class="list"> - <!--l. 1971--><p class="noindent" >Prettyprinting Metafont source. + <!--l. 1987--><p class="noindent" >Prettyprinting Metafont source. </dd><dt class="list"> <span class="ec-lmss-10">mpost</span> </dt><dd class="list"> - <!--l. 1972--><p class="noindent" >Creating technical diagrams. + <!--l. 1988--><p class="noindent" >Creating technical diagrams. </dd><dt class="list"> <span class="ec-lmss-10">mpto</span> </dt><dd class="list"> - <!--l. 1973--><p class="noindent" >MetaPost label extraction. + <!--l. 1989--><p class="noindent" >MetaPost label extraction. </dd><dt class="list"> <span class="ec-lmss-10">newer</span> </dt><dd class="list"> - <!--l. 1974--><p class="noindent" >Compare modification times. + <!--l. 1990--><p class="noindent" >Compare modification times. </dd><dt class="list"> <span class="ec-lmss-10">patgen</span> </dt><dd class="list"> - <!--l. 1975--><p class="noindent" >Creating hyphenation patterns. + <!--l. 1991--><p class="noindent" >Creating hyphenation patterns. </dd><dt class="list"> <span class="ec-lmss-10">pktogf</span> </dt><dd class="list"> - <!--l. 1976--><p class="noindent" >Packed to generic fonts. + <!--l. 1992--><p class="noindent" >Packed to generic fonts. </dd><dt class="list"> <span class="ec-lmss-10">pktype</span> </dt><dd class="list"> - <!--l. 1977--><p class="noindent" >PK to human-readable text. + <!--l. 1993--><p class="noindent" >PK to human-readable text. </dd><dt class="list"> <span class="ec-lmss-10">pltotf</span> </dt><dd class="list"> - <!--l. 1978--><p class="noindent" >Plain text property list to TFM. + <!--l. 1994--><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. 1979--><p class="noindent" >Display <span + <!--l. 1995--><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. 1980--><p class="noindent" ><span + <!--l. 1996--><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. 1981--><p class="noindent" >Typesetting. + <!--l. 1997--><p class="noindent" >Typesetting. </dd><dt class="list"> <span class="ec-lmss-10">tftopl</span> </dt><dd class="list"> - <!--l. 1982--><p class="noindent" >TFM to plain text property list. + <!--l. 1998--><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. 1983--><p class="noindent" >Virtual font to virtual property list. + <!--l. 1999--><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. 1984--><p class="noindent" >Virtual property list to virtual font. + <!--l. 2000--><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. 1985--><p class="noindent" ><span + <!--l. 2001--><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. 1988--><p class="noindent" >The precise functions and syntax of these programs are described in the documentation of the individual +<!--l. 2004--><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. 1993--><p class="indent" > All programs honor these standard GNU options: +<!--l. 2009--><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. 1995--><p class="noindent" >print basic usage summary. + <!--l. 2011--><p class="noindent" >print basic usage summary. </dd><dt class="list"> <span class="ec-lmtt-10">--verbose</span> </dt><dd class="list"> - <!--l. 1996--><p class="noindent" >print detailed progress report. + <!--l. 2012--><p class="noindent" >print detailed progress report. </dd><dt class="list"> <span class="ec-lmtt-10">--version</span> </dt><dd class="list"> - <!--l. 1997--><p class="noindent" >print version information, then exit.</dd></dl> -<!--l. 2000--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea. This + <!--l. 2013--><p class="noindent" >print version information, then exit.</dd></dl> +<!--l. 2016--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea. This library uses a combination of environment variables and a configuration files to optimize searching the (huge) collection of <span class="TEX">T<span class="E">E</span>X</span> files. Web2C can look at more than one directory @@ -3568,11 +3590,11 @@ extensions in two distinct trees. To speed up file searches the root of each tre <span class="ec-lmtt-10">ls-R</span>, containing an entry showing the name and relative pathname for all files under that root. -<!--l. 2010--><p class="noindent" > +<!--l. 2026--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">8.1 </span> <a id="x1-500008.1"></a>Kpathsea path searching</h4> -<!--l. 2012--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library. -<!--l. 2015--><p class="indent" > We call a <span +<!--l. 2028--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library. +<!--l. 2031--><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 @@ -3582,23 +3604,23 @@ class="ec-lmtt-10">.:/dir</span>’, Kpathsea checks each element of the pat class="ec-lmtt-10">./my-file</span>, then <span class="ec-lmtt-10">/dir/my-file</span>, returning the first match (or possibly all matches). -<!--l. 2023--><p class="indent" > In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can +<!--l. 2039--><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. 2027--><p class="indent" > To check a particular path element <span +<!--l. 2043--><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-580008.2">57<!--tex4ht:ref: Filename-database --></a>) applies to <span class="ec-lmro-10">p</span>, i.e., if the database is in a directory that is a prefix of <span class="ec-lmro-10">p</span>. If so, the path specification is matched against the contents of the database. -<!--l. 2033--><p class="indent" > If the database does not exist, or does not apply to this path element, or contains no matches, the +<!--l. 2049--><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. 2040--><p class="indent" > The “file must exist” condition comes into play with ‘<span +<!--l. 2056--><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> @@ -3610,23 +3632,23 @@ 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. 2049--><p class="indent" > Although the simplest and most common path element is a directory name, Kpathsea supports +<!--l. 2065--><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. 2058--><p class="indent" > Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span +<!--l. 2074--><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. 2072--><p class="noindent" > +<!--l. 2088--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.1 </span> <a id="x1-510008.1.1"></a>Path sources</h5> -<!--l. 2075--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them: -<!--l. 2078--><p class="indent" > +<!--l. 2091--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them: +<!--l. 2094--><p class="indent" > <ol class="enumerate1" > <li class="enumerate" id="x1-51002x1">A user-set environment variable, for instance, <span @@ -3651,13 +3673,13 @@ class="ec-lmtt-10">TEXINPUTS=/c:/d</span>’ (see </li> <li class="enumerate" id="x1-51008x4">The compile-time default.</li></ol> -<!--l. 2091--><p class="noindent" >You can see each of these values for a given search path by using the debugging options (see “Debugging +<!--l. 2107--><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-620008.2.4">61<!--tex4ht:ref: Debugging --></a>). -<!--l. 2095--><p class="noindent" > +<!--l. 2111--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.2 </span> <a id="x1-520008.1.2"></a>Config files</h5> -<!--l. 2098--><p class="noindent" >Kpathsea reads <span +<!--l. 2114--><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 @@ -3684,7 +3706,7 @@ class="ec-lmtt-10">\ </span>at the end of a line acts as a continuation characte </li> <li class="itemize">Each remaining line has the form: <div class="alltt"> - <!--l. 2119--><p class="noindent" ><div class="obeylines-v"> + <!--l. 2135--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span @@ -3734,8 +3756,8 @@ class="ec-lmtt-10">texmf.cnf </span>for Unix, MS-DOS and </li> <li class="itemize">All definitions are read before anything is expanded, so variables can be referenced before they are defined.</li></ul> -<!--l. 2144--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below: -<!--l. 2148--><p class="indent" > +<!--l. 2160--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below: +<!--l. 2164--><p class="indent" > <div class="fancyvrb" id="fancyvrb9"> <a id="x1-52002r1"></a><span @@ -3797,10 +3819,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. 2153--><p class="noindent" > +<!--l. 2169--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.3 </span> <a id="x1-530008.1.3"></a>Path expansion</h5> -<!--l. 2157--><p class="noindent" >Kpathsea recognizes certain special characters and constructions in search paths, similar to those +<!--l. 2173--><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 @@ -3811,7 +3833,7 @@ 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-540008.1.4"></a>Default expansion</h5> -<!--l. 2169--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a +<!--l. 2185--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a href="#x1-510008.1.1">52<!--tex4ht:ref: Path-sources --></a>) contains an <span class="ec-lmri-10">extra colon </span>(i.e., leading, trailing, or doubled), Kpathsea inserts at that point the next-highest-priority search path that is defined. @@ -3819,7 +3841,7 @@ If that inserted path has an extra colon, the same happens with the next highest environment variable setting <div class="alltt"> -<!--l. 2178--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2194--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -3831,30 +3853,30 @@ class="ec-lmtt-10">/home/karl:</span></span> class="ec-lmtt-10">TEXINPUTS </span>value from <span class="ec-lmtt-10">texmf.cnf </span>of <div class="alltt"> -<!--l. 2183--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2199--><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. 2188--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2204--><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. 2192--><p class="indent" > Since it would be useless to insert the default value in more than one place, Kpathsea changes only +<!--l. 2208--><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. 2197--><p class="noindent" > +<!--l. 2213--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.5 </span> <a id="x1-550008.1.5"></a>Brace expansion</h5> -<!--l. 2199--><p class="noindent" >A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span +<!--l. 2215--><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 @@ -3874,7 +3896,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> -<!--l. 2207--><p class="nopar" >Using this you can then write something like +<!--l. 2223--><p class="nopar" >Using this you can then write something like <table @@ -3886,7 +3908,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> -<!--l. 2211--><p class="nopar" >which means that, after looking in the current directory, the <span +<!--l. 2227--><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 @@ -3900,17 +3922,17 @@ instance) and the other being continuously updated with new versions as they bec using the <span class="ec-lmtt-10">$TEXMF </span>variable in all definitions, one is sure to always search the up-to-date tree first. -<!--l. 2223--><p class="noindent" > +<!--l. 2239--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.6 </span> <a id="x1-560008.1.6"></a>Subdirectory expansion</h5> -<!--l. 2226--><p class="noindent" >Two or more consecutive slashes in a path element following a directory <span +<!--l. 2242--><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. 2232--><p class="indent" > If you specify any filename components after the ‘<span +<!--l. 2248--><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 @@ -3920,83 +3942,83 @@ 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. 2237--><p class="indent" > Multiple ‘<span +<!--l. 2253--><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. 2240--><p class="noindent" > +<!--l. 2256--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.1.7 </span> <a id="x1-570008.1.7"></a>List of special characters and their meaning: a summary</h5> -<!--l. 2242--><p class="noindent" >The following list summarizes the special characters in Kpathsea configuration files. -<!--l. 2247--><p class="noindent" > +<!--l. 2258--><p class="noindent" >The following list summarizes the special characters in Kpathsea configuration files. +<!--l. 2263--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">:</span> </dt><dd class="list"> - <!--l. 2248--><p class="noindent" >Separator in path specification; at the beginning or the end of a path it substitutes the + <!--l. 2264--><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. 2250--><p class="noindent" >Separator on non-Unix systems (acts like <span + <!--l. 2266--><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. 2251--><p class="noindent" >Variable expansion. + <!--l. 2267--><p class="noindent" >Variable expansion. </dd><dt class="list"> <span class="ec-lmtt-10">~</span> </dt><dd class="list"> - <!--l. 2252--><p class="noindent" >Represents the user’s home directory. + <!--l. 2268--><p class="noindent" >Represents the user’s home directory. </dd><dt class="list"> <span class="ec-lmtt-10">{...}</span> </dt><dd class="list"> - <!--l. 2253--><p class="noindent" >Brace expansion. + <!--l. 2269--><p class="noindent" >Brace expansion. </dd><dt class="list"> <span class="ec-lmtt-10">//</span> </dt><dd class="list"> - <!--l. 2254--><p class="noindent" >Subdirectory expansion (can occur anywhere in a path, except at its beginning). + <!--l. 2270--><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. 2256--><p class="noindent" >Start of comment. + <!--l. 2272--><p class="noindent" >Start of comment. </dd><dt class="list"> <span class="ec-lmtt-10">\</span> </dt><dd class="list"> - <!--l. 2257--><p class="noindent" >Continuation character (allows multi-line entries). + <!--l. 2273--><p class="noindent" >Continuation character (allows multi-line entries). </dd><dt class="list"> <span class="ec-lmtt-10">!!</span> </dt><dd class="list"> - <!--l. 2258--><p class="noindent" >Search <span + <!--l. 2274--><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. 2263--><p class="noindent" > +<!--l. 2279--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">8.2 </span> <a id="x1-580008.2"></a>Filename databases</h4> -<!--l. 2266--><p class="noindent" >Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with +<!--l. 2282--><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. 2274--><p class="indent" > A second database file <span +<!--l. 2290--><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. 2278--><p class="noindent" > +<!--l. 2294--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.1 </span> <a id="x1-590008.2.1"></a>The filename database</h5> -<!--l. 2281--><p class="noindent" >As explained above, the name of the main filename database must be <span +<!--l. 2297--><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 @@ -4005,13 +4027,13 @@ default); most sites have only one hierarchy. Kpathsea looks for <span class="ec-lmtt-10">ls-R </span>files along the <span class="ec-lmtt-10">TEXMFDBS</span> path. -<!--l. 2287--><p class="indent" > The recommended way to create and maintain ‘<span +<!--l. 2303--><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. 2291--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2307--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">cd</span><span class="ec-lmtt-10"> </span><span @@ -4032,17 +4054,17 @@ 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. 2300--><p class="indent" > If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a +<!--l. 2316--><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. 2306--><p class="noindent" > +<!--l. 2322--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.2 </span> <a id="x1-600008.2.2"></a>kpsewhich: Standalone path searching</h5> -<!--l. 2309--><p class="noindent" >The <span +<!--l. 2325--><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 @@ -4050,7 +4072,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. 2314--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2330--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4065,18 +4087,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. 2320--><p class="indent" > Kpathsea looks up each non-option argument on the command line as a filename, and returns the +<!--l. 2336--><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. 2325--><p class="indent" > The more important options are described next. -<!--l. 2327--><p class="noindent" > +<!--l. 2341--><p class="indent" > The more important options are described next. +<!--l. 2343--><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. 2328--><p class="noindent" > Set the resolution to <span + <!--l. 2344--><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 @@ -4088,7 +4110,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. 2333--><p class="noindent" > + <!--l. 2349--><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 @@ -4103,7 +4125,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. 2341--><p class="noindent" > + <!--l. 2357--><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 @@ -4113,7 +4135,7 @@ class="ec-lmtt-10">pk</span>’ lookups. No default: any mode <span class="ec-lmtt-10">--must-exist</span> </dt><dd class="list"> - <!--l. 2344--><p class="noindent" > + <!--l. 2360--><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. @@ -4122,7 +4144,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. 2348--><p class="noindent" > + <!--l. 2364--><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 @@ -4137,7 +4159,7 @@ class="ec-lmro-10">name</span> </dt><dd class="list"> - <!--l. 2353--><p class="noindent" > + <!--l. 2369--><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 @@ -4149,7 +4171,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. 2358--><p class="noindent" > + <!--l. 2374--><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 @@ -4161,15 +4183,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. 2362--><p class="noindent" > + <!--l. 2378--><p class="noindent" > <br class="newline" />sets the debugging options to <span class="ec-lmro-10">num</span>.</dd></dl> -<!--l. 2367--><p class="noindent" > +<!--l. 2383--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.3 </span> <a id="x1-610008.2.3"></a>Examples of use</h5> -<!--l. 2370--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search: +<!--l. 2386--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search: <div class="alltt"> -<!--l. 2372--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2388--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4192,7 +4214,7 @@ class="ec-lmtt-10">texmf-dist</span>’ <span class="TEX">T<span class="E">E</span>X</span> Live directory. Similarly, all of the following are found without problems thanks to their unambiguous suffix. <div class="alltt"> -<!--l. 2382--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2398--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4240,10 +4262,10 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib</span> </div> </div> -<!--l. 2395--><p class="indent" > That last is a BibTeX bibliography database for <span +<!--l. 2411--><p class="indent" > That last is a BibTeX bibliography database for <span class="ec-lmro-10">TUGBoat </span>articles. <div class="alltt"> -<!--l. 2397--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2413--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4259,7 +4281,7 @@ in this case since there are no pre-generated Computer Modern ‘<span class="ec-lmtt-10">.pk</span>’ files in <span class="TEX">T<span class="E">E</span>X</span> Live — the Type 1 variants are used by default. <div class="alltt"> -<!--l. 2404--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2420--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4271,12 +4293,12 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk</span> </div> </div> -<!--l. 2411--><p class="indent" > For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span +<!--l. 2427--><p class="indent" > For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span class="ec-lmtt-10">.pk</span>’ files, and since the default Metafont mode on our installation is <span class="ec-lmtt-10">ljfour </span>with a base resolution of 600dpi (dots per inch), this instantiation is returned. <div class="alltt"> -<!--l. 2415--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2431--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4292,7 +4314,7 @@ class="ec-lmss-10">xdvi </span>would go off and actually build the required <span class="ec-lmtt-10">.pk </span>files using the script <span class="ec-lmss-10">mktexpk</span>. -<!--l. 2424--><p class="indent" > Next we turn our attention to <span +<!--l. 2440--><p class="indent" > Next we turn our attention to <span class="ec-lmss-10">dvips</span>’s header and configuration files. We first look at one of the commonly used files, the general prolog <span class="ec-lmtt-10">tex.pro </span>for <span class="TEX">T<span @@ -4307,7 +4329,7 @@ ambiguous we have to specify explicitly which type we are considering (<span class="ec-lmtt-10">dvips config</span>) for the file <span class="ec-lmtt-10">config.ps</span>. <div class="alltt"> -<!--l. 2433--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2449--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4339,11 +4361,11 @@ class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map</span> </div> </div> -<!--l. 2442--><p class="indent" > We now take a closer look at the URW Times PostScript support files. The prefix for these in the +<!--l. 2458--><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. 2446--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2462--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4357,7 +4379,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. 2451--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2467--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span @@ -4366,7 +4388,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. 2456--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2472--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4379,7 +4401,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. 2463--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2479--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">utmb8r</span><span class="ec-lmtt-10"> </span><span @@ -4427,7 +4449,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. 2474--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2490--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4439,21 +4461,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. 2481--><p class="indent" > It should be evident from these examples how you can easily locate the whereabouts of a given file. +<!--l. 2497--><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. 2486--><p class="noindent" > +<!--l. 2502--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">8.2.4 </span> <a id="x1-620008.2.4"></a>Debugging actions</h5> -<!--l. 2489--><p class="noindent" >Sometimes it is necessary to investigate how a program resolves file references. To make this practical, +<!--l. 2505--><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. 2493--><p class="noindent" > +<!--l. 2509--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10"> 1</span> </dt><dd class="list"> - <!--l. 2494--><p class="noindent" ><span + <!--l. 2510--><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. @@ -4461,46 +4483,46 @@ class="ec-lmtt-10">ls-R </span>database this should <span class="ec-lmtt-10"> 2</span> </dt><dd class="list"> - <!--l. 2497--><p class="noindent" >References to hash tables (such as <span + <!--l. 2513--><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. 2499--><p class="noindent" >File open and close operations. + <!--l. 2515--><p class="noindent" >File open and close operations. </dd><dt class="list"> <span class="ec-lmtt-10"> 8</span> </dt><dd class="list"> - <!--l. 2500--><p class="noindent" >General path information for file types searched by Kpathsea. This is useful to find out where + <!--l. 2516--><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. 2503--><p class="noindent" >Directory list for each path element (only relevant for searches on disk). + <!--l. 2519--><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. 2505--><p class="noindent" >File searches.</dd></dl> -<!--l. 2507--><p class="noindent" >A value of <span + <!--l. 2521--><p class="noindent" >File searches.</dd></dl> +<!--l. 2523--><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. 2510--><p class="indent" > Similarly, with the <span +<!--l. 2526--><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. 2516--><p class="indent" > Generally speaking, as most programs call the Kpathsea library internally, one can select a debug +<!--l. 2532--><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. 2521--><p class="indent" > (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic +<!--l. 2537--><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. 2525--><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. 2541--><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. @@ -4521,13 +4543,13 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> -<!--l. 2532--><p class="nopar" >This little file only uses the font <span +<!--l. 2548--><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. 2536--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2552--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4544,7 +4566,7 @@ class="ec-lmss-10">dvips </span>Reference Manual, <a href="../../../../texmf/doc/html/dvips/dvips_toc.html" >texmf/doc/html/dvips/dvips_toc.html</a>). The output (slightly rearranged) appears in Figure <a href="#x1-62031r1">1<!--tex4ht:ref: fig:dvipsdbga --></a>. -<!--l. 2544--><p class="indent" > <a +<!--l. 2560--><p class="indent" > <a id="x1-62031r1"></a><a id="x1-62036r2"></a><a id="x1-62049r3"></a><hr class="float"><div class="float" @@ -4732,7 +4754,7 @@ class="content">Finding the font file</td></tr></table><!--tex4ht:label?: x1-620 </td></tr></table></div><hr class="endfloat" /> -<!--l. 2560--><p class="indent" > <span +<!--l. 2576--><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 @@ -4754,7 +4776,7 @@ class="ec-lmss-10">dvips </span>command). This file contains the list of the map which define the relation between the <span class="TEX">T<span class="E">E</span>X</span>, PostScript and file system names of the fonts. <div class="alltt"> -<!--l. 2574--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2590--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="underline"><span @@ -4787,9 +4809,9 @@ 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-610008.2.3">8.2.3<!--tex4ht:ref: SExamplesofuse --></a> for more details about PostScript map file handling). -<!--l. 2587--><p class="indent" > At this point <span +<!--l. 2603--><p class="indent" > At this point <span class="ec-lmss-10">dvips </span>identifies itself to the user: <div class="alltt"> -<!--l. 2588--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2604--><p class="noindent" ><div class="obeylines-v"> <span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span @@ -4804,7 +4826,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. 2593--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2609--><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 @@ -4827,13 +4849,13 @@ class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span> </div> </div> -<!--l. 2604--><p class="indent" > After having found the file in question, <span +<!--l. 2620--><p class="indent" > After having found the file in question, <span class="ec-lmss-10">dvips </span>outputs date and time, and informs us that it will generate the file <span class="ec-lmtt-10">hello-world.ps</span>, then that it needs the font file <span class="ec-lmtt-10">cmr10</span>, and that the latter is declared as “resident” (no bitmaps needed): <div class="alltt"> -<!--l. 2609--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2625--><p class="noindent" ><div class="obeylines-v"> <br /><span class="ec-lmtt-9">TeX</span><span class="ec-lmtt-9"> output</span><span @@ -4861,7 +4883,7 @@ class="ec-lmtt-10">cmr10.pfb </span>of the font is located and included in the o file (see last line). <div class="alltt"> -<!--l. 2618--><p class="noindent" ><div class="obeylines-v"> +<!--l. 2634--><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 @@ -4919,18 +4941,18 @@ class="ec-lmtt-9"><cmr10.pfb>[1]</span> </div> <h4 class="subsectionHead"><span class="titlemark">8.3 </span> <a id="x1-630008.3"></a>Runtime options</h4> -<!--l. 2635--><p class="noindent" >Another useful feature of Web2C is its possibility to control a number of memory parameters +<!--l. 2651--><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. 2641--><p class="noindent" > +<!--l. 2657--><p class="noindent" > <dl class="list1"><dt class="list"> <span class="ec-lmtt-10">main_memory</span> </dt><dd class="list"> - <!--l. 2642--><p class="noindent" >Total words of memory available, for <span class="TEX">T<span + <!--l. 2658--><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 @@ -4944,7 +4966,7 @@ class="ec-lmtt-10">texmf.cnf</span>. <span class="ec-lmtt-10">extra_mem_bot</span> </dt><dd class="list"> - <!--l. 2650--><p class="noindent" >Extra space for “large” <span class="TEX">T<span + <!--l. 2666--><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>. @@ -4952,28 +4974,28 @@ class="E">E</span>X</span>. <span class="ec-lmtt-10">font_mem_size</span> </dt><dd class="list"> - <!--l. 2654--><p class="noindent" >Number of words for font information available for <span class="TEX">T<span + <!--l. 2670--><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. 2657--><p class="noindent" >Additional space for the hash table of control sequence names. Approximately 10,000 control + <!--l. 2673--><p class="noindent" >Additional space for the hash table of control sequence names. Approximately 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. 2665--><p class="noindent" >Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these +<!--l. 2681--><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. 2773--><p class="noindent" > +<!--l. 2789--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">9 </span> <a id="x1-640009"></a>Acknowledgements</h3> -<!--l. 2775--><p class="noindent" ><span class="TEX">T<span +<!--l. 2791--><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 @@ -5065,7 +5087,7 @@ class="E">E</span>X</span> Live, and coordinator of the many </li> <li class="itemize">Graham Williams, on whose work the catalogue of packages depends. </li></ul> -<!--l. 2853--><p class="indent" > Builders of the binaries: Tigran Aivazian and Hartmut Henkel (<span +<!--l. 2869--><p class="indent" > Builders of the binaries: Tigran Aivazian and Hartmut Henkel (<span class="ec-lmss-10">x86_64-linux</span>), Akira Kakuto and Fabrice Popineau (<span class="ec-lmss-10">win32</span>), Manfred Lotz (<span @@ -5080,19 +5102,19 @@ class="ec-lmss-10">mips-irix</span>), Gerben Wierda (<span class="ec-lmss-10">i386-darwin</span>, <span class="ec-lmss-10">powerpc-darwin</span>). -<!--l. 2864--><p class="indent" > Documentation and translation updates: Karl Berry (English), Daniel Flipo & Fabrice Popineau +<!--l. 2880--><p class="indent" > Documentation and translation updates: Karl Berry (English), Daniel Flipo & Fabrice Popineau (French), Günter Partosch & Hartmut Henkel (German), Petr Sojka & Jan Busa (Czech/Slovak), Boris Veytsman (Russian), Staszek Wawrykiewicz (Polish). -<!--l. 2872--><p class="indent" > Of course the most important acknowledgement must go to Donald Knuth, first for inventing <span class="TEX">T<span +<!--l. 2888--><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. 2876--><p class="noindent" > +<!--l. 2892--><p class="noindent" > <h3 class="sectionHead"><span class="titlemark">10 </span> <a id="x1-6500010"></a>Release history</h3> -<!--l. 2879--><p class="noindent" > +<!--l. 2895--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">10.1 </span> <a id="x1-6600010.1"></a>Past</h4> -<!--l. 2881--><p class="noindent" >Discussion began in late 1993 when the Dutch <span class="TEX">T<span +<!--l. 2897--><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 @@ -5116,7 +5138,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. 2897--><p class="indent" > We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified +<!--l. 2913--><p class="indent" > We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified Thomas Esser’s te<span class="TEX">T<span class="E">E</span>X</span> as the ideal setup, as it already had multi-platform support and was built with portability across file systems in mind. Thomas agreed to help, and work began seriously at the start of @@ -5136,7 +5158,7 @@ almost all of its features. The 4th edition followed the same pattern, using a n te<span class="TEX">T<span class="E">E</span>X</span>, and a new release of Web2C (7.3). The system now included a complete Windows setup. -<!--l. 2913--><p class="indent" > For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds +<!--l. 2929--><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 @@ -5146,19 +5168,19 @@ href="http://www.debian.org/intro/free" class="url" ><span class="ec-lmtt-10">http://www.debian.org/intro/free</span></a></span>); we have done our best to check the license conditions of all packages, but we would very much appreciate hearing of any mistakes. -<!--l. 2922--><p class="indent" > The 6th edition (July 2001) had much more material updated. The major change was a new install +<!--l. 2938--><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. 2928--><p class="indent" > The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of +<!--l. 2944--><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. 2933--><p class="noindent" > +<!--l. 2949--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.1 </span> <a id="x1-6700010.1.1"></a>2003</h5> -<!--l. 2935--><p class="noindent" >In 2003, with the continuing flood of updates and additions, we found that <span class="TEX">T<span +<!--l. 2951--><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 @@ -5214,16 +5236,16 @@ class="ec-lmtt-10">texmf/web2c/cp8bit.tcx</span></span></span>. (Future releases by the year: <span class="TEX">T<span class="E">E</span>X</span> Live 2003.</li></ul> -<!--l. 2973--><p class="noindent" > +<!--l. 2989--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.2 </span> <a id="x1-6800010.1.2"></a>2004</h5> -<!--l. 2975--><p class="noindent" >2004 saw many changes: +<!--l. 2991--><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. 2983--><p class="noindent" ><span + <!--l. 2999--><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), @@ -5235,7 +5257,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. 2990--><p class="noindent" >For methods of handling this and other information, please see <span class="obeylines-h"><a + <!--l. 3006--><p class="noindent" >For methods of handling this and other information, please see <span class="obeylines-h"><a href="http://tug.org/texlive/mapenc.html" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive/mapenc.html</span></a></span>. </li> @@ -5316,7 +5338,7 @@ class="E">E</span>X</span> features (<a href="../../../../texmf-dist/doc/etex/base/" >texmf-dist/doc/etex/base/</a>). - <!--l. 3037--><p class="noindent" >It also means it’s <span + <!--l. 3053--><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 @@ -5375,7 +5397,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 3071--><p class="nopar" >See the Web2C manual for more: <a + <!--l. 3087--><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 @@ -5452,10 +5474,10 @@ class="ec-lmss-10">mips-irix</span>, the MIPSpro 7.4 runtimes are </li></ul> -<!--l. 3122--><p class="noindent" > +<!--l. 3138--><p class="noindent" > <h5 class="subsubsectionHead"><span class="titlemark">10.1.3 </span> <a id="x1-6900010.1.3"></a>2005</h5> -<!--l. 3124--><p class="noindent" >2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed +<!--l. 3140--><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 @@ -5517,7 +5539,7 @@ class="verbatim"><div class="verbatim"> </div> </div> </td></tr></table> - <!--l. 3162--><p class="nopar" > + <!--l. 3178--><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 @@ -5543,10 +5565,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. 3184--><p class="noindent" > +<!--l. 3200--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">10.2 </span> <a id="x1-7000010.2"></a>Present</h4> -<!--l. 3187--><p class="noindent" >In 2006–2007, the major new addition to <span class="TEX">T<span +<!--l. 3203--><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 @@ -5554,13 +5576,13 @@ class="ec-lmtt-10">xetex </span>and class="ec-lmtt-10">xelatex </span>programs; see <span class="obeylines-h"><a href="http://scripts.sil.org/xetex" class="url" ><span class="ec-lmtt-10">http://scripts.sil.org/xetex</span></a></span>. -<!--l. 3191--><p class="indent" > MetaPost also received a notable update, with more planned for the future (<span class="obeylines-h"><a +<!--l. 3207--><p class="indent" > MetaPost also received a notable update, with more planned for the future (<span class="obeylines-h"><a href="http://tug.org/metapost/articles" class="url" ><span class="ec-lmtt-10">http://tug.org/metapost/articles</span></a></span>), likewise pdf<span class="TEX">T<span class="E">E</span>X</span> (<span class="obeylines-h"><a href="http://tug.org/applications/pdftex" class="url" ><span class="ec-lmtt-10">http://tug.org/applications/pdftex</span></a></span>) -<!--l. 3195--><p class="indent" > The <span class="TEX">T<span +<!--l. 3211--><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 @@ -5572,24 +5594,24 @@ 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. 3203--><p class="indent" > The (plain) <span +<!--l. 3219--><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. 3207--><p class="indent" > The installation scripts now accept various environment variables to allow for non-interactive +<!--l. 3223--><p class="indent" > The installation scripts now accept various environment variables to allow for non-interactive installation; see section <a href="#x1-150003.2.1">3.2.1<!--tex4ht:ref: sec:noninteractive-install --></a>. -<!--l. 3211--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As +<!--l. 3227--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check CTAN (<span class="obeylines-h"><a href="http://www.ctan.org" class="url" ><span class="ec-lmtt-10">http://www.ctan.org</span></a></span>) for updates. -<!--l. 3215--><p class="indent" > Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the +<!--l. 3231--><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. 3220--><p class="indent" > Finally, in May 2006 Thomas Esser announced that he would no longer be updating te<span class="TEX">T<span +<!--l. 3236--><p class="indent" > Finally, in May 2006 Thomas Esser announced that he would no longer be updating te<span class="TEX">T<span class="E">E</span>X</span> (<span class="obeylines-h"><a href="http://tug.org/tetex" class="url" ><span class="ec-lmtt-10">http://tug.org/tetex</span></a></span>). As a result, there was been a surge of interest in <span class="TEX">T<span @@ -5602,10 +5624,10 @@ an approximate equivalent.) We hope this will eventually translate to improvemen class="E">E</span>X</span> environment for everyone. -<!--l. 3229--><p class="noindent" > +<!--l. 3245--><p class="noindent" > <h4 class="subsectionHead"><span class="titlemark">10.3 </span> <a id="x1-7100010.3"></a>Future</h4> -<!--l. 3231--><p class="noindent" ><span class="TEX"><span +<!--l. 3247--><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 @@ -5615,22 +5637,22 @@ like to provide more help material, more utilities, more installation programs, ever-improved and checked tree of macros and fonts. This work is all done by hard-pressed volunteers in their limited spare time, and a great deal remains to be done. If you can help, don’t hesitate to put your name forward! -<!--l. 3239--><p class="indent" > Please send corrections, suggestions, and offers of help to: +<!--l. 3255--><p class="indent" > Please send corrections, suggestions, and offers of help to: <div class="quote"> - <!--l. 3241--><p class="noindent" ><a + <!--l. 3257--><p class="noindent" ><a href="mailto:tex-live@tug.org" ><span class="path"><span class="ec-lmtt-10">tex-live@tug.org</span></span></a> <br class="newline" /><span class="obeylines-h"><a href="http://tug.org/texlive" class="url" ><span class="ec-lmtt-10">http://tug.org/texlive</span></a></span></div> -<!--l. 3246--><p class="noindent" ><span +<!--l. 3262--><p class="noindent" ><span class="ec-lmro-10">Happy </span><span class="TEX"><span class="ec-lmro-10">T</span><span class="E"><span class="ec-lmro-10">E</span></span><span class="ec-lmro-10">X</span></span><span class="ec-lmro-10">ing!</span> - <div class="footnotes"><!--l. 1343--><p class="indent" > <span class="footnote-mark"><a + <div class="footnotes"><!--l. 1359--><p class="indent" > <span class="footnote-mark"><a href="#fn1x0-bk" id="fn1x0"><sup class="textsuperscript">1</sup></a></span><span class="ec-lmr-8">Not free, that is, in the sense of freedom to modify and redistribute, following free software guidelines. This does</span> <span diff --git a/Master/texmf-doc/doc/english/texlive-en/live.pdf b/Master/texmf-doc/doc/english/texlive-en/live.pdf Binary files differindex 093d05226c8..dd9aeefe4d3 100644 --- a/Master/texmf-doc/doc/english/texlive-en/live.pdf +++ b/Master/texmf-doc/doc/english/texlive-en/live.pdf |