From f103e364e1ee6db020b35e817f86074c0e7c336f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 15 Mar 2020 18:10:11 +0000 Subject: Make somewhat more modern HTML output for the TL Guide (English). * Makefile (tlpre, pdflatex, pdflatex_opts, texfot_pdf, texfot_html): new variables to generalize invocations. (pdf): use them. (html): use htlatex, and those vars, instead of running each separately, so we can (most importantly) specify the html5 option and get a viewport declaration in the output for phones. (pdf1): use vars. * live4ht.cfg (\Preamble): options now specified in htlatex invocation instead of here. * tex-live.sty (\tlimage): remove, not used. (\tlpng): don't include a tiny bb, which makes the images tiny in the output; omit any bb at all and live with the resulting warning, since the HTML output is then best. (\Status=2): read live4ht.cfg from htlatex invocation instead of here. texlive-ja/Makefile: bonus commit of new file. git-svn-id: svn://tug.org/texlive/trunk@54322 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/texlive/texlive-en/Makefile | 55 +- .../texmf-dist/doc/texlive/texlive-en/live4ht.cfg | 9 +- .../texmf-dist/doc/texlive/texlive-en/tex-live.sty | 31 +- .../doc/texlive/texlive-en/texlive-en.css | 211 +- .../doc/texlive/texlive-en/texlive-en.html | 6295 +++++++++----------- .../doc/texlive/texlive-en/texlive-en.pdf | Bin 1122000 -> 1121989 bytes Master/texmf-dist/doc/texlive/texlive-ja/Makefile | 23 + 7 files changed, 3120 insertions(+), 3504 deletions(-) create mode 100644 Master/texmf-dist/doc/texlive/texlive-ja/Makefile (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/texlive/texlive-en/Makefile b/Master/texmf-dist/doc/texlive/texlive-en/Makefile index 1fdd6023792..9edee6f5f96 100644 --- a/Master/texmf-dist/doc/texlive/texlive-en/Makefile +++ b/Master/texmf-dist/doc/texlive/texlive-en/Makefile @@ -4,20 +4,57 @@ doc = texlive-en all: pdf html -env = TEXINPUTS=../texlive-common:../texlive-en:; export TEXINPUTS; +tlpre = tlpre +env = TEXINPUTS=../texlive-common:../texlive-en:; export TEXINPUTS; $(tlpre) + +pdflatex_opts = --file-line-error +pdflatex = pdflatex $(pdflatex_opts) '\nonstopmode\def\Status{1}\input $(doc)' + +# The story here is that for HTML, we just want tags referring to +# the graphics (in ../texlive-common), without specifying any size, +# since their natural size is ok (enough). But LaTeX's \includegraphics +# requires a size (htlatex runs latex, not pdflatex, so it can't +# determine the size for .png files), and tex4ht passes that warning on, +# which is just an annoyance. We could generate .xbb files, but then +# we'd have to update them every year, which seems like a waste of time +# when we don't want a size in the first place. +# +texfot_pdf = texfot +texfot_html = ~/bin/texfot --ignore="Cannot determine size of graphic" \ + --ignore='File.*\.xbb\"' pdf: rm -f *.aux *.toc *.lof *.lot *.xref* *.tmp *.out - $(env) texfot pdflatex --file-line-error '\nonstopmode\def\Status{1}\input $(doc)' - $(env) pdflatex --synctex=1 '\nonstopmode\def\Status{1}\input $(doc)' - $(env) pdflatex --synctex=1 '\nonstopmode\def\Status{1}\input $(doc)' - $(env) pdflatex --synctex=1 '\nonstopmode\def\Status{1}\input $(doc)' + $(env) $(texfot_pdf) $(pdflatex) + $(env) $(texfot_pdf) $(pdflatex) + $(env) $(texfot_pdf) $(pdflatex) + $(env) $(texfot_pdf) $(pdflatex) -html: +# It is better to use htlatex than the individual runs since then we can +# easily specify these options; \Preamble in live4ht.cfg is not equivalent. +# The options here: +# live4ht - reads our live4ht.cfg. +# info - extra debugging info. +# xhtml - required for html5. +# html5 - output viewport decl to help on small screens. +# charset - UTF-8 is more likely to work well than Latin 1. +# fn-in - keep footnotes in the main output file. +# +# The other option, -cunihtf -utf8, goes along with the charset and +# tells tex4ht to look for Unicode font encodings. See https://tug.org/tex4ht. +html h: + rm -f *.aux *.toc *.lof *.lot *.xref* *.tmp *.out + $(env) $(texfot_html) htlatex $(doc) \ + "live4ht,info,xhtml,html5,charset=utf-8,fn-in" \ + " -cunihtf -utf8" p {text-align:center;} +figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:center;} +figcaption.caption span.id{font-weight: bold; white-space: nowrap; } .alltt P { margin-bottom : 0em; margin-top : 0em; } .alltt { margin-bottom : 1em; margin-top : 1em; } .rotatebox{display: inline-block;} diff --git a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.html b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.html index 5701ca34f37..9be5dc3b3b4 100644 --- a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.html +++ b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.html @@ -1,14 +1,12 @@ - - + + - The TeX Live Guide—2020 - - - - - - + The TeX Live Guide—2020 + + + + + The TEX Live Guide—2020 +

The TeX Live Guide—2020

Karl Berry, editor
March 2020
1 Introduction -
 1.1 TEX Live and the TEX Collection -
 1.2  1.1 TeX Live and the TeX Collection +
 1.2 Operating system support -
 1.3 Basic installation of TEX Live -
 1.4  1.3 Basic installation of TeX Live +
 1.4 Security considerations -
 1.5  1.5 Getting help
2 Overview of TEX Live -
 2.1 The TEX Collection: TEX Live, proTEXt, MacTEX -
 2.2 Top level TEX Live directories -
 2.3 Overview of the predefined texmf trees -
 2.4 Extensions to TEX -
 2.5 Other notable programs in TEX Live +href="#x1-80002" id="QQ2-1-8">Overview of TeX Live +
 2.1 The TeX Collection: TeX Live, proTeXt, MacTeX +
 2.2 Top level TeX Live directories +
 2.3 Overview of the predefined texmf trees +
 2.4 Extensions to TeX +
 2.5 Other notable programs in TeX Live
3 Installation -
 3.1  3.1 Starting the installer -
  3.1.1   3.1.1 Unix -
  3.1.2   3.1.2 Mac OS X -
  3.1.3   3.1.3 Windows -
  3.1.4   3.1.4 Cygwin -
  3.1.5   3.1.5 The text installer -
  3.1.6   3.1.6 The graphical installer -
  3.1.7   3.1.7 The legacy installers -
 3.2  3.2 Running the installer -
  3.2.1   3.2.1 Binary systems menu (Unix only) -
  3.2.2   3.2.2 Selecting what is to be installed -
  3.2.3   3.2.3 Directories -
  3.2.4   3.2.4 Options -
 3.3  3.3 Command-line install-tl options -
  3.3.1   3.3.1 The -repository option -
 3.4  3.4 Post-install actions -
  3.4.1   3.4.1 Environment variables for Unix -
  3.4.2 Environment variables: Global configuration -
  3.4.3   3.4.2 Environment variables: Global configuration +
  3.4.3 Internet updates after DVD installation -
  3.4.4 System font configuration for XeTEX and LuaTEX -
  3.4.5 ConTEXt Mark IV -
  3.4.6   3.4.4 System font configuration for XeTeX and LuaTeX +
  3.4.5 ConTeXt Mark IV +
  3.4.6 Integrating local and personal macros -
  3.4.7   3.4.7 Integrating third-party fonts -
 3.5  3.5 Testing the installation -
 3.6  3.6 Links for additional downloadable software
4 Specialized installations -
 4.1  4.1 Shared-user (or cross-machine) installations -
 4.2  4.2 Portable (USB) installations
5 tlmgr: Managing your installation -
 5.1  5.1 GUI interfaces for tlmgr -
 5.2  5.2 Sample tlmgr command-line invocations
6 Notes on Windows -
 6.1 Windows-specific features -
 6.2  6.1 Windows-specific features +
 6.2 Additional software included on Windows -
 6.3 User Profile is Home -
 6.4  6.3 User Profile is Home +
 6.4 The Windows registry -
 6.5  6.5 Windows permissions -
 6.6  6.6 Increasing maximum memory on Windows and Cygwin
7 A user’s guide to Web2C -
 7.1 A user’s guide to Web2C +
 7.1 Kpathsea path searching -
  7.1.1   7.1.1 Path sources -
  7.1.2 Config files -
  7.1.3   7.1.2 Config files +
  7.1.3 Path expansion -
  7.1.4   7.1.4 Default expansion -
  7.1.5   7.1.5 Brace expansion -
  7.1.6   7.1.6 Subdirectory expansion -
  7.1.7   7.1.7 Summary of special characters in texmf.cnf files -
 7.2 texmf.cnf files +
 7.2 Filename databases -
  7.2.1 The filename database -
  7.2.2   7.2.1 The filename database +
  7.2.2 kpsewhich: Standalone path searching -
  7.2.3   7.2.3 Examples of use -
  7.2.4   7.2.4 Debugging actions -
 7.3  7.3 Runtime options -
 7.4  7.4 $TEXMFDOTDIR
8 Acknowledgements
9 Release history -
 9.1  9.1 Past -
  9.1.1   9.1.1 2003 -
  9.1.2   9.1.2 2004 -
  9.1.3   9.1.3 2005 -
  9.1.4 2006–2007 -
  9.1.5   9.1.4 2006–2007 +
  9.1.5 2008 -
  9.1.6   9.1.6 2009 -
  9.1.7   9.1.7 2010 -
  9.1.8   9.1.8 2011 -
  9.1.9   9.1.9 2012 -
  9.1.10   9.1.10 2013 -
  9.1.11   9.1.11 2014 -
  9.1.12   9.1.12 2015 -
  9.1.13   9.1.13 2016 -
  9.1.14   9.1.14 2017 -
  9.1.15   9.1.15 2018 -
  9.1.16   9.1.16 2019 -
 9.2  9.2 Present: 2020 -
 9.3  9.3 Future

+

1 Introduction

+

1.1 TEX Live and the TEX Collection

-

This document describes the main features of the TEX Live software distribution — TEX and related programs -for GNU/Linux and other Unix flavors, Mac OS X, and Windows systems. -

You may have acquired TEX Live by downloading, or on the TEX Collection DVD, which TEX user -groups distribute among their members, or in other ways. Section 2.1 briefly describes the contents of the -DVD. Both TEX Live and the TEX Collection are cooperative efforts by the TEX user groups. This document -mainly describes TEX Live itself. -

TEX Live includes executables for TEX, LaTeX2e, ConTEXt, Metafont, MetaPost, BibTeX and many -other programs; an extensive collection of macros, fonts and documentation; and support for typesetting in -many different scripts from around the world. -

For a brief summary of the major changes in this edition of TEX Live, see the end of the document, -section TeX Live and the TeX Collection +

This document describes the main features of the TeX Live software distribution — TeX and related programs +for GNU/Linux and other Unix flavors, Mac OS X, and Windows systems. +

You may have acquired TeX Live by downloading, or on the TeX Collection DVD, which TeX user groups +distribute among their members, or in other ways. Section 2.1 briefly describes the contents of the DVD. Both +TeX Live and the TeX Collection are cooperative efforts by the TeX user groups. This document mainly +describes TeX Live itself. +

TeX Live includes executables for TeX, LaTeX2e, ConTeXt, Metafont, MetaPost, BibTeX and many other +programs; an extensive collection of macros, fonts and documentation; and support for typesetting in many +different scripts from around the world. +

For a brief summary of the major changes in this edition of TeX Live, see the end of the document, +section 9 (p. 77). -

+href="#x1-700009">78). +

+

1.2 Operating system support

-

TEX Live contains binaries for many Unix-based platforms, including GNU/Linux, Mac OS X, +

TeX 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: Windows 7 and later are supported. Windows Vista may still mostly work, but TEX Live -will no longer even install on Windows XP or earlier. TEX Live includes no 64-bit executables for Windows, +

