From e133bf0c482bbd1b846a0491210bf3a0a77130ba Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 19 May 2011 23:05:38 +0000 Subject: w32 and other updates, mostly from siep git-svn-id: svn://tug.org/texlive/trunk@22538 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/doc/texlive/texlive-en/texlive-en.css | 30 +- .../texmf/doc/texlive/texlive-en/texlive-en.html | 1210 ++++++++++---------- Master/texmf/doc/texlive/texlive-en/texlive-en.pdf | Bin 1020629 -> 1024647 bytes Master/texmf/doc/texlive/texlive-en/texlive-en.tex | 97 +- Master/tlpkg/doc/coding-style.txt | 2 +- 5 files changed, 683 insertions(+), 656 deletions(-) (limited to 'Master') diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.css b/Master/texmf/doc/texlive/texlive-en/texlive-en.css index 5c3be0b100f..67628691485 100644 --- a/Master/texmf/doc/texlive/texlive-en/texlive-en.css +++ b/Master/texmf/doc/texlive/texlive-en/texlive-en.css @@ -76,21 +76,6 @@ .ec-lmss-10{ font-family: sans-serif;} .ec-lmss-10{ font-family: sans-serif;} .ec-lmss-10{ font-family: sans-serif;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} -.ec-lmri-10{ font-style:italic;} .ec-lmbx-10{ font-weight: bold;} .ec-lmbx-10{ font-weight: bold;} .ec-lmbx-10{ font-weight: bold;} @@ -106,6 +91,21 @@ .ec-lmbx-10{ font-weight: bold;} .ec-lmbx-10{ font-weight: bold;} .ec-lmbx-10{ font-weight: bold;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} .ec-lmtk-10{ font-family: monospace;} .ec-lmtk-10{ font-family: monospace;} .ec-lmtk-10{ font-family: monospace;} diff --git a/Master/texmf/doc/texlive/texlive-en/texlive-en.html b/Master/texmf/doc/texlive/texlive-en/texlive-en.html index dcde567b4c9..2d85dfcdd3f 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 2011 - + @@ -251,23 +251,21 @@ href="#x1-710009">72). class="E">EX Live contains binaries for many Unix-based platforms, including GNU/Linux, Mac OS X, and Cygwin. The included sources can be compiled on platforms for which we do not provide binaries. -

As to Windows: only Windows 2000 and later are supported. Windows 9x, ME and NT have been dropped. -Because of this change, Windows requires much less special treatment compared to the Unix systems. There -are no special 64-bit executables for Windows, but the 32-bit executables should run on 64-bit +

As to Windows: Windows XP and later are supported. Windows 2000 will probably still mostly work. +There are no special 64-bit executables for Windows, but the 32-bit executables should run on 64-bit systems. -

See section 

See section 2.1 for alternate solutions for Windows and Mac OS X. -

+

1.3 Basic installation of TEX Live

-

You can install T

