From c9785963ed9ba84c74ee1a0c6706082941609770 Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Thu, 20 Aug 2009 19:45:38 +0000 Subject: Revisions Windows chapter git-svn-id: svn://tug.org/texlive/trunk@14788 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf/doc/texlive/texlive-en/texlive-en.html | 611 +++++++++++---------- Master/texmf/doc/texlive/texlive-en/texlive-en.tex | 50 +- 2 files changed, 343 insertions(+), 318 deletions(-) (limited to 'Master/texmf') diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.html b/Master/texmf/doc/texlive/texlive-en/texlive-en.html index a30e61251f0..a2ceb6a0b12 100644 --- a/Master/texmf/doc/texlive/texlive-en/texlive-en.html +++ b/Master/texmf/doc/texlive/texlive-en/texlive-en.html @@ -9,7 +9,7 @@ TeX Live 2009 - + @@ -3406,27 +3406,31 @@ sufficient to get a working setup. class="E">EX Live locally and then move the entire hierarchy afterwards to a network location.

Windows users have different expectations. The directory texmf/doc/texlive/texlive-common/w32client/ -contains a sample script install-w32client which creates settings and menu shortcuts for using an -existing TEX Live installation on a LAN. It is invoked through a batch file install-w32client.bat in -the same directory. -

You can read more about Ttlpkg/doc/ contains a sample script +w32client which creates settings and menu shortcuts for using an existing TEX Live installation on a +LAN. It is invoked through a batch file w32client.bat in the same directory. It also registers an +ininstaller, i.e. w32unclient. These files are available online at http://tex.aanhet.net/tlclient. +

You can read more about TEX Live configuration and path searching in section 8.1. -

+

5 Maximally portable TEX Live on DVD and USB

-

The ‘running from DVD’ option described in section 

The ‘running from DVD’ option described in section 3.2.5 is fine for your own system, but if you are a guest on somebody else’s system then you would probably like something with minimal side effects. -

In the root of the T

In the root of the TEX Live DVD, or the texlive subdirectory of the TEX Collection DVD, are a @@ -3436,15 +3440,15 @@ class="ec-lmtt-10">tl-portable.bat batch file (Windows) which start up a shell/command prompt with environment settings suitable for directly accessing the TEX Live on the DVD. -

When it runs for the first time, some files will be generated in a directory

When it runs for the first time, some files will be generated in a directory  /.tlportable2009, which will take a little time. On subsequent runs, though, it will start almost instantaneously. -

The rest of the system will be unaware of T

The rest of the system will be unaware of TEX Live. If you want your editor to be aware of this TEX Live, then you can start it from a second, parallel, such tl-portable session. -

You can also use

You can also use tl-portable to run TEX Live on a USB stick. In this case, copy all the top-level files and the contents of the cp -L). A texmf-local directory on the stick will also be found and used. -

Then run

Then run tl-portable from the root of the stick, as above. In this case, the script will notice that the stick is writable and use it for generated files. You could burn the resulting contents of the stick back to DVD if that is more convenient to (for example) give to others. -

+

6 tlmgr: Managing your installation

-



@@ -3474,7 +3478,7 @@ class="ec-lmss-10">tlmgr: Managing your installation -

pict

tlmgr in GUI mode. The list of packages/collec clicking the ‘Load’ button.
-


-



+


@@ -3494,7 +3498,7 @@ clicking the ‘Load’ button.

pict

tlmgr in GUI mode: Configuration tab
-


-

T


+