As to Windows: Windows 7 and later are supported. Windows Vista may still mostly work, but TeX Live +will no longer even install on Windows XP or earlier. TeX Live includes no 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 TEX Live either from DVD or over the Internet (Basic installation of TeX Live +

You can install TeX Live either from DVD or over the Internet (https://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 TEX Live directly from the -TEX Collection DVD (or its

The DVD installer lets you install to a local disk. You cannot run TeX Live directly from the +TeX Collection DVD (or its .iso image), but you can prepare a runnable installation on, e.g., a -USB stick (see section 4.2). Installation is described in later sections (p. 11), but here is a quick +href="#x1-140003">12), but here is a quick start: +

+

1.4 Security considerations

-

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; to improve safety, use a -new subdirectory or chroot. -

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

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; to improve safety, use a new +subdirectory or chroot. -Ordinarily they should not be present, and definitely should not normally be created by merely processing a +

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, TEX (and its companion programs) are able to write files when processing documents, a feature +

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

Another aspect of security is ensuring that downloaded material has not been changed from what was +

Another aspect of security is ensuring that downloaded material has not been changed from what was created. The tlmgr program (section 5) will automatically perform cryptographic verification on downloads if +class="ec-lmss-10">tlmgr program (section 5) will automatically perform cryptographic verification on downloads if the gpg (GNU Privacy Guard) program is available. It is not distributed as part of TEX Live, but see +class="ec-lmss-10">gpg (GNU Privacy Guard) program is available. It is not distributed as part of TeX Live, but see https://texlive.info/tlgpg/ for information about gpg if need be. -

+

+

1.5 Getting help

-

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 users, so it’s especially important that you do your -homework before asking. (If you prefer guaranteed commercial support, you can forgo TEX Live -completely and purchase a vendor’s system;

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 users, so it’s especially important that you do your +homework before asking. (If you prefer guaranteed commercial support, you can forgo TeX Live +completely and purchase a vendor’s system; https://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
If you are new to TEX, the web page If you are new to TeX, the web page https://tug.org/begin.html gives a brief introduction to the system.
-TEX FAQ
The TEX FAQ is a huge compendium of answers to all sorts of questions, from the most - basic to the most arcane. It is included on TEX Live in TeX FAQ
The TeX FAQ is a huge compendium of answers to all sorts of questions, from the most + basic to the most arcane. It is included on TeX Live in texmf-dist/doc/generic/FAQ-en/, and is available on the Internet through https://texfaq.org. Please check here first. +class="ec-lmtt-10">https://texfaq.org. Please check here first.
-TEX Catalogue
If you are looking for a particular package, font, program, etc., the TEX - Catalogue is the place to look. It is a huge collection of all TEX-related items. See +TeX Catalogue
If you are looking for a particular package, font, program, etc., the TeX + Catalogue is the place to look. It is a huge collection of all TeX-related items. See https://ctan.org/pkg/catalogue.
-TEX Web Resources
TeX Web Resources
The web page https://tug.org/interest.html has many TEX-related links, +class="ec-lmtt-10">https://tug.org/interest.html has many TeX-related links, in particular for numerous books, manuals, and articles on all aspects of the system.
support archives
Principal - support forums for TEX include the LATEX community site at https://latex.org, the q&a site +class="ec-lmtt-10">https://latex.org, the q&a site https://tex.stackexchange.com, the Usenet newsgroup https://tug.org/mail-archives/texhax. And a genera
asking questions
If you cannot find an answer, you can post to If you cannot find an answer, you can post to http://latex-community.org/ and texhax@tug.org through email. But before href="https://texfaq.org/FAQ-askquestion" class="url" >https://texfaq.org/FAQ-askquestion.
-TEX Live support
If you want to report a bug or have suggestions or comments on the TEX Live +TeX Live support
If you want to report a bug or have suggestions or comments on the TeX Live distribution, installation, or documentation, the mailing list is tex-live@tug.org. However, if - your question is about how to use a particular program included in TEX Live, please write to - that program’s maintainer or mailing list. Often running a program with the --help option will provide a bug reporting address.
- -

The other side of the coin is helping others who have questions. All the above resources 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 TEX Live and the TEX Collection of which it is a part. -

+ id="x1-80002">Overview of TeX Live +

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 TEX Collection DVD comprises the following: -

-

-TEX Live
A complete TEX system to be installed to disk. Home page: The TeX Collection: TeX Live, proTeXt, MacTeX +

The TeX Collection DVD comprises the following: +

+

+TeX Live
A complete TeX system to be installed to disk. Home page: https://tug.org/texlive/.
MacTEX
for Mac OS X (currently named macOS by Apple, but we continue to use the older name in - this document), this adds a native Mac OS X installer and other Mac applications to TEX Live. +class="ec-lmbx-10">MacTeX
for Mac OS X (currently named macOS by Apple, but we continue to use the older name in + this document), this adds a native Mac OS X installer and other Mac applications to TeX Live. Home page: https://tug.org/mactex/.
proTEXt
An enhancement of the MiKTEX distribution for Windows, proTEXt adds a few extra - tools to MiKTEX, and simplifies installation. It is entirely independent of TEX Live, and has its - own installation instructions. Home page: proTeXt
An enhancement of the MiKTeX distribution for Windows, proTeXt adds a few extra tools + to MiKTeX, and simplifies installation. It is entirely independent of TeX Live, and has its own + installation instructions. Home page: https://tug.org/protext/.
@@ -539,58 +449,52 @@ href="https://ctan.org/" class="url" >https://ctan.org/).

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

+class="ec-lmss-10">protext do not 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 TEX Live installation. -

-

+ id="x1-100002.2">Top level TeX Live directories +

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

+

bin
-

The TEX system programs, arranged by platform. -

+

The TeX system programs, arranged by platform. +

readme-*.dir
-

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

+

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

+

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

texmf-dist

The principal tree; see TEXMFDIST below. -

+

tlpkg
-

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

- - -

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

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

+

For documentation, the comprehensive links in the top-level file doc.html may be helpful. The documentation for nearly everything (packages, formats, fonts, program manuals, man pages, Info -files) is in texmf-dist/doc. You can use the texdoc program to find documentation wherever it is +class="ec-lmss-10">texdoc program to find documentation wherever it is located. -

This TEX Live documentation itself is in

This TeX Live documentation itself is in texmf-dist/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 -purpose, and the default layout of TEX Live. The command Overview of the predefined texmf trees +

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 +class="ec-lmtt-10"> 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 TEX Directory Structure (TDS, +

All of the trees, including the personal ones, should follow the TeX Directory Structure (TDS, https://tug.org/tds), with all its myriad subdirectories, or files may not be found. Section https://tug.org/tds), with all its myriad subdirectories, or files may not be found. Section 3.4.6 (p. 41) +href="#x1-360003.4.6">42) describes this in more detail. The order here is the reverse order in which the trees are searched, that is, later trees in the list override earlier ones. -

-

+

+

TEXMFDIST
-

The tree which holds nearly all of the files in the original distribution—configuration files, scripts, +

The tree which holds nearly all of the files in the original distribution—configuration files, scripts, packages, fonts, etc. (The main exception are the per-platform executables, which are stored in a sibling directory bin/.) -

+

TEXMFSYSVAR
@@ -658,8 +561,10 @@ class="ec-lmtt-10">texconfig-sys, updmap-sys and fmtutil-sys, and also by tlmgr, - to store (cached) runtime data such as format files and generated map files. -
+ to store (cached) runtime data such as format files and generated map files. + + +

TEXMFSYSCONFIG
@@ -667,23 +572,21 @@ class="list"> class="ec-lmtt-10">texconfig-sys, updmap-sys, and fmtutil-sys to store - modified configuration data. -
+ modified configuration data. +

TEXMFLOCAL

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, fonts, etc. The expansion of this variable dynamically adjusts for each user to their own individual directory. -

+

TEXMFVAR
@@ -691,8 +594,8 @@ class="list"> class="ec-lmtt-10">texconfig, updmap-user and fmtutil-user to store (cached) runtime - data such as format files and generated map files. -
+ data such as format files and generated map files. +

TEXMFCONFIG
@@ -700,23 +603,20 @@ class="list"> class="ec-lmtt-10">texconfig, updmap-sys, and fmtutil-sys to store - modified configuration data. -
+ modified configuration data. +

TEXMFCACHE
-

The tree(s) used by ConTEXt MkIV and LuaLATEX to store (cached) runtime data; defaults - to TEXMFSYSVAR, or (if that’s not writable), TEXMFVAR.

+

The tree(s) used by ConTeXt MkIV and LuaLaTeX to store (cached) runtime data; defaults to + TEXMFSYSVAR, or (if that’s not writable), TEXMFVAR.

The default layout is: -

+

system-wide root
can span multiple TEX Live releases (can span multiple TeX Live releases (/usr/local/texlive by default on Unix):
@@ -724,76 +624,76 @@ class="ec-lmtt-10">/usr/local/texlive by default on class="ec-lmtt-10">2019

A previous release. -

+

2020

The current release. -

+

bin
-

  -

+

  +

i386-linux

GNU/Linux binaries (32-bit) -

+

...

-

+

x86_64-darwin
-

Mac OS X binaries -

+

Mac OS X binaries +

x86_64-linux

GNU/Linux binaries (64-bit) -

+

win32
-

Windows binaries

+

Windows binaries

+ +
texmf-dist  
  

TEXMFDIST and TEXMFMAIN -

+

texmf-var   
  

TEXMFSYSVAR, TEXMFCACHE -

+

texmf-config

TEXMFSYSCONFIG

- - +class="ec-lmtt-10">TEXMFSYSCONFIG

texmf-local

TEXMFLOCAL, intended to be retained from release to release.

+class="ec-lmtt-10">TEXMFLOCAL, intended to be retained from release to release.

user’s home directory
user’s home directory
($HOME or %USERPROFILE%) @@ -801,78 +701,61 @@ class="ec-lmtt-10">%USERPROFILE%) .texlive2019
-

Privately generated and configuration data for a previous release. -

+

Privately generated and configuration data for a previous release. +

.texlive2020
-

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

+class="ec-lmtt-10">TEXMFCONFIG

texmf

TEXMFHOME Personal macros, etc.

+class="ec-lmtt-10">TEXMFHOME Personal macros, etc.

+

2.4 Extensions to TEX

-

Knuth’s original TEX itself is frozen, apart from rare bug fixes. It is present in TEX Live as the program Extensions to TeX +

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

-

+and will remain so for the foreseeable future. TeX Live also contains several extended versions of TeX (also +known as TeX engines): +

+

e-TEX
e-TeX
adds a set of new primitives (related to macro expansion, character scanning, classes - of marks, additional debugging features, and more) and the TEX--XE T extensions for - bidirectional typesetting. In default mode, e-TEX is 100% compatible with ordinary TEX. See + of marks, additional debugging features, and more) and the TeX--XE T extensions for + bidirectional typesetting. In default mode, e-TeX is 100% compatible with ordinary TeX. See texmf-dist/doc/etex/base/etex_man.pdf.
pdfTEX
builds on the e-TEX extensions, adding support for writing PDF output as well as DVI, and +class="ec-lmbx-10">pdfTeX
builds on the e-TeX extensions, adding support for writing PDF output as well as DVI, and many non-output-related extensions. This is the program invoked for most formats, e.g., etex, latex, pdflatex. Its web site is +class="ec-lmss-10">pdflatex. Its web site is http://www.pdftex.org/. See texmf-dist/doc/pdf href="../../../../texmf-dist/doc/pdftex/samplepdftex/samplepdf.tex" >texmf-dist/doc/pdftex/samplepdftex/samplepdf.tex for example usage of some of its features.
LuaTEX
is the designated successor of pdfTEX, and is mostly (but not entirely) backward-compatible. +class="ec-lmbx-10">LuaTeX
is the designated successor of pdfTeX, and is mostly (but not entirely) backward-compatible. It is also intended to be a functional superset of Aleph (see below), though perfect compatibility is + + not intended. The incorporated Lua interpreter (https://lua.org/) enables elegant solutions for - many thorny TEX problems. When called as texlua, it functions as a standalone Lua interpreter, - and is used as such within TEX Live. Its web site is http://www.luatex.org/, and the reference manual is texmf-dist/doc/luatex/base/luatex.pdf.
XeTEX
XeTeX
adds support for Unicode input and OpenType- and system fonts, implemented using standard third-party libraries. See https://tug.org/xetex. - -
Omega (Omega)
 (Omega)
is based on Unicode (16-bit characters), thus supports working with almost all the - world’s scripts simultaneously. It also supports so-called ‘Omega Translation Processes’ (OTPs), - for performing complex transformations on arbitrary input. Omega is no longer included in TEX + world’s scripts simultaneously. It also supports so-called ‘Omega Translation Processes’ (OTPs), + for performing complex transformations on arbitrary input. Omega is no longer included in TeX Live as a separate program; only Aleph is provided:
Aleph
combines the Omega and e-TEX extensions. See 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 TEX Live: -

-

+ id="x1-130002.5">Other notable programs in TeX Live +

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

+

bibtex, biber

bibliography support. -

+

makeindex, xindy

index support. -

+

dvips

convert DVI to PostScript. -

+

xdvi

DVI previewer for the X Window System. -

+

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 pdfTEX (mentioned above). -

+

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

psselect, psnup,

PostScript utilities. -

+

pdfjam, pdfjoin,

PDF utilities. -

+

context, mtxrun
-

ConTEXt and PDF processor. -

+

ConTeXt and PDF processor. + + +

htlatex,

tex4ht: (LA )TEX to HTML (and XML and more) converter. +class="ec-lmr-7">A )TeX to HTML (and XML and more) converter. +

+

3 Installation

- -

+

3.1 Starting the installer

-

To begin, get the TEX Collection DVD or download the TEX Live net installer. See +

To begin, get the TeX Collection DVD or download the TeX Live net installer. See https://tug.org/texlive/acquire.html for more information and other methods of getting the software. -

-

+

+

Net installer, .zip or .tar.gz:
Download from CTAN, under install-tl subdirectory. Net installer, Windows .exe:
Download from CTAN as above, and double-click. This starts up a - first-stage installer and unpacker; see figure 1. It gives two choices: “Install” and“Unpack only”. + first-stage installer and unpacker; see figure 1. It gives two choices: “Install” and“Unpack only”.
-TEX Collection DVD:
go to the DVD’s TeX Collection DVD:
go to the DVD’s texlive subdirectory. Under Windows, the installer - normally starts automatically when you insert the DVD. You can get the DVD by becoming a - member of a TEX user group (highly recommended, https://tug.org/usergroups.html), or purchasing it separately (https://tug.org/store), or burning your own from the ISO image. - You can also mount the ISO directly on most systems. After installing from DVD or ISO, if you +class="ec-lmtt-10">https://tug.org/store), or burning your own from the ISO image. + You can also mount the ISO directly on most systems. After installing from DVD or ISO, if you want to get continuing updates from the Internet, please see 3.4.3.
-


+
+ 3.4.3.

pict -

Figure 1: +

+
Figure 1:First stage of Windows .exe installer
+class="ec-lmtt-10">.exe installer -


-

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 +is in contrast to the DVD and ISO images, which are not updated between the major public releases. -

If you need to download through proxies, use a ~/.wgetrc file or environment variables with the proxy +

If you need to download through proxies, use a ~/.wgetrc file or environment variables with the proxy settings for Wget (https://www.gnu.org/software/wget/manual/html_node/Proxies.html), or the equivalent for whatever download program you are using. This does not matter if you are installing from the -DVD or ISO image. -

The following sections explain installer start-up in more detail. +DVD or ISO image. +

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

3.1.1 Unix

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:

+way to start it on a Unix-compatible system is as follows:

-

+
>  perl /path/to/installer/install-tl +class="ec-lmtk-10"> /path/to/installer/install-tl
(Or you can invoke /path/to/installer/install-tl if it stayed executable, or cd to the directory first, etc.; -we won’t repeat all the variations.) You may have to enlarge your terminal window so that it shows the full -text installer screen (figure cd to the directory first, etc.; +we won’t repeat all the variations.) You may have to enlarge your terminal window so that it shows the full +text installer screen (figure 2). -

To install in GUI mode (figure 4), you’ll need to have Tcl/Tk installed. Given that, you can run: -

+

To install in GUI mode (figure 4), you’ll need to have Tcl/Tk installed. Given that, you can run: +

-

+
>  perl install-tl -gui +class="ec-lmtk-10"> install-tl -gui

The old perltk/expert options are still available. These require the Perl::Tk module compiled with XFT support, which is generally no problem with GNU/Linux, but often is with other systems. -For a complete listing of the various options:

+For a complete listing of the various options:

-

+
>  perl install-tl -help +class="ec-lmtk-10"> install-tl -help

About Unix permissions: Your umask at the time of installation will be respected by the TEX Live +class="ec-lmtt-10">umask at the time of installation will be respected by the TeX Live installer. Therefore, if you want your installation to be usable by users other than you, make sure your 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 

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

+

+

3.1.2 Mac OS X
-

As mentioned in section 

As mentioned in section 2.1, a separate distribution is prepared for Mac OS X, named -MacTEX (https://tug.org/mactex). We recommend using the native MacTEX installer instead of the TEX -Live installer on Mac OS X, because the native installer makes a few Mac-specific adjustments, in particular to -allow easily switching between the various TEX distributions for Mac OS X (MacTEX, Fink, MacPorts, …) -using the so-called TEXDist data structure. -

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

+class="ec-lmtt-10">https://tug.org/mactex). We recommend using the native MacTeX installer instead of the TeX +Live installer on Mac OS X, because the native installer makes a few Mac-specific adjustments, in particular to +allow easily switching between the various TeX distributions for Mac OS X (MacTeX, Fink, MacPorts, …) +using the so-called TeXDist data structure. +

MacTeX is firmly based on TeX Live, and the main TeX trees and binaries are precisely the same. It adds +a few extra folders with Mac-specific documentation and applications. + + +

+

3.1.3 Windows
-

If you are using the unpacked downloaded zip file, or the DVD installer failed to start automatically, +

If you are using the unpacked downloaded zip file, or the DVD installer failed to start automatically, double-click install-tl-windows.bat. -

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:

+class="ec-lmtk-10">bold. If you are in the installer directory, run just:

-

+
>  install-tl-windows
-

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

+

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

-

+
>  D:\texlive\install-tl-windows
-
for the TEX Collection DVD, supposing that D: is the optical drive. Figure  for the TeX Collection DVD, supposing that D: is the optical drive. Figure 3 displays the initial basic screen -of the GUI installer, which is the default for Windows. -

To install in text mode, use:

+of the GUI installer, which is the default for Windows. +

To install in text mode, use:

-

+
>  install-tl-windows -no-gui +class="ec-lmtk-10"> -no-gui
-

For a complete listing of the various options:

+

For a complete listing of the various options:

-

+
>  install-tl-windows -help +class="ec-lmtk-10"> -help
-


+
+  -help
Installing TeX Live 2020 from: ...
 TeX Live 2020 from: ...
Platform: x86_64-linux => ’GNU/Linux on x86_64’
 x86_64-linux => ’GNU/Linux on x86_64’
Distribution: inst (compressed) +class="ec-lmtt-8"> inst (compressed)
Directory for temporary files: /tmp
 for temporary files: /tmp
...
 Detected platform: GNU/Linux on Intel x86_64
 Detected platform: GNU/Linux on Intel x86_64

 <B> binary platforms: 1 out of 16
 <B> binary platforms: 1 out of 16

 <S> set installation scheme: scheme-full
 <S> set installation scheme: scheme-full

 <C> customizing installation collections +class="ec-lmtt-8"> <C> customizing installation collections
     40 collections out of 41, disk space required: 6536 MB
     40 collections out of 41, disk space required: 6536 MB

 <D> directories:
 <D> directories:
   TEXDIR (the main TeX directory): +class="ec-lmtt-8">   TEXDIR (the main TeX directory):
     /usr/local/texlive/2020
     /usr/local/texlive/2020
   ...
   ...

 <O> options:
 <O> options:
   [ ] use letter size instead of A4 by default
   [ ] use letter size instead of A4 by default
   ...
   ...

 <V> set up for portable installation
 <V> set up for portable installation

Actions:
 <I> start installation to hard disk
 <I> start installation to hard disk
 <P> save installation profile to ’texlive.profile’ and exit
 <P> save installation profile to ’texlive.profile’ and exit
 <H> help
 <H> help
 <Q> quit
-
Figure 2: Main text installer screen (GNU/Linux)
+class="ec-lmtt-8"> <Q> quit
+
Figure 2:Main text installer screen (GNU/Linux)
-


-


pict -

+src="../texlive-common/../texlive-common/basic-w32.png" alt="pict" + /> +

+
Figure 3:Basic installer screen (Windows); the Advanced button will result in something like figure 4
-


-


+ +
+ 4

pict -

Figure 4: Advanced GUI installer screen (GNU/Linux)
+src="../texlive-common/../texlive-common/advanced-lnx.png" alt="pict" + /> +

+
Figure 4:Advanced GUI installer screen (GNU/Linux)
-


+

+

3.1.4 Cygwin
-

Before beginning the installation, use Cygwin’s

Before beginning the installation, use Cygwin’s setup.exe program to install the perl and wget packages if -you have not already done so. The following additional packages are recommended: +class="ec-lmtt-10">wget +packages if you have not already done so. The following additional packages are recommended: +

  • fontconfig [needed by XeTEX and LuaTEX] +class="ec-lmtt-10">fontconfig [needed by XeTeX and LuaTeX]
  • ghostscript [needed by various utilities] @@ -1456,53 +1307,60 @@ class="ec-lmtt-10">xdvi] class="ec-lmtt-10">ncurses [provides the clear command used by the installer]

+

3.1.5 The text installer
-

Figure 

Figure 2 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 -tab around checkboxes or input fields. You just type something (case-sensitive) at the prompt +

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 in order to make it run on as many platforms as possible, even +

The text installer interface is this primitive in order to make it run on as many platforms as possible, even with a minimal Perl. -

+

+

3.1.6 The graphical installer
-

The default graphical installer starts out simple, with just a few options; see figure 

The default graphical installer starts out simple, with just a few options; see figure 3. It can be started with -

+

-

+
>  install-tl -gui +class="ec-lmtk-10"> -gui
-
The Advanced button gives access to most of the options of the text installer; see figure  The Advanced button gives access to most of the options of the text installer; see figure 4.

+

3.1.7 The legacy installers

The perltk/expert and wizard modes are still available for systems with have Perl/Tk installed. These can -be specified with -gui=perltk and -gui=wizard arguments respectively. -

+

+

3.2 Running the installer

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


+
+ Available platforms:
 platforms:
===============================================================================
   a [ ] Cygwin on Intel x86 (i386-cygwin)
   a [ ] Cygwin on Intel x86 (i386-cygwin)
   b [ ] Cygwin on x86_64 (x86_64-cygwin) +class="ec-lmtt-8">   b [ ] Cygwin on x86_64 (x86_64-cygwin)
   c [ ] MacOSX current (10.13-) on x86_64 (x86_64-darwin)
   c [ ] MacOSX current (10.13-) on x86_64 (x86_64-darwin)
   d [ ] MacOSX legacy (10.6-) on x86_64 (x86_64-darwinlegacy) +class="ec-lmtt-8">   d [ ] MacOSX legacy (10.6-) on x86_64 (x86_64-darwinlegacy)
   e [ ] FreeBSD on x86_64 (amd64-freebsd)
   e [ ] FreeBSD on x86_64 (amd64-freebsd)
   f [ ] FreeBSD on Intel x86 (i386-freebsd)
   f [ ] FreeBSD on Intel x86 (i386-freebsd)
   g [ ] GNU/Linux on ARM64 (aarch64-linux) +class="ec-lmtt-8">   g [ ] GNU/Linux on ARM64 (aarch64-linux)
   h [ ] GNU/Linux on ARMv6/RPi (armhf-linux)
   h [ ] GNU/Linux on ARMv6/RPi (armhf-linux)
   i [ ] GNU/Linux on Intel x86 (i386-linux)
   i [ ] GNU/Linux on Intel x86 (i386-linux)
   j [X] GNU/Linux on x86_64 (x86_64-linux) +class="ec-lmtt-8">   j [X] GNU/Linux on x86_64 (x86_64-linux)
   k [ ] GNU/Linux on x86_64 with musl (x86_64-linuxmusl)
   k [ ] GNU/Linux on x86_64 with musl (x86_64-linuxmusl)
   l [ ] NetBSD on x86_64 (amd64-netbsd)
   l [ ] NetBSD on x86_64 (amd64-netbsd)
   m [ ] NetBSD on Intel x86 (i386-netbsd) +class="ec-lmtt-8">   m [ ] NetBSD on Intel x86 (i386-netbsd)
   o [ ] Solaris on Intel x86 (i386-solaris)
   o [ ] Solaris on Intel x86 (i386-solaris)
   p [ ] Solaris on x86_64 (x86_64-solaris)
   p [ ] Solaris on x86_64 (x86_64-solaris)
   s [ ] Windows (win32)
-
Figure 5: Binaries menu
- - -


-

Figure    s [ ] Windows (win32)

+
Figure 5:Binaries menu
+ + + +

Figure 5 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 heterogeneous machines, or for a dual-boot +useful if you are sharing a TeX tree across a network of heterogeneous machines, or for a dual-boot system. +

3.2.2 Selecting what is to be installed
-


+
+ Select scheme:
 scheme:
===============================================================================
 a [X] full scheme (everything) +class="ec-lmtt-8"> a [X] full scheme (everything)
 b [ ] medium scheme (small + more packages and languages)
 b [ ] medium scheme (small + more packages and languages)
 c [ ] small scheme (basic + xetex, metapost, a few languages) +class="ec-lmtt-8"> c [ ] small scheme (basic + xetex, metapost, a few languages)
 d [ ] basic scheme (plain and latex)
 d [ ] basic scheme (plain and latex)
 e [ ] minimal scheme (plain only)
 e [ ] minimal scheme (plain only)
 f [ ] ConTeXt scheme
 f [ ] ConTeXt scheme
 g [ ] GUST TeX Live scheme +class="ec-lmtt-8"> g [ ] GUST TeX Live scheme
 h [ ] infrastructure-only scheme (no TeX at all)
 h [ ] infrastructure-only scheme (no TeX at all)
 i [ ] teTeX scheme (more than medium, but nowhere near full) +class="ec-lmtt-8"> i [ ] teTeX scheme (more than medium, but nowhere near full)
 j [ ] custom selection of collections
-
Figure 6: Scheme menu
- - -


-

Figure 6 displays the TEX Live scheme menu; from here, you choose a “scheme”, which is an overall set of +class="ec-lmtt-8"> j [ ] custom selection of collections

+
Figure 6:Scheme menu
+ + + +

Figure 6 displays the TeX Live scheme menu; from here, you choose a “scheme”, which is an overall set of package collections. The default full scheme installs everything available. This is recommended, but you can also choose the basic scheme for just plain and LATEX, basic scheme for just plain and LaTeX, small for a few more programs (equivalent -to the so-called BasicTEX installation of MacTEX), minimal for testing purposes, and medium or teTeX to get something in between. There are also various specialized and country-specific +class="ec-lmtt-10">teTeX to get something in between. There are also various specialized and country-specific schemes. -



-

You can refine your scheme selection with the ‘collections’ menu (figure 7, shown in GUI mode for a + +

You can refine your scheme selection with the ‘collections’ menu (figure 7, shown in GUI mode for a change). -

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 TEX Live Manager (

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 TeX Live Manager (tlmgr) -program after installation (see section 5); using that, you can control the installation at the package 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 installation directory is /usr/local/texlive/2020 on Unix and %SystemDrive%\texlive\2020 on Windows. This arrangement enables having many parallel -TEX Live installations, such as one for each release (typically by year, as here), and you can switch between -them merely by altering your search path. -

That installation directory can be overridden by setting the so-called %SystemDrive%\texlive\2020 on Windows. This arrangement enables having many parallel TeX +Live installations, such as one for each release (typically by year, as here), and you can switch between them +merely by altering your search path. +

That installation directory can be overridden by setting the so-called TEXDIR in the installer. The -GUI screen for this and other options is shown in figure 4. The most common reasons to change it are either -lacking enough disk space in that partition (the full TEX Live needs several gigabytes), or lacking write -permission for the default location (you don’t have to be root or administrator to install TEX Live, but you do +lacking enough disk space in that partition (the full TeX Live needs several gigabytes), or lacking 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). -

The installation directories can also be changed by setting a variety of environment variables before running +

The installation directories can also be changed by setting a variety of environment variables before running the installer (most likely, TEXLIVE_INSTALL_PREFIX or TEXLIVE_INSTALL_TEXDIR); see the documentation from install-tl --help (available online at  --help (available online at https://tug.org/texlive/doc/install-tl.html) for the full list and more details. -

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

We recommend including the year in the name, to enable keeping different releases of TEX Live side by -side. (You may wish to also maintain a version-independent name, such as

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

We recommend including the year in the name, to enable keeping different releases of TeX Live side by side. +(You may wish to also maintain a version-independent name, such as /usr/local/texlive-cur, via a symbolic link, which you can then repoint 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

TEXMFHOME is the recommended location for personal macro files or packages. The default value is ~/texmf (~/Library/texmf on Macs). In contrast to TEXDIR, here a ~ is preserved in the newly-written configuration -files, since it usefully refers to the home directory of the user running TEX. It expands to ~ is preserved in the newly-written configuration +files, since it usefully refers to the home directory of the user running TeX. It expands to $HOME on Unix and %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.

TEXMFVAR is the location for storing most cached runtime data specific to each user. TEXMFCACHE is the -variable name used for that purpose by LuaLATEXand ConTEXt MkIV (see section 3.4.5, p. 40); its default +href="#x1-350003.4.5">42); its default value is TEXMFSYSVAR, or (if that’s not writable), TEXMFSYSVAR, or (if that’s not writable), TEXMFVAR. -

+

+

3.2.4 Options
-


+
+ TEXMFVAR.
Options customization:
 customization:
===============================================================================
 <P> use letter size instead of A4 by default: [ ]
 <P> use letter size instead of A4 by default: [ ]
 <E> execution of restricted list of programs: [X] +class="ec-lmtt-8"> <E> execution of restricted list of programs: [X]
 <F> create all format files:                  [X]
 <F> create all format files:                  [X]
 <D> install font/macro doc tree:              [X] +class="ec-lmtt-8"> <D> install font/macro doc tree:              [X]
 <S> install font/macro source tree:           [X]
 <S> install font/macro source tree:           [X]
 <L> create symlinks in standard directories:  [ ]
 <L> create symlinks in standard directories:  [ ]
            binaries to: +class="ec-lmtt-8">            binaries to:
            manpages to:
            manpages to:
                info to:
                info to:
 <Y> after install, set CTAN as source for package updates: [X]
-
Figure 8: Options menu (Unix)
- - -


-

Figure  <Y> after install, set CTAN as source for package updates: [X]

+
Figure 8:Options menu (Unix)
+ + + +

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

+

use letter size instead of A4 by default:
The default paper size selection. Of course, individual - documents can and should specify a specific paper size, if desired. + documents can and should specify a specific paper size, if desired.
execution of restricted list of programs:
As of TEX Live 2010, execution of a few external +class="description">As of TeX Live 2010, execution of a few external programs is allowed by default. The (very short) list of allowed programs is given in the texmf.cnf. - See the 2010 news (section 9.1.7) for more details.
create all format files:
Although unnecessary format files take time to generate and disk space to - store, it is still recommended to leave this option checked: if you don’t, then format files will be - generated in people’s private create all format files:
Although unnecessary format files take time to generate and disk space to + store, it is still recommended to leave this option checked: if you don’t, then format files will be + generated in people’s private TEXMFVAR tree as they are needed. In that location, they will not be updated automatically if (for example) core packages or hyphenation patterns are updated in the - installation, and thus you could end up with incompatible format files. + installation, and thus you could end up with incompatible format files.
install font/macro  tree:
Download/install the documentation and source files included in most +class="ec-lmbx-10">… tree:
Download/install the documentation and source files included in most packages. Unchecking is not recommended.
create symlinks in standard directories:
This option (Unix only) bypasses the need to change - environment variables. Without this option, TEX Live directories usually have to be added to + environment variables. Without this option, TeX Live directories usually have to be added to PATH, PATH, MANPATH and INFOPATH. You will need write permissions to the target directories. This - option is intended for accessing the TEX system through directories that are already known to - users, such as /usr/local/bin, which don’t already contain any TEX files. Do not overwrite - existing files on your system with this option, e.g., by specifying system directories. The safest - and recommended approach is to leave the option unchecked. +class="ec-lmtt-10">INFOPATH. You will need write permissions to the target directories. This option is + intended for accessing the TeX system through directories that are already known to users, such + as /usr/local/bin, which don’t already contain any TeX files. Do not overwrite existing files on + your system with this option, e.g., by specifying system directories. The safest and recommended + approach is to leave the option unchecked.
after install, set CTAN as source for package updates:
When installing from DVD, this option is enabled by default, since usually one wants to take any subsequent package updates from the - CTAN area that is updated throughout the year. The only likely reason to disable it is if you - install only a subset from the DVD and plan to augment the installation later. In any case, the + CTAN area that is updated throughout the year. The only likely reason to disable it is if you + install only a subset from the DVD and plan to augment the installation later. In any case, the package repository for the installer, and for updates after installation, can be set independently - as needed; see section 3.3.1 and section 3.3.1 and section 3.4.3.
-

Windows-specific options, as displayed in the advanced Perl/Tk interface: -

+

Windows-specific options, as displayed in the advanced Perl/Tk interface: +

adjust PATH setting in registry
This ensures that all programs will see the TEX Live binary +class="description">This ensures that all programs will see the TeX Live binary directory on their search path.
add menu shortcuts
If set, there will be a TEX Live submenu of the Start menu. There is a third - option ‘Launcher entry’ besides ‘TeX Live menu’ and ‘No shortcuts’. This option is described in +class="description">If set, there will be a TeX Live submenu of the Start menu. There is a third + option ‘Launcher entry’ besides ‘TeX Live menu’ and ‘No shortcuts’. This option is described in section 4.1.
change file associations
The options are ‘Only new’ (create file associations, but do not overwrite - existing ones), ‘All’ and ‘None’. +class="ec-lmbx-10">change file associations
The options are ‘Only new’ (create file associations, but do not overwrite + existing ones), ‘All’ and ‘None’.
install TEXworks front end
install TeXworks front end
-

When all the settings are to your liking, you can type ‘I’ in the text interface, or press the ‘Install TeX Live’ -button in the Perl/Tk GUI, to start the installation process. When it is done, skip to section 

When all the settings are to your liking, you can type ‘I’ in the text interface, or press the ‘Install TeX Live’ +button in the Perl/Tk GUI, 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

-

+
>  install-tl -help +class="ec-lmtk-10"> -help
for a listing of command-line options. Either - or -- can be used to introduce option names. These are the most common ones:

-

+

-gui

Use the GUI installer if possible. This requires Tcl/Tk version 8.5 or higher. This - is the case on Mac OS X and is distributed with TEX Live on Windows. The legacy + is the case on Mac OS X and is distributed with TeX Live on Windows. The legacy options -gui=perltk and -gui=wizard are still available and require the Perl/Tk module @@ -2239,12 +2072,12 @@ class="ec-lmtt-10">-gui=wizard are still available and require the href="https://tug.org/texlive/distro.html#perltk" class="url" >https://tug.org/texlive/distro.html#perltk) compiled with XFT support; if Tcl/Tk and Perl/Tk are not available, installation continues in text mode. -

+

-no-gui

Force using the text mode installer. -

+

-lang LL
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. Run install-tl --help to get the list of available languages. -
+class="ec-lmtt-10"> --help to get the list of available languages. +

-portable

Install for portable use on, e.g., a USB stick. Also selectable from within the text installer with the V command, and from the GUI installer. See section V command, and from the GUI installer. See section 4.2. -

+

-profile file
file
-

Load the installation profile file and do the installation with no user interaction. The installer - always writes a file

Load the installation profile file and do the installation with no user interaction. The installer + always writes a file texlive.profile to the tlpkg subdirectory of your installation. That file can - be given as the argument to redo the exact same installation on a different system, for example. - Alternatively, you can use a custom profile, most easily created by starting from a generated one - and changing values, or an empty file, which will take all the defaults. -

+class="ec-lmtt-10">tlpkg subdirectory of your installation. That file can + be given as the argument to redo the exact same installation on a different system, for example. + Alternatively, you can use a custom profile, most easily created by starting from a generated one + and changing values, or an empty file, which will take all the defaults. +

-repository url-or-directory

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

-

+

+

-in-place

(Documented only for completeness: Do not use this unless you know what you - are doing.) If you already have an rsync, svn, or other copy of TEX Live (see + are doing.) If you already have an rsync, svn, or other copy of TeX Live (see https://tug.org/texlive/acquire-mirror.html) then this option will use what you’ve got, - as-is, and do only the necessary post-install. Be warned that the file https://tug.org/texlive/acquire-mirror.html) then this option 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.

+ This option cannot be toggled via the installer interface.

+

3.3.1 The -repository option

The default network 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 plain directory path. (When giving an http: or ftp: location, trailing ‘/’ characters and/or a trailing -‘/tlpkg’ component are ignored.) -

For example, you could choose a particular CTAN mirror with something like: +class="ec-lmtt-10">http: or ftp: location, trailing ‘/’ characters and/or a trailing +‘/tlpkg’ component are ignored.) +

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 -particular top-level CTAN path for ctan.example.org/tex-archive. The list of CTAN mirrors is +particular top-level CTAN path for ctan.example.org/tex-archive. The list of CTAN mirrors is maintained at https://ctan.org/mirrors. -

If the given argument is local (either a path or a file:/ url), compressed files in an

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

+of the repository path are used (even if uncompressed files are available as well). +

+

3.4 Post-install actions

Some post-installation 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 TEXDIR/bin. See figure 

Each supported platform has its own subdirectory under TEXDIR/bin. See figure 5 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 -you want the system tools to find them. The man pages might be found automatically after the addition to +

Optionally, you can also add the documentation man and Info directories to their respective search paths, if +you want the system tools to find them. The man pages might be found automatically after the addition to 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 $HOME/.profile (or another file sourced by .profile), and the lines to add would look like this: -

+

+

PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH; export PATH +class="ec-lmtt-9"> export PATH
MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH; export MANPATH +class="ec-lmtt-9"> export MANPATH
INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH; export INFOPATH
-

For csh or tcsh, the file to edit is typically  export INFOPATH

+

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

+

+

setenv PATH /usr/local/texlive/2020/bin/x86_64-linux:$PATH
 PATH /usr/local/texlive/2020/bin/x86_64-linux:$PATH
setenv MANPATH /usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH +class="ec-lmtt-9"> MANPATH /usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH
setenv INFOPATH /usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH
-

If you already have settings somewhere in your “dot” files, naturally the TEX Live directories should be +class="ec-lmtt-9"> INFOPATH /usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH

+

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

+

+

3.4.2 Environment variables: Global configuration
+ id="x1-320003.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 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 -

+

+

MANPATH_MAP /usr/local/texlive/2020/bin/x86_64-linux \
 /usr/local/texlive/2020/bin/x86_64-linux \
            /usr/local/texlive/2020/texmf-dist/doc/man
- - -

And 2) check for a file /etc/environment which may define the search path and other default environment +class="ec-lmtt-9">            /usr/local/texlive/2020/texmf-dist/doc/man

+

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-dist/doc/man. Some man programs, such as the standard Mac OS X man, will automatically find that, +class="ec-lmtt-10">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 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): + id="x1-330003.4.3">Internet updates after DVD installation +

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

-

+
>  tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet +class="ec-lmtk-10"> option repository http://mirror.ctan.org/systems/texlive/tlnet

This tells tlmgr to use a nearby CTAN mirror for future updates. This is done by default when installing -from DVD, via the option described in section tlmgr to use a nearby CTAN mirror for future updates. This is done by default when installing +from DVD, via the option described in section 3.2.4. -

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

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

+

+

3.4.4 System font configuration for XeTEX and LuaTEX
-

XeTEX and LuaTEX can use any font installed on the system, not just those in the TEX trees. They do -these via related but not identical methods. -

On Windows, fonts shipped with TEX Live are automatically made available to XeTEX by font name. On -Mac OS X, supporting font name lookups requires additional steps; please see the MacTEX web pages + id="x1-340003.4.4">System font configuration for XeTeX and LuaTeX +

XeTeX and LuaTeX can use any font installed on the system, not just those in the TeX trees. They do these +via related but not identical methods. +

On Windows, fonts shipped with TeX Live are automatically made available to XeTeX by font name. On +Mac OS X, supporting font name lookups requires additional steps; please see the MacTeX web pages (https://tug.org/mactex). For other Unix systems, the procedure to be able to find the fonts shipped with -TEX Live via font name follows. -

To facilitate this, when the https://tug.org/mactex). For other Unix systems, the procedure to be able to find the fonts shipped with +TeX Live via font name follows. +

To facilitate this, when the xetex 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 TEX Live fonts for system-wide use (assuming you have suitable privileges), proceed as +

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

    +

    1. Copy the texlive-fontconfig.conf file to texlive-fontconfig.conf file to /etc/fonts/conf.d/09-texlive.conf.
    2. Run fc-cache -fsv.
    -

    If you do not have sufficient privileges to carry out the steps above, or if you want to make the TEX Live +

    If you do not have sufficient privileges to carry out the steps above, or if you want to make the TeX Live fonts available to only one user, you can do the following: -

      +

      1. Copy the texlive-fontconfig.conf file to texlive-fontconfig.conf file to ~/.fonts.conf, where ~ is your home directory.
      2. @@ -2514,46 +2343,41 @@ class="ec-lmtt-10">fc-list to see the names of the system fonts. The inca class="ec-lmtt-10">fc-list : family style file spacing (all arguments are literal strings) shows some generally interesting information. -

        + + +

        +

        3.4.5 ConTEXt Mark IV
        -

        Both the ‘old’ ConTEXt (Mark II) and the ‘new’ ConTEXt (Mark IV) should run out of the box after TEX + id="x1-350003.4.5">ConTeXt Mark IV +

        Both the ‘old’ ConTeXt (Mark II) and the ‘new’ ConTeXt (Mark IV) should run out of the box after TeX Live installation, and should need no special attention as long as you stick to using tlmgr for updates. - - -

        However, because ConTEXt MkIV does not use the kpathsea library, some setup will be required whenever -you install new files manually (without using

        However, because ConTeXt MkIV does not use the kpathsea library, some setup will be required whenever +you install new files manually (without using tlmgr). After each such installation, each MkIV user must run: +

        context --generate
        -

        to refresh the ConTEXt disk cache data. The resulting files are stored under  --generate

+

to refresh the ConTeXt disk cache data. The resulting files are stored under TEXMFCACHE, whose default value in -TEX Live is TEXMFSYSVAR;TEXMFVAR. -

ConTEXt MkIV will read from all paths mentioned in TEXMFCACHE, and write to the first path that is +

ConTeXt MkIV will read from all paths mentioned in TEXMFCACHE, and write to the first path that is writable. While reading, the last found match will take precedence in the case of duplicated cache data. -

For more information, see

For more information, see https://wiki.contextgarden.net/Running_Mark_IV. -

+

+

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 @@ -2564,244 +2388,226 @@ class="ec-lmtt-10">TEXMFHOME (by default, $HOME/texmf or %USERPROFILE%\texmf), is for personal fonts and macros. These directories are intended to stick around from release to release, and have their content seen automatically by a -new TEX Live release. Therefore, it is best to refrain from changing the definition of TEXMFLOCAL to -be too far away from the main TEX Live directory, or you will need to manually change future +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 TEX Directory Structure (TDS) subdirectories; see +

For both trees, files should be placed in their proper TeX Directory Structure (TDS) subdirectories; see https://tug.org/tds or consult texmf-dist/web2c/texmf.cnf. For instance, a LATEX class file or +class="ec-lmtt-10">texmf-dist/web2c/texmf.cnf. For instance, a LaTeX class file or package should be placed in 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 +

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 +class="ec-lmss-10">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 -requirement. If you need to easily switch back and forth between different versions of large packages, for +

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 of directories, within braces, separated by commas: +

  TEXMFHOME = {/my/dir1,/mydir2,/a/third/dir}
+ id="x1-36002r1">  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 TEX -installation. Many fonts are included in TEX Live already, so take a look if you don’t already know that what -you want isn’t there. -

A possible alternative is to use XeTEX or LuaTEX (see section 

This is unfortunately a messy topic. Forget about it unless you want to delve into many details of the TeX +installation. Many fonts are included in TeX Live already, so take a look if you don’t already know that what +you want isn’t there. +

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 https://tug.org/fonts/fontinstall.html for our best effort at describing +class="ec-lmtt-10">https://tug.org/fonts/fontinstall.html for our best effort at describing the procedure. -

+

+

3.5 Testing the installation

-

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

One thing you may immediately be looking for is a front-end with which to edit files. TEX Live installs -TEXworks (

After installing TeX Live, you naturally want to test it out, so you can start creating beautiful documents and/ +or fonts. +

One thing you may immediately be looking for is a front-end with which to edit files. TeX Live installs +TeXworks (https://tug.org/texworks) on Windows (only), and MacTEX installs TeXShop +class="ec-lmtt-10">https://tug.org/texworks) on Windows (only), and MacTeX installs TeXShop (https://pages.uoregon.edu/koch/texshop). On other Unix systems, it’s left up to you to choose an +class="ec-lmtt-10">https://pages.uoregon.edu/koch/texshop). On other Unix systems, it’s left up to you to choose an editor. There are many choices available, some of which are listed in the next section; see also https://tug.org/interest.html#editors. Any plain text editor will work; something TEX-specific is not +class="ec-lmtt-10">https://tug.org/interest.html#editors. Any plain text editor will work; something TeX-specific is not required. -

The rest of 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 +

The rest of 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:
      +class="ec-lmss-10">tex program in the first place:
      -

      +
      >  tex --version +class="ec-lmtk-10"> --version
      TeX 3.14159265 (TeX Live ...) +class="ec-lmtt-10"> 3.14159265 (TeX Live ...)
      Copyright ... D.E. Knuth. +class="ec-lmtt-10"> ... D.E. Knuth.
      ...
      -
      If this comes back with ‘command not found’ instead of version and copyright information, or with an - older version, most likely you don’t have the correct If this comes back with ‘command not found’ instead of version and copyright information, or with an + older version, most likely you don’t have the correct bin subdirectory in your PATH. See the environment-setting information on p. 39. +href="#x1-310003.4.1">40.
    2. Process a basic LATEX file:
      + class="enumerate" id="x1-38004x2">Process a basic LaTeX file:
      -

      +
      >  latex sample2e.tex +class="ec-lmtk-10"> sample2e.tex
      This is pdfTeX 3.14... +class="ec-lmtt-10"> is pdfTeX 3.14... + +
      ...
      Output written on sample2e.dvi (3 pages, 7484 bytes). +class="ec-lmtt-10"> written on sample2e.dvi (3 pages, 7484 bytes).
      Transcript written on sample2e.log. - - +class="ec-lmtt-10"> written on sample2e.log.
      -
      If this fails to find sample2e.tex or other files, most likely you have interference from old environment - variables or configuration files; we recommend unsetting all TEX-related environment variables for a - start. (For a deep analysis, you can ask TEX to report on exactly what it is searching for, and finding; - see “Debugging actions” on page 69.) +
      If this fails to find sample2e.tex or other files, most likely you have interference from old environment + variables or configuration files; we recommend unsetting all TeX-related environment variables for a + start. (For a deep analysis, you can ask TeX to report on exactly what it is searching for, and finding; see + “Debugging actions” on page 71.)
    3. Preview the result online:
      -

      +
      >  xdvi sample2e.dvi    # Unix +class="ec-lmtk-10"> sample2e.dvi    # Unix
      >  dviout sample2e.dvi  # Windows +class="ec-lmtk-10"> sample2e.dvi  # Windows
      -
      You should see a new window with a nice document explaining some of the basics of LATEX. (Well - worth reading, by the way, if you’re new to TEX.) You do have to be running under X for xdvi to work; if - you’re not, or your DISPLAY environment variable is set incorrectly, you’ll get an error ‘Can’t open +
      You should see a new window with a nice document explaining some of the basics of LaTeX. (Well worth + reading, by the way, if you’re new to TeX.) You do have to be running under X for xdvi to work; if you’re + not, or your DISPLAY environment variable is set incorrectly, you’ll get an error ‘Can’t open display’. +class="ec-lmtt-10">display’.
    4. Create a PostScript file for printing or display:
      + class="enumerate" id="x1-38008x4">Create a PostScript file for printing or display:
      -

      +
      >  dvips sample2e.dvi -o sample2e.ps +class="ec-lmtk-10"> sample2e.dvi -o sample2e.ps
    5. Create a PDF file instead of DVI; this processes the .tex file and writes PDF directly: + class="enumerate" id="x1-38010x5">Create a PDF file instead of DVI; this processes the .tex file and writes PDF directly:
      -

      +
      >  pdflatex sample2e.tex +class="ec-lmtk-10"> sample2e.tex
    6. Preview the PDF file:
      + class="enumerate" id="x1-38012x6">Preview the PDF file:
      -

      +
      >  gv sample2e.pdf +class="ec-lmtk-10"> sample2e.pdf
      or:
      >  xpdf sample2e.pdf +class="ec-lmtk-10"> sample2e.pdf
      Neither gv nor xpdf are included in TEX Live, so you must install them separately. See +class="ec-lmss-10">xpdf are included in TeX Live, so you must install them separately. See https://www.gnu.org/software/gv and https://www.sumatrapdfreader.org/free-pdf-reader.html).
    7. Standard test files you may find useful in addition to Standard test files you may find useful in addition to sample2e.tex:

      -

      + + +

      small2e.tex

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

      +class="ec-lmtt-10">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. -

      +

      testfont.tex
      -

      Also for font tables, but using plain TEX. -

      +

      Also for font tables, but using plain TeX. +

      story.tex
      -

      The most canonical (plain) TEX test file of all. You must type ‘\bye’ to the

      The most canonical (plain) TeX test file of all. You must type ‘\bye’ to the * prompt after - ‘tex story.tex’.

      + ‘tex story.tex’.

    8. If you have installed the xetex package, you can test its access to system fonts as follows:
      -

      +
      >  xetex opentype-info.tex +class="ec-lmtk-10"> opentype-info.tex
      This is XeTeX, Version 3.14 +class="ec-lmtt-10"> is XeTeX, Version 3.14
      ...
      Output written on opentype-info.pdf (1 page). +class="ec-lmtt-10"> written on opentype-info.pdf (1 page).
      Transcript written on opentype-info.log. +class="ec-lmtt-10"> written on opentype-info.log.
      -

      If you get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…”, then you - need to configure your system so that the fonts shipped with TEX Live can be found. See - section 

      If you get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…”, then you + need to configure your system so that the fonts shipped with TeX Live can be found. See + section 3.4.4. +

    +

    3.6 Links for additional downloadable software

    -

    If you are new to TEX, or otherwise need help with actually writing TEX or LATEX documents, please visit +

    If you are new to TeX, or otherwise need help with actually writing TeX or LaTeX documents, please visit https://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://netpbm.sourceforge.net, also for graphics.
    -TEX-oriented editors
    There is a wide choice, and it is a matter of the user’s taste. Here is a selection in +TeX-oriented editors
    There is a wide choice, and it is a matter of the user’s taste. Here is a selection in alphabetical order (a few here are for Windows only). + +

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

    +

    +

    4 Specialized installations

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

    +

    +

    4.1 Shared-user (or cross-machine) installations

    -

    TEX Live has been designed to be shared between different systems on a network. With a standard directory -layout, no hard paths are configured: the locations for files needed by TEX Live programs are found relative to -the programs. You can see this in the principal configuration file

    TeX Live has been designed to be shared between different systems on a network. With a standard directory +layout, no hard paths are configured: the locations for files needed by TeX Live programs are found relative to +the programs. You can see this in the principal configuration file $TEXMFDIST/web2c/texmf.cnf, which contains lines such as +

    TEXMFROOT = $SELFAUTOPARENT
     = $SELFAUTOPARENT
    ...
    TEXMFDIST = $TEXMFROOT/texmf-dist
     = $TEXMFROOT/texmf-dist
    ...
    TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
    -

    This means that adding the directory for TEX Live executables for their platform to their search path is sufficient +class="ec-lmtt-9"> = $SELFAUTOGRANDPARENT/texmf-local

+

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 TEX Live locally and then move the entire hierarchy afterwards to -a network location. -

For Windows, TEX Live includes a launcher

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

For Windows, TeX Live includes a launcher tlaunch. Its main window contains menu entries and -buttons for various TEX-related programs and documentation, customizable via an ini file. On first -use, it replicates the usual Windows-specific post-install, i.e., search path modification and file -associations, but only for the current user. Therefore, workstations with access to TEX Live on the local +buttons for various TeX-related programs and documentation, customizable via an ini file. On first +use, it replicates the usual Windows-specific post-install, i.e., search path modification and file +associations, but only for the current user. Therefore, workstations with access to TeX Live on the local network only need a menu shortcut for the launcher. See the tlaunch manual (texdoc tlaunch, or https://ctan.org/pkg/tlaunch). -

+

+ + +

4.2 Portable (USB) installations

The -portable installer option (or V command in the text installer or corresponding GUI option) -creates a completely self-contained TEX Live installation under a common root and forgoes system - - +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

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 and create a temporary -‘tray menu’ offering a choice of a few common tasks, as shown in this screenshot: -

pict -

The ‘More…’ entry explains how you can customize this menu. -

+‘tray menu’ offering a choice of a few common tasks, as shown in this screenshot: +

pict +

The ‘More…’ entry explains how you can customize this menu. +

+

5 tlmgr: Managing your installation

-



-



-


pict -

Figure 11: +

+
Figure 11:Legacy tlmgr GUI mode: main window, after ‘Load’
+class="ec-lmss-10">tlmgr GUI mode: main window, after ‘Load’ -


-

TEX Live includes a program named tlmgr for managing TEX Live after the initial installation. Its + +

TeX Live includes a program named tlmgr for managing TeX Live after the initial installation. Its capabilities include: +

tlmgr’s functionality completely subsumes the texconfig program. We still distribute and maintain texconfig +class="ec-lmss-10">tlmgr’s functionality completely subsumes the texconfig program. We still distribute and maintain texconfig for the sake of anyone used to its interface, but we recommend using tlmgr nowadays. +

5.1 GUI interfaces for tlmgr

-

TEX Live contains several GUI front-ends for tlmgr. Two notable ones: (1) Figure 

TeX Live contains several GUI front-ends for tlmgr. Two notable ones: (1) Figure 9 shows tlshell, which is -written in Tcl/Tk and runs out of the box under Windows and Mac OS X; (2) Figure 10 shows tlcockpit, -which requires Java version 8 or higher and JavaFX. Both are separate packages. -

tlmgr also has a native GUI mode (shown in figure 11), which is started with:

+which requires Java version 8 or higher and JavaFX. Both are separate packages. +

tlmgr also has a native GUI mode (shown in figure 11), which is started with:

-

+
>  tlmgr -gui +class="ec-lmtk-10"> -gui
-
However, this GUI extension requires Perl/Tk, which module is no longer included in TEX Live’s Perl +
However, this GUI extension requires Perl/Tk, which module is no longer included in TeX Live’s Perl distribution for Windows.

+

5.2 Sample tlmgr command-line invocations

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

+

-

+
>  tlmgr update -all +class="ec-lmtk-10"> update -all
-
If this makes you nervous, first try
+
If this makes you nervous, first try
-

+
>  tlmgr update -all -dry-run +class="ec-lmtk-10"> update -all -dry-run
or (less verbose):
-

+
>  tlmgr update -list +class="ec-lmtk-10"> update -list
-

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

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

-

+
>  tlmgr -repository /local/mirror/tlnet install collection-xetex +class="ec-lmtk-10"> -repository /local/mirror/tlnet install collection-xetex
It generates the following output (abridged):
install: collection-xetex
 collection-xetex
install: arabxetex
 arabxetex
...
install: xetex
 xetex
install: xetexconfig
 xetexconfig
install: xetex.i386-linux +class="ec-lmtt-8"> xetex.i386-linux
running post install action for xetex
 post install action for xetex
install: xetex-def
 xetex-def
...
running mktexlsr
 mktexlsr
mktexlsr: Updating /usr/local/texlive/2020/texmf-dist/ls-R...
 Updating /usr/local/texlive/2020/texmf-dist/ls-R...
...
running fmtutil-sys --missing
 fmtutil-sys --missing
...
Transcript written on xelatex.log.
 written on xelatex.log.
fmtutil: /usr/local/texlive/2020/texmf-var/web2c/xetex/xelatex.fmt installed.
+class="ec-lmtt-8"> /usr/local/texlive/2020/texmf-var/web2c/xetex/xelatex.fmt installed.

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

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

-

+
>  tlmgr show collection-latexextra +class="ec-lmtk-10"> show collection-latexextra
which produces output like this:
package:    collection-latexextra
    collection-latexextra
category:   Collection
   Collection
shortdesc:  LaTeX supplementary packages +class="ec-lmtt-8">  LaTeX supplementary packages
longdesc:   A very large collection of add-on packages for LaTeX.
   A very large collection of add-on packages for LaTeX.
installed:  Yes
  Yes
revision:   46963
   46963
sizes:      657941k
+class="ec-lmtt-8">      657941k

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

+

-

+
>  tlmgr -help +class="ec-lmtk-10"> -help

+

6 Notes on Windows

+

6.1 Windows-specific features

+ id="x1-470006.1">Windows-specific features

Under Windows, the installer does some extra things: -

+

Menus and shortcuts.
A new ‘TEX Live’ submenu of the Start menu is installed, which contains +class="description">A new ‘TeX Live’ submenu of the Start menu is installed, which contains entries for some GUI programs (tlmgr, texdoctk and some documentation. @@ -3400,121 +3186,105 @@ class="ec-lmbx-10">File associations.
If enabled, TeXworks and Dviout become either the default program for their - respective filetypes, or get an entry in the ‘Open with’ right-click menus of those filetypes. + respective filetypes, or get an entry in the ‘Open with’ right-click menus of those filetypes.
Bitmap to eps converter.
Various bitmapped formats get an entry bitmap2eps in their ‘Open with’ +class="ec-lmss-10">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. +class="description">No manual configuration steps are required.
Uninstaller.
The installer creates an entry under ‘Add/Remove Programs’ for TEX Live. The uninstall - tab of the TEX Live Manager GUI refers to this. For a single-user install, the installer also creates +class="description">The installer creates an entry under ‘Add/Remove Programs’ for TeX Live. The uninstall + tab of the TeX Live Manager GUI refers to this. For a single-user install, the installer also creates an uninstall entry under the Start menu.
Write-protect.
For an admin install, the TEX Live directories are write-protected, at least if TEX - Live is installed on a normal NTFS-formatted non-removable disk.
+class="description">For an admin install, the TeX Live directories are write-protected, at least if TeX + Live is installed on a normal NTFS-formatted non-removable disk.

Also, have a look at tlaunch, described in section 4.1, for a different approach. -

+class="ec-lmtt-10">tlaunch, described in section 4.1, for a different approach. +

+

6.2 Additional software included on Windows

-

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. These programs are all installed as part of TEX Live only on +

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. These programs are all installed as part of TeX Live only on Windows. -

-

+

+

Perl and Ghostscript.
Because of the importance of Perl and Ghostscript, TEX Live includes - ‘hidden’ copies of these programs. TEX Live programs that need them know where to find them, - but they don’t betray their presence through environment variables or registry settings. They - aren’t full-scale installations, and shouldn’t interfere with any system installations of Perl or - Ghostscript. +class="description">Because of the importance of Perl and Ghostscript, TeX Live includes ‘hidden’ + copies of these programs. TeX Live programs that need them know where to find them, but + they don’t betray their presence through environment variables or registry settings. They aren’t + full-scale installations, and shouldn’t interfere with any system installations of Perl or Ghostscript.
dviout.
Also installed is dviout, a DVI viewer. At first, when you preview files with dviout, a DVI viewer. At first, when you preview files with dviout, it will create fonts, because screen fonts were not installed. After a while, you will have created most of the fonts you use, and you will rarely see the font-creation window. More information can be found in the (highly recommended) on-line help.
-TEXworks.
TEXworks is a TEX-oriented editor with an integrated PDF viewer. +TeXworks.
TeXworks is a TeX-oriented editor with an integrated PDF viewer.
Command-line tools.
A number of Windows ports of common Unix command-line programs are - installed along with the usual TEX Live binaries. These include gzip, zip, unzip, and the utilities from the poppler suite (pdfinfo, pdffonts, …); no standalone PDF viewer for Windows is included. +class="ec-lmss-10">pdfinfo, pdffonts, …); no standalone PDF viewer for Windows is included. One option for that is the Sumatra PDF viewer, available from https://sumatrapdfreader.org/.
fc-list, fc-cache,
The tools from the fontconfig library allow XeTEX to handle system fonts on +class="ec-lmbx-10">…
The tools from the fontconfig library allow XeTeX to handle system fonts on Windows. You can use fc-list to determine the font names to pass to XeTEX’s extended fc-list to determine the font names to pass to XeTeX’s extended \font command. If necessary, run fc-cache first to update font information. +class="ec-lmss-10">fc-cache first to update font information.

+

6.3 User Profile is Home

+ id="x1-490006.3">User Profile is Home

The Windows counterpart of a Unix home directory is the %USERPROFILE% directory. Under Windows Vista and later it is C:\Users\<username>. In the texmf.cnf file, and Kpathsea in general, 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 HKEY_LOCAL_MACHINE, HKCU and HKLM in short. The HKCU part of the registry is in -the user’s home directory (see section 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, -for example the location of shortcuts, it is necessary to consult the registry. Setting environment variables -permanently also requires registry access. -

+

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 -latter have free access to the entire operating system. We have made an effort to make TEX Live installable +latter have free access to the entire operating system. We have made an effort to make TeX Live installable without administrative privileges. -

If the installer is started with administrative permissions, there is an option to install for all users. If -this option is chosen, shortcuts are created for all users, and the system search path is modified. +

If the installer is started with administrative permissions, there is an option to install for all users. If +this option is chosen, shortcuts are created for all users, and the system search path is modified. Otherwise, shortcuts and menu entries are created for the current user, and the user search path is -modified. -

Regardless of administrator status, the default root of TEX Live proposed by the installer is always +modified. +

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 TEX already exists in the search path. Since -the effective search path consists of the system search path followed by the user search path, the new TEX -Live would never get precedence. As a safeguard, the installer creates a shortcut to the command-prompt in -which the new TEX Live binary directory is prepended to the local search path. The new TEX -Live will be always usable from within such a command-prompt. The shortcut for TEXworks, if -installed, also prepends TEX Live to the search path, so it should also be immune to this path +

A problem may arise if the user is not an administrator and TeX already exists in the search path. Since +the effective search path consists of the system search path followed by the user search path, the new TeX Live +would never get precedence. As a safeguard, the installer creates a shortcut to the command-prompt in +which the new TeX Live binary directory is prepended to the local search path. The new TeX +Live will be always usable from within such a command-prompt. The shortcut for TeXworks, if +installed, also prepends TeX Live to the search path, so it should also be immune to this path problem. -

You should be aware that even if you are logged in as administrator, you need to explicitly ask for +

You should be aware that 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’. -

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

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 +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 -User’s Guide (

For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin +User’s Guide (https://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 Registry Editor Version 5.00
 Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Cygwin]
"heap_chunk_in_mb"=dword:ffffff00
+class="ec-lmtt-9">"heap_chunk_in_mb"=dword:ffffff00

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 TEX-related programs: TEX itself, Metafont, MetaPost, BibTeX, etc. -It is the heart of TEX Live. The home page for Web2C, with the current manual and more, is + id="x1-530007">A user’s guide to Web2C +

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 manual and more, is https://tug.org/web2c. -

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 +

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

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

+

dvicopy
-

Expands virtual font references in DVI files. -

+

Expands virtual font references in DVI files. +

dvitomp

DVI to MPX (MetaPost pictures). -

+

dvitype

DVI to human-readable text. -

+

gftodvi

Generic font proofsheets. -

+

gftopk

Generic to packed fonts. -

+

gftype

GF to human-readable text. -

+

mf

Creating typeface families. -

+

mft

Prettyprinting Metafont source. -

+

mpost

Creating technical diagrams. -

+

patgen

Creating hyphenation patterns. -

+

pktogf

Packed to generic fonts. -

+

pktype

PK to human-readable text. -

+

pltotf

Plain text property list to TFM. -

+ + +

pooltype

Display WEB pool files. -

+class="ec-lmtt-10">WEB pool files. +

tangle

WEB to Pascal. - - -

+

tex

Typesetting. -

+

tftopl

TFM to plain text property list. -

+

vftovp

Virtual font to virtual property list. -

+

vptovf

Virtual property list to virtual font. -

+

weave

WEB to TEX.

+class="ec-lmtt-10">WEB to TeX.

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

+

--version
-

print version information, then exit.

+

print version information, then exit.

And most also honor: -

+

--verbose
-

print detailed progress report.

-

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

print detailed progress report.

+

For locating files the Web2C programs use the path searching library Kpathsea (https://tug.org/kpathsea). -This library uses a combination of environment variables and configuration files to optimize searching the -(huge) collection of TEX files. Web2C can look at many directory trees simultaneously, which is useful in -maintaining TEX’s standard distribution and local and personal extensions in distinct trees. To speed up file -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. -

+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 ‘my-file’ along a -path ‘.:/dir’, Kpathsea checks each element of the path in turn: first my-file’ along a +path ‘.:/dir’, Kpathsea checks each element of the path in turn: first ./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 -filename separators different from colon (‘:’) and slash (‘/’). -

To check a particular path element p, Kpathsea first checks if a prebuilt database (see “Filename database” -on page 66) applies to p, i.e., if the database is in a directory that is a prefix of p. If so, the path specification +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 +filename separators different from colon (‘:’) and slash (‘/’). +

To check a particular path element p, Kpathsea first checks if a prebuilt database (see “Filename database” +on page 67) 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. - - -

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 +

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 +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 ‘/’ or ‘./’ or -‘../’, Kpathsea simply checks if that file exists. -

+

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

-

    +

    +

    1. A user-set environment variable, for instance, TEXINPUTS. Environment variables with a period - and a program name appended override; e.g., if ‘latex’ is the name of the program being run, + and a program name appended override; e.g., if ‘latex’ is the name of the program being run, then TEXINPUTS.latex will override TEXINPUTS.
    2. A program-specific configuration file, for example, a line ‘S /a:/b’ in dvips’s A program-specific configuration file, for example, a line ‘S /a:/b’ in dvips’s config.ps.
    3. A Kpathsea configuration file texmf.cnf, containing a line like ‘TEXINPUTS=/c:/d’ (see below). + class="enumerate" id="x1-55006x3">A Kpathsea configuration file texmf.cnf, containing a line like ‘TEXINPUTS=/c:/d’ (see below).
    4. The compile-time default.
    -

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

    +

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

    +

    7.1.2 Config files
    + id="x1-560007.1.2">Config files

    Kpathsea reads runtime configuration files named texmf.cnf for search path and other definitions. The search +class="ec-lmri-10">runtime configuration files named texmf.cnf for search path and other definitions. The search path TEXMFCNF is used to look for these files, but we do not recommend setting this (or any) environment +class="ec-lmtt-10">TEXMFCNF is used to look for these files, but we do not recommend setting this (or any) environment variable to override the system directories. -

    Instead, normal installation results in a file

    Instead, normal installation results in a file .../2020/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 +defaults (not normally necessary), this is the place to put them. The main configuration file is in .../2020/texmf-dist/web2c/texmf.cnf. You should not edit this latter file, as your changes will be lost +class="ec-lmtt-10">.../2020/texmf-dist/web2c/texmf.cnf. You should not edit this latter file, as your changes will be lost when the distributed version is updated. -

    As an aside, if you merely wish to add a personal directory to a particular search path, setting an +

    As an aside, if you merely wish to add a personal directory to a particular search path, setting an environment variable is a reasonable method: +

      TEXINPUTS=.:/my/macro/dir:
    + id="x1-56002r1">  TEXINPUTS=.:/my/macro/dir:
-

To keep the setting maintainable and portable over the years, use a trailing ‘:’ (‘;’ on Windows) to insert the -system paths, instead of trying to write them all out explicitly (see section 

To keep the setting maintainable and portable over the years, use a trailing ‘:’ (‘;’ on Windows) to insert the +system paths, instead of trying to write them all out explicitly (see section 7.1.4). Another option is to use the TEXMFHOME tree (see section TEXMFHOME tree (see section 3.2.3). -

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 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 .:$TEXMF, values from ./texmf.cnf override those from $TEXMF/texmf.cnf. +

  • Comments start with %, either at the beginning of a line or preceded by whitespace, and continue @@ -3888,199 +3648,203 @@ class="ec-lmtt-10">\ at the end of a line acts as a continuation characte at the beginning of continuation lines is not ignored.
  • Each remaining line has the form:
          variable [.progname] [=] value
    where the ‘=’ and surrounding whitespace are optional. (But if value begins with ‘.’, it is simplest - to use the ‘=’ to avoid the period being interpreted as the program name qualifier.) +class="newline" /> where the ‘=’ and surrounding whitespace are optional. (But if value begins with ‘.’, it is simplest + to use the ‘=’ to avoid the period being interpreted as the program name qualifier.)
  • The variable name may contain any character other than whitespace, ‘=’, or ‘.’, but sticking to - ‘A-Za-z_’ is safest. +class="ec-lmro-10">variable name may contain any character other than whitespace, ‘=’, or ‘.’, but sticking to + ‘A-Za-z_’ is safest.
  • -
  • If ‘If ‘.progname’ is present, the definition only applies if the program that is running is named +class="ec-lmro-10">progname’ is present, the definition only applies if the program that is running is named progname or progname.exe. This allows different flavors of TEX to have different search paths, +class="ec-lmtt-10">.exe. This allows different flavors of TeX to have different search paths, for example.
  • Considered as strings, value may contain any character. However, in practice most texmf.cnf values are related to path expansion, and since various special characters are used in expansion - (see section 7.1.7), such as braces and commas, they cannot be used in directory names. -

    A ‘;’ in value is translated to ‘:’ if running under Unix, in order to have a single

    A ‘;’ in value is translated to ‘:’ if running under Unix, in order to have a single texmf.cnf that can support both Unix and Windows systems. This translation happens with any value, not just - search paths, but fortunately in practice ‘;’ is not needed in other values. -

    The ;’ is not needed in other values. +

    The $var.prog feature is not available on the right-hand side; instead, you must use an additional variable. -

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

+

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

    +

    TEXMF              = {$TEXMFLOCAL,!!$TEXMFMAIN} +class="ec-lmtt-9">              = {$TEXMFLOCAL,!!$TEXMFMAIN}
    TEXINPUTS.latex    = .;$TEXMF/tex/{latex,generic;}// +class="ec-lmtt-9">    = .;$TEXMF/tex/{latex,generic;}//
    TEXINPUTS.fontinst = .;$TEXMF/tex//;$TEXMF/fonts/afm// +class="ec-lmtt-9"> = .;$TEXMF/tex//;$TEXMF/fonts/afm//
    % e-TeX related files +class="ec-lmtt-9"> e-TeX related files
    TEXINPUTS.elatex   = .;$TEXMF/{etex,tex}/{latex,generic;}// +class="ec-lmtt-9">   = .;$TEXMF/{etex,tex}/{latex,generic;}//
    TEXINPUTS.etex     = .;$TEXMF/{etex,tex}/{eplain,plain,generic;}// +class="ec-lmtt-9">     = .;$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 - - Unix shells. As a general example, the path ~$USER/{foo,bar}//baz, expands to all subdirectories under directories foo and bar in $USER’s home directory that contain a directory or file $USER’s home directory that contain a directory or file 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 61) contains an

    If the highest-priority search path (see “Path sources” on page 62) 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 +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 +

    -

    +
    >  setenv TEXINPUTS /home/karl: +class="ec-lmtk-10"> TEXINPUTS /home/karl:
    and a TEXINPUTS value from texmf.cnf of
    -

    +
      .:$TEXMF//tex +class="ec-lmtt-10">  .:$TEXMF//tex
    -
    then the final value used for searching will be: +
    then the final value used for searching will be:
    -

    +
      /home/karl:.:$TEXMF//tex +class="ec-lmtt-10">  /home/karl:.:$TEXMF//tex

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

    +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, v{a,b}w expands to vaw:vbw. -Nesting is allowed. This is used to implement multiple TEX hierarchies, by assigning a brace list +Nesting is allowed. This is used to implement multiple TeX hierarchies, by assigning a brace list to $TEXMF. In the distributed texmf.cnf, a definition like this (simplified for this example) is +class="ec-lmtt-10">texmf.cnf, a definition like this (simplified for this example) is made: +

      TEXMF = {$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFDIST}
    + id="x1-59002r1">  TEXMF = {$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFDIST}
    -

    We then use this to define, for example, the TEX input path: +

    We then use this to define, for example, the TeX input path: +

      TEXINPUTS = .;$TEXMF/tex//
    + id="x1-59004r1">  TEXINPUTS = .;$TEXMF/tex//

    which means that, after looking in the current directory, the $TEXMFVAR/tex, $TEXMFHOME/tex, class="ec-lmtt-10">$TEXMFLOCAL/tex and $TEXMFDIST/tex trees will be searched (the last two using ls-R data base -files). -

    +files). +

    +

    7.1.6 Subdirectory expansion

    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 ‘//’, only subdirectories with matching components are -included. For example, ‘/a//b’ expands into directories unspecified. +

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

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

    +

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

    +

    7.1.7 Summary of special characters in texmf.cnf files
    -

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

    -

    +class="ec-lmtt-10">texmf.cnf files +

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

    +

    :
    -

    Separator in path specification; at the beginning or the end of a path, or doubled in the middle, +

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

    +

    ;

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

    +

    $

    Variable expansion. -

    +

    ~
    -

    Represents the user’s home directory. -

    +

    Represents the user’s home directory. +

    {...}

    Brace expansion. -

    +

    ,

    Separates items in brace expansion. -

    +

    //

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

    +

    %

    Start of comment. -

    + + +

    \

    At the end of a line, continuation character to allow multi-line entries. - - -

    +

    !!

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

    +class="ec-lmri-10">only database to locate file, do not search the disk.

    Exactly when a character will be considered special or act as itself depends on the context in which it is -used. The rules are inherent in the multiple levels of interpretation of the configuration (parsing, expansion, -search, …) and so cannot be concisely stated, unfortunately. There is no general escape mechanism; in -particular, ‘\’ is not an “escape character” in texmf.cnf files. -

    When it comes choosing directory names for installation, it is safest to avoid them all. -

    +used. The rules are inherent in the multiple levels of interpretation of the configuration (parsing, expansion, +search, …) and so cannot be concisely stated, unfortunately. There is no general escape mechanism; in +particular, ‘\’ is not an “escape character” in texmf.cnf files. +

    When it comes choosing directory names for installation, it is safest to avoid them all. +

    +

    7.2 Filename databases

    -

    Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, in the standard TEX Live, -or at any installation with enough directories, searching every possible directory for a given file will take -an excessively long time. 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 +

    Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, in the standard TeX Live, +or at any installation with enough directories, searching every possible directory for a given file will take +an excessively long time. 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 aliases allows you to give additional names to the files listed in

    A second database file aliases allows you to give additional names to the files listed in ls-R. -

    +

    +

    7.2.1 The filename database
    -

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

    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 ls-R files along the TEXMFDBS path. -

    The recommended way to create and maintain ‘ls-R’ is to run the

    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 -

    +distribution. It is invoked by the various ‘mktex’… scripts. In principle, this script just runs the command +

    -

    +
    cd  /your/texmf/root &&  && \ls -1LAR ./ >ls-R +class="ec-lmtt-10"> -1LAR ./ >ls-R
    -
    presuming your system’s presuming your system’s ls produces the right output format (GNU ls is all right). To ensure that the database is always up-to-date, it is easiest to rebuild it regularly via cron, so that it is -automatically updated when the installed files change, such as after installing or updating a LATEX +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 -path element begins with ‘!!’, however,

    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 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). +class="ec-lmtt-10">find program to locate files in TeX hierarchies (this is used heavily in the distributed +‘mktex’… scripts). +

    + + -

    +
    >  kpsewhich  option filename +class="ec-lmtk-10">… filename
    -
    The options specified in option start with either ‘-’ or ‘--’, and any unambiguous abbreviation is +
    The options specified in 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 -found. There is no option to return all the files with a particular name (you can run the Unix ‘find’ utility for +

    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 num; this only affects ‘gf’ and ‘pk’ lookups. ‘-D’ is a synonym, for +class="ec-lmro-10">num; this only affects ‘gf’ and ‘pk’ lookups. ‘-D’ is a synonym, for compatibility with dvips. Default is 600. -

    +

    --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 +class="ec-lmro-10">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 dvips configuration files, you have to specify the name as known to Kpathsea, such as dvips configuration files, you have to specify the name as known to Kpathsea, such as tex or enc files. Run kpsewhich --help-formats for a list. -

    +

    --mode=string


    Set the mode name to string; this only affects ‘gf’ and ‘pk’ lookups. No default: any mode will +class="ec-lmro-10">string; this only affects ‘gf’ and ‘pk’ lookups. No default: any mode will be found. -

    +

    --must-exist


    Do everything possible to find the files, notably including searching the disk. By default, only the +class="newline" />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. -

    +class="ec-lmtt-10">ls-R database is checked, in the interest of efficiency. +

    --path=string


    Search along the path string (colon-separated as usual), instead of guessing the search path from - the filename. ‘//’ and all the usual expansions are supported. The options ‘--path’ and ‘--format’ + the filename. ‘//’ and all the usual expansions are supported. The options ‘--path’ and ‘--format’ are mutually exclusive. -

    +

    --progname=name


    Set the program name to name. This can affect the search paths via the name. This can affect the search paths via the .progname feature. The default is kpsewhich. -

    +

    --show-path=name


    shows the path used for file lookups of file type name. Either a filename extension (shows the path used for file lookups of file type name. Either a filename extension (.pk, .vf, etc.) - or a name can be used, just as with ‘--format’ option. -

    + or a name can be used, just as with ‘--format’ option. +

    --debug=num


    sets the debugging options to num.

    +class="ec-lmro-10">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: +

    -

    +
    >  kpsewhich article.cls +class="ec-lmtk-10"> article.cls
       /usr/local/texmf-dist/tex/latex/base/article.cls - - +class="ec-lmtt-10">   /usr/local/texmf-dist/tex/latex/base/article.cls
    -
    We are looking for the file article.cls. Since the ‘.cls’ suffix is unambiguous we do not need to specify that -we want to look for a file of type tex (TEX source file directories). We find it in the subdirectory +
    We are looking for the file article.cls. Since the ‘.cls’ suffix is unambiguous we do not need to specify that +we want to look for a file of type tex (TeX source file directories). We find it in the subdirectory tex/latex/base below the ‘texmf-distTEX Live directory. Similarly, all of the following are found without -problems thanks to their unambiguous suffix.
    +class="ec-lmtt-10">tex/latex/base below the ‘texmf-dist’ TeX Live directory. Similarly, all of the following are found without +problems thanks to their unambiguous suffix.
    -

    +
    >  kpsewhich array.sty +class="ec-lmtk-10"> array.sty
       /usr/local/texmf-dist/tex/latex/tools/array.sty +class="ec-lmtt-10">   /usr/local/texmf-dist/tex/latex/tools/array.sty
    >  kpsewhich latin1.def +class="ec-lmtk-10"> latin1.def
       /usr/local/texmf-dist/tex/latex/base/latin1.def +class="ec-lmtt-10">   /usr/local/texmf-dist/tex/latex/base/latin1.def
    >  kpsewhich size10.clo +class="ec-lmtk-10"> size10.clo
       /usr/local/texmf-dist/tex/latex/base/size10.clo +class="ec-lmtt-10">   /usr/local/texmf-dist/tex/latex/base/size10.clo
    >  kpsewhich small2e.tex +class="ec-lmtk-10"> small2e.tex
       /usr/local/texmf-dist/tex/latex/base/small2e.tex +class="ec-lmtt-10">   /usr/local/texmf-dist/tex/latex/base/small2e.tex
    >  kpsewhich tugboat.bib +class="ec-lmtk-10"> tugboat.bib
       /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib +class="ec-lmtt-10">   /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib

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

    -

    +
    >  kpsewhich cmr10.pk +class="ec-lmtk-10"> cmr10.pk
    -
    Font bitmap glyph files of type Font bitmap glyph files of type .pk are used by display programs like dvips and xdvi. Nothing is returned in -this case since there are no pre-generated Computer Modern ‘.pk’ files in TEX Live — the Type 1 variants are +this case since there are no pre-generated Computer Modern ‘.pk’ files in TeX Live — the Type 1 variants are used by default.
    -

    +
    >  kpsewhich wsuipa10.pk +class="ec-lmtk-10"> wsuipa10.pk
       /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk +class="ec-lmtt-10">   /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk
    -
    For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘.pk’ files, and +
    For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘.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.
    -

    +
    >  kpsewhich -dpi=300 wsuipa10.pk +class="ec-lmtk-10"> -dpi=300 wsuipa10.pk
    In this case, when specifying that we are interested in a resolution of 300dpi (-dpi=300) we see that no such font is available on the system. A program like dvips or xdvi would go off and actually build the required xdvi would go off and actually build the required .pk -files using the script mktexpk. + +

    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 TEX support, before turning our attention to the generic -configuration file (dvips’s header and configuration files. We first look at one of the commonly +used files, the general prologue tex.pro for TeX support, before turning our attention to the generic +configuration file (config.ps) and the PostScript font map psfonts.map — as of 2004, map and encoding files +class="ec-lmtt-10">psfonts.map — as of 2004, map and encoding files have their own search paths and new location in texmf trees. As the ‘.ps’ suffix is ambiguous we +class="ec-lmtt-10">texmf trees. As the ‘.ps’ suffix is ambiguous we have to specify explicitly which type we are considering (dvips config) for the file dvips config) for the file config.ps. -

    +

    -

    +
    >  kpsewhich tex.pro +class="ec-lmtk-10"> tex.pro
       /usr/local/texmf/dvips/base/tex.pro +class="ec-lmtt-10">   /usr/local/texmf/dvips/base/tex.pro
    >  kpsewhich --format="dvips config" config.ps - - +class="ec-lmtk-10"> --format="dvips config" config.ps
       /usr/local/texmf/dvips/config/config.ps +class="ec-lmtt-10">   /usr/local/texmf/dvips/config/config.ps
    >  kpsewhich psfonts.map +class="ec-lmtk-10"> psfonts.map
       /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map +class="ec-lmtt-10">   /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 -font naming scheme is ‘utm’. The first file we look at is the configuration file, which contains the name of the -map file:

    +

    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:

    -

    +
    >  kpsewhich --format="dvips config" config.utm +class="ec-lmtk-10"> --format="dvips config" config.utm
       /usr/local/texmf-dist/dvips/psnfss/config.utm +class="ec-lmtt-10">   /usr/local/texmf-dist/dvips/psnfss/config.utm
    -
    The contents of that file is
    +
    The contents of that file is
    -

    +
      p +utm.map +class="ec-lmtt-10">  p +utm.map
    -
    which points to the file which points to the file utm.map, which we want to locate next.
    -

    +
    >  kpsewhich utm.map +class="ec-lmtk-10"> utm.map
       /usr/local/texmf-dist/fonts/map/dvips/times/utm.map +class="ec-lmtt-10">   /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 +
    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  NimbusRomNo9L-Medi    ... <utmb8a.pfb +class="ec-lmtt-10">  NimbusRomNo9L-Medi    ... <utmb8a.pfb
    utmbi8r NimbusRomNo9L-MediItal... <utmbi8a.pfb +class="ec-lmtt-10"> NimbusRomNo9L-MediItal... <utmbi8a.pfb
    utmr8r  NimbusRomNo9L-Regu    ... <utmr8a.pfb +class="ec-lmtt-10">  NimbusRomNo9L-Regu    ... <utmr8a.pfb
    utmri8r NimbusRomNo9L-ReguItal... <utmri8a.pfb +class="ec-lmtt-10"> NimbusRomNo9L-ReguItal... <utmri8a.pfb
    utmbo8r NimbusRomNo9L-Medi    ... <utmb8a.pfb +class="ec-lmtt-10"> NimbusRomNo9L-Medi    ... <utmb8a.pfb
    utmro8r NimbusRomNo9L-Regu    ... <utmr8a.pfb +class="ec-lmtt-10"> NimbusRomNo9L-Regu    ... <utmr8a.pfb
    Let us, for instance, take the Times Roman instance utmr8a.pfb and find its position in the utmr8a.pfb and find its position in the texmf directory -tree with a search for Type 1 font files:
    +tree with a search for Type 1 font files:
    -

    +
    >  kpsewhich utmr8a.pfb +class="ec-lmtk-10"> utmr8a.pfb
       /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb +class="ec-lmtt-10">   /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 -especially important if you suspect that the wrong version of a file is picked up somehow, since

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

    +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, -Kpathsea offers various levels of debugging output: -

    - - -

    +

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

    +

     1
     1

    stat calls (disk lookups). When running with an up-to-date ls-R database this should almost give no output. -

    +

     2
     2

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

    +class="ec-lmtt-10">ls-R databases, map files, configuration files). +

     4
     4

    File open and close operations. -

    +

     8
     8
    -

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

    +

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

    +

    32

    File searches. -

    +

    64
    -

    Variable values.

    +

    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 +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 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 LATEX source file,

    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}
    + id="x1-66002r1">  \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 dvips prepares the PostScript file +(we want to use the Type 1 version of the Computer Modern fonts, hence the option -Pcms). -

    +

    -

    +
    >  dvips -d4100 hello-world -Pcms -o +class="ec-lmtk-10"> -d4100 hello-world -Pcms -o
    In this case we have combined dvips’s debug class 4 (font paths) with Kpathsea’s path element expansion (see +class="ec-lmss-10">dvips’s debug class 4 (font paths) with Kpathsea’s path element expansion (see the dvips reference manual). The output (slightly rearranged) appears in Figure dvips reference manual). The output (slightly rearranged) appears in Figure 12.


    -
    +debug:start search(file=texmf.cnf, must_exist=1, find_all=1,
      path=.:/usr/local/bin/texlive:/usr/local/bin:
           /usr/local/bin/texmf/web2c:/usr/local:
           /usr/local/texmf/web2c:/.:/./teTeX/TeX/texmf/web2c:).
     search(file=texmf.cnf, must_exist=1, find_all=1,
      path=.:/usr/local/bin/texlive:/usr/local/bin:
           /usr/local/bin/texmf/web2c:/usr/local:
           /usr/local/texmf/web2c:/.:/./teTeX/TeX/texmf/web2c:).
    kdebug:start search(file=ls-R, must_exist=1, find_all=1,
      path=~/tex:/usr/local/texmf).
     search(file=ls-R, must_exist=1, find_all=1,
      path=~/tex:/usr/local/texmf).
    kdebug:search(ls-R) =>/usr/local/texmf/ls-R
     =>/usr/local/texmf/ls-R
    kdebug:start search(file=aliases, must_exist=1, find_all=1,
      path=~/tex:/usr/local/texmf).
     search(file=aliases, must_exist=1, find_all=1,
      path=~/tex:/usr/local/texmf).
    kdebug:search(aliases) => /usr/local/texmf/aliases
     => /usr/local/texmf/aliases
    kdebug:start search(file=config.ps, must_exist=0, find_all=0,
      path=.:~/tex:!!/usr/local/texmf/dvips//).
     search(file=config.ps, must_exist=0, find_all=0,
      path=.:~/tex:!!/usr/local/texmf/dvips//).
    kdebug:search(config.ps) => /usr/local/texmf/dvips/config/config.ps
     => /usr/local/texmf/dvips/config/config.ps
    kdebug:start search(file=/root/.dvipsrc, must_exist=0, find_all=0,
      path=.:~/tex:!!/usr/local/texmf/dvips//).
     search(file=/root/.dvipsrc, must_exist=0, find_all=0,
      path=.:~/tex:!!/usr/local/texmf/dvips//).
    search(file=/home/goossens/.dvipsrc, must_exist=1, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).
     must_exist=1, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).
    kdebug:search($HOME/.dvipsrc) =>
     =>
    kdebug:start search(file=config.cms, must_exist=0, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).
     search(file=config.cms, must_exist=0, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).
    kdebug:search(config.cms)
    =>/usr/local/texmf/dvips/cms/config.cms
    -
    Figure 12: Finding configuration files
    +
    Figure 12:Finding configuration files
    -

    +

    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 ls-R (to optimize file searching) and the file +class="ec-lmss-10">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 ls-R (to optimize file searching) and the file aliases, which makes it possible to declare several names (e.g., a short DOS-like 8.3 and a more -natural longer version) for the same file. Then dvips goes on to find the generic configuration file +natural longer version) for the same file. Then dvips goes on to find the generic configuration file config.ps before looking for the customization file config.ps before looking for the customization file .dvipsrc (which, in this case is not found). Finally, dvips locates the config file for the Computer Modern PostScript fonts dvips locates the config file for the Computer Modern PostScript fonts config.cms (this was initiated with the -Pcms option on the 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. -

    +class="ec-lmss-10">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. +

    -

    +
    >  more /usr/local/texmf/dvips/cms/config.cms +class="ec-lmtk-10"> /usr/local/texmf/dvips/cms/config.cms
       p +ams.map +class="ec-lmtt-10">   p +ams.map
       p +cms.map +class="ec-lmtt-10">   p +cms.map
       p +cmbkm.map +class="ec-lmtt-10">   p +cmbkm.map
       p +amsbkm.map +class="ec-lmtt-10">   p +amsbkm.map
    dvips thus goes on to find all these files, plus the generic map file dvips thus goes on to find all these files, plus the generic map file 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). +about PostScript map file handling).

    At this point dvips identifies itself to the user:

    +class="ec-lmss-10">dvips identifies itself to the user:

    -

    +
    This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) +class="ec-lmtt-10"> is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
    -
    Then it goes on to look for the prolog file Then it goes on to look for the prolog file texc.pro:
    -

    +

    kdebug:start search(file=texc.pro, must_exist=0, find_all=0, +class="ec-lmtt-9"> search(file=texc.pro, must_exist=0, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//: +class="ec-lmtt-9">  path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:
           ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//). +class="ec-lmtt-9">       ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).
    kdebug:search(texc.pro) => /usr/local/texmf/dvips/base/texc.pro +class="ec-lmtt-9"> => /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):

    +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 output 1998.02.26:1204’ -> hello-world.ps +class="ec-lmtt-9"> output 1998.02.26:1204’ -> hello-world.ps
    Defining font () cmr10 at 10.0pt +class="ec-lmtt-9"> font () cmr10 at 10.0pt
    Font cmr10 <CMR10> is resident. +class="ec-lmtt-9"> cmr10 <CMR10> is resident.
    -
    Now the search is on for the file cmr10.tfm, which is found, then a few more prolog files (not shown) are -referenced, and finally the Type 1 instance cmr10.pfb of the font is located and included in the output file +
    Now the search is on for the file cmr10.tfm, which is found, then a few more prolog files (not shown) are +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, must_exist=1, find_all=0, +class="ec-lmtt-9"> search(file=cmr10.tfm, must_exist=1, find_all=0,
      path=.:~/tex/fonts/tfm//:!!/usr/local/texmf/fonts/tfm//: +class="ec-lmtt-9">  path=.:~/tex/fonts/tfm//:!!/usr/local/texmf/fonts/tfm//:
           /var/tex/fonts/tfm//). +class="ec-lmtt-9">       /var/tex/fonts/tfm//).
    kdebug:search(cmr10.tfm) => /usr/local/texmf/fonts/tfm/public/cm/cmr10.tfm +class="ec-lmtt-9"> => /usr/local/texmf/fonts/tfm/public/cm/cmr10.tfm
    kdebug:start search(file=texps.pro, must_exist=0, find_all=0, +class="ec-lmtt-9"> search(file=texps.pro, must_exist=0, find_all=0,
       ... +class="ec-lmtt-9">   ...
    <texps.pro>
    kdebug:start search(file=cmr10.pfb, must_exist=0, find_all=0, +class="ec-lmtt-9"> search(file=cmr10.pfb, must_exist=0, find_all=0,
      path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//: +class="ec-lmtt-9">  path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:
           ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//). +class="ec-lmtt-9">       ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).
    kdebug:search(cmr10.pfb) => /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb +class="ec-lmtt-9"> => /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb
    <cmr10.pfb>[1]
    @@ -5028,301 +4793,250 @@ class="ec-lmtt-9"><cmr10.pfb>[1]

    7.3 Runtime options

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

    -

    +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 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 - the format file

    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 + the format file hugetex.fmt. Using the standard way of specifying the program name used by Kpathsea, the particular value of the main_memory variable will then be read from texmf.cnf. -

    +

    extra_mem_bot
    -

    Extra space for “large” TEX data structures: boxes, glue, breakpoints, etc. Especially useful if - you use PI CTEX. -

    +

    Extra space for “large” TeX data structures: boxes, glue, breakpoints, etc. Especially useful if you + use PI CTeX. +

    font_mem_size
    -

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

    +

    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 10,000 control sequences +class="lmsy-10">≈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.

    +class="ec-lmtt-10">50000.

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

    +difficult to implement in the present TeX source, these runtime parameters provide a practical compromise +allowing some flexibility. +

    +

    7.4 $TEXMFDOTDIR

    In various places above, we gave various search paths starting with . (to search the current directory first), as -in

    +class="ec-lmtt-10">. (to search the current directory first), as +in

    -

    +

    TEXINPUTS=.;$TEXMF/tex//
    -

    This is a simplification. The texmf.cnf file we distribute in TEX Live uses

    This is a simplification. The texmf.cnf file we distribute in TeX Live uses $TEXMFDOTDIR instead of just -‘.’, as in:

    +‘.’, as in:

    -

    +

    TEXINPUTS=$TEXMFDOTDIR;$TEXMF/tex//
    -
    (In the distributed file, the second path element is also slightly more complicated than (In the distributed file, the second path element is also slightly more complicated than $TEXMF/tex//. But -that’s minor; here we want to discuss the $TEXMFDOTDIR feature.)

    The reason to use the variable $TEXMFDOTDIR in the path definitions instead of simply ‘.’ is purely so that -it can be overridden. For example, a complex document may have many source files arranged in many +class="ec-lmtt-10">$TEXMFDOTDIR in the path definitions instead of simply ‘.’ is purely so that +it can be overridden. For example, a complex document may have many source files arranged in many subdirectories. To handle that, you can set TEXMFDOTDIR to .// (for example, in the environment when you -build the document) and they will all get searched. (Warning: don’t use .// by default; it’s usually +build the document) and they will all get searched. (Warning: don’t use .// by default; it’s usually highly undesirable, and potentially insecure, to search through all subdirectories for an arbitrary document.) -

    As another example, you may wish not to search the current directory at all, e.g., if you have arranged for -all the files to be found via explicit paths. You can set

    As another example, you may wish not to search the current directory at all, e.g., if you have arranged for +all the files to be found via explicit paths. You can set $TEXMFDOTDIR to, say, /nonesuch or any other nonexistent directory for this. -

    The default value of $TEXMFDOTDIR is just ‘.’, as set in our

    The default value of $TEXMFDOTDIR is just ‘.’, as set in our texmf.cnf. -

    +

    +

    8 Acknowledgements

    -

    TEX Live is a joint effort by virtually all of the TEX user groups. This edition of TEX Live was overseen by -Karl Berry. The other principal contributors, past and present, are listed below. +

    TeX Live is a joint effort by virtually all of the TeX user groups. This edition of TeX Live was overseen by Karl +Berry. The other principal contributors, past and present, are listed below. +

      -
    • The English, German, Dutch, and Polish TEX user groups (TUG, DANTE e.V., NTG, and GUST, +
    • The English, German, Dutch, and Polish TeX user groups (TUG, DANTE e.V., NTG, and GUST, respectively), which provide the necessary technical and administrative infrastructure. Please join - the TEX user group near you! (See https://tug.org/usergroups.html.)
    • The CTAN team (https://ctan.org), which distributes the TEX Live images and provides the - common infrastructure for package updates, upon which TEX Live depends. +class="ec-lmtt-10">https://ctan.org), which distributes the TeX Live images and provides the + common infrastructure for package updates, upon which TeX Live depends.
    • -
    • Nelson Beebe, for making many platforms available to TEX Live developers, and his own - comprehensive testing and unparalleled bibliographic efforts. +
    • Nelson Beebe, for making many platforms available to TeX Live developers, and his own + comprehensive testing and unparalleled bibliographic efforts.
    • John Bowman, for making many changes to his advanced graphics program Asymptote to make - it work in TEX Live. + it work in TeX Live.
    • -
    • Peter Breitenlohner and the e-TEX team for the stable foundation of future TEX’s, and Peter - specifically for years of stellar help with GNU autotools and keeping sources up to date. Peter +
    • Peter Breitenlohner and the e-TeX team for the stable foundation of future TeX’s, and Peter + specifically for years of stellar help with GNU autotools and keeping sources up to date. Peter passed away in October 2015, and we dedicate the continuing work to his memory.
    • Jin-Hwan Cho and all of the DVIPDFMx team, for their excellent driver and responsiveness to - configuration issues. + configuration issues.
    • -
    • Thomas Esser, without whose marvelous teTEX package TEX Live would have never existed. +
    • Thomas Esser, without whose marvelous teTeX package TeX Live would have never existed.
    • Michel Goossens, who co-authored the original documentation.
    • -
    • Eitan Gurari, whose TEX4ht is used to create the HTML version of this documentation, and who +
    • Eitan Gurari, whose TeX4ht is used to create the HTML version of this documentation, and who worked tirelessly to improve it at short notice, every year. Eitan prematurely passed away in June 2009, and we dedicate this documentation to his memory.
    • -
    • Hans Hagen, for much testing and making his ConTEXt package (Hans Hagen, for much testing and making his ConTeXt package (https://pragma-ade.com) - work within TEX Live’s framework, and continually driving TEX development. + work within TeX Live’s framework, and continually driving TeX development.
    • -
    • Hn Thế Thnh, Martin Schrder, and the pdfTEX team (Hàn Thế Thành, Martin Schröder, and the pdfTeX team (http://pdftex.org), for continuing - enhancements of TEX’s abilities. +class="ec-lmtt-10">http://pdftex.org), for + continuing enhancements of TeX’s abilities.
    • -
    • Hartmut Henkel, for significant development contributions to pdfTEX LuaTEX, and more. +
    • Hartmut Henkel, for significant development contributions to pdfTeX LuaTeX, and more.
    • + +
    • Shunshaku Hirata, for much original and continuing on DVIPDFMx.
    • - - -
    • Taco Hoekwater, - for major renewed development efforts on MetaPost and (Lua)TEX (Taco Hoekwater, for major renewed development efforts + on MetaPost and (Lua)TeX (http://luatex.org) itself, - incorporating ConTEXt into TEX Live, giving Kpathsea multi-threaded functionality, and much - more. +class="ec-lmtt-10">http://luatex.org) itself, incorporating ConTeXt into TeX Live, + giving Kpathsea multi-threaded functionality, and much more.
    • -
    • Khaled Hosny, for substantial work on XeTEX, DVIPDFMx, and efforts with Arabic and other +
    • Khaled Hosny, for substantial work on XeTeX, DVIPDFMx, and efforts with Arabic and other fonts.
    • -
    • Paweł Jackowski, for the Windows installer tlpm, and Tomasz Łuczak, for Paweł Jackowski, for the Windows installer tlpm, and Tomasz Łuczak, for tlpmgui, used in past releases.
    • Akira Kakuto, for providing the Windows binaries from his W32TEX distribution for Japanese - TEX (http://w32tex.org), and many other development contributions.
    • -
    • Jonathan Kew, for developing the remarkable XeTEX engine and taking the time and trouble to - integrate it in TEX Live, as well as the initial version of the MacTEX installer, and also for our - recommended front-end TEXworks. +
    • Jonathan Kew, for developing the remarkable XeTeX engine and taking the time and trouble to + integrate it in TeX Live, as well as the initial version of the MacTeX installer, and also for our + recommended front-end TeXworks.
    • -
    • Hironori Kitagawa, for much work on pTEX and related support. +
    • Hironori Kitagawa, for much work on pTeX and related support.
    • -
    • Dick Koch, for maintaining MacTEX (Dick Koch, for maintaining MacTeX (https://tug.org/mactex) in very close tandem with TEX +class="ec-lmtt-10">https://tug.org/mactex) in very close tandem with TeX Live, and for his great good cheer in doing so.
    • -
    • Reinhard Kotucha, for major contributions to the TEX Live 2008 infrastructure and installer, as - well as Windows research efforts, the Reinhard Kotucha, for major contributions to the TeX Live 2008 infrastructure and installer, as + well as Windows research efforts, the getnonfreefonts script, and more.
    • -
    • Siep Kroonenberg, also for major contributions to the TEX Live 2008 infrastructure and installer, +
    • Siep Kroonenberg, also for major contributions to the TeX Live 2008 infrastructure and installer, especially on Windows, and for the bulk of work updating this manual describing those features.
    • -
    • Clerk Ma, for engine bug fixes and extensions. +
    • Clerk Ma, for engine bug fixes and extensions.
    • -
    • Mojca Miklavec, for much help with ConTEXt, building many binary sets, and plenty more. +
    • Mojca Miklavec, for much help with ConTeXt, building many binary sets, and plenty more.
    • Heiko Oberdiek, for the epstopdf package and many others, compressing the huge pst-geo data - files so we could include them, and most of all, for his remarkable work on hyperref.
    • Phelype Oleinik, for the group-delimited \input across engines in 2020, and more.
    • -
    • Petr Olšak, who coordinated and checked all the Czech and Slovak material very carefully. +
    • Petr Olšak, who coordinated and checked all the Czech and Slovak material very carefully.
    • Toshio Oshima, for his dviout previewer for Windows.
    • -
    • Manuel Pgouri-Gonnard, for helping with package updates, documentation improvements, and - Manuel Pégourié-Gonnard, for helping with package updates, documentation improvements, + and texdoc development.
    • -
    • Fabrice Popineau, for the original Windows support in TEX Live and work on the French +
    • Fabrice Popineau, for the original Windows support in TeX Live and work on the French documentation.
    • -
    • Norbert Preining, the principal architect of the current TEX Live infrastructure and installer, and - also for coordinating the Debian version of TEX Live (together with Frank Kster), and doing so - much work along the way. +
    • Norbert Preining, the principal architect of the current TeX Live infrastructure and installer, and + also for coordinating the Debian version of TeX Live (together with Frank Küster), and doing + so much work along the way.
    • -
    • Sebastian Rahtz, for originally creating TEX Live and maintaining it for many years. Sebastian +
    • Sebastian Rahtz, for originally creating TeX Live and maintaining it for many years. Sebastian passed away in March 2016, and we dedicate the continuing work to his memory.
    • -
    • Luigi Scarso, for continuing development of MetaPost, LuaTEX, and much more. +
    • Luigi Scarso, for continuing development of MetaPost, LuaTeX, and much more.
    • Andreas Scherer, for cwebbin, the CWEB implementation used in TEX Live. +class="ec-lmtt-10">cwebbin, the CWEB implementation used in TeX Live.
    • -
    • Tomasz Trzeciak, for wide-ranging help with Windows. +
    • Tomasz Trzeciak, for wide-ranging help with Windows.
    • Vladimir Volovich, for substantial help with porting and other maintenance issues, and especially for making it feasible to include xindy.
    • -
    • Staszek Wawrykiewicz, a principal tester for all of TEX Live, and coordinator of the many major +
    • Staszek Wawrykiewicz, a principal tester for all of TeX Live, and coordinator of the many major Polish contributions: fonts, Windows installation, and more. Staszek passed away in February 2018, and we dedicate the continuing work to his memory.
    • -
    • Olaf Weber, for his patient maintenance of Web2C in past years. +
    • Olaf Weber, for his patient maintenance of Web2C in past years.
    • -
    • Gerben Wierda, for creating and maintaining the original Mac OS X support. +
    • Gerben Wierda, for creating and maintaining the original Mac OS X support.
    • -
    • Graham Williams, the originator of the TEX Catalogue. +
    • Graham Williams, the originator of the TeX Catalogue.
    • Joseph Wright, for much work on making the same primitive functionality available across engines.
    • -
    • Hironobu Yamashita, for much work on pTEX and related support. +
    • Hironobu Yamashita, for much work on pTeX and related support.

    Builders of the binaries: Marc Baudoin (amd64-netbsd, armhf-linux), Johannes Hielscher (aarch64-linux), Akira Kakuto (win32), Dick Koch (x86_64-darwin), Nikola Lečić (x86_64-darwin), Nikola Lečić (amd64-freebsd, i386-freebsd), Henri Menke (i386-solaris, x86_64-solaris, sparc-solaris), Norbert Preining (x86_64-linux). For information on the TEX Live build process, see +class="ec-lmss-10">x86_64-linux). For information on the TeX Live build process, see https://tug.org/texlive/build.html. -

    Translators of this manual: Denis Bitouz & Patrick Bideault (French), Carlos Enriquez Figueras -(Spanish), Jjgod Jiang, Jinsong Zhao, Yue Wang, & Helin Gai (Chinese), Nikola Lečić (Serbian), Marco -Pallante & Carla Maggi (Italian), Petr Sojka & Jan Busa (Czech/Slovak), Boris Veytsman (Russian), -Zofia Walczak (Polish), Uwe Ziegenhagen (German). The TEX Live documentation web page is +

    Translators of this manual: Denis Bitouzé & Patrick Bideault (French), Carlos Enriquez Figueras +(Spanish), Jjgod Jiang, Jinsong Zhao, Yue Wang, & Helin Gai (Chinese), Nikola Lečić (Serbian), Marco +Pallante & Carla Maggi (Italian), Petr Sojka & Jan Busa (Czech/Slovak), Boris Veytsman (Russian), +Zofia Walczak (Polish), Uwe Ziegenhagen (German). The TeX Live documentation web page is https://tug.org/texlive/doc.html. -

    Of course the most important acknowledgement must go to Donald Knuth, first for inventing TEX, and +

    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 TEX Users Group was starting work on its 4AllTEX CD for +

    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 -ambitious a target for the time, but it did spawn not only the very successful 4AllTEX CD, but also the TUG -Technical Council working group on a TEX Directory Structure (TeX Directory Structure (https://tug.org/tds), which specified how -to create consistent and manageable collections of TEX support files. A complete draft of the TDS was +class="ec-lmtt-10">https://tug.org/tds), which specified how +to create consistent and manageable collections of TeX support files. A complete draft of the TDS was published in the December 1995 issue of TUGboat, and it was clear from an early stage that one desirable product would be a model structure on CD. The distribution you now have is a very direct result of the -working group’s deliberations. It was also clear that the success of the 4AllTEX CD showed that -Unix users would benefit from a similarly easy system, and this is the other main strand of TEX +working group’s deliberations. It was also clear that the success of the 4AllTeX 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 -Thomas Esser’s teTEX as the ideal setup, as it already had multi-platform support and was built with -portability across file systems in mind. Thomas agreed to help, and work began seriously at the start of 1996. -The first edition was released in May 1996. At the start of 1997, Karl Berry completed a major new release of -Web2c, which included nearly all the features which Thomas Esser had added in teTEX, and we decided to -base the 2nd edition of the CD on the standard Web2C, with the addition of teTEX’s

    We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified +Thomas Esser’s teTeX as the ideal setup, as it already had multi-platform support and was built with +portability across file systems in mind. Thomas agreed to help, and work began seriously at the start of 1996. +The first edition was released in May 1996. At the start of 1997, Karl Berry completed a major new release of +Web2c, which included nearly all the features which Thomas Esser had added in teTeX, and we decided to +base the 2nd edition of the CD on the standard Web2C, with the addition of teTeX’s texconfig script. -The 3rd edition of the CD was based on a major revision of Web2C, 7.2, by Olaf Weber; at the -same time, a new revision of teTEX was being made, and TEX Live included almost all of its -features. The 4th edition followed the same pattern, using a new version of teTEX, and a new +The 3rd edition of the CD was based on a major revision of Web2C, 7.2, by Olaf Weber; at the +same time, a new revision of teTeX was being made, and TeX Live included almost all of its +features. The 4th edition followed the same pattern, using a new version of teTeX, and a new release of Web2C (7.3). The system now included a complete Windows setup, thanks to Fabrice Popineau. -

    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 TEX Live is now intended to be compatible with the +

    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 TeX Live is now intended to be compatible with the Debian Free Software Guidelines (https://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 -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. -

    +

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

    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, p. 7). In addition: +

      -
    • At the request of the LATEX team, we changed the standard At the request of the LaTeX team, we changed the standard latex and pdflatex commands to - now use e-TEX (see p. pdflatex commands to now + use e-TeX (see p. 10).
    • The new Latin Modern fonts were included (and are recommended). @@ -5453,14 +5146,13 @@ href="#x1-120002.4">10).
    • Support for Alpha OSF was removed (HPUX support was removed previously), since no one had (or volunteered) hardware available on which to compile new binaries.
    • -
    • Windows setup was substantially changed; for the first time an integrated environment based on +
    • Windows setup was substantially changed; for the first time an integrated environment based on XEmacs was introduced.
    • Important supplementary programs for Windows (Perl, Ghostscript, ImageMagick, Ispell) are now - installed in the TEX Live installation directory. + installed in the TeX Live installation directory.
    • -
    • Font map files used by Font map files used by dvips, dvipdfm and pdftex are now generated by the new program updmap and installed into texmf/fonts/map.
    • -
    • TEX, Metafont, and MetaPost now, by default, output most input characters (32 and above) as +
    • TeX, Metafont, and MetaPost now, by default, output most input characters (32 and above) as themselves in output (e.g., \write) files, log files, and the terminal, i.e., \write) files, log files, and the terminal, i.e., not translated using the ^^ notation. In TEX Live 7, this translation was dependent on the system locale settings; now, - locale settings do not influence the TEX programs’ behavior. If for some reason you need the +class="ec-lmtt-10">^^ notation. In TeX Live 7, this translation was dependent on the system locale settings; now, + locale settings do not influence the TeX programs’ behavior. If for some reason you need the ^^ output, rename the file ^^ output, rename the file texmf/web2c/cp8bit.tcx. (Future releases will have cleaner ways to control this.)
    • This documentation was substantially revised.
    • -
    • Finally, since the edition numbers had grown unwieldy, the version is now simply identified by the - year: TEX Live 2003.
    +
  • Finally, since the edition numbers had grown unwieldy, the version is now simply identified by the + year: TeX Live 2003.
  • + +

    +

    9.1.2 2004

    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. + files, you may need to move those support files.

      .map files are now searched for in subdirectories of .map files are now searched for in subdirectories of fonts/map only (in each texmf tree), along the TEXFONTMAPS path. Similarly, .enc files are now searched for in subdirectories of .enc files are now searched for in subdirectories of 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 +class="ec-lmss-10">updmap will attempt to warn about problematic files. +

      For methods of handling this and other information, please see https://tug.org/texlive/mapenc.html. -

    • -
    • The TEX Collection has been expanded with the addition of a MiKTEX-based installable CD, - for those who prefer that implementation to Web2C. See section 
    • +
    • The TeX Collection has been expanded with the addition of a MiKTeX-based installable CD, for + those who prefer that implementation to Web2C. See section 2 (p. 7).
    • -
    • Within TEX Live, the single large Within TeX Live, the single large texmf tree of previous releases has been replaced by three: texmf, texmf-dist, and texmf-doc. See section texmf-doc. See section 2.2 (p. 7), and the README files for each. +class="ec-lmtt-10">README files for each.
    • -
    • All TEX-related input files are now collected in the All TeX-related input files are now collected in the tex subdirectory of texmf* trees, rather than having separate sibling directories scripts subdirectory of texmf* trees, and can be searched for via kpsewhich -format=texmfscripts. - So if you have programs which call such scripts, they’ll need to be adjusted. See +class="ec-lmtt-10"> -format=texmfscripts. + So if you have programs which call such scripts, they’ll need to be adjusted. See texmf-dist/doc/generic/tds/tds.html#Scripts.
    • -
    • Almost all formats leave most characters printable as themselves via the “translation file” +
    • Almost all formats leave most characters printable as themselves via the “translation file” cp227.tcx, instead of translating them with the ^^ notation. Specifically, characters at - positions 32–256, plus tab, vertical tab, and form feed are considered printable and not - translated. The exceptions are plain TEX (only 32–126 printable), ConTEXt (0–255 printable), - and the Omega-related formats. This default behavior is almost the same as in TEX Live - 2003, but it’s implemented more cleanly, with more possibilities for customization. See +class="ec-lmtt-10">^^ notation. Specifically, characters at + positions 32–256, plus tab, vertical tab, and form feed are considered printable and not + translated. The exceptions are plain TeX (only 32–126 printable), ConTeXt (0–255 printable), + and the Omega-related formats. This default behavior is almost the same as in TeX Live + 2003, but it’s implemented more cleanly, with more possibilities for customization. See texmf-dist/doc/web2c/web2c.html#TCX-files. (By the way, with Unicode input, TEX may +class="ec-lmtt-10">texmf-dist/doc/web2c/web2c.html#TCX-files. (By the way, with Unicode input, TeX may output partial character sequences when showing error contexts, since it is byte-oriented.)
    • tex itself. (Of course it generates DVI when run as latex, etc.) This means, among other things, that the microtypographic features of pdftex are available in LATEX, ConTEXt, etc., as well as the e-TEX features +class="ec-lmss-10">pdftex are available in LaTeX, ConTeXt, 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 - LATEX) or equivalent code, because simply testing whether \pdfoutput or some other primitive - is defined is not a reliable way to determine if PDF output is being generated. We made this + is defined is not a reliable way to determine if PDF output is being generated. We made this backward compatible as best we could this year, but next year, \pdfoutput may be defined even +class="ec-lmtt-10">\pdfoutput may be defined even when DVI is being written. -

    • -
    • pdfTEX (
    • +
    • pdfTeX (http://pdftex.org) has many new features:
      • \pdfmapfile and \pdfmapline provide font map support from within a document. + +
      • Microtypographic font expansion can be used more easily.
        http://www.ntg.nl/pipermail/ntg-pdftex/2004-May/000504.html
      • -
      • All parameters previously set through the special configuration file All parameters previously set through the special configuration file pdftex.cfg must now be set through primitives, typically in pdftexconfig.tex; pdftex.cfg is no longer supported. Any extant .fmt files must be redumped when .fmt files must be redumped when pdftexconfig.tex is changed. - -
      • -
      • See the pdfTEX manual for more: See the pdfTeX manual for more: texmf-dist/doc/pdftex/manual/pdftex-a.pdf.
    • @@ -5637,48 +5313,42 @@ class="ec-lmss-10">mpost) now accepts double quotes containing spaces and
      \input "filename with spaces"   % plain
      \input{"filename with spaces"}  % latex
      + id="x1-73002r1">\input "filename with spaces"   % plain
      \input{"filename with spaces"}  % latex

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

  • encTEX support is now included within Web2C and consequently all TEX programs, via the
  • +
  • encTeX support is now included within Web2C and consequently all TeX programs, via the -enc - option — only when formats are built. encTEX supports general re-encoding of input and + option — only when formats are built. encTeX supports general re-encoding of input and output, enabling full support of Unicode (in UTF-8). See texmf-dist/doc/generic/enctex/ and http://olsak.net/enctex.html.
  • -
  • Aleph, a new engine combining e-TEX and Omega, is available. A little information is available in +
  • Aleph, a new engine combining e-TeX and Omega, is available. A little information is available in texmf-dist/doc/aleph/base and https://texfaq.org/FAQ-enginedev. The LATEX-based format for +class="ec-lmtt-10">https://texfaq.org/FAQ-enginedev. The LaTeX-based format for Aleph is named lamed.
  • -
  • The latest LATEX release has a new version of the LPPL — now officially a Debian-approved license. +
  • The latest LaTeX release has a new version of the LPPL — now officially a Debian-approved license. Assorted other updates, see the ltnews files in ltnews files in texmf-dist/doc/latex/base.
  • dvipng, a new program for converting DVI to PNG image files, is included. See dvipng, a new program for converting DVI to PNG image files, is included. See https://ctan.org/pkg/dvipng.
  • We reduced the cbgreek package to a “medium” sized set of fonts, with the assent and advice of the +class="ec-lmss-10">cbgreek package to a “medium” sized set 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 CTAN (sparc-solaris (at least), you may have to set the LD_LIBRARY_PATH environment variable to run the t1utils programs. This is because they are compiled with C++, and there is no standard location for the - runtime libraries. (This is not new in 2004, but wasn’t previously documented.) Similarly, on 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 stable from 2004, but inevitably there were some changes there as well: +

    • New scripts texconfig-sys, texconfig-sys, updmap-sys, and fmtutil-sys were introduced, which modify the - configuration in the system trees. The texconfig, texconfig, updmap, and fmtutil scripts now modify - user-specific files, under $HOME/.texlive2005. @@ -5738,34 +5410,32 @@ class="ec-lmtt-10">$HOME/.texlive2005.
    • Corresponding new variables TEXMFCONFIG and TEXMFSYSCONFIG to specify the trees where - configuration files (user or system, respectively) are found. Thus, you may need to move + configuration files (user or system, respectively) are found. Thus, you may need to move personal versions of fmtutil.cnf and updmap.cfg to these places; another option is to redefine +class="ec-lmtt-10">updmap.cfg to these places; another option is to redefine TEXMFCONFIG or TEXMFSYSCONFIG in texmf.cnf. In any case the real location of these files and +class="ec-lmtt-10">texmf.cnf. In any case the real location of these files and the values of TEXMFCONFIG and TEXMFSYSCONFIG must agree. See section TEXMFSYSCONFIG must agree. See section 2.3, p. 8.
    • Last year, we kept \pdfoutput and other primitives undefined for DVI output, even though the +class="ec-lmtt-10">\pdfoutput and other primitives undefined for DVI output, even though the pdfetex program was being used. This year, as promised, we undid that compatibility measure. So if your document uses \ifx\pdfoutput\undefined to test if PDF is being output, it will need to be changed. You can use the package ifpdf.sty (which works under both plain TEX and LATEX) +class="ec-lmss-10">ifpdf.sty (which works under both plain TeX and LaTeX) to do this, or steal its logic.
    • Last year, we changed most formats to output (8-bit) characters as themselves (see previous section). - The new TCX file empty.tcx now provides an easier way to get the original ^^ notation if you so desire, as in: @@ -5773,10 +5443,10 @@ class="ec-lmtt-10">^^ notation if you so desire,
      latex --translate-file=empty.tcx yourfile.tex
      + id="x1-74002r1">latex --translate-file=empty.tcx yourfile.tex

    - +

  • The new program dvipdfmx is included for translation of DVI to PDF; this is an actively maintained update of dvipdfm (which is also still available for now, though
  • The new programs pdfopen and pdfclose are included to allow reloading of PDF files in the Adobe +class="ec-lmss-10">pdfclose are included to allow reloading of PDF files in the Adobe Acrobat Reader without restarting the program. (Other PDF readers, notably xpdf, gv, and gsview, have - never suffered from this problem.) + never suffered from this problem.)
  • For consistency, the variables HOMETEXMF and VARTEXMF have been renamed to TEXMFHOME and TEXMFSYSVAR, respectively. There is also TEXMFVAR, which is by default user-specific. See the first point +class="ec-lmtt-10">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 TEX Live was the XeTEX program, available as the 2006–2007 +

    In 2006–2007, the major new addition to TeX Live was the XeTeX program, available as the xetex and xelatex programs; see https://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 (https://tug.org/metapost/articles), -likewise pdfTEX (https://tug.org/applications/pdftex). -

    The TEX .fmt (high-speed format) and the similar files for MetaPost and Metafont are now stored in +

    The TeX .fmt (high-speed format) and the similar files for MetaPost and Metafont are now stored in subdirectories of texmf/web2c, instead of in the directory itself (although the directory is still searched, for the sake of existing .fmt’s). The subdirectories are named for the ‘engine’ in use, such as .fmt’s). The subdirectories are named for the ‘engine’ in use, such as 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, +class="ec-lmtt-10">%& 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, please check CTAN (https://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 +

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

    Finally, in May 2006 Thomas Esser announced that he would no longer be updating teTeX (https://tug.org/tetex). As a result, there was a surge of interest in TEX Live, especially among +class="ec-lmtt-10">https://tug.org/tetex). As a result, there was a surge of interest in TeX Live, especially among GNU/Linux distributors. (There is a new tetex installation scheme in TEX Live, which provides an -approximate equivalent.) We hope this will eventually translate to improvements in the TEX environment for +class="ec-lmtt-10">tetex installation scheme in TeX 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 TEX Live infrastructure was redesigned and reimplemented. Complete information about -an installation is now stored in a plain text file

    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 TEX Live installation over the Internet after -the initial installation, a feature MiKTEX has provided for many years. We expect to regularly update new +

    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 LuaTEX (

    The major new engine LuaTeX (http://luatex.org) is included; besides a new level of flexibility +class="ec-lmtt-10">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 -Perl and Lua scripts are now available on Windows, using the Perl internally distributed with TEX -Live. +TeX documents. -

    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

    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 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 tlmgr, the texconfig actions to edit the format and hyphenation configuration files are +class="ec-lmss-10">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 kpsewhich tool can now report all matches for a given file (option –all) and limit matches to a given +

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

    The –subdir). +

    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 +class="ec-lmtt-10">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 platex format has been removed, to resolve a name conflict with a completely different Japanese

    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 WEB string pool files are now compiled into the binaries, to ease upgrades. -

    Finally, the changes made by Donald Knuth in his ‘TEX tuneup of 2008’ are included in this release. See +

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

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

    +

    +

    9.1.6 2009

    In 2009, the default output format for Lua(LA )TEX is now PDF, to take advantage of LuaTEX’s OpenType +class="ec-lmr-7">A )TeX is now PDF, to take advantage of LuaTeX’s OpenType support, et al. New executables named dviluatex and dvilualatex run LuaTEX with DVI output. The -LuaTEX home page is dvilualatex run LuaTeX with DVI output. The +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 https://tug.org/TUGboat/Articles/tb29-2/tb92hagen-euler.pdfhttps://ams.org/tex/amsfonts.html. -

    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,

    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, https://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 +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 description language vaguely akin to MetaPost, but with advanced 3D support and other features. Its home page is https://asymptote.sourceforge.io. -

    The separate

    The separate dvipdfm program has been replaced by dvipdfmx, which operates in a special compatibility mode under that name. dvipdfmx includes CJK support and has accumulated many other fixes over the years +class="ec-lmtt-10">dvipdfmx includes CJK support and has accumulated many other fixes over the years since the last dvipdfm release. -

    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 +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 (https://tukaani.org/xz/); a literal $ is allowed in filenames when it does not introduce a known variable -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 TEX Live, along with ancillary material such as CD labels, are +class="ec-lmtt-10">$ is allowed in filenames when it does not introduce a known variable +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 TeX Live, along with ancillary material such as CD labels, are available at ftp://tug.org/historic/systems/texlive. -

    +

    +

    + +
    9.1.7 2010

    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 pdf14 LATEX package changes back -to PDF 1.4, or set pdf14 LaTeX package changes back to +PDF 1.4, or set \pdfminorversion=4. - - -

    pdf(LA )TEX now automatically converts a requested Encapsulated PostScript (EPS) file to PDF, via the +

    pdf(LA )TeX now automatically converts a requested Encapsulated PostScript (EPS) file to PDF, via the epstopdf package, when and if the LATEX graphics.cfg configuration file is loaded, and PDF is +class="ec-lmss-10">epstopdf package, when and if the LaTeX graphics.cfg configuration file is loaded, and PDF is being output. The default options are intended to eliminate any chance of hand-created PDF -files being overwritten, but you can also prevent epstopdf from being loaded at all by putting \newcommand{\DoNotLoadEpstopdf}{} (or epstopdf package documentation (https://ctan.org/pkg/epstopdf-pkg). -

    A related change is that execution of a very few external commands from TEX, via the

    A related change is that execution of a very few external commands from TeX, via the \write18 feature, is now enabled by default. These commands are repstopdf, makeindex, kpsewhich, bibtex, and bibtex8; the -list is defined in texmf.cnf. Environments which must disallow all such external commands can deselect -this option in the installer (see section 3.2.4), or override the value after installation by running tlmgr conf texmf shell_escape 0. -

    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 +class="ec-lmtt-10"> conf texmf shell_escape 0. +

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

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

    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 package updates can be easily reverted with tlmgr restore. If you do post-install updates, and don’t +class="ec-lmtt-10">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 pTEX engine and related utilities for typesetting Japanese; the BibTeXU program +

    New programs included: the pTeX engine and related utilities for typesetting Japanese; the BibTeXU program for Unicode-enabled BibTeX; the chktex utility (originally from http://baruch.ev-en.org/proj/chktex) for checking (LA )TEX documents; the A )TeX documents; the dvisvgm (https://dvisvgm.de) 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, @@ -6082,95 +5718,90 @@ class="ec-lmtt-10">i386-freebsd, class="ec-lmtt-10">i386-kfreebsd, x86_64-darwin, x86_64-solaris. -

    A change in TEX Live 2009 that we failed to note: numerous TEX4ht-related executables +

    A change in TeX Live 2009 that we failed to note: numerous TeX4ht-related executables (https://tug.org/tex4ht) were removed from the binary directories. The generic mk4ht program can be used to run any of the various tex4ht combinations. -

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

    +

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

    The Mac OS X binaries (

    The Mac OS X binaries (universal-darwin and x86_64-darwin) now work only on Leopard or later; Panther and Tiger are no longer supported. -

    The

    The biber program for bibliography processing is included on common platforms. Its development is closely coupled with the biblatex package, which completely reimplements the bibliographical facilities provided by LaTeX. -

    The MetaPost (

    The MetaPost (mpost) program no longer creates or uses .mem files. The needed files, such as .mem files. The needed files, such as plain.mp, are -simply read on every run. This is related to supporting MetaPost as a library, which is another significant +simply read on every run. This is related to supporting MetaPost as a library, which is another significant though not user-visible change. -

    The

    The updmap implementation in Perl, previously used only on Windows, has been revamped and is now used -on all platforms. There shouldn’t be any user-visible changes as a result, except that it runs much +on all platforms. There shouldn’t be any user-visible changes as a result, except that it runs much faster. -

    The

    The initex and inimf programs were restored (but no other ini* variants). -

    +

    +

    9.1.9 2012
    + +

    tlmgr supports updates from multiple network repositories. The section on multiple repositories in the tlmgr help output has more. -

    The parameter \XeTeXdashbreakstate is set to 1 by default, for both

    The parameter \XeTeXdashbreakstate is set to 1 by default, for both xetex and xelatex. This allows line -breaks after em-dashes and en-dashes, which has always been the behavior of plain TEX, LATEX, LuaTEX, -etc. Existing XeTEX documents which must retain perfect line-break compatibility will need to set +breaks after em-dashes and en-dashes, which has always been the behavior of plain TeX, LaTeX, LuaTeX, etc. +Existing XeTeX documents which must retain perfect line-break compatibility will need to set \XeTeXdashbreakstate to 0 explicitly. -

    The output files generated by \XeTeXdashbreakstate to 0 explicitly. +

    The output files generated by pdftex and dvips, among others, can now exceed 2 gigabytes. - - -

    The 35 standard PostScript fonts are included in the output of dvips by default, since so many different +

    The 35 standard PostScript fonts are included in the output of dvips by default, since so many different versions of them are extant. -

    In the restricted

    In the restricted \write18 execution mode, set by default, mpost is now an allowed program. -

    A texmf.cnf file is also found in

    A texmf.cnf file is also found in ../texmf-local, e.g., /usr/local/texlive/texmf-local/web2c/texmf.cnf, if it exists. -

    The

    The updmap script reads a per-tree updmap.cfg instead of one global config. This change should be -invisible, unless you edited your updmap.cfg’s directly. The updmap.cfg instead of one global config. This change should be +invisible, unless you edited your updmap.cfg’s directly. The updmap --help output has more. -

    Platforms:  --help output has more. +

    Platforms: armel-linux and mipsel-linux added; sparc-linux and i386-netbsd are no longer in the main distribution. -

    +

    +

    9.1.10 2013

    Distribution layout: the top-level texmf-dist/, for simplicity. Both the class="ec-lmtt-10">TEXMFMAIN and TEXMFDIST Kpathsea variables now point to texmf-dist. -

    Many small language collections have been merged together, to simplify installation. -

    MetaPost: native support for PNG output and floating-point (IEEE double) has been added. -

    LuaTEX: updated to Lua 5.2, and includes a new library (

    Many small language collections have been merged together, to simplify installation. +

    MetaPost: native support for PNG output and floating-point (IEEE double) has been added. +

    LuaTeX: updated to Lua 5.2, and includes a new library (pdfscanner) to process external PDF page content, among much else (see its web pages). -

    XeTEX (also see its web pages for more): +

    XeTeX (also see its web pages for more):

    • The HarfBuzz library is now used for font layout instead of ICU. (ICU is still used to support input encodings, bidirectionality, and the optional Unicode line breaking.) @@ -6198,54 +5827,51 @@ class="E">EX (also see its web pages for more):
    • Prefer TrueType/OpenType fonts to Type1 when the names are the same.
    • -
    • Fix occasional mismatch in font finding between XeTEX and Fix occasional mismatch in font finding between XeTeX and xdvipdfmx.
    • Support OpenType math cut-ins.

    xdvi: now uses FreeType instead of t1lib for rendering. -

    microtype.sty: some support for XeTEX (protrusion) and LuaTEX (protrusion, font expansion, tracking), +

    microtype.sty: some support for XeTeX (protrusion) and LuaTeX (protrusion, font expansion, tracking), among other enhancements. -

    tlmgr: new pinning action to ease configuring multiple repositories; that section in pinning action to ease configuring multiple repositories; that section in tlmgr --help has +class="ec-lmtt-10"> --help has more, online at https://tug.org/texlive/doc/tlmgr.html#MULTIPLE-REPOSITORIES. -

    Platforms:

    Platforms: armhf-linux, mips-irix, i386-netbsd, and amd64-netbsd added or revived; powerpc-aix removed. -

    +

    +

    9.1.11 2014
    -

    2014 saw another TEX tune-up from Knuth; this affected all engines, but the only visible change likely is the +

    2014 saw another TeX tune-up from Knuth; this affected all engines, but the only visible change likely is the restoration of the preloaded format string on the banner line. Per Knuth, this now reflects the format that +class="ec-lmtt-10">preloaded format string on the banner line. Per Knuth, this now reflects the format that would be loaded by default, rather than an undumped format that is actually preloaded in the binary; it may be overridden in various ways. -

    pdfTEX: new warning-suppression parameter

    pdfTeX: new warning-suppression parameter \pdfsuppresswarningpagegroup; new primitives for fake -interword spaces to help with PDF text reflowing: \pdfinterwordspaceon, \pdfinterwordspaceoff, \pdffakespace. -

    LuaTEX: Notable changes and fixes were made to font loading and hyphenation. The biggest addition is a +

    LuaTeX: Notable changes and fixes were made to font loading and hyphenation. The biggest addition is a new engine variant, luajittex and its siblings texluajit and https://tug.org/TUGboat/tb34-1/tb106scarso.pdf). < class="ec-lmtt-10">luajittex is still in development, is not available on all platforms, and is considerably less stable than luatex. Neither we -nor its developers recommend using it except for the specific purpose of experimenting with jit on Lua +nor its developers recommend using it except for the specific purpose of experimenting with jit on Lua code. - - -

    XeTEX: The same image formats are now supported on all platforms (including Mac); avoid Unicode +

    XeTeX: The same image formats are now supported on all platforms (including Mac); avoid Unicode compatibility decomposition fallback (but not other variants); prefer OpenType to Graphite fonts, for -compatibility with previous XeTEX versions. -

    MetaPost: A new numbersystem

    MetaPost: A new numbersystem decimal is supported, along with a companion internal numberprecision; -a new definition of drawdot in plain.mp, per Knuth; bug fixes in SVG and PNG output, among +class="ec-lmtt-10">plain.mp, per Knuth; bug fixes in SVG and PNG output, among others. -

    The pstopdf ConTEXt utility will be removed as a standalone command at some point after the release, -due to conflicts with OS utilities of the same name. It can still (and now) be invoked as mtxrun –script +

    The pstopdf ConTeXt utility will be removed as a standalone command at some point after the release, due +to conflicts with OS utilities of the same name. It can still (and now) be invoked as mtxrun –script pstopdf. -

    psutils has been substantially revised by a new maintainer. As a result, several seldom-used utilities (fix*, scripts/ directory rather than being user-level executables (this can be reversed if it turns out to be problematic). A new script, psjoin, has been added. -

    The MacTEX redistribution of TEX Live (section 3.1.2) no longer includes the optional Mac-only -packages for the Latin Modern and TEX Gyre fonts, since it is easy enough for individual users to make them -available to the system. The convert program from ImageMagick has also been excised, since TEX4ht -(specifically

    The MacTeX redistribution of TeX Live (section 3.1.2) no longer includes the optional Mac-only packages +for the Latin Modern and TeX Gyre fonts, since it is easy enough for individual users to make them available +to the system. The convert program from ImageMagick has also been excised, since TeX4ht (specifically +tex4ht.env) now uses Ghostscript directly. -

    The

    The langcjk collection for Chinese, Japanese, and Korean support has been split into individual language collections for the sake of more moderate sizes. -

    Platforms:

    Platforms: x86_64-cygwin added, mips-irix removed; Microsoft no longer supports Windows XP, so our programs may start failing there at any time. -

    +

    +

    9.1.12 2015
    -

    LaTeX2e now incorporates, by default, changes previously included only by explicitly loading the fixltx2e +

    LaTeX2e now incorporates, by default, changes previously included only by explicitly loading the fixltx2e package, which is now a no-op. A new latexrelease package and other mechanisms allow for controlling what is -done. The included LATEX News #22 and “LATEX changes” documents have details. Incidentally, the babel and psnfss packages, while core parts of LATEX, are maintained separately and are not affected by these +class="ec-lmss-10">psnfss packages, while core parts of LaTeX, are maintained separately and are not affected by these changes (and should still work). -

    Internally, LaTeX2e now includes Unicode-related engine configuration (what characters are letters, -naming of primitives, etc.) which was previously part of TEX Live. This change is intended to be invisible to +

    Internally, LaTeX2e now includes Unicode-related engine configuration (what characters are letters, +naming of primitives, etc.) which was previously part of TeX Live. This change is intended to be invisible to users; a few low-level internal control sequences have been renamed or removed, but the behavior should be just the same. -

    pdfTEX: Support JPEG Exif as well as JFIF; do not emit a warning if

    pdfTeX: Support JPEG Exif as well as JFIF; do not emit a warning if \pdfinclusionerrorlevel is negative; sync with xpdf 3.04. -

    LuaTEX: New library newtokenlib for scanning tokens; bug fixes in the xpdf 3.04. +

    LuaTeX: New library newtokenlib for scanning tokens; bug fixes in the normal random number generator and other places. -

    XeTEX: Image handling fixes; xdvipdfmx binary looked for first as a sibling to

    XeTeX: Image handling fixes; xdvipdfmx binary looked for first as a sibling to xetex; internal XDV opcodes changed. -

    MetaPost: New numbersystem

    MetaPost: New numbersystem binary; new Japanese-enabled upmpost and updvitomp programs, analogous to up*tex. -

    MacTEX: Updates to the included Ghostscript package for CJK support. The TEX Distribution -Preference Pane now works in Yosemite (Mac OS X 10.10). Resource-fork font suitcases (generally -without an extension) are no longer supported by XeTEX; data-fork suitcases (

    MacTeX: Updates to the included Ghostscript package for CJK support. The TeX Distribution +Preference Pane now works in Yosemite (Mac OS X 10.10). Resource-fork font suitcases (generally +without an extension) are no longer supported by XeTeX; data-fork suitcases (.dfont) remain supported. -

    Infrastructure: The

    Infrastructure: The fmtutil script has been reimplemented to read fmtutil.cnf on a per-tree basis, analogous to mktextfm, mktexpk) now prefer programs in their own directory, instead of always using the existing PATH. -

    Platforms: *-kfreebsd removed, since TEX Live is now easily available through the system + + +

    Platforms: *-kfreebsd removed, since TeX Live is now easily available through the system platform mechanisms. Support for some additional platforms is available as custom binaries (https://tug.org/texlive/custom-bin.html). In addition, some platforms are now omitted from the -DVD (simply to save space), but can be installed normally over the net. -

    +DVD (simply to save space), but can be installed normally over the net. +

    +

    9.1.13 2016
    -

    LuaTEX: Sweeping changes to primitives, both renames and removals, along with some node structure -rearrangements. The changes are summarized in an article by Hans Hagen, “LuaTEX 0.90 backend changes for - - -PDF and more” (

    LuaTeX: Sweeping changes to primitives, both renames and removals, along with some node structure +rearrangements. The changes are summarized in an article by Hans Hagen, “LuaTeX 0.90 backend changes for +PDF and more” (https://tug.org/TUGboat/tb37-1/tb115hagen-pdf.pdf); for all the details, see the -LuaTEX manual, texmf-dist/doc/luatex/base/luatex.pdf. -

    Metafont: New highly experimental sibling programs MFlua and MFluajit, integrating Lua with Metafont, +

    Metafont: New highly experimental sibling programs MFlua and MFluajit, integrating Lua with Metafont, for trial testing purposes. -

    MetaPost: Bug fixes and internal preparations for MetaPost 2.0. -

    SOURCE_DATE_EPOCH support in all engines except LuaTEX (which will come in the next release) and +

    MetaPost: Bug fixes and internal preparations for MetaPost 2.0. +

    SOURCE_DATE_EPOCH support in all engines except LuaTeX (which will come in the next release) and original tex (intentionally omitted): if the environment variable SOURCE_DATE_EPOCH is set, its value is used for timestamps in the PDF output. If SOURCE_DATE_EPOCH_TEX_PRIMITIVES is also set, the SOURCE_DATE_EPOCH -value is used to initialize the TEX primitives \year, \month, \day, \time. The pdfTEX manual has examples +class="ec-lmtt-10">\time. The pdfTeX manual has examples and details. -

    pdfTEX: new primitives

    pdfTeX: new primitives \pdfinfoomitdate, \pdftrailerid, \pdfsuppressptexinfo, to control values appearing in the output which normally change with each run. These features are for PDF output only, not DVI. -

    XeTEX: New primitives

    XeTeX: New primitives \XeTeXhyphenatablelength, \XeTeXgenerateactualtext,
    \XeTeXinterwordspaceshaping, \mdfivesum; character class limit increased to 4096; DVI id byte incremented. -

    Other utilities: +

    Other utilities:

    • gregorio is a new program, part of the -a omits all
    • ps2pk can handle extended PK/GF fonts.
    -

    MacTEX: The TEX Distribution Preference Pane is gone; its functionality is now in TeX Live Utility; +

    MacTeX: The TeX Distribution Preference Pane is gone; its functionality is now in TeX Live Utility; bundled GUI applications upgraded; new script cjk-gs-integrate to be run by users who wish to incorporate various CJK fonts into Ghostscript. -

    Infrastructure: System-level tlmgr configuration file supported; verify package checksums; if GPG is +

    Infrastructure: System-level tlmgr configuration file supported; verify package checksums; if GPG is available, verify signature of network updates. These checks happen with both the installer and tlmgr. If GPG is not available, updates proceed as usual. -

    Platforms:

    Platforms: alpha-linux and mipsel-linux removed. -

    +

    +

    9.1.14 2017
    -

    LuaTEX: More callbacks, more typesetting control, more access to internals;

    LuaTeX: More callbacks, more typesetting control, more access to internals; ffi library for dynamic code loading added on some platforms. -

    pdfTEX: Environment variable

    pdfTeX: Environment variable SOURCE_DATE_EPOCH_TEX_PRIMITIVES from last year renamed to FORCE_SOURCE_DATE, with no changes in functionality; if the \pdfpageattr token list contains the string /MediaBox, omit output of the default /MediaBox. -

    XeTEX: Unicode/OpenType math now based on HarfBuzz’s MATH table support; some bug -fixes. -

    Dvips: Make the last papersize special win, for consistency with

    XeTeX: Unicode/OpenType math now based on HarfBuzz’s MATH table support; some bug +fixes. + + +

    Dvips: Make the last papersize special win, for consistency with dvipdfmx and package expectations; the -L0 option (L0 config setting) restores the previous behavior of the first special winning. -

    epTEX, eupTEX: New primitives L0 config setting) restores the previous behavior of the first special winning. +

    epTeX, eupTeX: New primitives \pdfuniformdeviate, \pdfnormaldeviate, \pdfrandomseed, \pdfsetrandomseed, \pdfelapsedtime, \pdfresettimer, from pdfTEX. -

    MacTEX: As of this year, only Mac OS X releases for which Apple still releases security patches -will be supported in MacTEX, under the platform name \pdfresettimer, from pdfTeX. +

    MacTeX: As of this year, only Mac OS X releases for which Apple still releases security patches +will be supported in MacTeX, under the platform name x86_64-darwin; currently this means -Yosemite, El Capitan, and Sierra (10.10 and newer). Binaries for older Mac OS X versions are not -included in MacTEX, but are still available in TEX Live (x86_64-darwinlegacy, i386-darwin, powerpc-darwin). -

    Infrastructure: The

    Infrastructure: The TEXMFLOCAL tree is now searched before TEXMFSYSCONFIG and TEXMFSYSVAR (by -default); the hope is that this will better match expectations of local files overriding system files. Also, tlmgr has a new mode shell for interactive and scripted use, and a new action conf auxtrees to easily add and remove extra trees. - - -

    updmap and fmtutil: These scripts now give a warning when invoked without explicitly specifying either so-called system mode (https://tug.org/texlive/scripts-sys-user.html for details. -

    install-tl: Personal paths such as TEXMFHOME are now set to MacTEX values (~/Library/...) by +class="ec-lmtt-10">TEXMFHOME are now set to MacTeX values (~/Library/...) by default on Macs. New option -init-from-profile to start an installation with the values from a given profile; +class="ec-lmtt-10">-init-from-profile to start an installation with the values from a given profile; new command P to explicitly save a profile; new profile variable names (but previous ones are still +class="ec-lmtt-10">P to explicitly save a profile; new profile variable names (but previous ones are still accepted). -

    SyncTEX: the name of the temporary file now looks like

    SyncTeX: the name of the temporary file now looks like foo.synctex(busy), instead of foo.synctex.gz(busy) (no .gz). Front-ends and build systems that want to remove temp files may need +class="ec-lmtt-10">foo.synctex.gz(busy) (no .gz). Front-ends and build systems that want to remove temp files may need adjusting. -

    Other utilities:

    Other utilities: texosquery-jre8 is a new cross-platform program for retrieving locale and other OS -information from a TEX document; it is included in shell_escape_commands by default for restricted shell execution. (Older JRE versions are supported by texosquery, but cannot be enabled in restricted mode, as they are no longer supported by Oracle, even for security issues.) -

    Platforms: See MacTEX entry above; no other changes. -

    +

    Platforms: See MacTeX entry above; no other changes. +

    +

    9.1.15 2018
    -

    Kpathsea: Case-insensitive filename matching now done by default in non-system directories; set

    Kpathsea: Case-insensitive filename matching now done by default in non-system directories; set texmf.cnf or environment variable texmf_casefold_search to texmf_casefold_search to 0 to disable. Full details in the Kpathsea manual (https://tug.org/kpathsea). -

    epTEX, eupTEX: New primitive

    epTeX, eupTeX: New primitive \epTeXversion. -

    LuaTEX: Preparation for moving to Lua 5.3 in 2019: a binary

    LuaTeX: Preparation for moving to Lua 5.3 in 2019: a binary luatex53 is available on most platforms, but must be renamed to luatex to be effective. Or use the ConTEXt Garden (luatex to be effective. Or use the ConTeXt Garden (https://wiki.contextgarden.net) -files; more information there. -

    MetaPost: Fixes for wrong path directions, TFM and PNG output. -

    pdfTEX: Allow encoding vectors for bitmap fonts; current directory not hashed into PDF ID; bug fixes for +files; more information there. +

    MetaPost: Fixes for wrong path directions, TFM and PNG output. +

    pdfTeX: Allow encoding vectors for bitmap fonts; current directory not hashed into PDF ID; bug fixes for \pdfprimitive and related. -

    XeTEX: Support

    XeTeX: Support /Rotate in PDF image inclusion; exit nonzero if the output driver fails; various obscure -UTF-8 and other primitive fixes. -

    MacTEX: See version support changes below. In addition, the files installed in

    MacTeX: See version support changes below. In addition, the files installed in /Applications/TeX/ by -MacTEX have been reorganized for greater clarity; now this location contains four GUI programs (BibDesk, +MacTeX have been reorganized for greater clarity; now this location contains four GUI programs (BibDesk, LaTeXiT, TeX Live Utility, and TeXShop) at the top level and folders with additional utilities and documentation. -

    tlmgr: new front-ends tlshell (Tcl/Tk) and tlcockpit (Java); JSON output; uninstall now a synonym for remove; new action/option print-platform-info. -

    Platforms: +

    Platforms:

    • Removed: armel-linux, powerpc-linux.
    • x86_64-darwin supports 10.10–10.13 (Yosemite, El Capitan, Sierra, and High Sierra). +class="ec-lmtt-10">x86_64-darwin supports 10.10–10.13 (Yosemite, El Capitan, Sierra, and High Sierra). + +
    • x86_64-darwinlegacy supports 10.6–10.10 (though x86_64-darwinlegacy supports 10.6–10.10 (though x86_64-darwin is preferred for 10.10). All support for 10.5 (Leopard) is gone, that is, both the powerpc-darwin and platforms have been removed.
    • Windows: XP is no longer supported.

    +

    9.1.16 2019

    Kpathsea: More consistent brace expansion and path splitting; new variable TEXMFDOTDIR instead of hard-coded . in paths allows for easily searching additional or sub-directories (see comments in +class="ec-lmtt-10">. in paths allows for easily searching additional or sub-directories (see comments in texmf.cnf). -

    epTEX, eupTEX: New primitives

    epTeX, eupTeX: New primitives \readpapersizespecial and \expanded. - - -

    LuaTEX: Lua 5.3 now used, with concomitant arithmetic and interface changes. The homegrown library -pplib is used to read pdf files, thus eliminating the dependency on poppler (and the need for C++); Lua +

    LuaTeX: Lua 5.3 now used, with concomitant arithmetic and interface changes. The homegrown library +pplib is used to read pdf files, thus eliminating the dependency on poppler (and the need for C++); Lua interface changed accordingly. -

    MetaPost:

    MetaPost: r-mpost command name recognized as an alias for invocation with the –restricted option, +class="ec-lmtt-10">–restricted option, and added to the list of restricted commands available by default. Minimum precision now 2 for decimal and binary mode. Binary mode no longer available in MPlib but still available in standalone MetaPost. -

    pdfTEX: New primitive

    pdfTeX: New primitive \expanded; if new primitive parameter \pdfomitcharset is set to 1, the /CharSet string omitted from the PDF output, since it cannot feasibly be guaranteed correct, as required by PDF/A-2 and PDF/A-3. -

    XeTEX: New primitives

    XeTeX: New primitives \expanded, \creationdate, \elapsedtime, \uniformdeviate, \randomseed; extend \Ucharcat to produce active characters. -

    tlmgr: Support curl as a download program; use lz4 and gzip before xz for local backups, if available; -prefer system-provided binaries over binaries provided with TEX Live for compressor and download programs, +prefer system-provided binaries over binaries provided with TeX Live for compressor and download programs, unless the environment variable TEXLIVE_PREFER_OWN is set. -

    install-tl: New option -gui (with no argument) is the default on Windows and Macs, and invokes a new -Tcl/TK GUI (see sections 1.3 and 1.3 and 3.1.6). -

    Utilities: +

    Utilities:

    • cwebbin (https://ctan.org/pkg/cwebbin) is now the CWEB implementation in TEX Live, - with support for more language dialects, and including the https://ctan.org/pkg/cwebbin) is now the CWEB implementation in TeX Live, with + support for more language dialects, and including the ctwill program to make mini-indexes.
    • chkdvifont: report font information from DVI files, also from tfm/ofm, vf, gf, pk. +class="ec-lmtt-10">chkdvifont: report font information from DVI files, also from tfm/ofm, vf, gf, pk.
    • dvispc: make a DVI file page-independent with respect to specials.
    -

    MacTEX: dvispc: make a DVI file page-independent with respect to specials. +

    MacTeX: x86_64-darwin now supports 10.12 and higher (Sierra, High Sierra, Mojave); x86_64-darwinlegacy still supports 10.6 and newer. The spell checker Excalibur is no longer included, since it requires 32-bit support. -

    Platforms: removed

    Platforms: removed sparc-solaris. -

    +

    +

    9.2 Present: 2020

    -

    General: +

    General:

    • The \input primitive in all TEX engines, including \input primitive in all TeX engines, including tex, now also accepts a group-delimited - filename argument, as a system-dependent extension. The usage with a standard - space/token-delimited filename is completely unchanged. The group-delimited argument was - previously implemented in LuaTEX; now it is available in all engines. ASCII double quote + filename argument, as a system-dependent extension. The usage with a standard + space/token-delimited filename is completely unchanged. The group-delimited argument was + previously implemented in LuaTeX; now it is available in all engines. ASCII double quote characters (") are removed from the filename, but it is otherwise left unchanged after tokenization. - This does not currently affect LATEX’s \input command, as that is a macro redefinition of the +class="ec-lmtt-10">") are removed from the filename, but it is otherwise left unchanged after tokenization. + + + This does not currently affect LaTeX’s \input command, as that is a macro redefinition of the standard \input primitive.
    • New option –cnf-line for –cnf-line for kpsewhich, tex, mf, and all other engines, to support arbitrary - configuration settings on the command line. + configuration settings on the command line.
    • The addition of various primitives to various engines in this and previous years is intended - to result in a common set of functionality available across all engines (LATEX News #31, + to result in a common set of functionality available across all engines (LaTeX News #31, https://latex-project.org/news).
    -

    epTEX, eupTEX: New primitives

    epTeX, eupTeX: New primitives \Uchar, \Ucharcat, \current(x)spacingmode, \ifincsname; revise \fontchar?? and \iffontchar. For eupTEX only: \iffontchar. For eupTeX only: \currentcjktoken. -

    LuaTEX: Integration with HarfBuzz library, available as new engines

    LuaTeX: Integration with HarfBuzz library, available as new engines luahbtex (used for lualatex) and luajithbtex. New primitives: \eTeXgluestretchorder, \eTeXglueshrinkorder. - - -

    pdfTEX: New primitive

    pdfTeX: New primitive \pdfmajorversion; this merely changes the version number in the PDF output; it -has no effect on any PDF content. \pdfximage and similar now search for image files in the same way as +has no effect on any PDF content. \pdfximage and similar now search for image files in the same way as \openin. -

    pTEX: New primitives

    pTeX: New primitives \ifjfont, \iftfont. Also in epTEX, upTEX, eupTEX. -

    XeTEX: Fixes for \iftfont. Also in epTeX, upTeX, eupTeX. +

    XeTeX: Fixes for \Umathchardef, \XeTeXinterchartoks, \pdfsavepos. -

    Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities +

    Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities (https://tug.org/TUGboat/tb40-2/tb125rokicki-type3search.pdf). -

    MacTEX: MacTEX and x86_64-darwin now require 10.13 or higher (High Sierra, Mojave, and Catalina); +

    MacTeX: MacTeX and x86_64-darwin now require 10.13 or higher (High Sierra, Mojave, and Catalina); x86_64-darwinlegacy supports 10.6 and newer. MacTEX is notarized and command line programs have -hardened runtimes, as now required by Apple for install packages. BibDesk and TEX Live Utility are -not in MacTEX because they are not notarized, but a README file lists urls where they can be +class="ec-lmtt-10">x86_64-darwinlegacy supports 10.6 and newer. MacTeX is notarized and command line programs have +hardened runtimes, as now required by Apple for install packages. BibDesk and TeX Live Utility are +not in MacTeX because they are not notarized, but a README file lists urls where they can be obtained. -

    tlmgr and infrastructure: +

    tlmgr and infrastructure:

    • Automatically retry (once) packages that fail to download.
    • New option tlmgr check texmfdbs, to to check consistency of ls-R files and !! specifications +class="ec-lmtt-10">ls-R files and !! specifications for each tree.
    • -
    • Use versioned filenames for the package containers, as in Use versioned filenames for the package containers, as in tlnet/archive/pkgname.rNNN.tar.xz; should be invisible to users, but a notable change in distribution.
    • catalogue-date information no longer propagated from the TEX Catalogue, since it was often +class="ec-lmtt-10">catalogue-date information no longer propagated from the TeX Catalogue, since it was often unrelated to package updates.

    +

    9.3 Future

    -

    TEX Live is not perfect, and never will be. We intend to continue to release new versions, and would like to +

    TeX Live is not perfect, and never will be. We intend to continue to release new versions, and would like to provide more documentation, more programs, an ever-improved and better-checked tree of macros and fonts, -and anything else TEX. This work is all done by volunteers in their spare time, and so there is always more to +and anything else TeX. This work is all done by volunteers in their spare time, and so there is always more to do. Please see https://tug.org/texlive/contribute.html. -

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

    +

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

    +class="ec-lmtt-10">https://tug.org/texlive

    Happy TEXing! +class="ec-lmro-10">Happy TeXing! +

    - - + + diff --git a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.pdf b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.pdf index cf7f972dc06..ef7b4ff8eab 100644 Binary files a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.pdf and b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.pdf differ diff --git a/Master/texmf-dist/doc/texlive/texlive-ja/Makefile b/Master/texmf-dist/doc/texlive/texlive-ja/Makefile new file mode 100644 index 00000000000..224f8eeef41 --- /dev/null +++ b/Master/texmf-dist/doc/texlive/texlive-ja/Makefile @@ -0,0 +1,23 @@ +# $Id$ +# public domain +doc = texlive-ja +latex = uplatex +post = && dvipdfmx $(doc) +all: pdf + +env = TEXINPUTS=..:; export TEXINPUTS; + +pdf: + rm -f *.aux *.toc *.lof *.lot *.xref* *.tmp *.out + $(env) texfot $(latex) --file-line-error '\nonstopmode\def\Status{1}\input $(doc)' $(post) + $(env) $(latex) '\nonstopmode\def\Status{1}\input $(doc)' + $(env) $(latex) '\nonstopmode\def\Status{1}\input $(doc)' + +clean: + rm -f *.aux *.log *.blg *.toc *.out *.lot tex4ht.ps *.4* + rm -f *.xref* *.lg *.idv *.out *.otc *.tmp tmp.* + rm -f $(doc).dvi $(doc).ps + +realclean: clean + rm -f $(doc).pdf + rm -f *.html *.htm $(doc).css *.gif *.jpg -- cgit v1.2.3