You can install TEX Live either from DVD or over the Internet (http://tug.org/texlive/acquire.html). The net installer itself is small, and downloads everything requested from the Internet. -

The DVD installer lets you install to a local disk. You cannot run T

The DVD installer lets you install to a local disk. You cannot run TEX Live directly from the TEX Collection DVD (or its tlmgr. Like the installer, it can be used in both GUI mode and in text mode. You can use it to install and uninstall packages and do various configuration tasks. -

+

1.4 Security considerations

-

To the best of our knowledge, the core T

To the best of our knowledge, the core TEX programs themselves are (and always have been) extremely robust. However, the contributed programs in TEX Live may not reach the same level, despite everyone’s best efforts. As always, you should be careful when running programs on untrusted input; for maximum safety, use a new subdirectory. -

This need for care is especially urgent on Windows, since in general Windows finds programs in the current +

This need for care is especially urgent on Windows, since in general Windows finds programs in the current directory before anything else, regardless of the search path. This opens up a wide variety of possible attacks. We have closed many holes, but undoubtedly some remain, especially with third-party programs. Thus, we recommend checking for suspicious files in the current directory, especially executables (binaries or scripts). Ordinarily they should not be present, and definitely should not normally be created by merely processing a document. -

Finally, T

Finally, TEX (and its companion programs) are able to write files when processing documents, a feature that can also be abused in a wide variety of ways. Again, processing unknown documents in a new subdirectory is the safest bet. -

+

1.5 Getting help

-

The T

The TEX community is active and friendly, and most serious questions end up getting answered. However, the support is informal, done by volunteers and casual readers, so it’s especially important that you do your homework before asking. (If you prefer guaranteed commercial support, you can forgo Thttp://tug.org/interest.html#vendors has a list.) -

Here is a list of resources, approximately in the order we recommend using them: -

+

Here is a list of resources, approximately in the order we recommend using them: +

Getting Started
EX Catalogue is the place to look. It is a huge collection of all TEX-related items. See http://www.ctan.org/help/Catalogue/. +href="http://mirror.ctan.org/help/Catalogue/" class="url" >http://mirror.ctan.org/help/Catalogue/.
Ttexhax@tug.org through email. But before class="ec-lmri-10">please read this FAQ entry, to maximize your chances of getting a useful answer: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion. +class="ec-lmtt-10">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion. Also worth mentioning + are the LATEX Community site at + http://www.latex-community.org/ and its forum http://www.latex-community.org/forum/, + and TEX StackExchange at http://tex.stackexchange.com/.
TEX Live, please write to class="ec-lmtt-10">--help option will provide a bug reporting address.
-

The other side of the coin is helping others who have questions. Both

The other side of the coin is helping others who have questions. Both comp.text.tex and texhax are open to anyone, so feel free to join, start reading, and help out where you can. -

+

2 Overview of TEX Live

-

This section describes the contents of T

This section describes the contents of TEX Live and the TEX Collection of which it is a part. -

+

2.1 The TEX Collection: TEX Live, proTEXt, MacTEX

-

The T

The TEX Collection DVD comprises the following: -

+

Thttp://www.ctan.org). class="ec-lmtk-10">texmf-extra
A directory with assorted additional packages.
-

CTAN,

CTAN, protext, and texmf-extra do not necessarily follow the same copying conditions as TEX Live, so be careful when redistributing or modifying. -

+

2.2 Top level TEX Live directories

-

Here is a brief listing and description of the top level directories in a T

Here is a brief listing and description of the top level directories in a TEX Live installation. -

+

bin
-

The T

The TEX system programs, arranged by platform.

readme-*.dir
-

Quick overview and useful links for T

Quick overview and useful links for TEX Live, in various languages, in both HTML and plain text.

source
-

The source to all included programs, including the main Web2C-based T

The source to all included programs, including the main Web2C-based TEX distributions.

texmf
-

See

See TEXMFMAIN below.

texmf-dist
-

See

See TEXMFDIST below.

tlpkg
-

Scripts, programs and data for managing the installation, and special support for Windows.

-

In addition to the directories above, the installation scripts and

Scripts, programs and data for managing the installation, and special support for Windows. +

In addition to the directories above, the installation scripts and README files (in various languages) are at the top level of the distribution. -

For documentation, the comprehensive links in the top-level file

For documentation, the comprehensive links in the top-level file doc.html may be helpful. The documentation for the programs (manuals, man pages, Info files) is in texmf/doc. The documentation for @@ -563,7 +572,7 @@ class="E">EX packages and formats is in texmf-dist/doc. You can use the texdoc program to find any documentation wherever it is located. -

This T

This TEX Live documentation itself is in texmf/doc/texlive, available in several languages:

-

+

2.3 Overview of the predefined texmf trees

-

This section lists the predefined variables specifying the texmf trees used by the system, and their intended +

This section lists the predefined variables specifying the texmf trees used by the system, and their intended purpose, and the default layout of TEX Live. The command tlmgr conf shows the values of these variables, so that you can easily find out how they map to particular directories in your installation. -

All of the trees, including the personal ones, should follow the T

All of the trees, including the personal ones, should follow the TEX Directory Structure (TDS, http://tug.org/tds), with all its myriad subdirect href="#x1-370003.4.6">3.4.6 (p. 39) describes this in more detail. -

+

TEXMFMAIN
-

The tree which holds vital parts of the system such as configuration files, helper scripts, and +

The tree which holds vital parts of the system such as configuration files, helper scripts, and program documentation.

TEXMFDIST
-

The tree which holds the main set of macro packages, fonts, etc. +

The tree which holds the main set of macro packages, fonts, etc.

TEXMFLOCAL
-

The tree which administrators can use for system-wide installation of additional or updated +

The tree which administrators can use for system-wide installation of additional or updated macros, fonts, etc.

TEXMFHOME
-

The tree which users can use for their own individual installations of additional or updated macros, +

The tree which users can use for their own individual installations of additional or updated macros, fonts, etc. The expansion of this variable dynamically adjusts for each user to their own individual directory.

TEXMFCONFIG
-

The (personal) tree used by the utilities

The (personal) tree used by the utilities texconfig, updmap, and fmtutil to store modified @@ -651,7 +660,7 @@ class="ec-lmtt-10">fmtutil to store modified TEXMFSYSCONFIG

-

The (site-wide) tree used by the utilities

The (site-wide) tree used by the utilities texconfig-sys, updmap-sys, and fmtutil-sys to store @@ -660,7 +669,7 @@ class="ec-lmtt-10">fmtutil-sys to store TEXMFVAR

-

The (personal) tree used by

The (personal) tree used by texconfig, updmap and fmtutil to store (cached) runtime data such @@ -669,7 +678,7 @@ class="ec-lmtt-10">fmtutil to store (cached) runtime data s TEXMFCACHE

-

The (personal) tree used by ConT

The (personal) tree used by ConTEXt MkIV to store (cached) runtime data. Default value in TEX Live is the same as TEXMFVAR. TEXMFSYSVAR

-

The (site-wide) tree used by

The (site-wide) tree used by texconfig-sys, updmap-sys and fmtutil-sys, and also by tlmgr, to store (cached) runtime data such as format files and generated map files.

-

The default layout is: +

The default layout is:

system-wide root
EX Live releases: 2009
-

A previous release. +

A previous release.

2010
-

The current release. +

The current release.

bin
-

  +

 

i386-linux
-

GNU/Linux binaries +

GNU/Linux binaries

...
-

+

universal-darwin
-

Mac OS X binaries +

Mac OS X binaries

win32
-

Windows binaries

+

Windows binaries

texmf   
-

This is

This is TEXMFMAIN.

texmf-dist  
-

TEXMFDIST

texmf-var   
-

TEXMFSYSVAR

texmf-config
-

TEXMFSYSCONFIG

texmf-local
-

TEXMFLOCAL, intended to be retained from release to release.

@@ -778,12 +787,12 @@ class="ec-lmtt-10">%USERPROFILE%) .texlive2009
-

Privately generated and configuration data for a previous release. +

Privately generated and configuration data for a previous release.

.texlive2010
-

Privately generated and configuration data for the current release. +

Privately generated and configuration data for the current release.

texmf-var   
-

TEXMFVAR, TEXMFCACHE

texmf-config
-

TEXMFCONFIG

texmf
-

TEXMFHOME Personal macros, etc.

-

+

2.4 Extensions to TEX

-

Knuth’s original T

Knuth’s original TEX itself is frozen, apart from rare bug fixes. It is still present in TEX Live as the program tex, and will remain so for the foreseeable future. EX Live contains several extended versions of TEX: -

+

e-combines the Omega and e-TEX extensions. See texmf-dist/doc/aleph/base.
-

+

2.5 Other notable programs in TEX Live

-

Here are a few other commonly-used programs included in T

Here are a few other commonly-used programs included in TEX Live: -

+

bibtex, bibtex8
-

bibliography support. +

bibliography support.

makeindex, xindy
-

index support. +

index support.

dvips
-

convert DVI to PostScript. +

convert DVI to PostScript.

xdvi
-

DVI previewer for the X Window System. +

DVI previewer for the X Window System.

dvilj
-

DVI drive for the HP LaserJet family. +

DVI drive for the HP LaserJet family.

dviconcat, dviselect
-

cut and paste pages from DVI files. +

cut and paste pages from DVI files.

dvipdfmx
-

convert DVI to PDF, an alternative approach to pdfT

convert DVI to PDF, an alternative approach to pdfTEX (mentioned above).

psselect, psnup,
-

PostScript utilities. +

PostScript utilities.

pdfjam, pdfjoin,
-

PDF utilities. +

PDF utilities.

texexec, texmfstart
-

ConT

ConTEXt and PDF processor.

tex4ht
-

T

TEX to HTML (and XML and more) converter.

-

+

2.6 Fonts in TEX Live

-

T

TEX Live comes with many high-quality scalable fonts. See http://tug.org/fonts and texmf-dist/doc/fonts/free-math-font-survey. -

+

3 Installation

-

+

3.1 Starting the installer

-

To begin, get the T

To begin, get the TEX Collection DVD or download the TEX Live net installer, and locate the installer script: install-tl.bat for Windows. See http://tug.org/texlive/acquire.html for more information and other methods of getting the software. -

+

Net installer:
http://tug.org/store), or burning your own from th want to get continuing updates from the Internet, please see 3.4.3.
-

The same installer program is run, whatever the source. The most visible difference between the two is that +

The same installer program is run, whatever the source. The most visible difference between the two is that with the net installer, what you end up with is the packages that are currently available. This is in contrast to the DVD and ISO images, which are not updated between the major public releases. -

The following sections explain installer start-up in more detail. -

+

The following sections explain installer start-up in more detail. +

3.1.1 Unix
-

Below,

Below, > denotes the shell prompt; user input is bold. The script install-tl is a Perl script. The simplest way to start it on a Unix-compatible system is as follows:

-

+

> ./install-tl if it stayed executable, etc.; we won’t repeat all these variations.) You may have to enlarge your terminal window so that it shows the full text installer screen (Figure 1). -

To install in expert GUI mode (figure 

To install in expert GUI mode (figure 2), you’ll need the Perl/TK module compiled with XFT support, -which is generally the case with GNU/Linux, but not necessarily other systems. Given that, you can run: +which is generally the case with GNU/Linux, but not necessarily with other systems. Given that, you can run:

-

+

>  install-tl -gui
-

For a complete listing of the various options:

+

For a complete listing of the various options:

-

+

>  install-tl -help
-

Warning about Unix permissions: Your umask at the time of installation will be respected by the TEX @@ -1107,16 +1116,16 @@ setting is sufficiently permissive, for instance, umask 002. For more information about umask, consult your system documentation. -

Special considerations for Cygwin: Unlike other Unix-compatible systems, Cygwin does not by default include all of the prerequisite programs needed by the TEX Live installer. See Section 3.1.4 for details. -

+

3.1.2 MacOSX
-

As mentioned in section 

As mentioned in section 2.1, a separate distribution is prepared for Mac OS X, named MacTEX (TEX distributions for Mac OS X (MacTEX, Fink, MacPorts, …). -

MacT

MacTEX is firmly based on TEX Live, and the main TEX trees are precisely the same. It does add a few extra folders with Mac-specific documentation and applications. -

+

3.1.3 Windows
-

If you are using the net installer, or the DVD installer failed to start automatically, double-click +

If you are using the net installer, or the DVD installer failed to start automatically, double-click install-tl.bat. For more customization options, e.g., selection of specific package collections, run install-tl-advanced.bat instead. -

You can also start the installer from the command-prompt. Below,

You can also start the installer from the command-prompt. Below, > denotes the prompt; user input is bold. If you are in the installer directory, run just:

-

+

> install-tl
-

Or you can invoke it with an absolute location, such as:

-

+

Or you can invoke it with an absolute location, such as:

+

> EX Collection DVD, supposing that D: is the optical drive. Figure 3 displays the wizard installer, which is the default for Windows. -

To install in text mode, use:

-

+

To install in text mode, use:

+

> install-tl -no-gui
-

For a complete listing of the various options:

-

+

For a complete listing of the various options:

+

>  -help
-



@@ -1408,8 +1417,8 @@ class="ec-lmtt-8"> quit
class="content">Main text installer screen (GNU/Linux)
-


-



+


@@ -1418,7 +1427,7 @@ class="content">Main text installer screen (GNU/Linux)

pict

Expert GUI installer screen (GNU/Linux)
-


-



+


@@ -1436,7 +1445,7 @@ class="content">Expert GUI installer screen (GNU/Linux)

pict

Wizard installer screen (Windows)
-


-

+


+

3.1.4 Cygwin
-

The T

The TEX Live installer supports only Cygwin 1.7. Before beginning the installation, use Cygwin’s setup.exe program to install the xdvi]

  • ncurses [provides the clear command used by the installer]
  • -

    +

    3.1.5 The text installer
    -

    Figure 

    Figure 1 displays the main text mode screen under Unix. The text installer is the default on Unix. -

    This is only a command-line installer; there is no cursor support at all. For instance, you cannot +

    This is only a command-line installer; there is no cursor support at all. For instance, you cannot tab around checkboxes or input fields. You just type something (case-sensitive) at the prompt and press the Enter key, and then the entire terminal screen will be rewritten, with adjusted content. -

    The text installer interface is this primitive for a reason: it is designed to run on as many platforms as +

    The text installer interface is this primitive for a reason: it is designed to run on as many platforms as possible, even with a very barebones Perl. -

    +

    3.1.6 The expert graphical installer
    -

    Figure 

    Figure 2 displays the expert graphical installer under GNU/Linux. Other than using buttons and menus, this does not differ much from the text installer. -

    This mode can be invoked explicitly with

    -

    +

    This mode can be invoked explicitly with

    +

    > install-tl -gui=perltk
    -

    +

    3.1.7 The simple wizard installer
    -

    Under Windows, the default is to run the simplest installation method we could devise, called the “wizard” +

    Under Windows, the default is to run the simplest installation method we could devise, called the “wizard” installer (figure 3). It installs everything and asks almost no questions. If you want to customize your setup, you should run one of the other installers. -

    This mode can be invoked explicitly with

    -

    +

    This mode can be invoked explicitly with

    +

    >  -gui=wizard
    -

    +

    3.2 Running the installer

    -

    The installer is intended to be mostly self-explanatory, but following are a few notes about the various options +

    The installer is intended to be mostly self-explanatory, but following are a few notes about the various options and submenus. -

    +

    3.2.1 Binary systems menu (Unix only)
    -



    @@ -1867,8 +1876,8 @@ class="ec-lmtt-8"> Solaris
    class="content">Binaries menu
    -


    -

    Figure 


    +

    Figure 4 displays the text mode binaries menu. By default, only the binaries for your current platform will be installed. From this menu, you can select installation of binaries for other platforms as well. This can be useful if you are sharing a TEX tree across a network of heterogenous machines system.

    3.2.2 Selecting what is to be installed
    -



    @@ -1995,8 +2004,8 @@ class="ec-lmtt-8"> collections
    class="content">Scheme menu
    -


    -

    Figure 


    +

    Figure 5 displays the TEX Live scheme menu; from here, you choose a “scheme”, which is an overall set of package collections. The default medium or teTeX to get something in between. There are also various specialized and country-specific schemes. -



    @@ -2017,7 +2026,7 @@ schemes. -

    pict

    Collections menu
    -


    -

    You can refine your scheme selection with the ‘standard collections’ and ‘language collections’ menus +


    +

    You can refine your scheme selection with the ‘standard collections’ and ‘language collections’ menus (figure 6, shown in GUI mode for a change). -

    Collections are one level more detailed than schemes — in essence, a scheme consists of several collections, a +

    Collections are one level more detailed than schemes — in essence, a scheme consists of several collections, a collection consists of one or more packages, and a package (the lowest level grouping in TEX Live) contains the actual TEX macro files, font files, and so on. -

    If you want more control than the collection menus provide, you can use the T

    If you want more control than the collection menus provide, you can use the TEX Live Manager (tlmgr) program after installation (see section 5); using that, you can contr level.

    3.2.3 Directories
    -

    The default layout is described in section 

    The default layout is described in section 2.3, p. 8. The default location of TEXDIR is /usr/local/texlive/2010 on Unix and %SystemDrive%\texlive\2010 on Windows. -

    The main reason to change this default is if you lack write permission for the default location. You don’t +

    The main reason to change this default is if you lack write permission for the default location. You don’t have to be root or administrator to install TEX Live, but you do need write access to the target directory. -

    A reasonable alternative choice is a directory under your home directory, especially if you will be the sole +

    A reasonable alternative choice is a directory under your home directory, especially if you will be the sole user. Use ‘~’ to indicate this, as in ‘~/texlive/2010’. -

    We recommend including the year in the name, to enable keeping different releases of T

    We recommend including the year in the name, to enable keeping different releases of TEX Live side by side. (You may wish to make a version-independent name such as /usr/local/texlive-cur via a symbolic link, which you can then update after testing the new release.) -

    Changing

    Changing TEXDIR in the installer will also change TEXMFLOCAL, TEXMFSYSVAR and TEXMFSYSCONFIG. -

    TEXMFHOME is the recommended location for personal macro files or packages. The default value is ~/texmf. In contrast to %USERPROFILE% on Windows. Special redundant note: TEXMFHOME, like all trees, must be organized according to the TDS, or files may not be found. -

    TEXMFVAR is the location for storing most cached runtime data specific to each user. TEXMFCACHE is used for that purpose by ConTEXt MkIV (see section 3.4.5, p. 39). -

    +

    3.2.4 Options
    -



    @@ -2275,8 +2284,8 @@ class="ec-lmtt-8"> to:
    class="content">Options menu (Unix)
    -


    -

    Figure 


    +

    Figure 7 shows the text mode options menu. More info on each:

    Although unnecessary format files take time to generate and in people’s private TEXMFVAR tree as they are needed. In that location, they will not be updated automatically if (say) binaries or hyphenation patterns are updated in the installation, and thus - could end up with incompatible format files. + you could end up with incompatible format files.
    install font/macro EX system through directories that are already kn to users, such as /usr/local/bin, which don’t already contain any TEX files.
    -

    When all the settings are to your liking, you can type ‘I’ to start the installation process. When it is done, +

    When all the settings are to your liking, you can type ‘I’ to start the installation process. When it is done, skip to section 3.4 to read what else needs to be done, if anything.

    3.3 Command-line install-tl options

    -

    Type

    -

    +

    Type

    +

    >  -help class="ec-lmtt-10">- or -- can be used to introduce option names. These are the most common ones: -

    +

    -gui
    -

    If possible, use the GUI installer. This requires the +

    If possible, use the GUI installer. This requires the Perl/Tk module (http://tug.org/texlive/distro.html#perltk) compiled with XFT support; @@ -2358,8 +2367,7 @@ class="ec-lmtt-10">http://tug.org/texlive/distro.html#perltk) compile -no-gui

    -

    Force using the text mode installer, even under Windows; you’ll need this if you want a ‘from - DVD’ installation, since that is not available in GUI mode. +

    Force using the text mode installer, even under Windows.

    -lang LL
    -

    Specify the installer interface language as its standard two-letter code

    Specify the installer interface language as its standard two-letter code LL. Currently supported languages: cs (Czech), zh-cn (Simplified Chinese), zh-tw (Traditional Chinese). The installer tries to automatically determine the right language but if it fails, or if the right language is not available, then it uses English as a fallback. -

    +

    -in-place
    -

    If you already have an rsync, svn, or +

    If you already have an rsync, svn, or other copy of TEX Live (see http://tug.org/texlive/acquire-mirror.html) then t will use what you’ve got, as-is, and do only the necessary post-install. Be warned that the file tlpkg/texlive.tlpdb may be overwritten; saving it is your responsibility. Also, package removal - has to be done manually. This option cannot be toggled via the installer interface. + has to be done manually. Do not use this unless you know what you are doing. This option cannot + be toggled via the installer interface.

    -portable
    -

    Install for portable use on, e.g., a USB stick. Also selectable from within the GUI and text +

    Install for portable use on, e.g., a USB stick. Also selectable from within the GUI and text installers; see section 4.2.

    @@ -2415,7 +2424,7 @@ href="#x1-430004.2">4.2. class="ec-lmtt-10">-profile file
    -

    The installer always writes a file

    The installer always writes a file texlive.profile to the tlpkg subdirectory of your installation. This option tells the installer to re-use such a profile file, so you can install in batch mode on @@ -2425,15 +2434,15 @@ class="ec-lmtt-10">tlpkg subdirectory of your installation. class="ec-lmtt-10">-repository url-or-directory

    -

    Specify package repository from which to install; see following.

    -

    +

    Specify package repository from which to install; see following. +

    3.3.1 The -repository option
    -

    The default package repository is a CTAN mirror chosen automatically via

    The default package repository is a CTAN mirror chosen automatically via http://mirror.ctan.org. -

    If you want to override that, the location value can be a url starting with

    If you want to override that, the location value can be a url starting with ftp:, http:, or file:/, or a @@ -2443,7 +2452,7 @@ class="ec-lmtt-10">ftp: location, trailing ‘/’ characters and/or a trailing ‘/tlpkg’ component are ignored.) -

    For example, you could choose a particular CTAN mirror with something like: +

    For example, you could choose a particular CTAN mirror with something like: http://ctan.example.org/tex-archive/systems/texlive/tlnet/, substituting a real hostname and its @@ -2452,39 +2461,39 @@ class="ec-lmtt-10">ctan.example.org/tex-archive. The list o maintained at http://ctan.org/mirrors. -

    If the given argument is local (either a path or a

    If the given argument is local (either a path or a file:/ url), compressed files in an archive subdirectory of the repository path are used (even if uncompressed files are available as well). -

    +

    3.4 Post-install actions

    -

    Some post-install may be required. -

    +

    Some post-install may be required. +

    3.4.1 Environment variables for Unix
    -

    If you elected to create symlinks in standard directories (described in section 

    If you elected to create symlinks in standard directories (described in section 3.2.4), then there is no need to edit environment variables. Otherwise, on Unix systems, the directory of the binaries for your platform must be added to the search path. (On Windows, the installer takes care of this.) -

    Each supported platform has its own subdirectory under

    Each supported platform has its own subdirectory under TEXDIR/bin. See figure 4 for the list of subdirectories and corresponding platforms. -

    Optionally, you can also add the documentation man and Info directories to their respective search paths, if +

    Optionally, you can also add the documentation man and Info directories to their respective search paths, if you want the system tools to find them. The man pages might be found automatically after the addition to PATH. -

    For Bourne-compatible shells such as

    For Bourne-compatible shells such as bash, and using Intel x86 GNU/Linux and a default directory setup as an example, the file to edit might be $HOME/.profile (or another file sourced by .profile, and the lines to add would look like this: -

    +

       INFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH
    -

    For csh or tcsh, the file to edit is typically

    For csh or tcsh, the file to edit is typically $HOME/.cshrc, and the lines to add might look like: -

    +

       setenv INFOPATH /usr/local/texlive/2010/texmf/doc/info:$INFOPATH
    -

    If you already have settings somewhere in your “dot” files, naturally the T

    If you already have settings somewhere in your “dot” files, naturally the TEX Live directories should simply be merged in as appropriate. -

    +

    3.4.2 Environment variables: Global configuration
    -

    If you want to make these changes globally, or for a user newly added to the system, then you are on +

    If you want to make these changes globally, or for a user newly added to the system, then you are on your own; there is just too much variation between systems in how and where these things are configured. -

    Our two hints are: 1) you may want to check for a file

    Our two hints are: 1) you may want to check for a file /etc/manpath.config and, if present, add lines such as -

    +

         /usr/local/texlive/2010/texmf/doc/man
    -

    And 2) check for a file

    And 2) check for a file /etc/environment which may define the search path and other default environment variables. -

    In each (Unix) binary directory, we also create a symbolic link named

    In each (Unix) binary directory, we also create a symbolic link named man to the directory texmf/doc/man. Some man programs, such as the standard Mac OS X man, will automatically find that, obviating the need for any man page setup. -

    +

    3.4.3 Internet updates after DVD installation
    -

    If you installed T

    If you installed TEX Live from DVD and then wish to get updates from the Internet, you need to run this command—after you’ve updated your search path (as described in the previous section):

    -

    +

    >  repository http://mirror.ctan.org/systems/texlive/tlnet
    -

    This tells C<tlmgr> to use a nearby CTAN mirror for future updates. -

    If there are problems with the automatic mirror selection, you can specify a particular CTAN mirror from +

    This tells tlmgr to use a nearby CTAN mirror for future updates. +

    If there are problems with the automatic mirror selection, you can specify a particular CTAN mirror from the list at http://ctan.org/mirrors. Use the exact path to the tlnet subdir on that mirror, as shown above. -

    +

    3.4.4 Font configuration for XeTEX
    -

    If you have installed the

    If you have installed the xetex package on a Unix-compatible system, you need to configure your system if you want XeTEX to be able to find the fonts shipped with Txetex package is installed (either at initial installation or later), the necessary configuration file is created in TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf. -

    To set up the T

    To set up the TEX Live fonts for system-wide use (assuming you have suitable privileges), proceed as follows:

      @@ -2620,7 +2630,7 @@ class="ec-lmtt-10">/etc/fonts/conf.d/09-texlive.conf.
    1. Run fc-cache -fsv.
    -

    If you do not have sufficient privileges to carry out the steps above, you can instead do the following to +

    If you do not have sufficient privileges to carry out the steps above, you can instead do the following to make the TEX Live fonts available to you as an individual XeTEX user: @@ -2634,11 +2644,11 @@ class="ec-lmtt-10">~ is your home directory.

  • Run fc-cache -fv.
  • -

    +

    3.4.5 ConTEXt Mark IV
    -

    The ‘old’ ConT

    The ‘old’ ConTEXt (Mark II) should run out of the box after TEX Live installation. The ‘new’ LuaT --generate
     
     context --make

    -

    The resulting files are stored under

    The resulting files are stored under TEXMFCACHE, with the same default value in TEX Live as TEXMFVAR, as defined in texmfcnf.lua. -

    For more information, see

    For more information, see http://wiki.contextgarden.net/Running_Mark_IV and http://wiki.contextgarden.net/TeX_Live_2010. -

    +

    3.4.6 Integrating local and personal macros
    -

    This is already mentioned implicitly in section 

    This is already mentioned implicitly in section 2.3: TEXMFLOCAL (by default, /usr/local/texlive/texmf-local @@ -2686,7 +2696,7 @@ class="ec-lmtt-10">TEXMFLOCAL to be too far away from the main TEX Live directory, or you will need to manually change future releases. -

    For both trees, files should be placed in their proper T

    For both trees, files should be placed in their proper TEX Directory Structure (TDS) subdirectories; see TEXMFLOCAL/tex/latex or TEXMFHOME/tex/latex, or a subdirectory thereof. -

    TEXMFLOCAL requires an up-to-date filename database, or files will not be found. You can update it with the command mktexlsr or use the ‘Reinit file database’ button on the configuration tab of the TEX Live Manager GUI. -

    By default, each of these variables is defined to be a single directory, as shown. This is not a hard-and-fast +

    By default, each of these variables is defined to be a single directory, as shown. This is not a hard-and-fast requirement. If you need to easily switch back and forth between different versions of large packages, for example, you can maintain multiple trees for your own purposes. This is done by setting TEXMFHOME to the list @@ -2714,23 +2724,23 @@ of directories, within braces, separated by commas:

        TEXMFHOME = {/my/dir1,/mydir2,/a/third/dir}
    -

    -

    Section 

    +

    Section 7.1.5 describes brace expansion further. -

    +

    3.4.7 Integrating third-party fonts
    -

    This is unfortunately a messy topic. Forget about it unless you want to delve into many details of the T

    This is unfortunately a messy topic. Forget about it unless you want to delve into many details of the TEX installation. Don’t forget to check first what you get for free: see section 2.6. -

    A possible alternative is to use XeT

    A possible alternative is to use XeTEX or LuaTEX (see section 2.4), which let you use operating system fonts without any installation in TEX. -

    If you do need to do this, see

    If you do need to do this, see http://tug.org/fonts/fontinstall.html for our best effort at describing the procedure. If you rigorously maintain your local font maps, tlmgr generate updmap may be useful, notably in moving from release to release; see the tlmgr documentation. -

    +

    3.5 Testing the installation

    -

    After installing T

    After installing TEX Live as best you can, you naturally want to test it out, so you can start creating beautiful documents and/or fonts. -

    This section gives some basic procedures for testing that the new system is functional. We give Unix +

    This section gives some basic procedures for testing that the new system is functional. We give Unix commands here; under Mac OS X and Windows, you’re more likely to run the tests through a graphical interface, but the principles are the same. -

    +

    1. Make sure that you can run the tex program in the first place:
      -

      +

      > 37.
    2. Process a basic LATEX file:
      -

      +

      > 65.)
    3. Preview the result online:
      -

      +

      > display’.
    4. Create a PostScript file for printing or display:
      -

      +

      >  sample2e.ps class="enumerate" id="x1-39010x5">Create a PDF file instead of DVI; this processes the .tex file and writes PDF directly:
      -

      +

      >  sample2e.tex
    5. Preview the PDF file:
      -

      +

      > http://blog.kowalczyk.info/software/sumatrapdf).
    6. Standard test files you may find useful in addition to sample2e.tex: -

      +

      small2e.tex
      -

      A simpler document than

      A simpler document than sample2e, to reduce the input size if you’re having troubles.

      testpage.tex
      -

      Test if your printer introduces any offsets. +

      Test if your printer introduces any offsets.

      nfssfont.tex
      -

      For printing font tables and tests. +

      For printing font tables and tests.

      testfont.tex
      -

      Also for font tables, but using plain T

      Also for font tables, but using plain TEX.

      story.tex
      -

      The most canonical (plain) T

      The most canonical (plain) TEX test file of all. You must type ‘\bye’ to the * prompt after @@ -2957,7 +2967,7 @@ class="ec-lmtt-10">tex story.tex’.

      class="enumerate" id="x1-39016x8">If you have installed the xetex package, you can test its access to system fonts as follows:
      -

      +

      > EX Live. See Section 3.4.4.
    -

    +

    3.6 Links for additional downloadable software

    -

    If you are new to T

    If you are new to TEX, or otherwise need help with actually writing TEX or LATEX documents, please visit http://tug.org/begin.html for some introductory resources. -

    Links for some other tools you may consider installing: +

    Links for some other tools you may consider installing:

    Ghostscript
    http://www.gnu.org/software/auctex.
  • LEd is available from http://www.ctan.org/support/LEd. +href="http://mirror.ctan.org/support/LEd" class="url" >http://mirror.ctan.org/support/LEd.
  • @@ -3075,6 +3085,13 @@ href="http://www.xm1math.net/texmaker/" class="url" >http://www.xm1math.net/texmaker/.
  • TexMakerX http://texmakerx.sourceforge.net/ is a fork of Texmaker with additional + features +
  • +
  • TeXnicCenter is free software, available from http://www.texniccenter.org and in the @@ -3105,18 +3122,18 @@ class="ec-lmss-10">WinShell is available from http://www.winshell.de.
  • -

    For a much longer list of packages and programs, see

    For a much longer list of packages and programs, see http://tug.org/interest.html. -

    +

    4 Specialized installations

    -

    The previous sections described the basic installation process. Here we turn to some specialized +

    The previous sections described the basic installation process. Here we turn to some specialized cases. -

    +

    4.1 Shared-user (or cross-machine) installations

    -

    T

    TEX Live has been designed to be sharable between different users on one system, and/or between different systems on a network. With a standard directory layout, no hard paths are configured: the locations for files needed by T  TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local

    -

    This means that adding the directory for T

    This means that adding the directory for TEX Live executables for their platform to their search path is sufficient to get a working setup. -

    By the same token, you can also install T

    By the same token, you can also install TEX Live locally and then move the entire hierarchy afterwards to a network location. -

    For Windows, a sample network installation script named

    For Windows, a sample network installation script named w32client can be downloaded through EX Live installation on a LAN. It also registers an uninstaller w32unclient, available in the same zip file. See the web page for more information. -

    +

    4.2 Portable (USB) installations

    -

    The -portable installer option creates a completely self-contained TeX Live installation under a common root -and forgoes system integration. You can create such an installation directly on a USB stick or copy it to a USB -stick afterwards. -

    To actually run using this portable installation, you need to add the appropriate binary directory to the -search path during your terminal session, as usual. For Windows, you can double-click tl-tray-menu at the -root of the installation to choose between a few common tasks: +

    The -portable installer option creates a completely self-contained TEX Live installation under a common root +and forgoes system integration. You can create such an installation directly on a USB stick, or copy it to a +USB stick afterwards. +

    To run TEX using this portable installation, you need to add the appropriate binary directory +to the search path during your terminal session, as usual. On Windows, you can double-click +tl-tray-menu at the root of the installation to choose between a few common tasks, as shown in this +screenshot: + -

    -
      ...
      1 TeX Live command prompt
      2 Managing the installation
      3 TeXworks
      Q Quit
      ...
    -
    -

    -

    +

    pict +

    You can use the ‘Custom Script’ entry to add items of your own. By default, it pops up a message explaining +how to create one. +

    4.3 ISO (or DVD) installations

    -

    If you don’t need to update or otherwise modify your installation often, and/or have several systems on +

    If you don’t need to update or otherwise modify your installation often, and/or have several systems on which to use TEX Live, it may be convenient to create an ISO of your TEX Live installation, @@ -3193,49 +3209,49 @@ class="E">EX Live supported filesystems (FAT32, NTFS, HFS+).

  • Virtual machines can simply mount such an ISO.
  • -

    Of course you can also burn an ISO to DVD, if that is useful for you. -

    Desktop GNU/Linux/Unix systems, including Mac OS X, are able to mount an ISO. Apart from that, +

    Of course you can also burn an ISO to DVD, if that is useful for you. +

    Desktop GNU/Linux/Unix systems, including Mac OS X, are able to mount an ISO. Apart from that, nothing changes compared to a normal hard disk installation, see section 3.4.1. -

    When preparing such an ISO installation, it is best not to omit the subdirectory for the release year, but -instead to have

    When preparing such an ISO installation, it is best to omit the subdirectory for the release year, and have +texmf-local at the same level as the other trees (texmf, texmf-dist, etc.). You can do this -with the normal directory options in the installer. -

    For a physical (rather than virtual) Windows system, you can burn the ISO to DVD. However, it may be +class="ec-lmtt-10">texmf-dist, etc.). You can do this with the normal +directory options in the installer. +

    For a physical (rather than virtual) Windows system, you can burn the ISO to DVD. However, it may be worth your while to investigate free ISO-mounting options. For Windows XP, Microsoft offers winxpvirtualcdcontrolpanel. -

    For Windows system integration, you can include the

    For Windows system integration, you can include the w32client scripts described in section 4.1 and at http://tug.org/texlive/w32client.html, which work just as well for an ISO as for a network installation. -

    On Mac OS X, TeXShop and T

    On Mac OS X, TeXShop and TEXworks will be able to use the DVD installation if a symlink /usr/texbin points to the appropriate binary directory, e.g., -

    -
    +
      sudo ln -s /Volumes/MyTeXLive/bin/universal-darwin /usr/texbin
    -

    -

    Historical note: T

    +

    Historical note: TEX Live 2010 was the first TEX Live edition which was no longer distributed ‘live’. However, it always required some acrobatics to run from DVD or ISO; in particular, there was no way around setting at least one extra environment variable. If you create your ISO from an existing installation then there is no need for this. -

    +

    5 tlmgr: Managing your installation

    -



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

    pict

    tlmgr in GUI mode: main window, after ‘Load’.
    -


    -



    +


    @@ -3264,14 +3280,14 @@ class="ec-lmss-10">tlmgr in GUI mode: main window, after ‘Lo -

    pict

    Figure 9: tlmgr in GUI mode: General options
    -

    pict

    tlmgr in GUI mode: Paper size options
    -


    -

    T


    +

    TEX Live includes a program named tlmgr for managing TEX Live after the initial installation. The @@ -3302,17 +3318,13 @@ 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 portable installations (section 4.2).

    5.1 tlmgr GUI mode

    -

    tlmgr can be started in GUI mode (figure 8) with

    -

    +

    > TeX Live 2010, TeX Live Manager. After clicking ‘Load’ it displays a list of available and installed packages. This assumes of course that the installation source is valid and reachable. -

    Figures 

    Figures 9 and 10 show the general and paper size option screens. -

    +

    5.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 (less verbose):
    -

    +

    >  update -list
    -

    This more complex example adds a collection, for the engine XeT

    This more complex example adds a collection, for the engine XeTEX, from a local directory:

    -

    +

    >  collection-xetex
    It generates the following output (abridged): -
      install:  fmtutil: /usr/local/texlive/2010/texmf-var/web2c/xetex/xelatex.fmt installed.
    -

    As you can see,

    As you can 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. -

    To describe a package (or collection or scheme):

    -

    +

    To describe a package (or collection or scheme):

    +

    >  show collection-latexextra
    which produces -
      package: revision:   14675
    -

    Last and most important, for full documentation see

    Last and most important, for full documentation see http://tug.org/texlive/tlmgr.html, or:

    -

    +

    > tlmgr -help
    -

    +

    6 Notes on Windows

    -

    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.

    6.1 Windows-specific features

    @@ -3546,11 +3553,26 @@ class="E">EX Live’ submenu of the Start menu is installed, w class="ec-lmss-10">tlmgr, texdoctk, the PS_View (psv) PostScript previewer) and - some documentation. PS_View also gets a shortcut on the desktop as a drag-and-drop target for - PostScript files. + some documentation. +
    +File associations.
    If enabled, TeXworks, Dviout and PS_view become either the default program for + their respective filetypes, or get an entry in the ‘Open with’ right-click menus of those filetypes.
    Automatic setting of environment variables.
    Bitmap to eps converter.
    Various bitmapped formats get an entry bitmap2eps in their ‘Open with’ + right-click menu. Bitmap2eps is a simple script which lets sam2p or bmeps do the real work. +
    +Automatic path adjustment.
    No manual configuration steps are required.
    EX Live. The uninstall class="E">EX Live Manager GUI refers to this. -

    +

    6.2 Additional software included on Windows

    -

    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: @@ -3583,7 +3605,7 @@ class="E">EX Live programs that need them know where to find them, class="ec-lmbx-10">PS_View.

    Also installed is PS_View, a PostScript and PDF viewer; see figure 11. -



    pict
    Figure 11: PS_View: very high magnifications available!
    -


    +


    dviout.
    \font command. If necessary, run fc-cache first to update font information.
    -

    +

    6.3 User Profile is Home

    -

    The Windows counterpart of a Unix home directory is the %USERPROFILE% directory. Under Windows XP and -Windows 2000, this is usually

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

    +

    6.4 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 6.3). HKLM is normally in a subdirectory of the Windows directory. -

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

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

    +

    6.5 Windows permissions

    -

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

    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, there is an option to install for all users. If this option is chosen, shortcuts +

    If the user is an administrator, there is an option to install for all users. If this option is chosen, shortcuts are created for all users, and the system environment is modified. Otherwise, shortcuts and menu entries are created for the current user, and the user environment is modified. -

    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 %SystemDrive%. 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 would @@ -3706,14 +3728,14 @@ class="E">EXworks, if installed, also prepends TEX Live to the search path, 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 +

    For Vista and Windows 7 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’. -

    +

    6.6 Increasing maximum memory on Windows and Cygwin

    -

    Windows and Cygwin (see section 

    Windows and Cygwin (see section 3.1.4 for Cygwin installation specifics) users may find that they run out of memory when running some of the programs shipped with TEX Live. For example, asy might run out of memory if you try to allocate an array of 25,000,000 reals, and LuaTEX might run out of memory if you try to process a document with a lot of big fonts. -

    For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin +

    For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin User’s Guide (http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html). -

    For Windows, you have to create a file, say

    For Windows, you have to create a file, say moremem.reg, with these four lines: -

    -

    +

      Windows [HKEY_LOCAL_MACHINE\Software\Cygwin]
      "heap_chunk_in_mb"=dword:ffffff00
    -

    and then execute the command

    and then execute the command regedit /s moremem.reg as administrator. (If you want to change memory only for the current user instead of system-wide, use HKEY_CURRENT_USER.) -

    +

    7 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. It uses +

    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.

    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.

    mf
    -

    Creating typeface families. +

    Creating typeface families.

    mft
    -

    Prettyprinting Metafont source. +

    Prettyprinting Metafont source.

    mpost
    -

    Creating technical diagrams. +

    Creating technical diagrams.

    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. @@ -3865,49 +3887,49 @@ class="ec-lmtt-10">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 configuration files to optimize searching the @@ -3918,11 +3940,11 @@ class="E">EX’s standard distribution and local and personal searches, the root of each tree has a file ls-R, containing an entry showing the name and relative pathname for all files under that root. -

    +

    7.1 Kpathsea path searching

    -

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

    We call a

    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 ‘.:/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 use +

    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 62) 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 @@ -3961,22 +3983,22 @@ 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 additional +

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

    +

    7.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 below).
    2. The compile-time default.
    -

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

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

    +

    7.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 TEXMFCNF, but we do not recommend setting this (or any) environment variable. -

    Instead, normal installation results in a file

    Instead, normal installation results in a file .../2010/texmf.cnf. If you must make changes to the defaults (not normally necessary), this is the place to put them. The main configuration file is in .../2010/texmf/web2c/texmf.cnf. You should not edit this latter file, as your changes will be lost when the distributed version is updated. -

    All texmf.cnf files in the search path will be read and definitions in earlier files override those in later files. For example, with a search path of \ at the end of a line acts as a continuation characte

  • Each remaining line has the form:
    -

    +

      texmf.cnf for Unix, MS-DOS and Windows
  • 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;}//
    -

    +

    7.1.3 Path expansion
    -

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

    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 baz. These expansions are explained in the sections below.

    7.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 57) 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 @@ -4194,23 +4216,23 @@ class="ec-lmtt-10"> .:$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 one +

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

    +

    7.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 Ttexmf.cnf, a definition like this (simplified for this made: -

    -
    +
        TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN}
    -

    Using this you can then write something like +

    Using this you can then write something like -

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

    +

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

    +

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

    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.

    -

    +

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

    +

    7.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 ($TEXMF by default). Kpathsea looks for 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 particular +

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

    +

    7.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 first file +

    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 and @@ -4450,7 +4472,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 will --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. @@ -4469,7 +4491,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. ‘--format’ class="ec-lmtt-10">--progname=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.

    -

    +

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

    -

    +

    > EX Live directory. Similarly, all of the followin 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 standard +

    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. This is +

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

    +

    7.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. @@ -4808,68 +4830,68 @@ 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 a +

    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 option by +

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

    -
    +
        \documentclass{article}
        \begin{document}
        Hello World!
        \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 files 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 7.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.tfm, which is found, then a few more prolog file referenced, and finally the Type 1 instance cmr10.pfb of the font is located and included in the output file (see last line).
    -

    +


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

    7.3 Runtime options

    -

    Another useful feature of Web2C is its possibility to control a number of memory parameters (in particular, +

    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 TEX, and call @@ -5242,7 +5264,7 @@ class="ec-lmtt-10">texmf.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. @@ -5250,27 +5272,27 @@ 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 are +

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

    +

    8 Acknowledgements

    -

    T

    TEX Live is a joint effort by virtually all of the TEX user groups. This edition of TEX Live was overseen by @@ -5434,7 +5456,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: Alan Braslau (

    Builders of the binaries: Alan Braslau (amd64-kfreebsd, i386-kfreebsd), Peter Breitenlohner (x86_64-linux), @@ -5462,23 +5484,23 @@ class="E">EX Live build process, see http://tug.org/texlive/build.html. -

    Current documentation translators: Boris Veytsman (Russian), Jjgod Jiang, Jinsong Zhao, Yue Wang, & +

    Current documentation translators: Boris Veytsman (Russian), Jjgod Jiang, Jinsong Zhao, Yue Wang, & Helin Gai (Chinese), Klaus Höppner (German), Manuel Pégourié-Gonnard (French), Marco Pallante (Italian), Nikola Lečić (Serbian), Petr Sojka & Jan Busa (Czech/Slovak), Staszek Wawrykiewicz (Polish). The 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. -

    +

    9 Release history

    -

    +

    9.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. This was too @@ -5502,7 +5524,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 @@ -5522,7 +5544,7 @@ included almost all of its features. The 4th edition followed the same pattern, of 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 of +

    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 concept: +

    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 updates to +

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

    +

    9.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 2.1, @@ -5601,16 +5623,16 @@ class="ec-lmtt-10">texmf/web2c/cp8bit.tcx. (Future releases class="E">EX Live 2003. -

    +

    9.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), along @@ -5621,7 +5643,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. @@ -5697,7 +5719,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 special characters. Typical examples: -

      -
      +
        \input "filename with spaces"   % plain
        \input{"filename with spaces"}  % latex
      -

      See the Web2C manual for more:

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

    • encTcbgreek package to a “medium” sized set of author (Claudio Beccari). The excised fonts are the invisible, outline, and transparency ones, which are relatively rarely used, and we needed the space. The full set is of course available from CTAN (http://www.ctan.org/tex-archive/fonts/greek/cb). +href="http://mirror.ctan.org/tex-archive/fonts/greek/cb" class="url" >http://mirror.ctan.org/tex-archive/fonts/greek/cb).
    • oxdvi has been removed; just use t1utils programs. This is because they are compiled wi class="ec-lmss-10">mips-irix, the MIPSpro 7.4 runtimes are required.
    -

    +

    9.1.3 2005
    -

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

    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 you so desire, as in: -
      -
      +
        latex --translate-file=empty.tcx yourfile.tex
      -

      +

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

    +

    9.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 @@ -5921,14 +5943,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 usual, +

    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 tree, +href="http://mirror.ctan.org" class="url" >http://mirror.ctan.org) for updates. +

    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 Live, which provides an approximate equivalent.) We hope this will eventually translate to improvements in the TEX environment for everyone. -

    +

    9.1.5 2008
    -

    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, most +

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

    +

    9.1.6 2009
    -

    In 2009, the default output format for Lua(L

    In 2009, the default output format for Lua(LA )TEX is now PDF, to take advantage of LuaTEX’s OpenType @@ -6048,9 +6070,9 @@ LuaTEX home page is http://luatex.org. -

    The original Omega engine and Lambda format have been excised, after discussions with the Omega +

    The original Omega engine and Lambda format have been excised, after discussions with the Omega authors. The updated Aleph and Lamed remain, as do the Omega utilities. -

    A new release of the AMS Type 1 fonts is included, including Computer Modern: a few shape +

    A new release of the AMS Type 1 fonts is included, including Computer Modern: a few shape changes made over the years by Knuth in the Metafont sources have been integrated, and the hinting has been updated. The Euler fonts have been thoroughly reshaped by Hermann Zapf (see http://tug.org/TUGboat/Articles/tb29-2/tb92hagen-euler.pdfhttp://www.ams.org/tex/amsfonts.html. -

    The new GUI front end T

    The new GUI front end TEXworks is included for Windows, and also in MacTEX. For other platforms, and more information, see the TEXworks home page, http://tug.org/texworks. It is a cross-platform front end inspired by the Mac OS X TeXShop editor, aiming at ease-of-use. -

    The graphics program Asymptote is included for several platforms. This implements a text-based graphics +

    The graphics program Asymptote is included for several platforms. This implements a text-based graphics description language vaguely akin to MetaPost, but with advanced 3D support and other features. Its home page is http://asymptote.sourceforge.net. -

    The separate

    The separate dvipdfm program has been replaced by dvipdfmx, which operates in a special compatibility mode under that name. dvipdfm release. The DVIPDFMx home page is http://project.ktug.or.kr/dvipdfmx. -

    Executables for the

    Executables for the cygwin and i386-netbsd platforms are now included, while we were advised that OpenBSD users get TEX through their package systems, plus there were difficulties in making binaries that have a chance of working on more than one version. -

    A miscellany of smaller changes: we now use

    A miscellany of smaller changes: we now use xz compression, the stable replacement for lzma ($ is allowed in filenames when it does n name; the Kpathsea library is now multi-threaded (made use of in MetaPost); the entire TEX Live build is now based on Automake. -

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

    +

    9.2 Present

    -

    In 2010, the default version for PDF output is now 1.5, enabling more compression. This applies to all the +

    In 2010, the default version for PDF output is now 1.5, enabling more compression. This applies to all the TEX engines when used to produce PDF and to dvipdfmx. Loading the \pdfminorversion=4. -

    pdf(L

    pdf(LA )TEX now automatically converts a requested Encapsulated PostScript (EPS) file to PDF, via the @@ -6136,7 +6158,7 @@ class="ec-lmss-10">epstopdf package documentation (http://ctan.org/pkg/epstopdf-pkg). -

    A related change is that execution of a very few external commands from T

    A related change is that execution of a very few external commands from TEX, via the \write18 feature, is now enabled by default. These are commands are  conf texmf shell_escape 0. -

    Yet another related change is that BibTeX and Makeindex now refuse to write their output files to an +

    Yet another related change is that BibTeX and Makeindex now refuse to write their output files to an arbitrary directory (like TEX itself), by default. This is so they can now be enabled for use by the restricted \write18. To change this, the TEXMFOUTPUT environment variable can be set, or the openout_any setting changed. -

    XeT

    XeTEX now supports margin kerning along the same lines as pdfTEX. (Font expansion is not presently supported.) -

    By default,

    By default, tlmgr now saves one backup of each package updated (tlmgr option autobackup 1), so broken packages updates can be easily reverted with tlmgr restore. If you do post-install updates, and don’t have the disk space for the backups, run tlmgr option autobackup 0. -

    New programs included: the pT

    New programs included: the pTEX engine and related utilities for typesetting Japanese; the BibTeXU program for Unicode-enabled BibTeX; the chktex utility (dvisvgm (http://dvisvgm.sourceforge.net) DVI-to-SVG translator. -

    Executables for these new platforms are now included:

    Executables for these new platforms are now included: amd64-freebsd, amd64-kfreebsd, i386-freebsd, @@ -6195,7 +6217,7 @@ class="ec-lmtt-10">i386-freebsd, class="ec-lmtt-10">i386-kfreebsd, x86_64-darwin, x86_64-solaris. -

    A change in T

    A change in TEX Live 2009 that we failed to note: numerous TEX4ht-related executables (http://tug.org/tex4ht) were removed from the binar class="ec-lmtt-10">mk4ht program can be used to run any of the various tex4ht combinations. -

    Finally, the T

    Finally, the TEX Live release on the TEX Collection DVD can no longer be run live (oddly enough). A single DVD no longer has enough room. One beneficial side effect is that installation from the physical DVD is much faster. -

    +

    9.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 \Ucom{perl install-tl -gui} @@ -858,7 +860,7 @@ More info on each: generated in people's private \dirname{TEXMFVAR} tree as they are needed. In that location, they will not be updated automatically if (say) binaries or hyphenation patterns are updated in the - installation, and thus could end up with incompatible format files. + installation, and thus you could end up with incompatible format files. \item[install font/macro \ldots\ tree:] These options allow you to omit downloading/installing the documentation and source files present in @@ -898,8 +900,7 @@ to introduce option names. These are the most common ones: installation continues in text mode. \item[-no-gui] Force using the text mode installer, even under - Windows; you'll need this if you want a `from \DVD' installation, - since that is not available in \GUI{} mode. + Windows. \item[-lang {\sl LL}] Specify the installer interface language as its standard two-letter code \textsl{\acro{LL}}. Currently @@ -929,7 +930,8 @@ to introduce option names. These are the most common ones: option will use what you've got, as-is, and do only the necessary post-install. Be warned that the file \filename{tlpkg/texlive.tlpdb} may be overwritten; saving it is your responsibility. Also, package - removal has to be done manually. This option cannot be toggled via the + removal has to be done manually. Do not use this unless you know + what you are doing. This option cannot be toggled via the installer interface. \item[-portable] Install for portable use on, e.g., a \USB{} stick. @@ -1053,7 +1055,7 @@ your search path (as described in the previous section): > \Ucom{tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet} \end{alltt} -This tells C to use a nearby \CTAN\ mirror for future updates. +This tells \cmdname{tlmgr} to use a nearby \CTAN\ mirror for future updates. If there are problems with the automatic mirror selection, you can specify a particular \CTAN\ mirror from the list at @@ -1298,11 +1300,13 @@ Links for some other tools you may consider installing: \item \cmdname{Emacs with Auc\TeX} for Windows is available in the directory \path{tlpkg/support} on the \TL \DVD; its home page is \url{http://www.gnu.org/software/auctex}. - \item \cmdname{LEd} is available from \url{http://www.ctan.org/support/LEd}. + \item \cmdname{LEd} is available from \url{http://mirror.ctan.org/support/LEd}. \item \cmdname{SciTE} is available from \url{http://www.scintilla.org/SciTE.html}. \item \cmdname{Texmaker} is free software, available from \url{http://www.xm1math.net/texmaker/}. + \item \cmdname{TexMakerX} \url{http://texmakerx.sourceforge.net/} + is a fork of \cmdname{Texmaker} with additional features \item \cmdname{TeXnicCenter} is free software, available from \url{http://www.texniccenter.org} and in the pro\TeX{}t distribution. \item \cmdname{TeXworks} is free software, available from @@ -1359,24 +1363,27 @@ in the same zip file. See the web page for more information. \label{sec:portable-tl} The \code{-portable} installer option creates a completely -self-contained TeX Live installation under a common root and forgoes -system integration. You can create such an installation directly on a -\USB{} stick or copy it to a \USB{} stick afterwards. +self-contained \TL{} installation under a common root and forgoes system +integration. You can create such an installation directly on a \USB{} +stick, or copy it to a \USB{} stick afterwards. -To actually run using this portable installation, you need to add the +To run \TeX\ using this portable installation, you need to add the appropriate binary directory to the search path during your terminal -session, as usual. For Windows, you can double-click +session, as usual. On Windows, you can double-click \filename{tl-tray-menu} at the root of the installation to choose -between a few common tasks: +between a few common tasks, as shown in this screenshot: -\begin{verbatim} -... -1 TeX Live command prompt -2 Managing the installation -3 TeXworks -Q Quit -... -\end{verbatim} +\medskip +% Package Manager (tlmgr) +% Editor (texworks) +% Command Prompt +% Custom Script +% Exit +\tlpng{tray-menu}{4cm} +\smallskip + +\noindent You can use the `Custom Script' entry to add items of your +own. By default, it pops up a message explaining how to create one. \htmlanchor{tlisoinstall} @@ -1404,8 +1411,8 @@ Desktop \GNU/Linux/Unix systems, including \MacOSX, are able to mount an \ISO. Apart from that, nothing changes compared to a normal hard disk installation, see section \ref{sec:env}. -When preparing such an \ISO\ installation, it is best not to omit the -subdirectory for the release year, but instead to have +When preparing such an \ISO\ installation, it is best to omit the +subdirectory for the release year, and have \filename{texmf-local} at the same level as the other trees (\filename{texmf}, \filename{texmf-dist}, etc.). You can do this with the normal directory options in the installer. @@ -1476,8 +1483,6 @@ include: \item changing installation options such as paper size and source location (see section~\ref{sec:location}). \end{itemize*} -\textit{Warning:} \prog{tlmgr} has not been designed for or tested -with portable installations (section~\ref{sec:portable-tl}). \subsection{\cmdname{tlmgr} GUI mode} \prog{tlmgr} can be started in \GUI{} mode (figure~\ref{fig:tlmgr-gui}) with @@ -1563,11 +1568,6 @@ Last and most important, for full documentation see \section{Notes on Windows} \label{sec:windows} -\TL\ has a single installer which runs on both Windows and Unix. This -was only possible by dropping support for older Windows versions, so -\TL\ can now be installed only on Windows 2000 and later. - - \subsection{Windows-specific features} \label{sec:winfeatures} @@ -1576,11 +1576,16 @@ Under Windows, the installer does some extra things: \item[Menus and shortcuts.] A new `\TL{}' submenu of the Start menu is installed, which contains entries for some \GUI{} programs (\prog{tlmgr}, \prog{texdoctk}, the PS\_View (\prog{psv}) - PostScript previewer) and some documentation. PS\_View also gets a - shortcut on the desktop as a drag-and-drop target for PostScript - files. -\item[Automatic setting of environment variables.] No manual - configuration steps are required. + PostScript previewer) and some documentation. +\item[File associations.] If enabled, \prog{TeXworks}, \prog{Dviout} + and \prog{PS\_view} become either the default program for + their respective filetypes, or get an entry in the `Open with' + right-click menus of those filetypes. +\item[Bitmap to eps converter.] Various bitmapped formats get an + entry \cmdname{bitmap2eps} in their `Open with' right-click + menu. Bitmap2eps is a simple script which lets \cmdname{sam2p} or + \cmdname{bmeps} do the real work. +\item[Automatic path adjustment.] No manual configuration steps are required. \item[Uninstaller.] The installer creates an entry under `Add/Remove Programs' for \TL. The uninstall tab of the \TeX\ Live Manager \GUI\ refers to this. @@ -1588,7 +1593,7 @@ Under Windows, the installer does some extra things: \subsection{Additional software included on Windows} -To be complete, a \TL installation needs support packages that are not +To be complete, a \TL{} installation needs support packages that are not commonly found on a Windows machine. \TL{} provides the missing pieces: \begin{description} @@ -1640,9 +1645,9 @@ pieces: \label{sec:winhome} The Windows counterpart of a Unix home directory is the -\verb|%USERPROFILE%| directory. Under Windows \acro{XP} and Windows 2000, this +\verb|%USERPROFILE%| directory. Under Windows \acro{XP}, this is usually \verb|C:\Documents and Settings\|, and under -Windows Vista \verb|C:\Users\|. In the +Windows Vista and Windows~7 it is \verb|C:\Users\|. In the \filename{texmf.cnf} file, and \KPS{} in general, \verb|~| will expand appropriately on both Windows and Unix. @@ -1694,7 +1699,7 @@ be always usable from within such a command-prompt. The shortcut for \TeX{}works, if installed, also prepends \TL{} to the search path, so it should also be immune to this path problem. -For Vista there is another twist: even if you are logged in as +For Vista and Windows~7 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 @@ -2950,7 +2955,7 @@ of fonts, with the assent and advice of the author (Claudio Beccari). The excised fonts are the invisible, outline, and transparency ones, which are relatively rarely used, and we needed the space. The full set is of course available from \acro{CTAN} -(\url{http://www.ctan.org/tex-archive/fonts/greek/cb}). +(\url{http://mirror.ctan.org/tex-archive/fonts/greek/cb}). \item \cmdname{oxdvi} has been removed; just use \cmdname{xdvi}. @@ -3058,7 +3063,7 @@ lines to determine what format to run; it is the pure Knuthian \TeX. Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check \acro{CTAN} -(\url{http://www.ctan.org}) for updates. +(\url{http://mirror.ctan.org}) for updates. Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the tree, as linked from our home page. diff --git a/Master/tlpkg/doc/coding-style.txt b/Master/tlpkg/doc/coding-style.txt index e2637edfde8..087322cce66 100644 --- a/Master/tlpkg/doc/coding-style.txt +++ b/Master/tlpkg/doc/coding-style.txt @@ -71,7 +71,7 @@ not Perl keywords. * Similarly, Perl lets you omit parentheses around function calls and/or primitives in many situations. As a rule, don't do this. It is far clearer to use parens when there's a function call. Exceptions for -these primitives: exists, defined, print and its relatives. +these primitives: exists, defined, die, warn, and print and relatives. * The above is essentially the recommendation of the GNU coding standards -- cgit v1.2.3