TEX Live includes a program named tlmgr for managing TEX Live after the initial installation. The @@ -3524,15 +3528,15 @@ now the preferred interface. Its capabilities include:

  • changing installation options such as paper size and source location (see section 3.3.1).
  • -

    Warning: tlmgr has not been designed for or tested with installations which run from DVD.

    6.1 tlmgr GUI mode

    -

    tlmgr can be started in GUI mode with

    -

    +

    > TeX Live 2009, TeX Live Manager. After clicking ‘Load’ it displays a list of available and installed packages — the latter prepended with ‘(i)’. This assumes of course that the installation source is valid and reachable. -

    Figure 

    Figure 10 shows the configuration tab. -

    +

    6.2 Sample tlmgr command-line invocations

    -

    After the initial installation, you can update your system to the latest versions available with: +

    After the initial installation, you can update your system to the latest versions available with:

    -

    +

    >  update -all
    If this makes you nervous, first try
    -

    +

    >  -all -dry-run
    or
    -

    +

    >  -list
    -

    This more complex example adds several packages, including the engine XeT

    This more complex example adds several packages, including the engine XeTEX, from a local directory:

    -

    +

    >  fmtutil: /usr/local/texlive/2009/texmf-var/web2c/xetex/xelatex.fmt installed.
    -

    As you may see,

    As you may see, tlmgr installs dependencies, and takes care of any necessary post-install actions, including updating the filename database and (re)generating formats. In the above, we generated new formats for XeTEX. -

    This next example installs a new language, which also triggers format regeneration:

    -

    +

    This next example installs a new language, which also triggers format regeneration:

    +

    >  install collection-langdutch
    To describe a package:
    -

    +

    >   14675
    -

    For full documentation:

    -

    +

    For full documentation:

    +

    > tlmgr -help
    -

    +

    7 Notes on Windows

    -

    T

    TEX Live has a single installer which runs on both Windows and Unix. This was only possible by dropping support for older Windows versions, so TEX Live can now be installed only on Windows 2000 and later. -

    +

    7.1 Windows-specific features

    -

    Under Windows, the installer does some extra things: +

    Under Windows, the installer does some extra things:

    Menus and shortcuts.
    The installer creates an entry under ‘Add/Remove Progr class="E">EX Live. The uninstall tab of tlmgr refers to this.
    -

    +

    7.2 Additional included software

    -



    @@ -3838,7 +3842,7 @@ class="ec-lmss-10">tlmgr refers to this. -

    pict

    PS_View: very high magnifications available!
    -


    -

    To be complete, a T


    +

    To be complete, a TEX Live installation needs support packages that are not commonly found on a Windows machine. TEX Live provides the missing pieces: @@ -3879,34 +3883,32 @@ class="ec-lmss-10">dviout, it will Command-line tools.

    A number of Windows ports of common Unix command-line programs - are installed along with the usual TEX Live binaries. These include gzip, chktex, - jpeg2ps, unzip, wget and the command-line utilities from the TEX Live binaries. These include gzip, unzip and the + command-line utilities from the xpdf suite. The xpdf - viewer itself is not available for Windows, but the Sumatra PDF viewer is based on it: +class="ec-lmss-10">xpdf viewer itself is not available for + Windows. Instead, you can download the Sumatra PDF viewer, which is based on xpdf, from http://blog.kowalczyk.info/software/sumatrapdf.
    fc-list, et al.
    fc-list, fc-cache et al.
    The tools from the fontconfig library allow XeTEX to handle system fonts on - Windows. You can use EX to handle system fonts + on Windows. You can use fc-list to determine the font names to pass to XeTEX’s extended \font command +class="ec-lmtt-10">\font command. If necessary, run fc-cache first to update font information.

    7.3 Links for additional downloadable software

    -

    Urls for some other tools you may consider installing: +

    Urls for some other tools you may consider installing:

    Ghostscript
    http://www.scintilla.org/SciTE.html.
  • Texmaker is free software, available from + http://pascal.brachet.club.fr/texmaker/. +
  • +
  • TeXnicCenter is free software, available from http://www.toolscenter.org and in the - proThttp://www.texniccenter.org and in + the proTEXt distribution.
  • WinEdt is shareware available from http://www.winedt.com.
  • -

    +

    7.4 User Profile is Home

    -

    The Windows counterpart of a Unix home directory is the

    The Windows counterpart of a Unix home directory is the %USERPROFILE% directory. Under Windows XP and Windows 2000, this is usually C:\DocumentsC:\Users\<username>. In th class="ec-lmtt-10">texmf.cnf file, and Kpathsea in general, ~ will expand appropriately on both Windows and Unix. -

    +

    7.5 The Windows registry

    -

    Windows stores nearly all configuration data in its registry. The registry contains a set of hierarchically +

    Windows stores nearly all configuration data in its registry. The registry contains a set of hierarchically organized keys, with several root keys. The most important ones for installation programs are HKEY_CURRENT_USER and 7.4). HKLM is normally in a subdirectory of the Windows directory. -

    In some cases, system information could be obtained from environment variables but for other +

    In some cases, system information could be obtained from environment variables but for other information, for example the location of shortcuts, it is necessary to consult the registry. Setting environment variables permanently also requires registry access. -

    +

    7.6 Windows permissions

    -

    In later versions of Windows, a distinction is made between regular users and administrators, where only +

    In later versions of Windows, a distinction is made between regular users and administrators, where only the latter have free access to the entire operating system. In practice, though, you could better describe these classes of users as unprivileged users and normal users: being an administrator is the rule, not the + exception. Nevertheless, we have made an effort to make TEX Live installable without administrative privileges. - - -

    If the user is an administrator, shortcuts are created for all users, and the system environment is +

    If the user is an administrator, shortcuts are created for all users, and the system environment is modified. Otherwise, shortcuts and menu entries are created for the current user, and the user environment is modified. Use the non-admin option to install-tl if you prefer per-user settings even as an administrator. -

    Regardless of administrator status, the default root of T

    Regardless of administrator status, the default root of TEX Live proposed by the installer is always under %PROGRAMFILES%. The installer always tests whether the root is writable for the current user. -

    A problem may arise if the user is not an administrator and T

    A problem may arise if the user is not an administrator and TEX already exists in the search path. Since the effective path consists of the system path followed by the user path, the new TEX Live will -never get precedence. As a workaround, in this case the installer creates shortcuts to the -command-prompt in which the new TEX Live binary directory is prepended to the local searchpath. -The new TEX Live will be usable when run in a command-line session started from such a -shortcut. -

    +class="E">EX Live would +never get precedence. As a safeguard, the installer creates a shortcut to the command-prompt in which +the new TEX Live binary directory is prepended to the local searchpath. The new TEX Live +will be always usable from within such a command-prompt. The shortcut for TeXworks, if +installed, also prepends TEX Live to the searchpath, so it should also be immune to this path +problem. +

    For Vista there is another twist: even if you are logged in as administrator, you need to explicitly ask +for administrator privileges. In fact, there is not much point in logging in as administrator. Instead, +right-clicking on the program or shortcut that you want to run usually gives you a choice ‘Run as +administrator’. +

    8 A user’s guide to Web2C

    -

    Web2C is an integrated collection of T

    Web2C is an integrated collection of TEX-related programs: TEX itself, Metafont, MetaPost, BibTeX, etc. It is the heart of TEX Live. The home page for Web2C, with the current manua http://tug.org/web2c. -

    A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first +

    A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first TEX-to-C system based on change files under Unix, which were primarily the original work of Howard Trickey and Pavel Curtis. Tim Morgan became the maintainer of the system, and during this period the name changed to Web-to-C. In 1990, Karl Berry took over the work, assisted by dozens of additional contributors, and in 1997 he handed the baton to Olaf Weber, who returned it to Karl in 2006. -

    The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. +

    The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. It uses Knuth’s original sources for TEX and other basic programs written in the WEB literate programming system and translates them into C source code. The core TEX programs handled in this way are: -

    +

    bibtex
    -

    Maintaining bibliographies. +

    Maintaining bibliographies.

    dmp
    -

    troff to MPX (MetaPost pictures).

    dvicopy
    -

    Expands virtual font references in DVI files. +

    Expands virtual font references in DVI files. + +

    dvitomp
    -

    DVI to MPX (MetaPost pictures). +

    DVI to MPX (MetaPost pictures).

    dvitype
    -

    DVI to human-readable text. - - +

    DVI to human-readable text.

    gftodvi
    -

    Generic font proofsheets. +

    Generic font proofsheets.

    gftopk
    -

    Generic to packed fonts. +

    Generic to packed fonts.

    gftype
    -

    GF to human-readable text. +

    GF to human-readable text.

    makempx
    -

    MetaPost label typesetting. +

    MetaPost label typesetting.

    mf
    -

    Creating typeface families. +

    Creating typeface families.

    mft
    -

    Prettyprinting Metafont source. +

    Prettyprinting Metafont source.

    mpost
    -

    Creating technical diagrams. +

    Creating technical diagrams.

    mpto
    -

    MetaPost label extraction. +

    MetaPost label extraction.

    newer
    -

    Compare modification times. +

    Compare modification times.

    patgen
    -

    Creating hyphenation patterns. +

    Creating hyphenation patterns.

    pktogf
    -

    Packed to generic fonts. +

    Packed to generic fonts.

    pktype
    -

    PK to human-readable text. +

    PK to human-readable text. + +

    pltotf
    -

    Plain text property list to TFM. +

    Plain text property list to TFM.

    pooltype
    -

    Display

    Display WEB pool files. - -

    tangle
    -

    WEB to Pascal.

    tex
    -

    Typesetting. +

    Typesetting.

    tftopl
    -

    TFM to plain text property list. +

    TFM to plain text property list.

    vftovp
    -

    Virtual font to virtual property list. +

    Virtual font to virtual property list.

    vptovf
    -

    Virtual property list to virtual font. +

    Virtual property list to virtual font.

    weave
    -

    WEB to TEX.

    -

    The precise functions and syntax of these programs are described in the documentation of the individual +

    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. -

    All programs honor these standard GNU options: +

    All programs honor these standard GNU options:

    --help
    -

    print basic usage summary. +

    print basic usage summary.

    --verbose
    -

    print detailed progress report. +

    print detailed progress report.

    --version
    -

    print version information, then exit.

    -

    For locating files the Web2C programs use the path searching library Kpathsea +

    print version information, then exit. +

    For locating files the Web2C programs use the path searching library Kpathsea (http://tug.org/kpathsea). This library uses a combination of environment variables and a @@ -4253,13 +4266,13 @@ personal extensions in distinct trees. To speed up file searches, the root of ea ls-R, containing an entry showing the name and relative pathname for all files under that root. -

    -

    8.1 Kpathsea path searching

    -

    Let us first describe the generic path searching mechanism of the Kpathsea library. -

    We call a

    +

    8.1 Kpathsea path searching

    +

    Let us first describe the generic path searching mechanism of the Kpathsea library. +

    We call a search path a colon- or semicolon-separated list of path elements, which are basically directory names. A search path can come from (a combination of) many sources. To look up a file @@ -4269,23 +4282,23 @@ class="ec-lmtt-10">.:/dir’, Kpathsea checks each element of the pat class="ec-lmtt-10">./my-file, then /dir/my-file, returning the first match (or possibly all matches). -

    In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can +

    In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can use filename separators different from colon (‘:’) and slash (‘/’). -

    To check a particular path element

    To check a particular path element p, Kpathsea first checks if a prebuilt database (see “Filename database” on page 66) applies to p, i.e., if the database is in a directory that is a prefix of p. If so, the path specification is matched against the contents of the database. -

    If the database does not exist, or does not apply to this path element, or contains no matches, the +

    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 ‘!!’ 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. -

    The “file must exist” condition comes into play with ‘

    The “file must exist” condition comes into play with ‘.vf’ files and input files read by TEX’s \openin @@ -4296,23 +4309,23 @@ class="ec-lmtt-10">ls-R when you install a new ‘.vf’ 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. -

    Although the simplest and most common path element is a directory name, Kpathsea supports +

    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 expands 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. -

    Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘

    Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘/’ or ‘./’ or ‘../’, Kpathsea simply checks if that file exists. -

    +

    8.1.1 Path sources
    -

    A search path can come from many sources. In the order in which Kpathsea uses them: -

    +

    A search path can come from many sources. In the order in which Kpathsea uses them: +

    1. A user-set environment variable, for instance, TEXINPUTS=/c:/d’ (see
    2. The compile-time default.
    -

    You can see each of these values for a given search path by using the debugging options (see “Debugging +

    You can see each of these values for a given search path by using the debugging options (see “Debugging actions” on page 70). -

    +

    8.1.2 Config files
    -

    Kpathsea reads

    Kpathsea reads runtime configuration files named texmf.cnf for search path and other definitions. The search path used to look for these files is named \ at the end of a line acts as a continuation characte Whitespace at the beginning of continuation lines is not ignored.

  • Each remaining line has the form:
    -

    +

      texmf.cnf for Unix, MS-DOS and
  • All definitions are read before anything is expanded, so variables can be referenced before they are defined.
  • -

    A configuration file fragment illustrating most of these points is shown below: -

    +

    A configuration file fragment illustrating most of these points is shown below: +

     .;$TEXMF/{etex,tex}/{eplain,plain,generic;}// -

    +

    8.1.3 Path expansion
    -

    Kpathsea recognizes certain special characters and constructions in search paths, similar to those +

    Kpathsea recognizes certain special characters and constructions in search paths, similar to those available in Unix shells. As a general example, the complex path, ~$USER/{foo,bar}//baz, expands to all subdirectories under directories $USER’s home directory that contain a directory class="ec-lmtt-10">baz. These expansions are explained in the sections below.

    8.1.4 Default expansion
    -

    If the highest-priority search path (see “Path sources” on page 

    If the highest-priority search path (see “Path sources” on page 61) contains an extra colon (i.e., leading, trailing, or doubled), Kpathsea inserts at that point the next-highest-priority search path that is defined. If that inserted path has an extra colon, the same happens with the next highest. For example, given an environment variable setting

    -

    +

    >  /home/karl: class="ec-lmtt-10">TEXINPUTS value from texmf.cnf of
    -

    +

      .:$TEXMF//tex
    then the final value used for searching will be:
    -

    +

      /home/karl:.:$TEXMF//tex
    -

    Since it would be useless to insert the default value in more than one place, Kpathsea changes only +

    Since it would be useless to insert the default value in more than one place, Kpathsea changes only one extra ‘:’ and leaves any others in place. It checks first for a leading ‘:’, then a trailing ‘:’, then a doubled ‘:’. -

    +

    8.1.5 Brace expansion
    -

    A useful feature is brace expansion, which means that, for instance,

    A useful feature is brace expansion, which means that, for instance, v{a,b}w expands to vaw:vbw. Nesting is allowed. This is used to implement multiple T    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN}

    -

    Using this you can then write something like +

    Using this you can then write something like

    @@ -4567,7 +4580,7 @@ more trees) is made: id="x1-58004r1">    TEXINPUTS = .;$TEXMF/tex//
    -

    which means that, after looking in the current directory, the

    which means that, after looking in the current directory, the $TEXMFHOME/tex, $TEXMFLOCAL/tex, $TEXMF variable in all definitions, one is sure to always search the up-to-date tree first. -

    +

    8.1.6 Subdirectory expansion
    -

    Two or more consecutive slashes in a path element following a directory

    Two or more consecutive slashes in a path element following a directory d is replaced by all subdirectories of d: first those subdirectories directly under d, then the subsubdirectories under those, and so on. At each level, the order in which the directories are searched is unspecified. -

    If you specify any filename components after the ‘

    If you specify any filename components after the ‘//’, only subdirectories with matching components are included. For example, ‘/a//b’ expands into directories /a/1/1/b, and so on, but not /a/b/c or /a/1. -

    Multiple ‘

    Multiple ‘//’ constructs in a path are possible, but ‘//’ at the beginning of a path is ignored. -

    +

    8.1.7 List of special characters and their meaning: a summary
    -

    The following list summarizes the special characters in Kpathsea configuration files. -

    +

    The following list summarizes the special characters in Kpathsea configuration files. +

    :
    -

    Separator in path specification; at the beginning or the end of a path it substitutes the +

    Separator in path specification; at the beginning or the end of a path it substitutes the default path expansion.

    ;
    -

    Separator on non-Unix systems (acts like

    Separator on non-Unix systems (acts like :).

    $
    -

    Variable expansion. +

    Variable expansion.

    ~
    -

    Represents the user’s home directory. +

    Represents the user’s home directory.

    {...}
    -

    Brace expansion. +

    Brace expansion.

    //
    -

    Subdirectory expansion (can occur anywhere in a path, except at its beginning). +

    Subdirectory expansion (can occur anywhere in a path, except at its beginning).

    %
    -

    Start of comment. +

    Start of comment.

    \
    -

    Continuation character (allows multi-line entries). +

    Continuation character (allows multi-line entries).

    !!
    -

    Search

    Search only database to locate file, do not search the disk.

    -

    +

    8.2 Filename databases

    -

    Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with +

    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 ls-R that maps files to directories, thus avoiding the need to exhaustively search the disk. -

    A second database file

    A second database file aliases allows you to give additional names to the files listed in ls-R. This can be helpful to confirm to DOS 8.3 filename conventions in source files. -

    +

    8.2.1 The filename database
    -

    As explained above, the name of the main filename database must be

    As explained above, the name of the main filename database must be ls-R. You can put one at the root of each TEX hierarchy in your installation that you wish to be searched (ls-R files along the TEXMFDBS path. -

    The recommended way to create and maintain ‘

    The recommended way to create and maintain ‘ls-R’ is to run the mktexlsr script included with the distribution. It is invoked by the various ‘mktex’… scripts. In principle, this script just runs the command

    -

    +

    cd cron, so that it is automatically updated when the installed files change, such as after installing or updating a LATEX package. -

    If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a +

    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 ‘!!’, however, only the database will be searched for that element, never the disk. -

    +

    8.2.2 kpsewhich: Standalone path searching
    -

    The

    The kpsewhich program exercises path searching independent of any particular application. This can be useful as a sort of find program to locate files in TEX hierarchies (this is used heavily in the distributed ‘mktex’… scripts).

    -

    +

    > option start with either ‘-’ or ‘--’, and any unambiguous abbreviation is accepted. -

    Kpathsea looks up each non-option argument on the command line as a filename, and returns the +

    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 ‘find’ utility for that). -

    The most common options are described next. -

    +

    The most common options are described next. +

    --dpi=num
    -

    Set the resolution to

    Set the resolution to num; this only affects ‘gf’ and ‘pk’ lookups. ‘dvips. Default is 600. class="ec-lmtt-10">--format=name

    -



    Set the format for lookup to name. By default, the format is guessed from the filename. For formats which do not have an associated unambiguous suffix, such as MetaPost support files @@ -4785,7 +4798,7 @@ class="ec-lmtt-10">kpsewhich --help for a list. class="ec-lmtt-10">--mode=string

    -



    Set the mode name to string; this only affects ‘gf’ and ‘pk’ lookups. No default: any mode --must-exist

    -



    Do everything possible to find the files, notably including searching the disk. By default, only the ls-R database is checked, in the interest of efficiency. @@ -4804,7 +4817,7 @@ class="ec-lmtt-10">ls-R database is checked, in the interest of efficienc class="ec-lmtt-10">--path=string

    -



    Search along the path string (colon-separated as usual), instead of guessing the search path from the filename. ‘name

    -



    Set the program name to name. This can affect the search paths via the .kpsewhich. class="ec-lmtt-10">--show-path=name

    -



    shows the path used for file lookups of file type name. Either a filename extension (.pk, --format’ option. class="ec-lmtt-10">--debug=num

    -



    sets the debugging options to num.

    -

    +

    8.2.3 Examples of use
    -

    Let us now have a look at Kpathsea in action. Here’s a straightforward search: +

    Let us now have a look at Kpathsea in action. Here’s a straightforward search:

    -

    +

    > texmf-distTEX Live directory. Similarly, all of the following are found without problems thanks to their unambiguous suffix.
    -

    +

    >   /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib
    -

    By the way, that last is a BibTeX bibliography database for

    By the way, that last is a BibTeX bibliography database for TUGBoat articles.

    -

    +

    > .pk’ files in TEX Live — the Type 1 variants are used by default.
    -

    +

    > .pk’ files, and since the default Metafont mode on our installation is ljfour with a base resolution of 600dpi (dots per inch), this instantiation is returned.
    -

    +

    > xdvi would go off and actually build the required .pk files using the script mktexpk. -

    Next we turn our attention to

    Next we turn our attention to dvips’s header and configuration files. We first look at one of the commonly used files, the general prologue tex.pro for Tdvips config) for the file config.ps.

    -

    +

    >   /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map
    -

    We now take a closer look at the URW Times PostScript support files. The prefix for these in the +

    We now take a closer look at the URW Times PostScript support files. The prefix for these in the standard font naming scheme is ‘utm’. The first file we look at is the configuration file, which contains the name of the map file:

    -

    +

    >   /usr/local/texmf-dist/dvips/psnfss/config.utm
    The contents of that file is
    -

    +

      p +utm.map
    which points to the file utm.map, which we want to locate next.
    -

    +

    >  /usr/local/texmf-dist/fonts/map/dvips/times/utm.map
    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):
    -

    +

    utmb8r  <utmr8a.pfb class="ec-lmtt-10">utmr8a.pfb and find its position in the texmf directory tree with a search for Type 1 font files:
    -

    +

    >   /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb
    -

    It should be evident from these examples how you can easily locate the whereabouts of a given file. +

    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 kpsewhich will show you the first file encountered. -

    +

    8.2.4 Debugging actions
    -

    Sometimes it is necessary to investigate how a program resolves file references. To make this practical, +

    Sometimes it is necessary to investigate how a program resolves file references. To make this practical, Kpathsea offers various levels of debugging output: -

    +

     1
    -

    stat calls (disk lookups). When running with an up-to-date ls-R database this should almost give no output. @@ -5142,51 +5155,51 @@ class="ec-lmtt-10">ls-R database this should almost  2

    -

    References to hash tables (such as

    References to hash tables (such as ls-R databases, map files, configuration files).

     4
    -

    File open and close operations. +

    File open and close operations.

     8
    -

    General path information for file types searched by Kpathsea. This is useful to find out where +

    General path information for file types searched by Kpathsea. This is useful to find out where a particular path for the file was defined.

    16
    -

    Directory list for each path element (only relevant for searches on disk). +

    Directory list for each path element (only relevant for searches on disk).

    32
    -

    File searches. +

    File searches.

    64
    -

    Variable values.

    -

    A value of

    Variable values. +

    A value of -1 will set all the above options; in practice, this is usually the most convenient. -

    Similarly, with the

    Similarly, with the dvips 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. -

    Generally speaking, as most programs call the Kpathsea library internally, one can select a debug +

    Generally speaking, as most programs call the Kpathsea library internally, one can select a debug option by using the KPATHSEA_DEBUG environment variable, and setting it to (a combination of) values as described in the above list. -

    (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic +

    (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic purposes you can temporarily SET KPATHSEA_DEBUG_OUTPUT=err.log). -

    Let us consider, as an example, a small LAT

    Let us consider, as an example, a small LATEX source file, hello-world.tex, which contains the following input. @@ -5204,13 +5217,13 @@ following input. id="x1-65008r4">    \end{document}

    -

    This little file only uses the font

    This little file only uses the font cmr10, so let us look at how dvips prepares the PostScript file (we want to use the Type 1 version of the Computer Modern fonts, hence the option -Pcms).

    -

    +

    > dvips Reference Manual, texmf/doc/dvips/dvips.pdf). The output (slightly rearranged) appears in Figure 12. -


    Finding the font file

    dvips starts by locating its working files. First, texmf.cnf is found, which gives the definitions of the search paths for the other files, then the file database dvips command). This file contains the list of the map which define the relation between the TEX, PostScript and file system names of the fonts.

    -

    +

    > psfonts.map, which is always loaded (it contains declarations for commonly used PostScript fonts; see the last part of Section 8.2.3 for more details about PostScript map file handling). -

    At this point

    At this point dvips identifies itself to the user:

    -

    +

    This is (www.radicaleye.com)
    Then it goes on to look for the prolog file texc.pro:
    -

    +


    kdebug:start search(file=texc.pro, => /usr/local/texmf/dvips/base/texc.pro
    -

    After having found the file in question,

    After having found the file in question, dvips outputs the date and time, and informs us that it will generate the file hello-world.ps, then that it needs the font file cmr10, and that the latter is declared as “resident” (no bitmaps needed):

    -

    +


    TeX outputcmr10.pfb of the font is located and included in the o file (see last line).
    -

    +


    kdebug:start search(file=cmr10.tfm,<cmr10.pfb>[1]

    8.3 Runtime options

    -

    Another useful feature of Web2C is its possibility to control a number of memory parameters +

    Another useful feature of Web2C is its possibility to control a number of memory parameters (in particular, array sizes) via the runtime file texmf.cnf read by Kpathsea. The memory settings can be found in Part 3 of that file in the TEX Live distribution. The more important are: -

    +

    main_memory
    -

    Total words of memory available, for T

    Total words of memory available, for TEX, Metafont and MetaPost. You must make a new format file for each different setting. For instance, you could generate a “huge” version of Ttexmf.cnf. extra_mem_bot

    -

    Extra space for “large” T

    Extra space for “large” TEX data structures: boxes, glue, breakpoints, etc. Especially useful if you use PI CTEX. @@ -5634,29 +5647,29 @@ class="E">EX. font_mem_size

    -

    Number of words for font information available for T

    Number of words for font information available for TEX. This is more or less the total size of all TFM files read.

    hash_extra
    -

    Additional space for the hash table of control sequence names. Only

    Additional space for the hash table of control sequence names. Only 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 hash_extra is 50000.

    -

    Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these +

    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 TEX source, these runtime parameters provide a practical compromise allowing some flexibility. -

    +

    9 Acknowledgements

    -

    T

    TEX Live is a joint effort by virtually all of the TEX user groups. This edition of TEX Live @@ -5801,7 +5814,7 @@ class="E">EX Live, and coordinator of the many

  • Graham Williams, on whose work the TEX Catalogue of packages depends.
  • -

    Builders of the binaries: Peter Breitenlohner (

    Builders of the binaries: Peter Breitenlohner (x86_64-linux), Karl Berry (i386-linux, sparc-linux), @@ -5820,24 +5833,24 @@ class="E">EX Live build process, see http://tug.org/texlive/build.html. -

    Current documentation translators: Manuel Pégourié-Gonnard (French), Klaus Höppner (German), +

    Current documentation translators: Manuel Pégourié-Gonnard (French), Klaus Höppner (German), Petr Sojka & Jan Busa (Czech/Slovak), Boris Veytsman (Russian), Staszek Wawrykiewicz (Polish). The TEX Live documentation web page is http://tug.org/texlive/doc.html. -

    Of course the most important acknowledgement must go to Donald Knuth, first for inventing T

    Of course the most important acknowledgement must go to Donald Knuth, first for inventing TEX, and then for giving it to the world. -

    +

    10 Release history

    -

    +

    10.1 Past

    -

    Discussion began in late 1993 when the Dutch T

    Discussion began in late 1993 when the Dutch TEX Users Group was starting work on its 4AllTEX CD for MS-DOS users, and it was hoped at that time to issue a single, rational, CD for all systems. @@ -5862,7 +5875,7 @@ class="E">EX CD showed that Unix users would benefit from a similarly easy system, and this is the other main strand of TEX Live. -

    We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified +

    We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified Thomas Esser’s teTEX 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 @@ -5880,7 +5893,7 @@ almost all of its features. The 4th edition followed the same pattern, using a n teTEX, and a new release of Web2C (7.3). The system now included a complete Windows setup. -

    For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds +

    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 TEX Live 5 was that all non-free software was removed. Everything in Thttp://www.debian.org/intro/free); we have done our best to check the license conditions of all packages, but we would very much appreciate hearing of any mistakes. -

    The 6th edition (July 2001) had much more material updated. The major change was a new install +

    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 language.dat. -

    The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of +

    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 teTEX, to correct the drift apart in versions 5 and 6. -

    +

    10.1.1 2003
    -

    In 2003, with the continuing flood of updates and additions, we found that T

    In 2003, with the continuing flood of updates and additions, we found that TEX 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 texmf/web2c/cp8bit.tcx. (Future releases

  • Finally, since the edition numbers had grown unwieldy, the version is now simply identified by the year: TEX Live 2003.
  • -

    +

    10.1.2 2004
    -

    2004 saw many changes: +

    2004 saw many changes:

    • If you have locally-installed fonts which use their own .map or (much less likely) .enc support files, you may need to move those support files. -

      .map files are now searched for in subdirectories of fonts/map only (in each texmf tree), @@ -5979,7 +5992,7 @@ class="ec-lmtt-10">fonts/enc only, along the ENCFONTS path. updmap will attempt to warn about problematic files. -

      For methods of handling this and other information, please see +

      For methods of handling this and other information, please see http://tug.org/texlive/mapenc.html. @@ -6057,7 +6070,7 @@ class="E">EXt, etc., as well as the e-TEX features (texmf-dist/doc/etex/base/). -

      It also means it’s

      It also means it’s more important than ever to use the ifpdf package (works with both plain and LATmpost) now accepts double quotes containing spaces and id="x1-71004r2">  \input{"filename with spaces"}  % latex

    -

    See the Web2C manual for more:

    See the Web2C manual for more: texmf/doc/web2c.

  • encTmips-irix, the MIPSpro 7.4 runtimes are
  • -

    +

    10.1.3 2005
    -

    2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed +

    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:

    • New scripts ^^ notation if id="x1-72002r1">  latex --translate-file=empty.tcx yourfile.tex
    -

    +

  • The new program dvipdfmx is included for translation of DVI to PDF; this is an actively @@ -6278,10 +6291,10 @@ class="ec-lmtt-10">TEXMFSYSVAR, respectively. There is also TEXMFVAR, which is by default user-specific. See the first point above.
  • -

    +

    10.1.4 2006–2007
    -

    In 2006–2007, the major new addition to T

    In 2006–2007, the major new addition to TEX Live was the XeTEX program, available as the xetex and @@ -6289,14 +6302,14 @@ class="ec-lmtt-10">xetex and class="ec-lmtt-10">xelatex programs; see http://scripts.sil.org/xetex. -

    MetaPost also received a notable update, with more planned for the future +

    MetaPost also received a notable update, with more planned for the future (http://tug.org/metapost/articles), likewise pdfTEX (http://tug.org/applications/pdftex). -

    The T

    The TEX .fmt (high-speed format) and the similar files for MetaPost and Metafont are now stored in subdirectories of tex or pdftex or xetex. This change should be invisible in normal use. -

    The (plain)

    The (plain) tex program no longer reads %& first lines to determine what format to run; it is the pure Knuthian TEX. (LATEX and everything else do still read %& lines). -

    Of course the year also saw (the usual) hundreds of other updates to packages and programs. As +

    Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check CTAN (http://www.ctan.org) for updates. -

    Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the +

    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. -

    Finally, in May 2006 Thomas Esser announced that he would no longer be updating teT

    Finally, in May 2006 Thomas Esser announced that he would no longer be updating teTEX (EX environment for everyone. -

    +

    10.1.5 2008
    -

    Final note on the past: all releases of T

    Final note on the past: all releases of TEX Live, along with ancillary material such as CD labels, are available at ftp://tug.org/historic/systems/texlive. -

    In 2008, the entire T

    In 2008, the entire TEX Live infrastructure was redesigned and reimplemented. Complete information about an installation is now stored in a plain text file tlpkg/texlive.tlpdb. -

    Among other things, this finally makes possible upgrading a T

    Among other things, this finally makes possible upgrading a TEX Live installation over the Internet after the initial installation, a feature MiKTEX has provided for many years. We expect to regularly update new packages as they are released to CTAN. -

    The major new engine LuaT

    The major new engine LuaTEX (http://luatex.org) is included; besides a new level of flexibility in typesetting, this provides an excellent scripting language for use both inside and outside of TEX documents. -

    Support among Windows and the Unix-based platforms is now much more uniform. In particular, +

    Support among Windows and the Unix-based platforms is now much more uniform. In particular, most Perl and Lua scripts are now available on Windows, using the Perl internally distributed with TEX Live. -

    The new

    The new tlmgr script (section 6) is the general interface for managing TEX Live after the initial installation. It handles package updates and consequent regeneration of formats, map files, and language files, optionally including local additions. -

    With the advent of

    With the advent of tlmgr, the texconfig actions to edit the format and hyphenation configuration files are now disabled. -

    The

    The xindy indexing program (http://xindy.sourceforge.net/) is now included on most platforms. -

    The

    The kpsewhich tool can now report all matches for a given file (option –all) and limit matches to a given subdirectory (option –subdir). -

    The

    The dvipdfmx program now includes functionality to extract bounding box information, via the command name extractbb; this was one of the last features provided by dvipdfm not in dvipdfmx. -

    The font aliases

    The font aliases Times-Roman, Helvetica, and so on have been removed. Different packages expected them to behave differently (in particular, to have different encodings), and there was no good way to resolve this. -

    The

    The platex format has been removed, to resolve a name conflict with a completely different Japanese platex; the polski package is now the main Polish support. -

    Internally, the

    Internally, the WEB string pool files are now compiled into the binaries, to ease upgrades. -

    Finally, the changes made by Donald Knuth in his ‘T

    Finally, the changes made by Donald Knuth in his ‘TEX tuneup of 2008’ are included in this release. See http://tug.org/TUGboat/Articles/tb29-2/tb92knut.pdf. -

    +

    10.2 Present

    -

    In 2009 xx. -

    +

    In 2009 xx. +

    10.3 Future

    -

    TEhttp://tug.org/texlive/contribute.html. -

    Please send corrections, suggestions, and offers of help to: +

    Please send corrections, suggestions, and offers of help to:

    -

    Happy T