Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
texlive-doc /
texlive /
texlive-en /
[ HOME SHELL ]
Name
Size
Permission
Action
archive
[ DIR ]
drwxr-xr-x
.dict.pws.gz
2.74
KB
-rw-r--r--
ChangeLog
696
B
-rw-r--r--
Makefile
3.11
KB
-rw-r--r--
README
240
B
-rw-r--r--
live4ht.cfg
1.4
KB
-rw-r--r--
tex-live.css
1.1
KB
-rw-r--r--
tex-live.sty.gz
5.6
KB
-rw-r--r--
texlive-en.css
15.81
KB
-rw-r--r--
texlive-en.html
343.43
KB
-rw-r--r--
texlive-en.pdf
1.11
MB
-rw-r--r--
texlive-en.tex.gz
57.37
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : texlive-en.html
<!DOCTYPE html> <html lang="en-US" xml:lang="en-US" > <head> <title>The TeX Live Guide—2021 </title> <meta charset="utf-8" /> <meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="stylesheet" type="text/css" href="texlive-en.css" /> <meta name="src" content="texlive-en.tex" /> <link rel="stylesheet" type="text/css" href="texlive-en.css" > <link rel="stylesheet" type="text/css" href="tex-live.css" > </head><body > <div class="maketitle"> <h2 class="titleHead">The TeX Live Guide—2021 </h2> <div class="author" ><span class="ec-lmr-12">Karl Berry, editor</span> <br /> <a href="https://tug.org/texlive/" class="url" ><span class="ec-lmtt-12">https://tug.org/texlive/</span></a> </div><br /> <div class="date" ><span class="ec-lmr-12">January 2022</span></div> </div> <h3 class="likesectionHead"><a id="x1-1000"></a>Contents</h3> <div class="tableofcontents"> <span class="sectionToc" >1 <a href="#x1-20001" id="QQ2-1-2">Introduction</a></span> <br /> <span class="subsectionToc" >1.1 <a href="#x1-30001.1" id="QQ2-1-3">TeX Live and the TeX Collection</a></span> <br /> <span class="subsectionToc" >1.2 <a href="#x1-40001.2" id="QQ2-1-4">Operating system support</a></span> <br /> <span class="subsectionToc" >1.3 <a href="#x1-50001.3" id="QQ2-1-5">Basic installation of TeX Live</a></span> <br /> <span class="subsectionToc" >1.4 <a href="#x1-60001.4" id="QQ2-1-6">Security considerations</a></span> <br /> <span class="subsectionToc" >1.5 <a href="#x1-70001.5" id="QQ2-1-7">Getting help</a></span> <br /> <span class="sectionToc" >2 <a href="#x1-80002" id="QQ2-1-8">Overview of TeX Live</a></span> <br /> <span class="subsectionToc" >2.1 <a href="#x1-90002.1" id="QQ2-1-9">The TeX Collection: TeX Live, proTeXt, MacTeX</a></span> <br /> <span class="subsectionToc" >2.2 <a href="#x1-100002.2" id="QQ2-1-10">Top level TeX Live directories</a></span> <br /> <span class="subsectionToc" >2.3 <a href="#x1-110002.3" id="QQ2-1-11">Overview of the predefined texmf trees</a></span> <br /> <span class="subsectionToc" >2.4 <a href="#x1-120002.4" id="QQ2-1-12">Extensions to TeX</a></span> <br /> <span class="subsectionToc" >2.5 <a href="#x1-130002.5" id="QQ2-1-13">Other notable programs in TeX Live</a></span> <br /> <span class="sectionToc" >3 <a href="#x1-140003" id="QQ2-1-14">Installation</a></span> <br /> <span class="subsectionToc" >3.1 <a href="#x1-150003.1" id="QQ2-1-15">Starting the installer</a></span> <br /> <span class="subsectionToc" >3.2 <a href="#x1-220003.2" id="QQ2-1-26">Running the installer</a></span> <br /> <span class="subsectionToc" >3.3 <a href="#x1-270003.3" id="QQ2-1-35">Command-line install-tl options</a></span> <br /> <span class="subsectionToc" >3.4 <a href="#x1-290003.4" id="QQ2-1-37">Post-install actions</a></span> <br /> <span class="subsectionToc" >3.5 <a href="#x1-370003.5" id="QQ2-1-45">Testing the installation</a></span> <br /> <span class="subsectionToc" >3.6 <a href="#x1-380003.6" id="QQ2-1-46">Uninstalling TeX Live</a></span> <br /> <span class="subsectionToc" >3.7 <a href="#x1-390003.7" id="QQ2-1-47">Links for additional downloadable software</a></span> <br /> <span class="sectionToc" >4 <a href="#x1-400004" id="QQ2-1-48">Specialized installations</a></span> <br /> <span class="subsectionToc" >4.1 <a href="#x1-410004.1" id="QQ2-1-49">Shared-user (or cross-machine) installations</a></span> <br /> <span class="subsectionToc" >4.2 <a href="#x1-420004.2" id="QQ2-1-50">Portable (USB) installations</a></span> <br /> <span class="sectionToc" >5 <a href="#x1-430005" id="QQ2-1-51"><span class="ec-lmss-10">tlmgr</span>: Managing your installation</a></span> <br /> <span class="subsectionToc" >5.1 <a href="#x1-440005.1" id="QQ2-1-55">GUI interfaces for <span class="ec-lmss-10">tlmgr</span></a></span> <br /> <span class="subsectionToc" >5.2 <a href="#x1-450005.2" id="QQ2-1-56">Sample <span class="ec-lmss-10">tlmgr </span>command-line invocations</a></span> <br /> <span class="sectionToc" >6 <a href="#x1-460006" id="QQ2-1-57">Notes on Windows</a></span> <br /> <span class="subsectionToc" >6.1 <a href="#x1-470006.1" id="QQ2-1-58">Windows-specific features</a></span> <br /> <span class="subsectionToc" >6.2 <a href="#x1-480006.2" id="QQ2-1-59">Additional software included on Windows</a></span> <br /> <span class="subsectionToc" >6.3 <a href="#x1-490006.3" id="QQ2-1-60">User Profile is Home</a></span> <br /> <span class="subsectionToc" >6.4 <a href="#x1-500006.4" id="QQ2-1-61">The Windows registry</a></span> <br /> <span class="subsectionToc" >6.5 <a href="#x1-510006.5" id="QQ2-1-62">Windows permissions</a></span> <br /> <span class="subsectionToc" >6.6 <a href="#x1-520006.6" id="QQ2-1-63">Increasing maximum memory on Windows and Cygwin</a></span> <br /> <span class="sectionToc" >7 <a href="#x1-530007" id="QQ2-1-64">A user’s guide to Web2C</a></span> <br /> <span class="subsectionToc" >7.1 <a href="#x1-540007.1" id="QQ2-1-65">Kpathsea path searching</a></span> <br /> <span class="subsectionToc" >7.2 <a href="#x1-620007.2" id="QQ2-1-73">Filename databases</a></span> <br /> <span class="subsectionToc" >7.3 <a href="#x1-670007.3" id="QQ2-1-79">Runtime options</a></span> <br /> <span class="subsectionToc" >7.4 <a href="#x1-680007.4" id="QQ2-1-80"><span class="ec-lmtt-10">$TEXMFDOTDIR</span></a></span> <br /> <span class="sectionToc" >8 <a href="#x1-690008" id="QQ2-1-81">Acknowledgements</a></span> <br /> <span class="sectionToc" >9 <a href="#x1-700009" id="QQ2-1-82">Release history</a></span> <br /> <span class="subsectionToc" >9.1 <a href="#x1-710009.1" id="QQ2-1-83">Past</a></span> <br /> <span class="subsectionToc" >9.2 <a href="#x1-890009.2" id="QQ2-1-101">Present: 2021</a></span> <br /> <span class="subsectionToc" >9.3 <a href="#x1-900009.3" id="QQ2-1-102">Future</a></span> </div> <!--l. 30--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">1 </span> <a id="x1-20001"></a>Introduction</h3> <!--l. 33--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">1.1 </span> <a id="x1-30001.1"></a>TeX Live and the TeX Collection</h4> <!--l. 35--><p class="noindent" >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. </p><!--l. 39--><p class="indent" > 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 <a href="#x1-90002.1">2.1<!--tex4ht:ref: sec:tl-coll-dists --></a> 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. </p><!--l. 45--><p class="indent" > 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. </p><!--l. 50--><p class="indent" > For a brief summary of the major changes in this edition of TeX Live, see the end of the document, section <a href="#x1-700009">9<!--tex4ht:ref: sec:history --></a> (p. <a href="#x1-700009">80<!--tex4ht:ref: sec:history --></a>). </p><!--l. 55--><p class="indent" > <a id="platforms"></a> </p> <h4 class="subsectionHead"><span class="titlemark">1.2 </span> <a id="x1-40001.2"></a>Operating system support</h4> <!--l. 59--><p class="noindent" >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. </p><!--l. 63--><p class="indent" > 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. But see <a href="https://tug.org/texlive/windows.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/windows.html</span></a> for options to add 64-bit binaries. </p><!--l. 71--><p class="indent" > See section <a href="#x1-90002.1">2.1<!--tex4ht:ref: sec:tl-coll-dists --></a> for alternate solutions for Windows and Mac OS X. </p><!--l. 74--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">1.3 </span> <a id="x1-50001.3"></a>Basic installation of TeX Live</h4> <!--l. 77--><p class="noindent" >You can install TeX Live either from DVD or over the Internet ( <a href="https://tug.org/texlive/acquire.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/acquire.html</span></a>). The net installer itself is small, and downloads everything requested from the Internet. </p><!--l. 81--><p class="indent" > The DVD installer lets you install to a local disk. You cannot run TeX Live directly from the TeX Collection DVD (or its <span class="ec-lmtt-10">.iso </span>image), but you can prepare a runnable installation on, e.g., a USB stick (see section <a href="#x1-420004.2">4.2<!--tex4ht:ref: sec:portable-tl --></a>). Installation is described in later sections (p. <a href="#x1-140003">11<!--tex4ht:ref: sec:install --></a>), but here is a quick start: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 89--><p class="noindent" >For Unix, the installation script is <span class="ec-lmtt-10">install-tl</span>; on Windows, one should instead invoke <span class="ec-lmtt-10">install-tl-windows</span>. The installer will operate in a graphical mode given the option <span class="ec-lmtt-10">-gui</span> (default for Windows and Mac OS X), or a text mode given the option <span class="ec-lmtt-10">-gui=text </span>(default for everything else). </p></li> <li class="itemize"> <!--l. 95--><p class="noindent" >One of the installed items is the ‘TeX Live Manager’ program, named <span class="ec-lmss-10">tlmgr</span>. Like the installer, it can be used in both GUI mode and in text mode. You can use it to install and uninstall packages and do various configuration tasks. </p> </li></ul> <!--l. 103--><p class="indent" > <a id="security"></a> </p> <h4 class="subsectionHead"><span class="titlemark">1.4 </span> <a id="x1-60001.4"></a>Security considerations</h4> <!--l. 107--><p class="noindent" >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. </p><!--l. 113--><p class="indent" > 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. </p><!--l. 122--><p class="indent" > 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. </p><!--l. 127--><p class="indent" > Another aspect of security is ensuring that downloaded material has not been changed from what was created. The <span class="ec-lmss-10">tlmgr </span>program (section <a href="#x1-430005">5<!--tex4ht:ref: sec:tlmgr --></a>) will automatically perform cryptographic verification on downloads if the <span class="ec-lmss-10">gpg </span>(GNU Privacy Guard) program is available. It is not distributed as part of TeX Live, but see <a href="https://texlive.info/tlgpg/" class="url" ><span class="ec-lmtt-10">https://texlive.info/tlgpg/</span></a> for information about <span class="ec-lmss-10">gpg </span>if need be. </p><!--l. 135--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">1.5 </span> <a id="x1-70001.5"></a>Getting help</h4> <!--l. 138--><p class="noindent" >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; <a href="https://tug.org/interest.html#vendors" class="url" ><span class="ec-lmtt-10">https://tug.org/interest.html#vendors</span></a> has a list.) </p><!--l. 145--><p class="indent" > Here is a list of resources, approximately in the order we recommend using them: </p><!--l. 148--><p class="indent" > </p><dl class="description"><dt class="description"> <!--l. 149--><p class="noindent" > <span class="ec-lmbx-10">Getting started</span> </p></dt><dd class="description"> <!--l. 149--><p class="noindent" >If you are new to TeX, the web page <a href="https://tug.org/begin.html" class="url" ><span class="ec-lmtt-10">https://tug.org/begin.html</span></a> gives a brief introduction to the system. </p></dd><dt class="description"> <!--l. 152--><p class="noindent" > <span class="ec-lmbx-10">TeX FAQ</span> </p></dt><dd class="description"> <!--l. 152--><p class="noindent" >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 <a href="../../../../texmf-dist/doc/generic/FAQ-en/" >texmf-dist/doc/generic/FAQ-en/</a>, and is available on the Internet through <a href="https://texfaq.org" class="url" ><span class="ec-lmtt-10">https://texfaq.org</span></a>. Please check here first. </p></dd><dt class="description"> <!--l. 159--><p class="noindent" > <span class="ec-lmbx-10">TeX Catalogue</span> </p></dt><dd class="description"> <!--l. 159--><p class="noindent" >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 <a href="https://ctan.org/pkg/catalogue" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/catalogue</span></a>. </p></dd><dt class="description"> <!--l. 164--><p class="noindent" > <span class="ec-lmbx-10">TeX Web Resources</span> </p></dt><dd class="description"> <!--l. 164--><p class="noindent" >The web page <a href="https://tug.org/interest.html" class="url" ><span class="ec-lmtt-10">https://tug.org/interest.html</span></a> has many TeX-related links, in particular for numerous books, manuals, and articles on all aspects of the system. </p></dd><dt class="description"> <!--l. 169--><p class="noindent" > <span class="ec-lmbx-10">support archives</span> </p></dt><dd class="description"> <!--l. 169--><p class="noindent" >Principal support forums for TeX include the LaTeX community site at <a href="https://latex.org" class="url" ><span class="ec-lmtt-10">https://latex.org</span></a>, the q&a site <a href="https://tex.stackexchange.com" class="url" ><span class="ec-lmtt-10">https://tex.stackexchange.com</span></a>, the Usenet newsgroup <a href="news:comp.text.tex" class="url" ><span class="ec-lmtt-10">news:comp.text.tex</span></a>, and the mailing list <a href="mailto:texhax@tug.org" ><span class="path"><span class="ec-lmtt-10">texhax@tug.org</span></span></a>. Their archives have years of past questions and answers for your searching pleasure, via, for the latter two, <a href="http://groups.google.com/group/comp.text.tex/topics" class="url" ><span class="ec-lmtt-10">http://groups.google.com/group/comp.text.tex/topics</span></a> and <a href="https://tug.org/mail-archives/texhax" class="url" ><span class="ec-lmtt-10">https://tug.org/mail-archives/texhax</span></a>. And a general web search never hurts. </p></dd><dt class="description"> <!--l. 179--><p class="noindent" > <span class="ec-lmbx-10">asking questions</span> </p></dt><dd class="description"> <!--l. 179--><p class="noindent" >If you cannot find an answer, you can post to <a href="http://latex-community.org/" class="url" ><span class="ec-lmtt-10">http://latex-community.org/</span></a> and <a href="https://tex.stackexchange.com/" class="url" ><span class="ec-lmtt-10">https://tex.stackexchange.com/</span></a> through their web interfaces, to <span class="ec-lmtt-10">comp.text.tex </span>through Google or your newsreader, or to <a href="mailto:texhax@tug.org" ><span class="path"><span class="ec-lmtt-10">texhax@tug.org</span></span></a> through email. But before you post anywhere, please read this FAQ entry, to maximize your chances of getting a useful answer: <a href="https://texfaq.org/FAQ-askquestion" class="url" ><span class="ec-lmtt-10">https://texfaq.org/FAQ-askquestion</span></a>. </p></dd><dt class="description"> <!--l. 188--><p class="noindent" > <span class="ec-lmbx-10">TeX Live support</span> </p></dt><dd class="description"> <!--l. 188--><p class="noindent" >If you want to report a bug or have suggestions or comments on the TeX Live distribution, installation, or documentation, the mailing list is <a href="mailto:tex-live@tug.org" ><span class="path"><span class="ec-lmtt-10">tex-live@tug.org</span></span></a>. 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 <span class="ec-lmtt-10">--help </span>option will provide a bug reporting address. </p> </dd></dl> <!--l. 198--><p class="indent" > 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. </p><!--l. 205--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">2 </span> <a id="x1-80002"></a>Overview of TeX Live</h3> <!--l. 208--><p class="noindent" >This section describes the contents of TeX Live and the TeX Collection of which it is a part. </p><!--l. 212--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a id="x1-90002.1"></a>The TeX Collection: TeX Live, proTeXt, MacTeX</h4> <!--l. 215--><p class="noindent" >The TeX Collection DVD comprises the following: </p><!--l. 217--><p class="indent" > </p><dl class="description"><dt class="description"> <!--l. 219--><p class="noindent" > <span class="ec-lmbx-10">TeX Live</span> </p></dt><dd class="description"> <!--l. 219--><p class="noindent" >A complete TeX system to be installed to disk. Home page: <a href="https://tug.org/texlive/" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/</span></a>. </p></dd><dt class="description"> <!--l. 222--><p class="noindent" > <span class="ec-lmbx-10">MacTeX</span> </p></dt><dd class="description"> <!--l. 222--><p class="noindent" >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: <a href="https://tug.org/mactex/" class="url" ><span class="ec-lmtt-10">https://tug.org/mactex/</span></a>. </p></dd><dt class="description"> <!--l. 227--><p class="noindent" > <span class="ec-lmbx-10">proTeXt</span> </p></dt><dd class="description"> <!--l. 227--><p class="noindent" >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: <a href="https://tug.org/protext/" class="url" ><span class="ec-lmtt-10">https://tug.org/protext/</span></a>. </p></dd><dt class="description"> <!--l. 233--><p class="noindent" > <span class="ec-lmbx-10">CTAN</span> </p></dt><dd class="description"> <!--l. 233--><p class="noindent" >A snapshot of the CTAN repository ( <a href="https://ctan.org/" class="url" ><span class="ec-lmtt-10">https://ctan.org/</span></a>). </p> </dd></dl> <!--l. 237--><p class="indent" > CTAN and <span class="ec-lmss-10">protext </span>do not follow the same copying conditions as TeX Live, so be careful when redistributing or modifying. </p><!--l. 241--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a id="x1-100002.2"></a>Top level TeX Live directories</h4> <!--l. 244--><p class="noindent" >Here is a brief listing and description of the top level directories in a TeX Live installation. </p><!--l. 247--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">bin</span> </dt><dd class="list"> <!--l. 248--><p class="noindent" >The TeX system programs, arranged by platform. </p></dd><dt class="list"> <span class="ec-lmtt-10">readme-*.dir</span> </dt><dd class="list"> <!--l. 250--><p class="noindent" >Quick overview and useful links for TeX Live, in various languages, in both HTML and plain text. </p></dd><dt class="list"> <span class="ec-lmtt-10">source</span> </dt><dd class="list"> <!--l. 253--><p class="noindent" >The source to all included programs, including the main Web2C-based TeX distributions. </p></dd><dt class="list"> <span class="ec-lmtt-10">texmf-dist</span> </dt><dd class="list"> <!--l. 256--><p class="noindent" >The principal tree; see <span class="ec-lmtt-10">TEXMFDIST </span>below. </p></dd><dt class="list"> <span class="ec-lmtt-10">tlpkg</span> </dt><dd class="list"> <!--l. 258--><p class="noindent" >Scripts, programs and data for managing the installation, and special support for Windows.</p></dd></dl> <!--l. 262--><p class="indent" > For documentation, the comprehensive links in the top-level file <a href="../../../../doc.html" >doc.html</a> may be helpful. The documentation for nearly everything (packages, formats, fonts, program manuals, man pages, Info files) is in <span class="ec-lmtt-10">texmf-dist/doc</span>. You can use the <span class="ec-lmss-10">texdoc </span>program to find documentation wherever it is located. </p><!--l. 268--><p class="indent" > This TeX Live documentation itself is in <span class="ec-lmtt-10">texmf-dist/doc/texlive</span>, available in several languages: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 272--><p class="noindent" >Czech/Slovak: <a href="../../../../texmf-dist/doc/texlive/texlive-cz" >texmf-dist/doc/texlive/texlive-cz</a> </p></li> <li class="itemize"> <!--l. 273--><p class="noindent" >German: <a href="../../../../texmf-dist/doc/texlive/texlive-de" >texmf-dist/doc/texlive/texlive-de</a> </p></li> <li class="itemize"> <!--l. 274--><p class="noindent" >English: <a href="../../../../texmf-dist/doc/texlive/texlive-en" >texmf-dist/doc/texlive/texlive-en</a> </p></li> <li class="itemize"> <!--l. 275--><p class="noindent" >French: <a href="../../../../texmf-dist/doc/texlive/texlive-fr" >texmf-dist/doc/texlive/texlive-fr</a> </p></li> <li class="itemize"> <!--l. 276--><p class="noindent" >Italian: <a href="../../../../texmf-dist/doc/texlive/texlive-it" >texmf-dist/doc/texlive/texlive-it</a> </p></li> <li class="itemize"> <!--l. 277--><p class="noindent" >Japanese: <a href="../../../../texmf-dist/doc/texlive/texlive-ja" >texmf-dist/doc/texlive/texlive-ja</a> </p></li> <li class="itemize"> <!--l. 278--><p class="noindent" >Polish: <a href="../../../../texmf-dist/doc/texlive/texlive-pl" >texmf-dist/doc/texlive/texlive-pl</a> </p></li> <li class="itemize"> <!--l. 279--><p class="noindent" >Russian: <a href="../../../../texmf-dist/doc/texlive/texlive-ru" >texmf-dist/doc/texlive/texlive-ru</a> </p></li> <li class="itemize"> <!--l. 280--><p class="noindent" >Serbian: <a href="../../../../texmf-dist/doc/texlive/texlive-sr" >texmf-dist/doc/texlive/texlive-sr</a> </p></li> <li class="itemize"> <!--l. 281--><p class="noindent" >Simplified Chinese: <a href="../../../../texmf-dist/doc/texlive/texlive-zh-cn" >texmf-dist/doc/texlive/texlive-zh-cn</a></p></li></ul> <!--l. 284--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a id="x1-110002.3"></a>Overview of the predefined texmf trees</h4> <!--l. 287--><p class="noindent" >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 <span class="ec-lmtt-10">tlmgr</span><span class="ec-lmtt-10"> conf </span>shows the values of these variables, so that you can easily find out how they map to particular directories in your installation. </p><!--l. 293--><p class="indent" > All of the trees, including the personal ones, should follow the TeX Directory Structure (TDS, <a href="https://tug.org/tds" class="url" ><span class="ec-lmtt-10">https://tug.org/tds</span></a>), with all its myriad subdirectories, or files may not be found. Section <a href="#x1-350003.4.6">3.4.6<!--tex4ht:ref: sec:local-personal-macros --></a> (p. <a href="#x1-350003.4.6">42<!--tex4ht:ref: sec:local-personal-macros --></a>) 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. </p><!--l. 301--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">TEXMFDIST</span> </dt><dd class="list"> <!--l. 302--><p class="noindent" >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 <span class="ec-lmtt-10">bin/</span>.) </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFSYSVAR</span> </dt><dd class="list"> <!--l. 306--><p class="noindent" >The (site-wide) tree used by <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">texconfig-sys</span></span></span>, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap-sys</span></span></span> and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fmtutil-sys</span></span></span>, and also by <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">tlmgr</span></span></span>, to store (cached) runtime data such as format files and generated map files. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFSYSCONFIG</span> </dt><dd class="list"> <!--l. 309--><p class="noindent" >The (site-wide) tree used by the utilities <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">texconfig-sys</span></span></span>, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap-sys</span></span></span>, and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fmtutil-sys</span></span></span> to store modified configuration data. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFLOCAL</span> </dt><dd class="list"> <!--l. 312--><p class="noindent" >The tree which administrators can use for system-wide installation of additional or updated macros, fonts, etc. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFHOME</span> </dt><dd class="list"> <!--l. 314--><p class="noindent" >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. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFVAR</span> </dt><dd class="list"> <!--l. 318--><p class="noindent" >The (personal) tree used by <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">texconfig</span></span></span>, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap-user</span></span></span> and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fmtutil-user</span></span></span> to store (cached) runtime data such as format files and generated map files. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFCONFIG</span> </dt><dd class="list"> <!--l. 321--><p class="noindent" >The (personal) tree used by the utilities <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">texconfig</span></span></span>, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap-sys</span></span></span>, and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fmtutil-sys</span></span></span> to store modified configuration data. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFCACHE</span> </dt><dd class="list"> <!--l. 324--><p class="noindent" >The tree(s) used by ConTeXt MkIV and LuaLaTeX to store (cached) runtime data; defaults to <span class="ec-lmtt-10">TEXMFSYSVAR</span>, or (if that’s not writable), <span class="ec-lmtt-10">TEXMFVAR</span>.</p></dd></dl> <!--l. 329--><p class="noindent" >The default layout is: </p><dl class="description"><dt class="description"> <!--l. 332--><p class="noindent" > <span class="ec-lmbx-10">system-wide root</span> </p></dt><dd class="description"> <!--l. 332--><p class="noindent" >can span multiple TeX Live releases (<span class="ec-lmtt-10">/usr/local/texlive </span>by default on Unix): </p><dl class="list2"><dt class="list"> <span class="ec-lmtt-10">2020</span> </dt><dd class="list"> <!--l. 335--><p class="noindent" >A previous release. </p></dd><dt class="list"> <span class="ec-lmtt-10">2021</span> </dt><dd class="list"> <!--l. 336--><p class="noindent" >The current release. </p><dl class="list3"><dt class="list"> <span class="ec-lmtt-10">bin</span> </dt><dd class="list"> <!--l. 338--><p class="noindent" > </p><dl class="list4"><dt class="list"> <span class="ec-lmtt-10">i386-linux</span> </dt><dd class="list"> <!--l. 340--><p class="noindent" >GNU/Linux binaries (32-bit) </p></dd><dt class="list"> <span class="ec-lmtt-10">...</span> </dt><dd class="list"> <!--l. 341--><p class="noindent" > </p></dd><dt class="list"> <span class="ec-lmtt-10">universal-darwin</span> </dt><dd class="list"> <!--l. 342--><p class="noindent" >Mac OS X binaries </p></dd><dt class="list"> <span class="ec-lmtt-10">x86_64-linux</span> </dt><dd class="list"> <!--l. 343--><p class="noindent" >GNU/Linux binaries (64-bit) </p></dd><dt class="list"> <span class="ec-lmtt-10">win32</span> </dt><dd class="list"> <!--l. 344--><p class="noindent" >Windows binaries</p></dd></dl> </dd><dt class="list"> <span class="ec-lmtt-10">texmf-dist</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span> </dt><dd class="list"> <!--l. 346--><p class="noindent" ><span class="ec-lmtt-10">TEXMFDIST </span>and <span class="ec-lmtt-10">TEXMFMAIN</span> </p></dd><dt class="list"> <span class="ec-lmtt-10">texmf-var </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span> </dt><dd class="list"> <!--l. 347--><p class="noindent" ><span class="ec-lmtt-10">TEXMFSYSVAR</span>, <span class="ec-lmtt-10">TEXMFCACHE</span> </p></dd><dt class="list"> <span class="ec-lmtt-10">texmf-config</span> </dt><dd class="list"> <!--l. 348--><p class="noindent" ><span class="ec-lmtt-10">TEXMFSYSCONFIG</span></p></dd></dl> </dd><dt class="list"> <span class="ec-lmtt-10">texmf-local</span> </dt><dd class="list"> <!--l. 350--><p class="noindent" ><span class="ec-lmtt-10">TEXMFLOCAL</span>, intended to be retained from release to release.</p></dd></dl> </dd><dt class="description"> <!--l. 353--><p class="noindent" > <span class="ec-lmbx-10">user’s home directory</span> </p></dt><dd class="description"> <!--l. 353--><p class="noindent" >(<span class="ec-lmtt-10">$HOME </span>or <span class="ec-lmtt-10">%USERPROFILE%</span>) </p><dl class="list2"><dt class="list"> <span class="ec-lmtt-10">.texlive2020</span> </dt><dd class="list"> <!--l. 356--><p class="noindent" >Privately generated and configuration data for a previous release. </p></dd><dt class="list"> <span class="ec-lmtt-10">.texlive2021</span> </dt><dd class="list"> <!--l. 358--><p class="noindent" >Privately generated and configuration data for the current release. </p><dl class="list3"><dt class="list"> <span class="ec-lmtt-10">texmf-var</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span> </dt><dd class="list"> <!--l. 361--><p class="noindent" ><span class="ec-lmtt-10">TEXMFVAR</span>, <span class="ec-lmtt-10">TEXMFCACHE</span> </p></dd><dt class="list"> <span class="ec-lmtt-10">texmf-config</span> </dt><dd class="list"> <!--l. 362--><p class="noindent" ><span class="ec-lmtt-10">TEXMFCONFIG</span></p></dd></dl> </dd><dt class="list"> <span class="ec-lmtt-10">texmf</span> </dt><dd class="list"> <!--l. 364--><p class="noindent" ><span class="ec-lmtt-10">TEXMFHOME </span>Personal macros, etc.</p></dd></dl> </dd></dl> <!--l. 369--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a id="x1-120002.4"></a>Extensions to TeX</h4> <!--l. 372--><p class="noindent" >Knuth’s original TeX itself is frozen, apart from rare bug fixes. It is present in TeX Live as the program <span class="ec-lmss-10">tex</span>, and will remain so for the foreseeable future. TeX Live also contains several extended versions of TeX (also known as TeX engines): </p><!--l. 377--><p class="indent" > </p><dl class="description"><dt class="description"> <!--l. 379--><p class="noindent" > <span class="ec-lmbx-10">e-TeX</span> </p></dt><dd class="description"> <!--l. 379--><p class="noindent" >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 <a href="../../../../texmf-dist/doc/etex/base/etex_man.pdf" >texmf-dist/doc/etex/base/etex_man.pdf</a>. </p></dd><dt class="description"> <!--l. 386--><p class="noindent" > <span class="ec-lmbx-10">pdfTeX</span> </p></dt><dd class="description"> <!--l. 386--><p class="noindent" >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 many common formats, e.g., <span class="ec-lmss-10">etex</span>, <span class="ec-lmss-10">latex</span>, <span class="ec-lmss-10">pdflatex</span>. Its web site is <a href="http://www.pdftex.org/" class="url" ><span class="ec-lmtt-10">http://www.pdftex.org/</span></a>. See <a href="../../../../texmf-dist/doc/pdftex/manual/pdftex-a.pdf" >texmf-dist/doc/pdftex/manual/pdftex-a.pdf</a> for the manual, and <a href="../../../../texmf-dist/doc/pdftex/samplepdftex/samplepdf.tex" >texmf-dist/doc/pdftex/samplepdftex/samplepdf.tex</a> for example usage of some of its features. </p></dd><dt class="description"> <!--l. 395--><p class="noindent" > <span class="ec-lmbx-10">LuaTeX</span> </p></dt><dd class="description"> <!--l. 395--><p class="noindent" >adds support for Unicode input and OpenType/TrueType- and system fonts. It also incorporates a Lua interpreter ( <a href="https://lua.org/" class="url" ><span class="ec-lmtt-10">https://lua.org/</span></a>), enabling solutions for many thorny TeX problems. When called as <span class="ec-lmtt-10">texlua</span>, it functions as a standalone Lua interpreter. Its web site is <a href="http://www.luatex.org/" class="url" ><span class="ec-lmtt-10">http://www.luatex.org/</span></a>, and the reference manual is <a href="../../../../texmf-dist/doc/luatex/base/luatex.pdf" >texmf-dist/doc/luatex/base/luatex.pdf</a>. </p></dd><dt class="description"> <!--l. 402--><p class="noindent" > <span class="ec-lmbx-10">(e)(u)pTeX</span> </p></dt><dd class="description"> <!--l. 402--><p class="noindent" >have native support for Japanese typesetting requirements; pTeX is the basic engine, while the e- variants add e-TeX functionality and u- add Unicode support. </p></dd><dt class="description"> <!--l. 406--><p class="noindent" > <span class="ec-lmbx-10">XeTeX</span> </p></dt><dd class="description"> <!--l. 406--><p class="noindent" >adds support for Unicode input and OpenType/TrueType- and system fonts, implemented using standard third-party libraries. See <a href="https://tug.org/xetex" class="url" ><span class="ec-lmtt-10">https://tug.org/xetex</span></a>. </p></dd><dt class="description"> <!--l. 410--><p class="noindent" > <span class="ec-lmbx-10">Omega</span><span class="ec-lmbx-10"> (Omega)</span> </p></dt><dd class="description"> <!--l. 410--><p class="noindent" >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 Live as a separate program; only Aleph is provided: </p></dd><dt class="description"> <!--l. 416--><p class="noindent" > <span class="ec-lmbx-10">Aleph</span> </p></dt><dd class="description"> <!--l. 416--><p class="noindent" >combines the Omega and e-TeX extensions. See <a href="../../../../texmf-dist/doc/aleph/base" >texmf-dist/doc/aleph/base</a>. </p> </dd></dl> <!--l. 422--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">2.5 </span> <a id="x1-130002.5"></a>Other notable programs in TeX Live</h4> <!--l. 424--><p class="noindent" >Here are a few other commonly-used programs included in TeX Live: </p><!--l. 426--><p class="indent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmss-10">bibtex, biber</span> </dt><dd class="list"> <!--l. 428--><p class="noindent" >bibliography support. </p></dd><dt class="list"> <span class="ec-lmss-10">makeindex, xindy</span> </dt><dd class="list"> <!--l. 430--><p class="noindent" >index support. </p></dd><dt class="list"> <span class="ec-lmss-10">dvips</span> </dt><dd class="list"> <!--l. 432--><p class="noindent" >convert DVI to PostScript. </p></dd><dt class="list"> <span class="ec-lmss-10">xdvi</span> </dt><dd class="list"> <!--l. 434--><p class="noindent" >DVI previewer for the X Window System. </p></dd><dt class="list"> <span class="ec-lmss-10">dviconcat, dviselect</span> </dt><dd class="list"> <!--l. 436--><p class="noindent" >cut and paste pages from DVI files. </p></dd><dt class="list"> <span class="ec-lmss-10">dvipdfmx</span> </dt><dd class="list"> <!--l. 439--><p class="noindent" >convert DVI to PDF, an alternative approach to pdfTeX (mentioned above). </p></dd><dt class="list"> <span class="ec-lmss-10">psselect, psnup, </span><span class="ec-lmss-10">…</span> </dt><dd class="list"> <!--l. 442--><p class="noindent" >PostScript utilities. </p></dd><dt class="list"> <span class="ec-lmss-10">pdfjam, pdfjoin, </span><span class="ec-lmss-10">…</span> </dt><dd class="list"> <!--l. 444--><p class="noindent" >PDF utilities. </p></dd><dt class="list"> <span class="ec-lmss-10">context, mtxrun</span> </dt><dd class="list"> <!--l. 446--><p class="noindent" >ConTeXt and PDF processor. </p></dd><dt class="list"> <span class="ec-lmss-10">htlatex, </span><span class="ec-lmss-10">…</span> </dt><dd class="list"> <!--l. 448--><p class="noindent" ><span class="ec-lmss-10">tex4ht</span>: (L<span class="ec-lmr-7">A</span> )TeX to HTML (and XML and more) converter. </p> </dd></dl> <!--l. 454--><p class="indent" > <a id="installation"></a> </p> <h3 class="sectionHead"><span class="titlemark">3 </span> <a id="x1-140003"></a>Installation</h3> <!--l. 458--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">3.1 </span> <a id="x1-150003.1"></a>Starting the installer</h4> <!--l. 461--><p class="noindent" >To begin, get the TeX Collection DVD or download the TeX Live net installer. See <a href="https://tug.org/texlive/acquire.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/acquire.html</span></a> for more information and other methods of getting the software. </p><!--l. 465--><p class="indent" > </p><dl class="description"><dt class="description"> <!--l. 466--><p class="noindent" > <span class="ec-lmbx-10">Net installer, .zip or .tar.gz:</span> </p></dt><dd class="description"> <!--l. 466--><p class="noindent" >Download from CTAN, under <span class="ec-lmtt-10">systems/texlive/tlnet</span>; the url <a href="http://mirror.ctan.org/systems/texlive/tlnet" class="url" ><span class="ec-lmtt-10">http://mirror.ctan.org/systems/texlive/tlnet</span></a> should redirect to a nearby, up-to-date, mirror. You can retrieve either <span class="ec-lmtt-10">install-tl.zip </span>which can be used under Unix and Windows, or the considerably smaller <span class="ec-lmtt-10">install-unx.tar.gz </span>for Unix only. After unpacking, <span class="ec-lmtt-10">install-tl </span>and <span class="ec-lmtt-10">install-tl-windows.bat </span>will be in the <span class="ec-lmtt-10">install-tl</span> subdirectory. </p></dd><dt class="description"> <!--l. 476--><p class="noindent" > <span class="ec-lmbx-10">Net installer, Windows .exe:</span> </p></dt><dd class="description"> <!--l. 476--><p class="noindent" >Download from CTAN as above, and double-click. This starts up a first-stage installer and unpacker; see figure <a href="#x1-15001r1">1<!--tex4ht:ref: fig:nsis --></a>. It gives two choices: “Install” and“Unpack only”. </p></dd><dt class="description"> <!--l. 481--><p class="noindent" > <span class="ec-lmbx-10">TeX Collection DVD:</span> </p></dt><dd class="description"> <!--l. 481--><p class="noindent" >go to the DVD’s <span class="ec-lmtt-10">texlive </span>subdirectory. Under Windows, the installer normally starts automatically when you insert the DVD. You can get the DVD by becoming a member of a TeX user group (highly recommended, <a href="https://tug.org/usergroups.html" class="url" ><span class="ec-lmtt-10">https://tug.org/usergroups.html</span></a>), or purchasing it separately ( <a href="https://tug.org/store" class="url" ><span class="ec-lmtt-10">https://tug.org/store</span></a>), 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 section <a href="#x1-320003.4.3">3.4.3<!--tex4ht:ref: sec:dvd-install-net-updates --></a>. </p> </dd></dl> <figure class="figure"> <a id="x1-15001r1"></a> <!--l. 495--><p class="noindent" ><img src="../texlive-common/nsis_installer.png" alt="First stage of Windows .exe installer" /> </p> <figcaption class="caption" ><span class="id">Figure 1: </span><span class="content">First stage of Windows <span class="ec-lmtt-10">.exe </span>installer</span></figcaption><!--tex4ht:label?: x1-15001r1 --> </figure> <!--l. 499--><p class="indent" > The same installer program is run, whatever the source. The most visible difference between the two is that with the net installer, what you end up with is the packages that are currently available. This is in contrast to the DVD and ISO images, which are not updated between the major public releases. </p><!--l. 505--><p class="indent" > If you need to download through proxies, use a <span class="ec-lmtt-10">~/.wgetrc </span>file or environment variables with the proxy settings for Wget ( <a href="https://www.gnu.org/software/wget/manual/html_node/Proxies.html" class="url" ><span class="ec-lmtt-10">https://www.gnu.org/software/wget/manual/html_node/Proxies.html</span></a>), or the equivalent for whatever download program you are using. This does not matter if you are installing from the DVD or ISO image. </p><!--l. 511--><p class="indent" > The following sections explain installer start-up in more detail. </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.1 </span> <a id="x1-160003.1.1"></a>Unix</h5> <!--l. 515--><p class="noindent" >Below, <span class="ec-lmtt-10">> </span>denotes the shell prompt; user input is <span class="ec-lmtk-10">bold</span>. The <span class="ec-lmtt-10">install-tl </span>program is a Perl script. The simplest way to start it on a Unix-compatible system is as follows: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">perl</span><span class="ec-lmtk-10"> /path/to/installer/install-tl</span> </div> </div> (Or you can invoke <span class="ec-lmtk-10">/path/to/installer/install-tl </span>if it stayed executable, or <span class="ec-lmtt-10">cd </span>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 <a href="#x1-18061r2">2<!--tex4ht:ref: fig:text-main --></a>). <!--l. 528--><p class="indent" > To install in GUI mode (figure <a href="#x1-18063r4">4<!--tex4ht:ref: fig:advanced-lnx --></a>), you’ll need to have Tcl/Tk installed. Given that, you can run: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">perl</span><span class="ec-lmtk-10"> install-tl</span><span class="ec-lmtk-10"> -gui</span> </div> </div> <!--l. 534--><p class="indent" > The old <span class="ec-lmtt-10">wizard </span>and <span class="ec-lmtt-10">perltk</span>/<span class="ec-lmtt-10">expert </span>options are still available, but now do the same thing as <span class="ec-lmtt-10">-gui</span>. For a complete listing of the various options: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">perl</span><span class="ec-lmtk-10"> install-tl</span><span class="ec-lmtk-10"> -help</span> </div> </div> <!--l. 541--><p class="indent" > <span class="ec-lmbx-10">About Unix permissions: </span>Your <span class="ec-lmtt-10">umask </span>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, <span class="ec-lmtt-10">umask 002</span>. For more information about <span class="ec-lmtt-10">umask</span>, consult your system documentation. </p><!--l. 548--><p class="indent" > <span class="ec-lmbx-10">Special considerations for Cygwin: </span>Unlike other Unix-compatible systems, Cygwin does not by default include all of the prerequisite programs needed by the TeX Live installer. See section <a href="#x1-190003.1.4">3.1.4<!--tex4ht:ref: sec:cygwin --></a>. </p><!--l. 554--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.2 </span> <a id="x1-170003.1.2"></a>Mac OS X</h5> <!--l. 557--><p class="noindent" >As mentioned in section <a href="#x1-90002.1">2.1<!--tex4ht:ref: sec:tl-coll-dists --></a>, a separate distribution is prepared for Mac OS X, named MacTeX ( <a href="https://tug.org/mactex" class="url" ><span class="ec-lmtt-10">https://tug.org/mactex</span></a>). 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. </p><!--l. 565--><p class="indent" > 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. </p><!--l. 570--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.3 </span> <a id="x1-180003.1.3"></a>Windows</h5> <!--l. 572--><p class="noindent" >If you are using the unpacked downloaded zip file, or the DVD installer failed to start automatically, double-click <span class="ec-lmtt-10">install-tl-windows.bat</span>. </p><!--l. 576--><p class="indent" > You can also start the installer from the command-prompt. Below, <span class="ec-lmtt-10">> </span>denotes the prompt; user input is <span class="ec-lmtk-10">bold</span>. If you are in the installer directory, run just: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">install-tl-windows</span></div> </div> <!--l. 583--><p class="indent" > Or you can invoke it with an absolute location, such as: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">D:</span><span class="ec-lmtt-10">\</span><span class="ec-lmtk-10">texlive</span><span class="ec-lmtt-10">\</span><span class="ec-lmtk-10">install-tl-windows</span></div> </div> for the TeX Collection DVD, supposing that <span class="ec-lmtt-10">D: </span>is the optical drive. Figure <a href="#x1-18062r3">3<!--tex4ht:ref: fig:basic-w32 --></a> displays the initial basic screen of the GUI installer, which is the default for Windows. <!--l. 591--><p class="indent" > To install in text mode, use: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">install-tl-windows</span><span class="ec-lmtk-10"> -no-gui</span> </div> </div> <!--l. 596--><p class="indent" > For a complete listing of the various options: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">install-tl-windows</span><span class="ec-lmtk-10"> -help</span> </div> </div> <figure class="figure"> <a id="x1-18061r2"></a> <pre class="fancyvrb" id="fancyvrb1"><a id="x1-18002r1"></a><span class="ec-lmtt-8">Installing</span><span class="ec-lmtt-8"> TeX</span><span class="ec-lmtt-8"> Live</span><span class="ec-lmtt-8"> 2021</span><span class="ec-lmtt-8"> from:</span><span class="ec-lmtt-8"> ...</span> <a id="x1-18004r2"></a><span class="ec-lmtt-8">Platform:</span><span class="ec-lmtt-8"> x86_64-linux</span><span class="ec-lmtt-8"> =></span><span class="ec-lmtt-8"> ’GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64’</span> <a id="x1-18006r3"></a><span class="ec-lmtt-8">Distribution:</span><span class="ec-lmtt-8"> inst</span><span class="ec-lmtt-8"> (compressed)</span> <a id="x1-18008r4"></a><span class="ec-lmtt-8">Directory</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> temporary</span><span class="ec-lmtt-8"> files:</span><span class="ec-lmtt-8"> /tmp</span> <a id="x1-18010r5"></a><span class="ec-lmtt-8">...</span> <a id="x1-18012r6"></a><span class="ec-lmtt-8"> Detected</span><span class="ec-lmtt-8"> platform:</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86_64</span> <a id="x1-18014r7"></a> <a id="x1-18016r8"></a><span class="ec-lmtt-8"> <B></span><span class="ec-lmtt-8"> binary</span><span class="ec-lmtt-8"> platforms:</span><span class="ec-lmtt-8"> 1</span><span class="ec-lmtt-8"> out</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> 16</span> <a id="x1-18018r9"></a> <a id="x1-18020r10"></a><span class="ec-lmtt-8"> <S></span><span class="ec-lmtt-8"> set</span><span class="ec-lmtt-8"> installation</span><span class="ec-lmtt-8"> scheme:</span><span class="ec-lmtt-8"> scheme-full</span> <a id="x1-18022r11"></a> <a id="x1-18024r12"></a><span class="ec-lmtt-8"> <C></span><span class="ec-lmtt-8"> customizing</span><span class="ec-lmtt-8"> installation</span><span class="ec-lmtt-8"> collections</span> <a id="x1-18026r13"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> 40</span><span class="ec-lmtt-8"> collections</span><span class="ec-lmtt-8"> out</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> 41,</span><span class="ec-lmtt-8"> disk</span><span class="ec-lmtt-8"> space</span><span class="ec-lmtt-8"> required:</span><span class="ec-lmtt-8"> 7172</span><span class="ec-lmtt-8"> MB</span> <a id="x1-18028r14"></a> <a id="x1-18030r15"></a><span class="ec-lmtt-8"> <D></span><span class="ec-lmtt-8"> directories:</span> <a id="x1-18032r16"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> TEXDIR</span><span class="ec-lmtt-8"> (the</span><span class="ec-lmtt-8"> main</span><span class="ec-lmtt-8"> TeX</span><span class="ec-lmtt-8"> directory):</span> <a id="x1-18034r17"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> /usr/local/texlive/2021</span> <a id="x1-18036r18"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span> <a id="x1-18038r19"></a> <a id="x1-18040r20"></a><span class="ec-lmtt-8"> <O></span><span class="ec-lmtt-8"> options:</span> <a id="x1-18042r21"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> use</span><span class="ec-lmtt-8"> letter</span><span class="ec-lmtt-8"> size</span><span class="ec-lmtt-8"> instead</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> A4</span><span class="ec-lmtt-8"> by</span><span class="ec-lmtt-8"> default</span> <a id="x1-18044r22"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> ...</span> <a id="x1-18046r23"></a> <a id="x1-18048r24"></a><span class="ec-lmtt-8"> <V></span><span class="ec-lmtt-8"> set</span><span class="ec-lmtt-8"> up</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> portable</span><span class="ec-lmtt-8"> installation</span> <a id="x1-18050r25"></a> <a id="x1-18052r26"></a><span class="ec-lmtt-8">Actions:</span> <a id="x1-18054r27"></a><span class="ec-lmtt-8"> <I></span><span class="ec-lmtt-8"> start</span><span class="ec-lmtt-8"> installation</span><span class="ec-lmtt-8"> to</span><span class="ec-lmtt-8"> hard</span><span class="ec-lmtt-8"> disk</span> <a id="x1-18056r28"></a><span class="ec-lmtt-8"> <P></span><span class="ec-lmtt-8"> save</span><span class="ec-lmtt-8"> installation</span><span class="ec-lmtt-8"> profile</span><span class="ec-lmtt-8"> to</span><span class="ec-lmtt-8"> ’texlive.profile’</span><span class="ec-lmtt-8"> and</span><span class="ec-lmtt-8"> exit</span> <a id="x1-18058r29"></a><span class="ec-lmtt-8"> <H></span><span class="ec-lmtt-8"> help</span> <a id="x1-18060r30"></a><span class="ec-lmtt-8"> <Q></span><span class="ec-lmtt-8"> quit</span></pre> <figcaption class="caption" ><span class="id">Figure 2: </span><span class="content">Main text installer screen (GNU/Linux)</span></figcaption><!--tex4ht:label?: x1-18061r2 --> </figure> <figure class="figure"> <a id="x1-18062r3"></a> <!--l. 639--><p class="noindent" ><img src="../texlive-common/basic-w32.png" alt="Basic installer screen (Windows)" /> </p> <figcaption class="caption" ><span class="id">Figure 3: </span><span class="content">Basic installer screen (Windows); the Advanced button will result in something like figure <a href="#x1-18063r4">4<!--tex4ht:ref: fig:advanced-lnx --></a></span></figcaption><!--tex4ht:label?: x1-18062r3 --> </figure> <figure class="figure"> <a id="x1-18063r4"></a> <!--l. 645--><p class="noindent" ><img src="../texlive-common/advanced-lnx.png" alt="Advanced installer screen (GNU/Linux)" /> </p> <figcaption class="caption" ><span class="id">Figure 4: </span><span class="content">Advanced GUI installer screen (GNU/Linux)</span></figcaption><!--tex4ht:label?: x1-18063r4 --> </figure> <!--l. 651--><p class="indent" > <a id="cygwin"></a> </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.4 </span> <a id="x1-190003.1.4"></a>Cygwin</h5> <!--l. 655--><p class="noindent" >Before beginning the installation, use Cygwin’s <span class="ec-lmtt-10">setup.exe </span>program to install the <span class="ec-lmtt-10">perl </span>and <span class="ec-lmtt-10">wget</span> packages if you have not already done so. The following additional packages are recommended: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 660--><p class="noindent" ><span class="ec-lmtt-10">fontconfig </span>[needed by XeTeX and LuaTeX] </p></li> <li class="itemize"> <!--l. 661--><p class="noindent" ><span class="ec-lmtt-10">ghostscript </span>[needed by various utilities] </p></li> <li class="itemize"> <!--l. 662--><p class="noindent" ><span class="ec-lmtt-10">libXaw7 </span>[needed by <span class="ec-lmtt-10">xdvi</span>] </p></li> <li class="itemize"> <!--l. 663--><p class="noindent" ><span class="ec-lmtt-10">ncurses </span>[provides the <span class="ec-lmtt-10">clear </span>command used by the installer]</p></li></ul> <!--l. 667--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.5 </span> <a id="x1-200003.1.5"></a>The text installer</h5> <!--l. 669--><p class="noindent" >Figure <a href="#x1-18061r2">2<!--tex4ht:ref: fig:text-main --></a> displays the main text mode screen under Unix. The text installer is the default on Unix. </p><!--l. 672--><p class="indent" > 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. </p><!--l. 678--><p class="indent" > The text installer interface is this primitive in order to make it run on as many platforms as possible, even with a minimal Perl. </p><!--l. 681--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.1.6 </span> <a id="x1-210003.1.6"></a>The graphical installer</h5> <!--l. 684--><p class="noindent" >The default graphical installer starts out simple, with just a few options; see figure <a href="#x1-18062r3">3<!--tex4ht:ref: fig:basic-w32 --></a>. It can be started with </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">install-tl</span><span class="ec-lmtk-10"> -gui</span> </div> </div> The Advanced button gives access to most of the options of the text installer; see figure <a href="#x1-18063r4">4<!--tex4ht:ref: fig:advanced-lnx --></a>. <!--l. 692--><p class="indent" > The <span class="ec-lmtt-10">perltk</span>/<span class="ec-lmtt-10">expert </span>and <span class="ec-lmtt-10">wizard </span>GUI options now invoke the regular graphical installer. </p><!--l. 695--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">3.2 </span> <a id="x1-220003.2"></a>Running the installer</h4> <!--l. 698--><p class="noindent" >The installer is intended to be mostly self-explanatory, but following are a few notes about the various options and submenus. </p><!--l. 701--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.2.1 </span> <a id="x1-230003.2.1"></a>Binary systems menu (Unix only)</h5> <figure class="figure"> <a id="x1-23037r5"></a> <pre class="fancyvrb" id="fancyvrb2"><a id="x1-23002r1"></a><span class="ec-lmtt-8">Available</span><span class="ec-lmtt-8"> platforms:</span> <a id="x1-23004r2"></a><span class="ec-lmtt-8">===============================================================================</span> <a id="x1-23006r3"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> a</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> Cygwin</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86</span><span class="ec-lmtt-8"> (i386-cygwin)</span> <a id="x1-23008r4"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> b</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> Cygwin</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (x86_64-cygwin)</span> <a id="x1-23010r5"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> c</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> MacOSX</span><span class="ec-lmtt-8"> current</span><span class="ec-lmtt-8"> (10.14-)</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> ARM/x86_64</span><span class="ec-lmtt-8"> (universal-darwin)</span> <a id="x1-23012r6"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> d</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> MacOSX</span><span class="ec-lmtt-8"> legacy</span><span class="ec-lmtt-8"> (10.6-)</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (x86_64-darwinlegacy)</span> <a id="x1-23014r7"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> e</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> FreeBSD</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (amd64-freebsd)</span> <a id="x1-23016r8"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> f</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> FreeBSD</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86</span><span class="ec-lmtt-8"> (i386-freebsd)</span> <a id="x1-23018r9"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> g</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> ARM64</span><span class="ec-lmtt-8"> (aarch64-linux)</span> <a id="x1-23020r10"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> h</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> ARMv6/RPi</span><span class="ec-lmtt-8"> (armhf-linux)</span> <a id="x1-23022r11"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> i</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86</span><span class="ec-lmtt-8"> (i386-linux)</span> <a id="x1-23024r12"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> j</span><span class="ec-lmtt-8"> [X]</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (x86_64-linux)</span> <a id="x1-23026r13"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> k</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> GNU/Linux</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> with</span><span class="ec-lmtt-8"> musl</span><span class="ec-lmtt-8"> (x86_64-linuxmusl)</span> <a id="x1-23028r14"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> l</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> NetBSD</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (amd64-netbsd)</span> <a id="x1-23030r15"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> m</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> NetBSD</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86</span><span class="ec-lmtt-8"> (i386-netbsd)</span> <a id="x1-23032r16"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> o</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> Solaris</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> Intel</span><span class="ec-lmtt-8"> x86</span><span class="ec-lmtt-8"> (i386-solaris)</span> <a id="x1-23034r17"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> p</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> Solaris</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> x86_64</span><span class="ec-lmtt-8"> (x86_64-solaris)</span> <a id="x1-23036r18"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> s</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> Windows</span><span class="ec-lmtt-8"> (win32)</span></pre> <figcaption class="caption" ><span class="id">Figure 5: </span><span class="content">Binaries menu</span></figcaption><!--tex4ht:label?: x1-23037r5 --> </figure> <!--l. 729--><p class="indent" > Figure <a href="#x1-23037r5">5<!--tex4ht:ref: fig:bin-text --></a> 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 system. </p> <h5 class="subsubsectionHead"><span class="titlemark">3.2.2 </span> <a id="x1-240003.2.2"></a>Selecting what is to be installed</h5> <figure class="figure"> <a id="x1-24025r6"></a> <pre class="fancyvrb" id="fancyvrb3"><a id="x1-24002r1"></a><span class="ec-lmtt-8">Select</span><span class="ec-lmtt-8"> scheme:</span> <a id="x1-24004r2"></a><span class="ec-lmtt-8">===============================================================================</span> <a id="x1-24006r3"></a><span class="ec-lmtt-8"> a</span><span class="ec-lmtt-8"> [X]</span><span class="ec-lmtt-8"> full</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (everything)</span> <a id="x1-24008r4"></a><span class="ec-lmtt-8"> b</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> medium</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (small</span><span class="ec-lmtt-8"> +</span><span class="ec-lmtt-8"> more</span><span class="ec-lmtt-8"> packages</span><span class="ec-lmtt-8"> and</span><span class="ec-lmtt-8"> languages)</span> <a id="x1-24010r5"></a><span class="ec-lmtt-8"> c</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> small</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (basic</span><span class="ec-lmtt-8"> +</span><span class="ec-lmtt-8"> xetex,</span><span class="ec-lmtt-8"> metapost,</span><span class="ec-lmtt-8"> a</span><span class="ec-lmtt-8"> few</span><span class="ec-lmtt-8"> languages)</span> <a id="x1-24012r6"></a><span class="ec-lmtt-8"> d</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> basic</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (plain</span><span class="ec-lmtt-8"> and</span><span class="ec-lmtt-8"> latex)</span> <a id="x1-24014r7"></a><span class="ec-lmtt-8"> e</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> minimal</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (plain</span><span class="ec-lmtt-8"> only)</span> <a id="x1-24016r8"></a><span class="ec-lmtt-8"> f</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> ConTeXt</span><span class="ec-lmtt-8"> scheme</span> <a id="x1-24018r9"></a><span class="ec-lmtt-8"> g</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> GUST</span><span class="ec-lmtt-8"> TeX</span><span class="ec-lmtt-8"> Live</span><span class="ec-lmtt-8"> scheme</span> <a id="x1-24020r10"></a><span class="ec-lmtt-8"> h</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> infrastructure-only</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (no</span><span class="ec-lmtt-8"> TeX</span><span class="ec-lmtt-8"> at</span><span class="ec-lmtt-8"> all)</span> <a id="x1-24022r11"></a><span class="ec-lmtt-8"> i</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> teTeX</span><span class="ec-lmtt-8"> scheme</span><span class="ec-lmtt-8"> (more</span><span class="ec-lmtt-8"> than</span><span class="ec-lmtt-8"> medium,</span><span class="ec-lmtt-8"> but</span><span class="ec-lmtt-8"> nowhere</span><span class="ec-lmtt-8"> near</span><span class="ec-lmtt-8"> full)</span> <a id="x1-24024r12"></a><span class="ec-lmtt-8"> j</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span><span class="ec-lmtt-8"> custom</span><span class="ec-lmtt-8"> selection</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> collections</span></pre> <figcaption class="caption" ><span class="id">Figure 6: </span><span class="content">Scheme menu</span></figcaption><!--tex4ht:label?: x1-24025r6 --> </figure> <!--l. 758--><p class="indent" > Figure <a href="#x1-24025r6">6<!--tex4ht:ref: fig:scheme-text --></a> displays the TeX Live scheme menu; from here, you choose a “scheme”, which is an overall set of package collections. The default <span class="ec-lmtt-10">full </span>scheme installs everything available. This is recommended, but you can also choose the <span class="ec-lmtt-10">basic </span>scheme for just plain and LaTeX, <span class="ec-lmtt-10">small </span>for a few more programs (equivalent to the so-called BasicTeX installation of MacTeX), <span class="ec-lmtt-10">minimal </span>for testing purposes, and <span class="ec-lmtt-10">medium</span> or <span class="ec-lmtt-10">teTeX </span>to get something in between. There are also various specialized and country-specific schemes. </p> <figure class="figure"> <a id="x1-24026r7"></a> <!--l. 770--><p class="noindent" ><img src="../texlive-common/stdcoll.png" alt="Collections menu" /> </p> <figcaption class="caption" ><span class="id">Figure 7: </span><span class="content">Collections menu</span></figcaption><!--tex4ht:label?: x1-24026r7 --> </figure> <!--l. 774--><p class="indent" > You can refine your scheme selection with the ‘collections’ menu (figure <a href="#x1-24026r7">7<!--tex4ht:ref: fig:collections-gui --></a>, shown in GUI mode for a change). </p><!--l. 777--><p class="indent" > 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. </p><!--l. 782--><p class="indent" > If you want more control than the collection menus provide, you can use the TeX Live Manager (<span class="ec-lmss-10">tlmgr</span>) program after installation (see section <a href="#x1-430005">5<!--tex4ht:ref: sec:tlmgr --></a>); using that, you can control the installation at the package level. </p> <h5 class="subsubsectionHead"><span class="titlemark">3.2.3 </span> <a id="x1-250003.2.3"></a>Directories</h5> <!--l. 790--><p class="noindent" >The default layout is described in section <a href="#x1-110002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>, p. <a href="#x1-110002.3">8<!--tex4ht:ref: sec:texmftrees --></a>. The default installation directory is <span class="ec-lmtt-10">/usr/local/texlive/2021</span> on Unix and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%SystemDrive%\texlive\2021</span></span></span> 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. </p><!--l. 798--><p class="indent" > That installation directory can be overridden by setting the so-called <span class="ec-lmtt-10">TEXDIR </span>in the installer. The GUI screen for this and other options is shown in figure <a href="#x1-18063r4">4<!--tex4ht:ref: fig:advanced-lnx --></a>. 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 need write access to the target directory). </p><!--l. 806--><p class="indent" > The installation directories can also be changed by setting a variety of environment variables before running the installer (most likely, <span class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX </span>or <span class="ec-lmtt-10">TEXLIVE_INSTALL_TEXDIR</span>); see the documentation from <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">install-tl</span><span class="ec-lmtt-10"> --help</span></span></span> (available online at <a href="https://tug.org/texlive/doc/install-tl.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/doc/install-tl.html</span></a>) for the full list and more details. </p><!--l. 814--><p class="indent" > A reasonable alternative destination is a directory under your home, especially if you will be the sole user. Use ‘<span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~</span></span></span>’ to indicate this, as in ‘<span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~/texlive/2021</span></span></span>’. </p><!--l. 818--><p class="indent" > 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 <span class="ec-lmtt-10">/usr/local/texlive-cur</span>, via a symbolic link, which you can then repoint after testing the new release.) </p><!--l. 823--><p class="indent" > Changing <span class="ec-lmtt-10">TEXDIR </span>in the installer will also change <span class="ec-lmtt-10">TEXMFLOCAL</span>, <span class="ec-lmtt-10">TEXMFSYSVAR </span>and <span class="ec-lmtt-10">TEXMFSYSCONFIG</span>. </p><!--l. 827--><p class="indent" > <span class="ec-lmtt-10">TEXMFHOME </span>is the recommended location for personal macro files or packages. The default value is <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~/texmf</span></span></span> (<span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~/Library/texmf</span></span></span> on Macs). In contrast to <span class="ec-lmtt-10">TEXDIR</span>, here a <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~</span></span></span> is preserved in the newly-written configuration files, since it usefully refers to the home directory of the user running TeX. It expands to <span class="ec-lmtt-10">$HOME </span>on Unix and <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%USERPROFILE%</span></span></span> on Windows. Special redundant note: <span class="ec-lmtt-10">TEXMFHOME</span>, like all trees, must be organized according to the TDS, or files may not be found. </p><!--l. 836--><p class="indent" > <span class="ec-lmtt-10">TEXMFVAR </span>is the location for storing most cached runtime data specific to each user. <span class="ec-lmtt-10">TEXMFCACHE </span>is the variable name used for that purpose by LuaLaTeX and ConTeXt MkIV (see section <a href="#x1-340003.4.5">3.4.5<!--tex4ht:ref: sec:context-mkiv --></a>, p. <a href="#x1-340003.4.5">42<!--tex4ht:ref: sec:context-mkiv --></a>); its default value is <span class="ec-lmtt-10">TEXMFSYSVAR</span>, or (if that’s not writable), <span class="ec-lmtt-10">TEXMFVAR</span>. </p><!--l. 844--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.2.4 </span> <a id="x1-260003.2.4"></a>Options</h5> <figure class="figure"> <a id="x1-26025r8"></a> <pre class="fancyvrb" id="fancyvrb4"><a id="x1-26002r1"></a><span class="ec-lmtt-8">Options</span><span class="ec-lmtt-8"> customization:</span> <a id="x1-26004r2"></a><span class="ec-lmtt-8">===============================================================================</span> <a id="x1-26006r3"></a><span class="ec-lmtt-8"> <P></span><span class="ec-lmtt-8"> use</span><span class="ec-lmtt-8"> letter</span><span class="ec-lmtt-8"> size</span><span class="ec-lmtt-8"> instead</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> A4</span><span class="ec-lmtt-8"> by</span><span class="ec-lmtt-8"> default:</span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span> <a id="x1-26008r4"></a><span class="ec-lmtt-8"> <E></span><span class="ec-lmtt-8"> execution</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> restricted</span><span class="ec-lmtt-8"> list</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> programs:</span><span class="ec-lmtt-8"> [X]</span> <a id="x1-26010r5"></a><span class="ec-lmtt-8"> <F></span><span class="ec-lmtt-8"> create</span><span class="ec-lmtt-8"> all</span><span class="ec-lmtt-8"> format</span><span class="ec-lmtt-8"> files:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> [X]</span> <a id="x1-26012r6"></a><span class="ec-lmtt-8"> <D></span><span class="ec-lmtt-8"> install</span><span class="ec-lmtt-8"> font/macro</span><span class="ec-lmtt-8"> doc</span><span class="ec-lmtt-8"> tree:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> [X]</span> <a id="x1-26014r7"></a><span class="ec-lmtt-8"> <S></span><span class="ec-lmtt-8"> install</span><span class="ec-lmtt-8"> font/macro</span><span class="ec-lmtt-8"> source</span><span class="ec-lmtt-8"> tree:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> [X]</span> <a id="x1-26016r8"></a><span class="ec-lmtt-8"> <L></span><span class="ec-lmtt-8"> create</span><span class="ec-lmtt-8"> symlinks</span><span class="ec-lmtt-8"> in</span><span class="ec-lmtt-8"> standard</span><span class="ec-lmtt-8"> directories:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> [</span><span class="ec-lmtt-8"> ]</span> <a id="x1-26018r9"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> binaries</span><span class="ec-lmtt-8"> to:</span> <a id="x1-26020r10"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> manpages</span><span class="ec-lmtt-8"> to:</span> <a id="x1-26022r11"></a><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> info</span><span class="ec-lmtt-8"> to:</span> <a id="x1-26024r12"></a><span class="ec-lmtt-8"> <Y></span><span class="ec-lmtt-8"> after</span><span class="ec-lmtt-8"> install,</span><span class="ec-lmtt-8"> set</span><span class="ec-lmtt-8"> CTAN</span><span class="ec-lmtt-8"> as</span><span class="ec-lmtt-8"> source</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> package</span><span class="ec-lmtt-8"> updates:</span><span class="ec-lmtt-8"> [X]</span></pre> <figcaption class="caption" ><span class="id">Figure 8: </span><span class="content">Options menu (Unix)</span></figcaption><!--tex4ht:label?: x1-26025r8 --> </figure> <!--l. 866--><p class="indent" > Figure <a href="#x1-26025r8">8<!--tex4ht:ref: fig:options-text --></a> shows the text mode options menu. More info on each: </p><dl class="description"><dt class="description"> <!--l. 870--><p class="noindent" > <span class="ec-lmbx-10">use letter size instead of A4 by default:</span> </p></dt><dd class="description"> <!--l. 870--><p class="noindent" >The default paper size selection. Of course, individual documents can and should specify a specific paper size, if desired. </p></dd><dt class="description"> <!--l. 874--><p class="noindent" > <span class="ec-lmbx-10">execution of restricted list of programs:</span> </p></dt><dd class="description"> <!--l. 874--><p class="noindent" >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 <span class="ec-lmtt-10">texmf.cnf</span>. See the 2010 news (section <a href="#x1-780009.1.7">9.1.7<!--tex4ht:ref: sec:2010news --></a>) for more details. </p></dd><dt class="description"> <!--l. 879--><p class="noindent" > <span class="ec-lmbx-10">create all format files:</span> </p></dt><dd class="description"> <!--l. 879--><p class="noindent" >We recommend leaving this option checked, to avoid unnecessary problems when creating formats dynamically. See the <span class="ec-lmss-10">fmtutil </span>documentation for more details. </p></dd><dt class="description"> <!--l. 883--><p class="noindent" > <span class="ec-lmbx-10">install font/macro </span><span class="ec-lmbx-10">…</span><span class="ec-lmbx-10"> tree:</span> </p></dt><dd class="description"> <!--l. 883--><p class="noindent" >Download/install the documentation and source files included in most packages. Unchecking is not recommended. </p></dd><dt class="description"> <!--l. 887--><p class="noindent" > <span class="ec-lmbx-10">create symlinks in standard directories:</span> </p></dt><dd class="description"> <!--l. 887--><p class="noindent" >This option (Unix only) bypasses the need to change environment variables. Without this option, TeX Live directories usually have to be added to <span class="ec-lmtt-10">PATH</span>, <span class="ec-lmtt-10">MANPATH </span>and <span class="ec-lmtt-10">INFOPATH</span>. 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 <span class="ec-lmtt-10">/usr/local/bin</span>, 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. </p></dd><dt class="description"> <!--l. 898--><p class="noindent" > <span class="ec-lmbx-10">after install, set CTAN as source for package updates:</span> </p></dt><dd class="description"> <!--l. 898--><p class="noindent" >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 package repository for the installer, and for updates after installation, can be set independently as needed; see section <a href="#x1-280003.3.1">3.3.1<!--tex4ht:ref: sec:location --></a> and section <a href="#x1-320003.4.3">3.4.3<!--tex4ht:ref: sec:dvd-install-net-updates --></a>.</p></dd></dl> <!--l. 909--><p class="noindent" >Windows-specific options, as displayed in the advanced GUI interface: </p><dl class="description"><dt class="description"> <!--l. 912--><p class="noindent" > <span class="ec-lmbx-10">adjust searchpath</span> </p></dt><dd class="description"> <!--l. 912--><p class="noindent" >This ensures that all programs will see the TeX Live binary directory on their search path. </p></dd><dt class="description"> <!--l. 915--><p class="noindent" > <span class="ec-lmbx-10">add menu shortcuts</span> </p></dt><dd class="description"> <!--l. 915--><p class="noindent" >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 <a href="#x1-410004.1">4.1<!--tex4ht:ref: sec:sharedinstall --></a>. </p></dd><dt class="description"> <!--l. 920--><p class="noindent" > <span class="ec-lmbx-10">File associations</span> </p></dt><dd class="description"> <!--l. 920--><p class="noindent" >The options are ‘Only new’ (create file associations, but do not overwrite existing ones), ‘All’ and ‘None’. </p></dd><dt class="description"> <!--l. 924--><p class="noindent" > <span class="ec-lmbx-10">install TeXworks front end</span> </p></dt><dd class="description"> <!--l. 924--><p class="noindent" ></p></dd></dl> <!--l. 926--><p class="noindent" >When all the settings are to your liking, you can type ‘I’ in the text interface, or press the ‘Install’ button in the GUI, to start the installation process. When it is done, skip to section <a href="#x1-290003.4">3.4<!--tex4ht:ref: sec:postinstall --></a> to read what else needs to be done, if anything. </p> <h4 class="subsectionHead"><span class="titlemark">3.3 </span> <a id="x1-270003.3"></a>Command-line install-tl options</h4> <!--l. 935--><p class="noindent" >Type </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">install-tl</span><span class="ec-lmtk-10"> -help</span> </div> </div> for a listing of command-line options. Either <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">-</span></span></span> or <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">--</span></span></span> can be used to introduce option names. These are the most common ones: <!--l. 942--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">-gui</span> </dt><dd class="list"> <!--l. 943--><p class="noindent" >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 options <span class="ec-lmtt-10">-gui=perltk </span>and <span class="ec-lmtt-10">-gui=wizard </span>are still available but invoke the same GUI interface; if Tcl/Tk is not available, installation continues in text mode. </p></dd><dt class="list"> <span class="ec-lmtt-10">-no-gui</span> </dt><dd class="list"> <!--l. 950--><p class="noindent" >Force using the text mode installer. </p></dd><dt class="list"> <span class="ec-lmtt-10">-lang </span><span class="ec-lmro-10">LL</span> </dt><dd class="list"> <!--l. 952--><p class="noindent" >Specify the installer interface language as a standard (usually two-letter) code. The installer tries to automatically determine the right language but if it fails, or if the right language is not available, then it uses English as a fallback. Run <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">install-tl</span><span class="ec-lmtt-10"> --help</span></span></span> to get the list of available languages. </p></dd><dt class="list"> <span class="ec-lmtt-10">-portable</span> </dt><dd class="list"> <!--l. 959--><p class="noindent" >Install for portable use on, e.g., a USB stick. Also selectable from within the text installer with the <span class="ec-lmtt-10">V </span>command, and from the GUI installer. See section <a href="#x1-420004.2">4.2<!--tex4ht:ref: sec:portable-tl --></a>. </p></dd><dt class="list"> <span class="ec-lmtt-10">-profile </span><span class="ec-lmro-10">file</span> </dt><dd class="list"> <!--l. 964--><p class="noindent" >Load the installation profile <span class="ec-lmro-10">file </span>and do the installation with no user interaction. The installer always writes a file <span class="ec-lmtt-10">texlive.profile </span>to the <span class="ec-lmtt-10">tlpkg </span>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. </p></dd><dt class="list"> <span class="ec-lmtt-10">-repository </span><span class="ec-lmro-10">url-or-directory</span> </dt><dd class="list"> <!--l. 973--><p class="noindent" >Specify package repository from which to install; see following. </p><!--l. 976--><p class="noindent" ><a id="opt-in-place"></a> </p></dd><dt class="list"> <span class="ec-lmtt-10">-in-place</span> </dt><dd class="list"> <!--l. 977--><p class="noindent" >(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 <a href="https://tug.org/texlive/acquire-mirror.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/acquire-mirror.html</span></a>) then this option will use what you’ve got, as-is, and do only the necessary post-install actions. Be warned that the file <span class="ec-lmtt-10">tlpkg/texlive.tlpdb</span> 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.</p></dd></dl> <!--l. 989--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.3.1 </span> <a id="x1-280003.3.1"></a>The <span class="ec-lmtt-10">-repository </span>option</h5> <!--l. 992--><p class="noindent" >The default network package repository is a CTAN mirror chosen automatically via <a href="http://mirror.ctan.org" class="url" ><span class="ec-lmtt-10">http://mirror.ctan.org</span></a>. </p><!--l. 995--><p class="indent" > If you want to override that, the location value can be a url starting with <span class="ec-lmtt-10">ftp:</span>, <span class="ec-lmtt-10">http:</span>, <span class="ec-lmtt-10">https:</span>, <span class="ec-lmtt-10">file:/</span>, or a plain directory path. (When giving an <span class="ec-lmtt-10">http:</span>, <span class="ec-lmtt-10">https: </span>or <span class="ec-lmtt-10">ftp:</span> location, trailing ‘<span class="ec-lmtt-10">/</span>’ characters and/or a trailing ‘<span class="ec-lmtt-10">/tlpkg</span>’ component are ignored.) </p><!--l. 1002--><p class="indent" > For example, you could choose a particular CTAN mirror with something like: <a href="http://ctan.example.org/tex-archive/systems/texlive/tlnet/" class="url" ><span class="ec-lmtt-10">http://ctan.example.org/tex-archive/systems/texlive/tlnet/</span></a>, substituting a real hostname and its particular top-level CTAN path for <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">ctan.example.org/tex-archive</span></span></span>. The list of CTAN mirrors is maintained at <a href="https://ctan.org/mirrors" class="url" ><span class="ec-lmtt-10">https://ctan.org/mirrors</span></a>. </p><!--l. 1008--><p class="indent" > If the given argument is local (either a path or a <span class="ec-lmtt-10">file:/ </span>url), compressed files in an <span class="ec-lmtt-10">archive </span>subdirectory of the repository path are used (even if uncompressed files are available as well). </p><!--l. 1012--><p class="indent" > <a id="postinstall"></a> </p> <h4 class="subsectionHead"><span class="titlemark">3.4 </span> <a id="x1-290003.4"></a>Post-install actions</h4> <!--l. 1016--><p class="noindent" >Some post-installation may be required. </p><!--l. 1018--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.1 </span> <a id="x1-300003.4.1"></a>Environment variables for Unix</h5> <!--l. 1021--><p class="noindent" >If you elected to create symlinks in standard directories (described in section <a href="#x1-260003.2.4">3.2.4<!--tex4ht:ref: sec:options --></a>), then there is no need to edit environment variables. Otherwise, on Unix systems, the directory of the binaries for your platform must be added to the search path. (On Windows, the installer takes care of this.) </p><!--l. 1027--><p class="indent" > Each supported platform has its own subdirectory under <span class="ec-lmtt-10">TEXDIR/bin</span>. See figure <a href="#x1-23037r5">5<!--tex4ht:ref: fig:bin-text --></a> for the list of subdirectories and corresponding platforms. </p><!--l. 1031--><p class="indent" > Optionally, you can also add the documentation man and Info directories to their respective search paths, if you want the system tools to find them. The man pages might be found automatically after the addition to <span class="ec-lmtt-10">PATH</span>. </p><!--l. 1036--><p class="indent" > For Bourne-compatible shells such as <span class="ec-lmss-10">bash</span>, and using Intel x86 GNU/Linux and the TeX Live default directory setup as an example, the file to edit might be <span class="ec-lmtt-10">$HOME/.profile </span>(or another file sourced by <span class="ec-lmtt-10">.profile</span>), and the lines to add would look like this: </p><!--l. 1041--><p class="indent" > </p> <pre class="fancyvrb" id="fancyvrb5"><a id="x1-30002r1"></a><span class="ec-lmtt-9">PATH=/usr/local/texlive/2021/bin/x86_64-linux:$PATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> PATH</span> <a id="x1-30004r2"></a><span class="ec-lmtt-9">MANPATH=/usr/local/texlive/2021/texmf-dist/doc/man:$MANPATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> MANPATH</span> <a id="x1-30006r3"></a><span class="ec-lmtt-9">INFOPATH=/usr/local/texlive/2021/texmf-dist/doc/info:$INFOPATH;</span><span class="ec-lmtt-9"> export</span><span class="ec-lmtt-9"> INFOPATH</span></pre> <!--l. 1047--><p class="indent" > For csh or tcsh, the file to edit is typically <span class="ec-lmtt-10">$HOME/.cshrc</span>, and the lines to add might look like: </p><!--l. 1050--><p class="indent" > </p> <pre class="fancyvrb" id="fancyvrb6"><a id="x1-30008r1"></a><span class="ec-lmtt-9">setenv</span><span class="ec-lmtt-9"> PATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2021/bin/x86_64-linux:$PATH</span> <a id="x1-30010r2"></a><span class="ec-lmtt-9">setenv</span><span class="ec-lmtt-9"> MANPATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2021/texmf-dist/doc/man:$MANPATH</span> <a id="x1-30012r3"></a><span class="ec-lmtt-9">setenv</span><span class="ec-lmtt-9"> INFOPATH</span><span class="ec-lmtt-9"> /usr/local/texlive/2021/texmf-dist/doc/info:$INFOPATH</span></pre> <!--l. 1056--><p class="indent" > If you’re not on an <span class="ec-lmtt-10">x86_64-linux </span>platform, use the appropriate platform name; similarly, if you didn’t install in the default directory, change the directory name. The TeX Live installer reports the full lines to use at the end of installation. </p><!--l. 1061--><p class="indent" > If you already have <span class="ec-lmtt-10">PATH </span>settings somewhere in your startup files, merge in the TeX Live directories as you see fit. </p><!--l. 1065--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.2 </span> <a id="x1-310003.4.2"></a>Environment variables: Global configuration</h5> <!--l. 1068--><p class="noindent" >If you want to make these changes globally, or for a user newly added to the system, then you are on your own; there is just too much variation between systems in how and where these things are configured. </p><!--l. 1072--><p class="indent" > Our two hints are: 1) you may want to check for a file <span class="ec-lmtt-10">/etc/manpath.config </span>and, if present, add lines such as </p><!--l. 1075--><p class="indent" > </p> <pre class="fancyvrb" id="fancyvrb7"><a id="x1-31002r1"></a><span class="ec-lmtt-9">MANPATH_MAP</span><span class="ec-lmtt-9"> /usr/local/texlive/2021/bin/x86_64-linux</span><span class="ec-lmtt-9"> \</span> <a id="x1-31004r2"></a><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> /usr/local/texlive/2021/texmf-dist/doc/man</span></pre> <!--l. 1080--><p class="indent" > And 2) check for a file <span class="ec-lmtt-10">/etc/environment </span>which may define the search path and other default environment variables. </p><!--l. 1083--><p class="indent" > In each (Unix) binary directory, we also create a symbolic link named <span class="ec-lmtt-10">man </span>to the directory <span class="ec-lmtt-10">texmf-dist/doc/man</span>. Some <span class="ec-lmtt-10">man </span>programs, such as the standard Mac OS X <span class="ec-lmtt-10">man</span>, will automatically find that, obviating the need for any man page setup. </p><!--l. 1089--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.3 </span> <a id="x1-320003.4.3"></a>Internet updates after DVD installation</h5> <!--l. 1092--><p class="noindent" >If you installed TeX Live from DVD and then wish to get updates from the Internet, you need to run this command—<span class="ec-lmri-10">after </span>you’ve updated your search path (as described in the previous section): </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> option</span><span class="ec-lmtk-10"> repository</span><span class="ec-lmtk-10"> http://mirror.ctan.org/systems/texlive/tlnet</span> </div> </div> <!--l. 1100--><p class="indent" > This tells <span class="ec-lmss-10">tlmgr </span>to use a nearby CTAN mirror for future updates. This is done by default when installing from DVD, via the option described in section <a href="#x1-260003.2.4">3.2.4<!--tex4ht:ref: sec:options --></a>. </p><!--l. 1104--><p class="indent" > If there are problems with the automatic mirror selection, you can specify a particular CTAN mirror from the list at <a href="https://ctan.org/mirrors" class="url" ><span class="ec-lmtt-10">https://ctan.org/mirrors</span></a>. Use the exact path to the <span class="ec-lmtt-10">tlnet </span>subdir on that mirror, as shown above. </p><!--l. 1110--><p class="indent" > <a id="xetexfontconfig"></a> <a id="sysfontconfig"></a> </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.4 </span> <a id="x1-330003.4.4"></a>System font configuration for XeTeX and LuaTeX</h5> <!--l. 1115--><p class="noindent" >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. </p><!--l. 1119--><p class="indent" > 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 ( <a href="https://tug.org/mactex" class="url" ><span class="ec-lmtt-10">https://tug.org/mactex</span></a>). For other Unix systems, the procedure to be able to find the fonts shipped with TeX Live via font name follows. </p><!--l. 1125--><p class="indent" > To facilitate this, when the <span class="ec-lmss-10">xetex </span>package is installed (either at initial installation or later), the necessary configuration file is created in <span class="ec-lmtt-10">TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf</span>. </p><!--l. 1130--><p class="indent" > To set up the TeX Live fonts for system-wide use (assuming you have suitable privileges), proceed as follows: </p><ol class="enumerate1" > <li class="enumerate" id="x1-33002x1"> <!--l. 1133--><p class="noindent" >Copy the <span class="ec-lmtt-10">texlive-fontconfig.conf </span>file to <span class="ec-lmtt-10">/etc/fonts/conf.d/09-texlive.conf</span>. </p></li> <li class="enumerate" id="x1-33004x2"> <!--l. 1135--><p class="noindent" >Run <span class="ec-lmtk-10">fc-cache -fsv</span>.</p></li></ol> <!--l. 1138--><p class="indent" > 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: </p><ol class="enumerate1" > <li class="enumerate" id="x1-33006x1"> <!--l. 1142--><p class="noindent" >Copy the <span class="ec-lmtt-10">texlive-fontconfig.conf </span>file to <span class="ec-lmtt-10">~/.fonts.conf</span>, where <span class="ec-lmtt-10">~ </span>is your home directory. </p></li> <li class="enumerate" id="x1-33008x2"> <!--l. 1144--><p class="noindent" >Run <span class="ec-lmtk-10">fc-cache -fv</span>.</p></li></ol> <!--l. 1147--><p class="indent" > You can run <span class="ec-lmtt-10">fc-list </span>to see the names of the system fonts. The incantation <span class="ec-lmtt-10">fc-list : family style</span> <span class="ec-lmtt-10">file spacing </span>(all arguments are literal strings) shows some generally interesting information. </p><!--l. 1152--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.5 </span> <a id="x1-340003.4.5"></a>ConTeXt Mark IV</h5> <!--l. 1155--><p class="noindent" >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 <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">tlmgr</span></span></span> for updates. </p><!--l. 1160--><p class="indent" > However, because ConTeXt MkIV does not use the kpathsea library, some setup will be required whenever you install new files manually (without using <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">tlmgr</span></span></span>). After each such installation, each MkIV user must run: </p> <pre class="fancyvrb" id="fancyvrb8"><a id="x1-34002r1"></a><span class="ec-lmtt-9">context</span><span class="ec-lmtt-9"> --generate</span></pre> <!--l. 1167--><p class="noindent" >to refresh the ConTeXt disk cache data. The resulting files are stored under <span class="ec-lmtt-10">TEXMFCACHE</span>, whose default value in TeX Live is <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">TEXMFSYSVAR;TEXMFVAR</span></span></span>. </p><!--l. 1171--><p class="indent" > ConTeXt MkIV will read from all paths mentioned in <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">TEXMFCACHE</span></span></span>, 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. </p><!--l. 1176--><p class="indent" > For more information, see <a href="https://wiki.contextgarden.net/Running_Mark_IV" class="url" ><span class="ec-lmtt-10">https://wiki.contextgarden.net/Running_Mark_IV</span></a>. </p><!--l. 1180--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.6 </span> <a id="x1-350003.4.6"></a>Integrating local and personal macros</h5> <!--l. 1183--><p class="noindent" >This is already mentioned implicitly in section <a href="#x1-110002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>: <span class="ec-lmtt-10">TEXMFLOCAL </span>(by default, <span class="ec-lmtt-10">/usr/local/texlive/texmf-local</span> or <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%SystemDrive%\texlive\texmf-local</span></span></span> on Windows) is intended for system-wide local fonts and macros; and <span class="ec-lmtt-10">TEXMFHOME </span>(by default, <span class="ec-lmtt-10">$HOME/texmf </span>or <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%USERPROFILE%\texmf</span></span></span>), 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 <span class="ec-lmtt-10">TEXMFLOCAL </span>to be too far away from the main TeX Live directory, or you will need to manually change future releases. </p><!--l. 1196--><p class="indent" > For both trees, files should be placed in their proper TeX Directory Structure (TDS) subdirectories; see <a href="https://tug.org/tds" class="url" ><span class="ec-lmtt-10">https://tug.org/tds</span></a> or consult <span class="ec-lmtt-10">texmf-dist/web2c/texmf.cnf</span>. For instance, a LaTeX class file or package should be placed in <span class="ec-lmtt-10">TEXMFLOCAL/tex/latex </span>or <span class="ec-lmtt-10">TEXMFHOME/tex/latex</span>, or a subdirectory thereof. </p><!--l. 1202--><p class="indent" > <span class="ec-lmtt-10">TEXMFLOCAL </span>requires an up-to-date filename database, or files will not be found. You can update it with the command <span class="ec-lmss-10">mktexlsr </span>or use the ‘Reinit file database’ button on the configuration tab of the TeX Live Manager GUI. </p><!--l. 1207--><p class="indent" > By default, each of these variables is defined to be a single directory, as shown. This is not a hard-and-fast requirement. If you need to easily switch back and forth between different versions of large packages, for example, you can maintain multiple trees for your own purposes. This is done by setting <span class="ec-lmtt-10">TEXMFHOME </span>to the list of directories, within braces, separated by commas: </p> <pre class="verbatim" id="verbatim-1"> <pre class="fancyvrb" id="fancyvrb9"><a id="x1-35002r1"></a> TEXMFHOME = {/my/dir1,/mydir2,/a/third/dir}</pre> </pre> <!--l. 1216--><p class="nopar" > </p><!--l. 1218--><p class="indent" > Section <a href="#x1-590007.1.5">7.1.5<!--tex4ht:ref: sec:brace-expansion --></a> describes brace expansion further. </p><!--l. 1221--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">3.4.7 </span> <a id="x1-360003.4.7"></a>Integrating third-party fonts</h5> <!--l. 1223--><p class="noindent" >This is unfortunately a messy topic for TeX and pdfTeX. 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 like; the web pages under <a href="https://tug.org/FontCatalogue" class="url" ><span class="ec-lmtt-10">https://tug.org/FontCatalogue</span></a> display nearly all of the text fonts included in the main TeX distributions, categorized in various ways. </p><!--l. 1230--><p class="indent" > If you do want to install your own fonts, see <a href="https://tug.org/fonts/fontinstall.html" class="url" ><span class="ec-lmtt-10">https://tug.org/fonts/fontinstall.html</span></a> for our best effort at describing the procedure. </p><!--l. 1234--><p class="indent" > Also consider using XeTeX or LuaTeX (see section <a href="#x1-120002.4">2.4<!--tex4ht:ref: sec:tex-extensions --></a>), which let you use operating system fonts without any installation in TeX. (But beware that using system fonts makes your documents instantly unusable by anyone in a different environment.) </p><!--l. 1240--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">3.5 </span> <a id="x1-370003.5"></a>Testing the installation</h4> <!--l. 1243--><p class="noindent" >After installing TeX Live, you naturally want to test it out, so you can start creating beautiful documents and/ or fonts. </p><!--l. 1246--><p class="indent" > One thing you may immediately be looking for is a front-end with which to edit files. TeX Live installs TeXworks ( <a href="https://tug.org/texworks" class="url" ><span class="ec-lmtt-10">https://tug.org/texworks</span></a>) on Windows (only), and MacTeX installs TeXShop ( <a href="https://pages.uoregon.edu/koch/texshop" class="url" ><span class="ec-lmtt-10">https://pages.uoregon.edu/koch/texshop</span></a>). 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 <a href="https://tug.org/interest.html#editors" class="url" ><span class="ec-lmtt-10">https://tug.org/interest.html#editors</span></a>. Any plain text editor will work; something TeX-specific is not required. </p><!--l. 1255--><p class="indent" > 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. </p><!--l. 1260--><p class="indent" > </p><ol class="enumerate1" > <li class="enumerate" id="x1-37002x1"> <!--l. 1262--><p class="noindent" >Make sure that you can run the <span class="ec-lmss-10">tex </span>program in the first place: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tex</span><span class="ec-lmtk-10"> --version</span> <br /><span class="ec-lmtt-10">TeX</span><span class="ec-lmtt-10"> 3.14159265</span><span class="ec-lmtt-10"> (TeX</span><span class="ec-lmtt-10"> Live</span><span class="ec-lmtt-10"> ...)</span> <br /><span class="ec-lmtt-10">Copyright</span><span class="ec-lmtt-10"> ...</span><span class="ec-lmtt-10"> D.E.</span><span class="ec-lmtt-10"> Knuth.</span> <br /><span class="ec-lmtt-10">...</span></div> </div> 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 <span class="ec-lmtt-10">bin </span>subdirectory in your <span class="ec-lmtt-10">PATH</span>. See the environment-setting information on p. <a href="#x1-300003.4.1">40<!--tex4ht:ref: sec:env --></a>. </li> <li class="enumerate" id="x1-37004x2"> <!--l. 1275--><p class="noindent" >Process a basic LaTeX file, generating PDF: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">pdflatex</span><span class="ec-lmtk-10"> sample2e.tex</span> <br /><span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span class="ec-lmtt-10"> pdfTeX</span><span class="ec-lmtt-10"> 3.14...</span> <br /><span class="ec-lmtt-10">...</span> <br /><span class="ec-lmtt-10">Output</span><span class="ec-lmtt-10"> written</span><span class="ec-lmtt-10"> on</span><span class="ec-lmtt-10"> sample2e.pdf</span><span class="ec-lmtt-10"> (3</span><span class="ec-lmtt-10"> pages,</span><span class="ec-lmtt-10"> 142120</span><span class="ec-lmtt-10"> bytes).</span> <br /><span class="ec-lmtt-10">Transcript</span><span class="ec-lmtt-10"> written</span><span class="ec-lmtt-10"> on</span><span class="ec-lmtt-10"> sample2e.log.</span> </div> </div> If this fails to find <span class="ec-lmtt-10">sample2e.tex </span>or other files, you may 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 <a href="#x1-660007.2.4">71<!--tex4ht:ref: sec:debugging --></a>.) </li> <li class="enumerate" id="x1-37006x3"> <!--l. 1290--><p class="noindent" >Preview the PDF file, for example: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">xpdf</span><span class="ec-lmtk-10"> sample2e.pdf</span> </div> </div> You should see a new window with a nice document explaining some of the basics of LaTeX. (It’s well worth reading, by the way, if you’re new to TeX.) <!--l. 1298--><p class="noindent" >Of course there are many other PDF viewers; on Unix systems, <span class="ec-lmss-10">evince </span>and <span class="ec-lmss-10">okular </span>are commonly used. For Windows, we recommend trying Sumatra PDF ( <a href="https://www.sumatrapdfreader.org/free-pdf-reader.html" class="url" ><span class="ec-lmtt-10">https://www.sumatrapdfreader.org/free-pdf-reader.html</span></a>). No PDF viewers are included in TeX Live, so you must install whatever you want to use separately. </p></li> <li class="enumerate" id="x1-37008x4"> <!--l. 1305--><p class="noindent" >Of course you can still generate TeX’s original DVI format: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">latex</span><span class="ec-lmtk-10"> sample2e.tex</span> </div> </div> </li> <li class="enumerate" id="x1-37010x5"> <!--l. 1310--><p class="noindent" >And preview the DVI online: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">xdvi</span><span class="ec-lmtk-10"> sample2e.dvi</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> #</span><span class="ec-lmtt-10"> Unix</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">dviout</span><span class="ec-lmtk-10"> sample2e.dvi</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> #</span><span class="ec-lmtt-10"> Windows</span> </div> </div> You do have to be running under X for <span class="ec-lmss-10">xdvi </span>to work; if you’re not, or your <span class="ec-lmtt-10">DISPLAY </span>environment variable is set incorrectly, you’ll get an error ‘<span class="ec-lmtt-10">Can’t open display</span>’. </li> <li class="enumerate" id="x1-37012x6"> <!--l. 1319--><p class="noindent" >To create a PostScript file from the DVI: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">dvips</span><span class="ec-lmtk-10"> sample2e.dvi</span><span class="ec-lmtk-10"> -o</span><span class="ec-lmtk-10"> sample2e.ps</span> </div> </div> </li> <li class="enumerate" id="x1-37014x7"> <!--l. 1324--><p class="noindent" >Or to create PDF from the DVI, an alternate path to using pdfTeX (or XeTeX or LuaTeX) which can be useful sometimes: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">dvipdfmx</span><span class="ec-lmtk-10"> sample2e.dvi</span><span class="ec-lmtk-10"> -o</span><span class="ec-lmtk-10"> sample2e.pdf</span> </div> </div> </li> <li class="enumerate" id="x1-37016x8"> <!--l. 1330--><p class="noindent" >Other standard test files you may find useful in addition to <span class="ec-lmtt-10">sample2e.tex</span>: </p><!--l. 1333--><p class="noindent" > </p><dl class="list2"><dt class="list"> <span class="ec-lmtt-10">small2e.tex</span> </dt><dd class="list"> <!--l. 1334--><p class="noindent" >A simpler document than <span class="ec-lmtt-10">sample2e</span>, to reduce the input size if you’re having troubles. </p></dd><dt class="list"> <span class="ec-lmtt-10">testpage.tex</span> </dt><dd class="list"> <!--l. 1336--><p class="noindent" >Test if your printer introduces any offsets. </p></dd><dt class="list"> <span class="ec-lmtt-10">nfssfont.tex</span> </dt><dd class="list"> <!--l. 1337--><p class="noindent" >For printing font tables and tests. </p></dd><dt class="list"> <span class="ec-lmtt-10">testfont.tex</span> </dt><dd class="list"> <!--l. 1338--><p class="noindent" >Also for font tables, but using plain TeX. </p></dd><dt class="list"> <span class="ec-lmtt-10">story.tex</span> </dt><dd class="list"> <!--l. 1339--><p class="noindent" >The most canonical (plain) TeX test file of all. You must type ‘<span class="ec-lmtt-10">\bye</span>’ to the <span class="ec-lmtt-10">* </span>prompt after ‘<span class="ec-lmtt-10">tex story.tex</span>’.</p></dd></dl> </li> <li class="enumerate" id="x1-37018x9"> <!--l. 1344--><p class="noindent" >If you have installed the <span class="ec-lmtt-10">xetex </span>package, you can test its access to system fonts as follows: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">xetex</span><span class="ec-lmtk-10"> opentype-info.tex</span> <br /><span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span class="ec-lmtt-10"> XeTeX,</span><span class="ec-lmtt-10"> Version</span><span class="ec-lmtt-10"> 3.14</span><span class="ec-lmtt-10">…</span> <br /><span class="ec-lmtt-10">...</span> <br /><span class="ec-lmtt-10">Output</span><span class="ec-lmtt-10"> written</span><span class="ec-lmtt-10"> on</span><span class="ec-lmtt-10"> opentype-info.pdf</span><span class="ec-lmtt-10"> (1</span><span class="ec-lmtt-10"> page).</span> <br /><span class="ec-lmtt-10">Transcript</span><span class="ec-lmtt-10"> written</span><span class="ec-lmtt-10"> on</span><span class="ec-lmtt-10"> opentype-info.log.</span> </div> </div> <!--l. 1354--><p class="noindent" >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 <a href="#x1-330003.4.4">3.4.4<!--tex4ht:ref: sec:font-conf-sys --></a>. </p> </li></ol> <!--l. 1361--><p class="indent" > <a id="uninstall"></a> </p> <h4 class="subsectionHead"><span class="titlemark">3.6 </span> <a id="x1-380003.6"></a>Uninstalling TeX Live</h4> <!--l. 1365--><p class="noindent" >To uninstall TeX Live (after a successful installation): </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> uninstall</span><span class="ec-lmtk-10"> --all</span> </div> </div> <!--l. 1371--><p class="indent" > You will be asked for confirmation, else nothing will be done. (Without <span class="ec-lmtt-10">--all</span>, the <span class="ec-lmtt-10">uninstall </span>action is used to remove individual packages.) </p><!--l. 1375--><p class="indent" > This does not remove user-specific directories, namely (see also section sec:texmftrees): </p><!--l. 1378--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">TEXMFCONFIG</span> </dt><dd class="list"> <!--l. 1379--><p class="noindent" >This is intended for user configuration changes. If you want to preserve them, be sure you know how to recreate them before removing. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFVAR</span> </dt><dd class="list"> <!--l. 1383--><p class="noindent" >This is intended to store automatically-generated runtime data, such as local format files. Unless you’ve used it for other purposes, it should be safe to remove. </p></dd><dt class="list"> <span class="ec-lmtt-10">TEXMFHOME</span> </dt><dd class="list"> <!--l. 1387--><p class="noindent" >Contains only files you yourself installed, typically those not available in the distributions. Unless you are completely stopping using TeX, or want to start over from scratch, you probably don’t want to remove this. </p> </dd></dl> <!--l. 1394--><p class="noindent" >You can find the directory paths for these variables by running <span class="ec-lmtt-10">kpsewhich -var-value=</span><span class="ec-lmro-10">var</span>. </p><!--l. 1397--><p class="indent" > This <span class="ec-lmss-10">tlmgr </span>uninstallation also does not undo post-install actions, such as <span class="ec-lmtt-10">PATH </span>changes in your shell initialization files and system access to the fonts in TeX Live (see section <a href="#x1-290003.4">3.4<!--tex4ht:ref: sec:postinstall --></a>). You must manually reverse such actions, if desired. </p><!--l. 1403--><p class="indent" > On Windows, uninstallation can be done through the GUI; see section <a href="#x1-470006.1">6.1<!--tex4ht:ref: sec:winfeatures --></a>. </p><!--l. 1407--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">3.7 </span> <a id="x1-390003.7"></a>Links for additional downloadable software</h4> <!--l. 1409--><p class="noindent" >If you are new to TeX, or otherwise need help with actually writing TeX or LaTeX documents, please visit <a href="https://tug.org/begin.html" class="url" ><span class="ec-lmtt-10">https://tug.org/begin.html</span></a> for some introductory resources. </p><!--l. 1413--><p class="indent" > Links for some other tools you may consider installing: </p><dl class="description"><dt class="description"> <!--l. 1415--><p class="noindent" > <span class="ec-lmbx-10">Ghostscript</span> </p></dt><dd class="description"> <!--l. 1415--><p class="noindent" > <a href="https://ghostscript.com/" class="url" ><span class="ec-lmtt-10">https://ghostscript.com/</span></a>, a free PostScript and PDF interpreter. </p></dd><dt class="description"> <!--l. 1417--><p class="noindent" > <span class="ec-lmbx-10">Perl</span> </p></dt><dd class="description"> <!--l. 1417--><p class="noindent" > <a href="https://perl.org/" class="url" ><span class="ec-lmtt-10">https://perl.org/</span></a> with supplementary packages from CPAN, <a href="https://cpan.org/" class="url" ><span class="ec-lmtt-10">https://cpan.org/</span></a>. </p></dd><dt class="description"> <!--l. 1419--><p class="noindent" > <span class="ec-lmbx-10">ImageMagick</span> </p></dt><dd class="description"> <!--l. 1419--><p class="noindent" > <a href="https://imagemagick.org" class="url" ><span class="ec-lmtt-10">https://imagemagick.org</span></a>, for graphics processing and conversion. </p></dd><dt class="description"> <!--l. 1421--><p class="noindent" > <span class="ec-lmbx-10">NetPBM</span> </p></dt><dd class="description"> <!--l. 1421--><p class="noindent" > <a href="http://netpbm.sourceforge.net" class="url" ><span class="ec-lmtt-10">http://netpbm.sourceforge.net</span></a>, also for graphics. </p></dd><dt class="description"> <!--l. 1423--><p class="noindent" > <span class="ec-lmbx-10">TeX-oriented editors</span> </p></dt><dd class="description"> <!--l. 1423--><p class="noindent" >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). </p> <ul class="itemize1"> <li class="itemize"> <!--l. 1427--><p class="noindent" ><span class="ec-lmss-10">GNU Emacs </span>is available for all major platforms; see <a href="https://www.gnu.org/software/emacs" class="url" ><span class="ec-lmtt-10">https://www.gnu.org/software/emacs</span></a>. </p></li> <li class="itemize"> <!--l. 1429--><p class="noindent" ><span class="ec-lmss-10">AUCTeX </span>runs under Emacs; it’s available through Emacs’ package manager <span class="ec-lmss-10">ELPA</span>. Sources are also available from CTAN. The AUCTeX home page is <a href="https://www.gnu.org/software/auctex" class="url" ><span class="ec-lmtt-10">https://www.gnu.org/software/auctex</span></a>. </p></li> <li class="itemize"> <!--l. 1433--><p class="noindent" ><span class="ec-lmss-10">SciTE </span>is available from <a href="https://www.scintilla.org/SciTE.html" class="url" ><span class="ec-lmtt-10">https://www.scintilla.org/SciTE.html</span></a>. </p></li> <li class="itemize"> <!--l. 1435--><p class="noindent" ><span class="ec-lmss-10">Texmaker </span>is free software, available from <a href="https://www.xm1math.net/texmaker" class="url" ><span class="ec-lmtt-10">https://www.xm1math.net/texmaker</span></a>. </p></li> <li class="itemize"> <!--l. 1437--><p class="noindent" ><span class="ec-lmss-10">TeXstudio </span>started as a fork of <span class="ec-lmss-10">Texmaker </span>and given additional features; available from <a href="https://texstudio.org/" class="url" ><span class="ec-lmtt-10">https://texstudio.org/</span></a> and in the proTeXt distribution. </p></li> <li class="itemize"> <!--l. 1440--><p class="noindent" ><span class="ec-lmss-10">TeXnicCenter </span>is free software, available from <a href="https://www.texniccenter.org" class="url" ><span class="ec-lmtt-10">https://www.texniccenter.org</span></a>. </p></li> <li class="itemize"> <!--l. 1442--><p class="noindent" ><span class="ec-lmss-10">TeXworks </span>is free software, available from <a href="https://tug.org/texworks" class="url" ><span class="ec-lmtt-10">https://tug.org/texworks</span></a> and installed as part of TeX Live for Windows (only). </p></li> <li class="itemize"> <!--l. 1445--><p class="noindent" ><span class="ec-lmss-10">Vim </span>is free software, available from <a href="https://www.vim.org" class="url" ><span class="ec-lmtt-10">https://www.vim.org</span></a>. </p></li> <li class="itemize"> <!--l. 1447--><p class="noindent" ><span class="ec-lmss-10">WinEdt </span>is shareware available though <a href="https://tug.org/winedt" class="url" ><span class="ec-lmtt-10">https://tug.org/winedt</span></a> or <a href="https://www.winedt.com" class="url" ><span class="ec-lmtt-10">https://www.winedt.com</span></a>. </p></li> <li class="itemize"> <!--l. 1449--><p class="noindent" ><span class="ec-lmss-10">WinShell </span>is available from <a href="https://www.winshell.de" class="url" ><span class="ec-lmtt-10">https://www.winshell.de</span></a>.</p></li></ul> </dd></dl> <!--l. 1452--><p class="noindent" >For a much longer list of packages and programs, see <a href="https://tug.org/interest.html" class="url" ><span class="ec-lmtt-10">https://tug.org/interest.html</span></a>. </p><!--l. 1456--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">4 </span> <a id="x1-400004"></a>Specialized installations</h3> <!--l. 1458--><p class="noindent" >The previous sections described the basic installation process. Here we turn to some specialized cases. </p><!--l. 1461--><p class="indent" > <a id="tlsharedinstall"></a> </p> <h4 class="subsectionHead"><span class="titlemark">4.1 </span> <a id="x1-410004.1"></a>Shared-user (or cross-machine) installations</h4> <!--l. 1465--><p class="noindent" >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 <span class="ec-lmtt-10">$TEXMFDIST/web2c/texmf.cnf</span>, which contains lines such as </p> <pre class="fancyvrb" id="fancyvrb10"><a id="x1-41002r1"></a><span class="ec-lmtt-9">TEXMFROOT</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> $SELFAUTOPARENT</span> <a id="x1-41004r2"></a><span class="ec-lmtt-9">...</span> <a id="x1-41006r3"></a><span class="ec-lmtt-9">TEXMFDIST</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> $TEXMFROOT/texmf-dist</span> <a id="x1-41008r4"></a><span class="ec-lmtt-9">...</span> <a id="x1-41010r5"></a><span class="ec-lmtt-9">TEXMFLOCAL</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> $SELFAUTOGRANDPARENT/texmf-local</span></pre> <!--l. 1478--><p class="noindent" >This means that adding the directory for TeX Live executables for their platform to their search path is sufficient to get a working setup. </p><!--l. 1481--><p class="indent" > By the same token, you can also install TeX Live locally and then move the entire hierarchy afterwards to a network location. </p><!--l. 1484--><p class="indent" > For Windows, TeX Live includes a launcher <span class="ec-lmtt-10">tlaunch</span>. Its main window contains menu entries and buttons for various TeX-related programs and documentation, customizable via an <span class="ec-lmtt-10">ini </span>file. On first use, it replicates the usual Windows-specific post-install, <span class="ec-lmri-10">i.e.</span>, 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 <span class="ec-lmtt-10">tlaunch </span>manual (<span class="ec-lmtt-10">texdoc tlaunch</span>, or <a href="https://ctan.org/pkg/tlaunch" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/tlaunch</span></a>). </p><!--l. 1495--><p class="indent" > <a id="tlportable"></a> </p> <h4 class="subsectionHead"><span class="titlemark">4.2 </span> <a id="x1-420004.2"></a>Portable (USB) installations</h4> <!--l. 1499--><p class="noindent" >The <span class="ec-lmtt-10">-portable </span>installer option (or <span class="ec-lmtt-10">V </span>command in the text installer or corresponding GUI option) creates a completely self-contained TeX Live installation under a common root and forgoes system integration. You can create such an installation directly on a USB stick, or copy it to a USB stick afterwards. </p><!--l. 1505--><p class="indent" > Technically, the portable installation is made self-contained by setting the default values of <span class="ec-lmtt-10">TEXMFHOME</span>, <span class="ec-lmtt-10">TEXMFVAR</span>, and <span class="ec-lmtt-10">TEXMFCONFIG </span>to be the same as <span class="ec-lmtt-10">TEXMFLOCAL</span>, <span class="ec-lmtt-10">TEXMFSYSVAR</span>, and <span class="ec-lmtt-10">TEXMFSYSCONFIG </span>respectively; thus, per-user configuration and caches will not be created. </p><!--l. 1511--><p class="indent" > 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. </p><!--l. 1515--><p class="indent" > On Windows, you can double-click <span class="ec-lmtt-10">tl-tray-menu </span>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: </p><!--l. 1520--><p class="indent" > <img src="../texlive-common/tray-menu.png" alt="Windows tray menu" /> </p><!--l. 1523--><p class="noindent" >The ‘More…’ entry explains how you can customize this menu. </p><!--l. 1582--><p class="indent" > <a id="tlmgr"></a> </p> <h3 class="sectionHead"><span class="titlemark">5 </span> <a id="x1-430005"></a><span class="ec-lmss-10">tlmgr</span>: Managing your installation</h3> <figure class="figure"> <a id="x1-43001r9"></a> <!--l. 1588--><p class="noindent" ><img src="../texlive-common/tlshell-macos.png" alt="tlshell GUI, showing the Actions menu (Mac OS X)" /> </p> <figcaption class="caption" ><span class="id">Figure 9: </span><span class="content"><span class="ec-lmss-10">tlshell </span>GUI, showing the Actions menu (Mac OS X)</span></figcaption><!--tex4ht:label?: x1-43001r9 --> </figure> <figure class="figure"> <a id="x1-43002r10"></a> <!--l. 1595--><p class="noindent" ><img src="../texlive-common/tlcockpit-packages.png" alt="tlcockpit GUI for tlmgr" /> </p> <figcaption class="caption" ><span class="id">Figure 10: </span><span class="content"><span class="ec-lmss-10">tlcockpit </span>GUI for <span class="ec-lmss-10">tlmgr</span></span></figcaption><!--tex4ht:label?: x1-43002r10 --> </figure> <figure class="figure"> <a id="x1-43003r11"></a> <!--l. 1602--><p class="noindent" ><img src="../texlive-common/tlmgr-gui.png" alt="Legacy tlmgr GUI mode: main window, after ‘Load’" /> </p> <figcaption class="caption" ><span class="id">Figure 11: </span><span class="content">Legacy <span class="ec-lmss-10">tlmgr </span>GUI mode: main window, after ‘Load’</span></figcaption><!--tex4ht:label?: x1-43003r11 --> </figure> <!--l. 1607--><p class="indent" > TeX Live includes a program named <span class="ec-lmss-10">tlmgr </span>for managing TeX Live after the initial installation. Its capabilities include: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 1611--><p class="noindent" >installing, updating, backing up, restoring, and uninstalling individual packages, optionally taking dependencies into account; </p></li> <li class="itemize"> <!--l. 1613--><p class="noindent" >searching for and listing packages and their descriptions; </p></li> <li class="itemize"> <!--l. 1614--><p class="noindent" >listing, adding, and removing platforms; </p></li> <li class="itemize"> <!--l. 1615--><p class="noindent" >changing installation options such as paper size and source location (see section <a href="#x1-280003.3.1">3.3.1<!--tex4ht:ref: sec:location --></a>).</p></li></ul> <!--l. 1619--><p class="indent" > <span class="ec-lmss-10">tlmgr</span>’s functionality completely subsumes the <span class="ec-lmss-10">texconfig </span>program. We still distribute and maintain <span class="ec-lmss-10">texconfig</span> for the sake of anyone used to its interface, but we recommend using <span class="ec-lmss-10">tlmgr </span>nowadays. </p> <h4 class="subsectionHead"><span class="titlemark">5.1 </span> <a id="x1-440005.1"></a>GUI interfaces for <span class="ec-lmss-10">tlmgr</span></h4> <!--l. 1626--><p class="noindent" >TeX Live contains several GUI front-ends for <span class="ec-lmss-10">tlmgr</span>. Two notable ones: (1) Figure <a href="#x1-43001r9">9<!--tex4ht:ref: fig:tlshell --></a> shows <span class="ec-lmss-10">tlshell</span>, which is written in Tcl/Tk and runs out of the box under Windows and Mac OS X; (2) Figure <a href="#x1-43002r10">10<!--tex4ht:ref: fig:tlcockpit --></a> shows <span class="ec-lmss-10">tlcockpit</span>, which requires Java version 8 or higher and JavaFX. Both are separate packages. </p><!--l. 1632--><p class="indent" > <span class="ec-lmss-10">tlmgr </span>also has a native GUI mode (shown in figure <a href="#x1-43003r11">11<!--tex4ht:ref: fig:tlmgr-gui --></a>), which is started with: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> -gui</span> </div> </div> However, this GUI extension requires Perl/Tk, which module is no longer included in TeX Live’s Perl distribution for Windows. <!--l. 1640--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">5.2 </span> <a id="x1-450005.2"></a>Sample <span class="ec-lmss-10">tlmgr </span>command-line invocations</h4> <!--l. 1642--><p class="noindent" >After the initial installation, you can update your system to the latest versions available with: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> update</span><span class="ec-lmtk-10"> -all</span> </div> </div> If this makes you nervous, first try <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> update</span><span class="ec-lmtk-10"> -all</span><span class="ec-lmtk-10"> -dry-run</span> </div> </div> or (less verbose): <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> update</span><span class="ec-lmtk-10"> -list</span> </div> </div> <!--l. 1656--><p class="indent" > This more complex example adds a collection, for the engine XeTeX, from a local directory: </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> -repository</span><span class="ec-lmtk-10"> /local/mirror/tlnet</span><span class="ec-lmtk-10"> install</span><span class="ec-lmtk-10"> collection-xetex</span> </div> </div> It generates the following output (abridged): <pre class="fancyvrb" id="fancyvrb11"><a id="x1-45002r1"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> collection-xetex</span> <a id="x1-45004r2"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> arabxetex</span> <a id="x1-45006r3"></a><span class="ec-lmtt-8">...</span> <a id="x1-45008r4"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> xetex</span> <a id="x1-45010r5"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> xetexconfig</span> <a id="x1-45012r6"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> xetex.i386-linux</span> <a id="x1-45014r7"></a><span class="ec-lmtt-8">running</span><span class="ec-lmtt-8"> post</span><span class="ec-lmtt-8"> install</span><span class="ec-lmtt-8"> action</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> xetex</span> <a id="x1-45016r8"></a><span class="ec-lmtt-8">install:</span><span class="ec-lmtt-8"> xetex-def</span> <a id="x1-45018r9"></a><span class="ec-lmtt-8">...</span> <a id="x1-45020r10"></a><span class="ec-lmtt-8">running</span><span class="ec-lmtt-8"> mktexlsr</span> <a id="x1-45022r11"></a><span class="ec-lmtt-8">mktexlsr:</span><span class="ec-lmtt-8"> Updating</span><span class="ec-lmtt-8"> /usr/local/texlive/2021/texmf-dist/ls-R...</span> <a id="x1-45024r12"></a><span class="ec-lmtt-8">...</span> <a id="x1-45026r13"></a><span class="ec-lmtt-8">running</span><span class="ec-lmtt-8"> fmtutil-sys</span><span class="ec-lmtt-8"> --missing</span> <a id="x1-45028r14"></a><span class="ec-lmtt-8">...</span> <a id="x1-45030r15"></a><span class="ec-lmtt-8">Transcript</span><span class="ec-lmtt-8"> written</span><span class="ec-lmtt-8"> on</span><span class="ec-lmtt-8"> xelatex.log.</span> <a id="x1-45032r16"></a><span class="ec-lmtt-8">fmtutil:</span><span class="ec-lmtt-8"> /usr/local/texlive/2021/texmf-var/web2c/xetex/xelatex.fmt</span><span class="ec-lmtt-8"> installed.</span></pre> <!--l. 1682--><p class="indent" > As you can see, <span class="ec-lmss-10">tlmgr </span>installs dependencies, and takes care of any necessary post-install actions, including updating the filename database and (re)generating formats. In the above, we generated new formats for XeTeX. </p><!--l. 1687--><p class="indent" > To describe a package (or collection or scheme): </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> show</span><span class="ec-lmtk-10"> collection-latexextra</span> </div> </div> which produces output like this: <pre class="fancyvrb" id="fancyvrb12"><a id="x1-45034r1"></a><span class="ec-lmtt-8">package:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> collection-latexextra</span> <a id="x1-45036r2"></a><span class="ec-lmtt-8">category:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> Collection</span> <a id="x1-45038r3"></a><span class="ec-lmtt-8">shortdesc:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> LaTeX</span><span class="ec-lmtt-8"> supplementary</span><span class="ec-lmtt-8"> packages</span> <a id="x1-45040r4"></a><span class="ec-lmtt-8">longdesc:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> A</span><span class="ec-lmtt-8"> very</span><span class="ec-lmtt-8"> large</span><span class="ec-lmtt-8"> collection</span><span class="ec-lmtt-8"> of</span><span class="ec-lmtt-8"> add-on</span><span class="ec-lmtt-8"> packages</span><span class="ec-lmtt-8"> for</span><span class="ec-lmtt-8"> LaTeX.</span> <a id="x1-45042r5"></a><span class="ec-lmtt-8">installed:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> Yes</span> <a id="x1-45044r6"></a><span class="ec-lmtt-8">revision:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> 46963</span> <a id="x1-45046r7"></a><span class="ec-lmtt-8">sizes:</span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> </span><span class="ec-lmtt-8"> 657941k</span></pre> <!--l. 1702--><p class="indent" > Last and most important, for full documentation see <a href="https://tug.org/texlive/tlmgr.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/tlmgr.html</span></a>, or: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">tlmgr</span><span class="ec-lmtk-10"> -help</span> </div> </div> <!--l. 1709--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">6 </span> <a id="x1-460006"></a>Notes on Windows</h3> <!--l. 1712--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.1 </span> <a id="x1-470006.1"></a>Windows-specific features</h4> <!--l. 1715--><p class="noindent" >Under Windows, the installer does some extra things: </p><dl class="description"><dt class="description"> <!--l. 1717--><p class="noindent" > <span class="ec-lmbx-10">Menus and shortcuts.</span> </p></dt><dd class="description"> <!--l. 1717--><p class="noindent" >A new ‘TeX Live’ submenu of the Start menu is installed, which contains entries for some GUI programs (<span class="ec-lmss-10">tlmgr</span>, <span class="ec-lmss-10">texdoctk </span>and some documentation. </p></dd><dt class="description"> <!--l. 1720--><p class="noindent" > <span class="ec-lmbx-10">File associations.</span> </p></dt><dd class="description"> <!--l. 1720--><p class="noindent" >If enabled, <span class="ec-lmss-10">TeXworks </span>and <span class="ec-lmss-10">Dviout </span>become either the default program for their respective filetypes, or get an entry in the ‘Open with’ right-click menus of those filetypes. </p></dd><dt class="description"> <!--l. 1724--><p class="noindent" > <span class="ec-lmbx-10">Bitmap to eps converter.</span> </p></dt><dd class="description"> <!--l. 1724--><p class="noindent" >Various bitmapped formats get an entry <span class="ec-lmss-10">bitmap2eps </span>in their ‘Open with’ right-click menu. Bitmap2eps is a simple script which lets <span class="ec-lmss-10">sam2p </span>or <span class="ec-lmss-10">bmeps </span>do the real work. </p></dd><dt class="description"> <!--l. 1728--><p class="noindent" > <span class="ec-lmbx-10">Automatic path adjustment.</span> </p></dt><dd class="description"> <!--l. 1728--><p class="noindent" >No manual configuration steps are required. </p></dd><dt class="description"> <!--l. 1729--><p class="noindent" > <span class="ec-lmbx-10">Uninstaller.</span> </p></dt><dd class="description"> <!--l. 1729--><p class="noindent" >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. </p></dd><dt class="description"> <!--l. 1733--><p class="noindent" > <span class="ec-lmbx-10">Write-protect.</span> </p></dt><dd class="description"> <!--l. 1733--><p class="noindent" >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.</p></dd></dl> <!--l. 1738--><p class="indent" > Also, have a look at <span class="ec-lmtt-10">tlaunch</span>, described in section <a href="#x1-410004.1">4.1<!--tex4ht:ref: sec:sharedinstall --></a>, for a different approach. </p><!--l. 1741--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.2 </span> <a id="x1-480006.2"></a>Additional software included on Windows</h4> <!--l. 1743--><p class="noindent" >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. </p><!--l. 1747--><p class="indent" > </p><dl class="description"><dt class="description"> <!--l. 1748--><p class="noindent" > <span class="ec-lmbx-10">Perl and Ghostscript.</span> </p></dt><dd class="description"> <!--l. 1748--><p class="noindent" >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. </p></dd><dt class="description"> <!--l. 1756--><p class="noindent" > <span class="ec-lmbx-10">dviout.</span> </p></dt><dd class="description"> <!--l. 1756--><p class="noindent" >Also installed is <span class="ec-lmss-10">dviout</span>, a DVI viewer. At first, when you preview files with <span class="ec-lmss-10">dviout</span>, it will create fonts, because screen fonts were not installed. After a while, you will have created most of the fonts you use, and you will rarely see the font-creation window. More information can be found in the (highly recommended) on-line help. </p></dd><dt class="description"> <!--l. 1763--><p class="noindent" > <span class="ec-lmbx-10">TeXworks.</span> </p></dt><dd class="description"> <!--l. 1763--><p class="noindent" >TeXworks is a TeX-oriented editor with an integrated PDF viewer. </p></dd><dt class="description"> <!--l. 1766--><p class="noindent" > <span class="ec-lmbx-10">Command-line tools.</span> </p></dt><dd class="description"> <!--l. 1766--><p class="noindent" >A number of Windows ports of common Unix command-line programs are installed along with the usual TeX Live binaries. These include <span class="ec-lmss-10">gzip</span>, <span class="ec-lmss-10">zip</span>, <span class="ec-lmss-10">unzip</span>, and the utilities from the <span class="ec-lmss-10">poppler </span>suite (<span class="ec-lmss-10">pdfinfo</span>, <span class="ec-lmss-10">pdffonts</span>, …); no standalone PDF viewer for Windows is included. One option for that is the Sumatra PDF viewer, available from <a href="https://sumatrapdfreader.org/" class="url" ><span class="ec-lmtt-10">https://sumatrapdfreader.org/</span></a>. </p></dd><dt class="description"> <!--l. 1774--><p class="noindent" > <span class="ec-lmbx-10">fc-list, fc-cache, </span><span class="ec-lmbx-10">…</span> </p></dt><dd class="description"> <!--l. 1774--><p class="noindent" >The tools from the fontconfig library allow XeTeX to handle system fonts on Windows. You can use <span class="ec-lmss-10">fc-list </span>to determine the font names to pass to XeTeX’s extended <span class="ec-lmtt-10">\font </span>command. If necessary, run <span class="ec-lmss-10">fc-cache </span>first to update font information. </p> </dd></dl> <!--l. 1783--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.3 </span> <a id="x1-490006.3"></a>User Profile is Home</h4> <!--l. 1786--><p class="noindent" >The Windows counterpart of a Unix home directory is the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%USERPROFILE%</span></span></span> directory. Under Windows Vista and later it is <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">C:\Users\<username></span></span></span>. In the <span class="ec-lmtt-10">texmf.cnf </span>file, and Kpathsea in general, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~</span></span></span> will expand appropriately on both Windows and Unix. </p><!--l. 1793--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.4 </span> <a id="x1-500006.4"></a>The Windows registry</h4> <!--l. 1796--><p class="noindent" >Windows stores nearly all configuration data in its registry. The registry contains a set of hierarchically organized keys, with several root keys. The most important ones for installation programs are <span class="path"><span class="ec-lmtt-10">HKEY_CURRENT_USER</span></span> and <span class="path"><span class="ec-lmtt-10">HKEY_LOCAL_MACHINE</span></span>, <span class="path"><span class="ec-lmtt-10">HKCU</span></span> and <span class="path"><span class="ec-lmtt-10">HKLM</span></span> in short. The <span class="path"><span class="ec-lmtt-10">HKCU</span></span> part of the registry is in the user’s home directory (see section <a href="#x1-490006.3">6.3<!--tex4ht:ref: sec:winhome --></a>). <span class="path"><span class="ec-lmtt-10">HKLM</span></span> is normally in a subdirectory of the Windows directory. </p><!--l. 1804--><p class="indent" > In some cases, system information could be obtained from environment variables but for other information, for example the location of shortcuts, it is necessary to consult the registry. Setting environment variables permanently also requires registry access. </p><!--l. 1810--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.5 </span> <a id="x1-510006.5"></a>Windows permissions</h4> <!--l. 1813--><p class="noindent" >In later versions of Windows, a distinction is made between regular users and administrators, where only the latter have free access to almost the entire operating system. We have made an effort to make TeX Live installable without administrative privileges. </p><!--l. 1818--><p class="indent" > 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. </p><!--l. 1824--><p class="indent" > Regardless of administrator status, the default root of TeX Live proposed by the installer is always under <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">%SystemDrive%</span></span></span>. The installer always tests whether the root is writable for the current user. </p><!--l. 1828--><p class="indent" > 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 fallback, 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. </p><!--l. 1838--><p class="indent" > 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’. </p><!--l. 1845--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">6.6 </span> <a id="x1-520006.6"></a>Increasing maximum memory on Windows and Cygwin</h4> <!--l. 1848--><p class="noindent" >Windows and Cygwin (see section <a href="#x1-190003.1.4">3.1.4<!--tex4ht:ref: sec:cygwin --></a> for Cygwin installation specifics) users may find that they run out of memory when running some of the programs shipped with TeX Live. For example, <span class="ec-lmss-10">asy </span>might run out of memory if you try to allocate an array of 25,000,000 reals, and LuaTeX might run out of memory if you try to process a document with a lot of big fonts. </p><!--l. 1855--><p class="indent" > For Cygwin, you can increase the amount of available memory by following the instructions in the Cygwin User’s Guide ( <a href="https://cygwin.com/cygwin-ug-net/setup-maxmem.html" class="url" ><span class="ec-lmtt-10">https://cygwin.com/cygwin-ug-net/setup-maxmem.html</span></a>). </p><!--l. 1859--><p class="indent" > For Windows, you have to create a file, say <span class="ec-lmtt-10">moremem.reg</span>, with these four lines: </p><!--l. 1862--><p class="indent" > </p> <pre class="fancyvrb" id="fancyvrb13"><a id="x1-52002r1"></a><span class="ec-lmtt-9">Windows</span><span class="ec-lmtt-9"> Registry</span><span class="ec-lmtt-9"> Editor</span><span class="ec-lmtt-9"> Version</span><span class="ec-lmtt-9"> 5.00</span> <a id="x1-52004r2"></a> <a id="x1-52006r3"></a><span class="ec-lmtt-9">[HKEY_LOCAL_MACHINE\Software\Cygwin]</span> <a id="x1-52008r4"></a><span class="ec-lmtt-9">"heap_chunk_in_mb"=dword:ffffff00</span></pre> <!--l. 1869--><p class="noindent" >and then execute the command <span class="ec-lmtt-10">regedit /s moremem.reg </span>as administrator. (If you want to change memory only for the current user instead of system-wide, use <span class="ec-lmtt-10">HKEY_CURRENT_USER</span>.) </p><!--l. 1874--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">7 </span> <a id="x1-530007"></a>A user’s guide to Web2C</h3> <!--l. 1876--><p class="noindent" >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 <a href="https://tug.org/web2c" class="url" ><span class="ec-lmtt-10">https://tug.org/web2c</span></a>. </p><!--l. 1881--><p class="indent" > 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. </p><!--l. 1890--><p class="indent" > The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems. It uses Knuth’s original sources for TeX and other basic programs written in the <span class="ec-lmtt-10">WEB </span>literate programming system and translates them into C source code. The core TeX programs handled in this way are: </p><!--l. 1896--><p class="indent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmss-10">bibtex</span> </dt><dd class="list"> <!--l. 1897--><p class="noindent" >Maintaining bibliographies. </p></dd><dt class="list"> <span class="ec-lmss-10">dvicopy</span> </dt><dd class="list"> <!--l. 1898--><p class="noindent" >Expands virtual font references in DVI files. </p></dd><dt class="list"> <span class="ec-lmss-10">dvitomp</span> </dt><dd class="list"> <!--l. 1899--><p class="noindent" >DVI to MPX (MetaPost pictures). </p></dd><dt class="list"> <span class="ec-lmss-10">dvitype</span> </dt><dd class="list"> <!--l. 1900--><p class="noindent" >DVI to human-readable text. </p></dd><dt class="list"> <span class="ec-lmss-10">gftodvi</span> </dt><dd class="list"> <!--l. 1901--><p class="noindent" >Generic font proofsheets. </p></dd><dt class="list"> <span class="ec-lmss-10">gftopk</span> </dt><dd class="list"> <!--l. 1902--><p class="noindent" >Generic to packed fonts. </p></dd><dt class="list"> <span class="ec-lmss-10">gftype</span> </dt><dd class="list"> <!--l. 1903--><p class="noindent" >GF to human-readable text. </p></dd><dt class="list"> <span class="ec-lmss-10">mf </span> </dt><dd class="list"> <!--l. 1904--><p class="noindent" >Creating typeface families. </p></dd><dt class="list"> <span class="ec-lmss-10">mft</span> </dt><dd class="list"> <!--l. 1905--><p class="noindent" >Prettyprinting Metafont source. </p></dd><dt class="list"> <span class="ec-lmss-10">mpost</span> </dt><dd class="list"> <!--l. 1906--><p class="noindent" >Creating technical diagrams. </p></dd><dt class="list"> <span class="ec-lmss-10">patgen</span> </dt><dd class="list"> <!--l. 1907--><p class="noindent" >Creating hyphenation patterns. </p></dd><dt class="list"> <span class="ec-lmss-10">pktogf</span> </dt><dd class="list"> <!--l. 1908--><p class="noindent" >Packed to generic fonts. </p></dd><dt class="list"> <span class="ec-lmss-10">pktype</span> </dt><dd class="list"> <!--l. 1909--><p class="noindent" >PK to human-readable text. </p></dd><dt class="list"> <span class="ec-lmss-10">pltotf</span> </dt><dd class="list"> <!--l. 1910--><p class="noindent" >Plain text property list to TFM. </p></dd><dt class="list"> <span class="ec-lmss-10">pooltype</span> </dt><dd class="list"> <!--l. 1911--><p class="noindent" >Display <span class="ec-lmtt-10">WEB </span>pool files. </p></dd><dt class="list"> <span class="ec-lmss-10">tangle</span> </dt><dd class="list"> <!--l. 1912--><p class="noindent" ><span class="ec-lmtt-10">WEB </span>to Pascal. </p></dd><dt class="list"> <span class="ec-lmss-10">tex </span> </dt><dd class="list"> <!--l. 1913--><p class="noindent" >Typesetting. </p></dd><dt class="list"> <span class="ec-lmss-10">tftopl</span> </dt><dd class="list"> <!--l. 1914--><p class="noindent" >TFM to plain text property list. </p></dd><dt class="list"> <span class="ec-lmss-10">vftovp</span> </dt><dd class="list"> <!--l. 1915--><p class="noindent" >Virtual font to virtual property list. </p></dd><dt class="list"> <span class="ec-lmss-10">vptovf</span> </dt><dd class="list"> <!--l. 1916--><p class="noindent" >Virtual property list to virtual font. </p></dd><dt class="list"> <span class="ec-lmss-10">weave</span> </dt><dd class="list"> <!--l. 1917--><p class="noindent" ><span class="ec-lmtt-10">WEB </span>to TeX.</p></dd></dl> <!--l. 1920--><p class="noindent" >The precise functions and syntax of these programs are described in the documentation of the individual packages and of Web2C itself. However, knowing a few principles governing the whole family of programs will help you take advantage of your Web2C installation. </p><!--l. 1925--><p class="indent" > All programs honor these standard GNU options: </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--help</span> </dt><dd class="list"> <!--l. 1927--><p class="noindent" >print basic usage summary. </p></dd><dt class="list"> <span class="ec-lmtt-10">--version</span> </dt><dd class="list"> <!--l. 1928--><p class="noindent" >print version information, then exit.</p></dd></dl> <!--l. 1931--><p class="indent" > And most also honor: </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--verbose</span> </dt><dd class="list"> <!--l. 1933--><p class="noindent" >print detailed progress report.</p></dd></dl> <!--l. 1936--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea ( <a href="https://tug.org/kpathsea" class="url" ><span class="ec-lmtt-10">https://tug.org/kpathsea</span></a>). 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 <span class="ec-lmtt-10">ls-R</span>, containing an entry showing the name and relative pathname for all files under that root. </p><!--l. 1947--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">7.1 </span> <a id="x1-540007.1"></a>Kpathsea path searching</h4> <!--l. 1950--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library. </p><!--l. 1953--><p class="indent" > We call a <span class="ec-lmri-10">search path </span>a colon- or semicolon-separated list of <span class="ec-lmri-10">path elements</span>, which are basically directory names. A search path can come from (a combination of) many sources. To look up a file ‘<span class="ec-lmtt-10">my-file</span>’ along a path ‘<span class="ec-lmtt-10">.:/dir</span>’, Kpathsea checks each element of the path in turn: first <span class="ec-lmtt-10">./my-file</span>, then <span class="ec-lmtt-10">/dir/my-file</span>, returning the first match (or possibly all matches). </p><!--l. 1961--><p class="indent" > In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can use filename separators different from colon (‘<span class="ec-lmtt-10">:</span>’) and slash (‘<span class="ec-lmtt-10">/</span>’). </p><!--l. 1965--><p class="indent" > To check a particular path element <span class="ec-lmro-10">p</span>, Kpathsea first checks if a prebuilt database (see “Filename database” on page <a href="#x1-620007.2">68<!--tex4ht:ref: sec:filename-database --></a>) applies to <span class="ec-lmro-10">p</span>, i.e., if the database is in a directory that is a prefix of <span class="ec-lmro-10">p</span>. If so, the path specification is matched against the contents of the database. </p><!--l. 1971--><p class="indent" > Although the simplest and most common path element is a directory name, Kpathsea supports additional features in search paths: layered default values, environment variable names, config file values, users’ home directories, and recursive subdirectory searching. Thus, we say that Kpathsea <span class="ec-lmri-10">expands </span>a path element, meaning it transforms all the specifications into basic directory name or names. This is described in the following sections in the same order as it takes place. </p><!--l. 1980--><p class="indent" > Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span class="ec-lmtt-10">/</span>’ or ‘<span class="ec-lmtt-10">./</span>’ or ‘<span class="ec-lmtt-10">../</span>’, Kpathsea simply checks if that file exists. </p><!--l. 1994--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.1 </span> <a id="x1-550007.1.1"></a>Path sources</h5> <!--l. 1997--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them: </p><!--l. 2000--><p class="indent" > </p><ol class="enumerate1" > <li class="enumerate" id="x1-55002x1"> <!--l. 2002--><p class="noindent" >A user-set environment variable, for instance, <span class="ec-lmtt-10">TEXINPUTS</span>. Environment variables with a period and a program name appended override; e.g., if ‘<span class="ec-lmtt-10">latex</span>’ is the name of the program being run, then <span class="ec-lmtt-10">TEXINPUTS.latex </span>will override <span class="ec-lmtt-10">TEXINPUTS</span>. </p></li> <li class="enumerate" id="x1-55004x2"> <!--l. 2007--><p class="noindent" >A program-specific configuration file, for example, a line ‘<span class="ec-lmtt-10">S /a:/b</span>’ in <span class="ec-lmss-10">dvips</span>’s <span class="ec-lmtt-10">config.ps</span>. </p></li> <li class="enumerate" id="x1-55006x3"> <!--l. 2009--><p class="noindent" >A Kpathsea configuration file <span class="ec-lmtt-10">texmf.cnf</span>, containing a line like ‘<span class="ec-lmtt-10">TEXINPUTS=/c:/d</span>’ (see below). </p></li> <li class="enumerate" id="x1-55008x4"> <!--l. 2011--><p class="noindent" >The compile-time default.</p></li></ol> <!--l. 2013--><p class="noindent" >You can see each of these values for a given search path by using the debugging options (see “Debugging actions” on page <a href="#x1-660007.2.4">71<!--tex4ht:ref: sec:debugging --></a>). </p><!--l. 2017--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.2 </span> <a id="x1-560007.1.2"></a>Config files</h5> <!--l. 2019--><p class="noindent" >Kpathsea reads <span class="ec-lmri-10">runtime configuration files </span>named <span class="ec-lmtt-10">texmf.cnf </span>for search path and other definitions. The search path <span class="ec-lmtt-10">TEXMFCNF </span>is used to look for these files, but we do not recommend setting this (or any) environment variable to override the system directories. </p><!--l. 2025--><p class="indent" > Instead, normal installation results in a file <span class="ec-lmtt-10">.../2021/texmf.cnf</span>. If you must make changes to the defaults (not normally necessary), this is the place to put them. The main configuration file is in <span class="ec-lmtt-10">.../2021/texmf-dist/web2c/texmf.cnf</span>. You should not edit this latter file, as your changes will be lost when the distributed version is updated. </p><!--l. 2032--><p class="indent" > 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: </p> <pre class="verbatim" id="verbatim-2"> <pre class="fancyvrb" id="fancyvrb14"><a id="x1-56002r1"></a> TEXINPUTS=.:/my/macro/dir:</pre> </pre> <!--l. 2037--><p class="nopar" >To keep the setting maintainable and portable over the years, use a trailing ‘<span class="ec-lmtt-10">:</span>’ (‘<span class="ec-lmtt-10">;</span>’ on Windows) to insert the system paths, instead of trying to write them all out explicitly (see section <a href="#x1-580007.1.4">7.1.4<!--tex4ht:ref: sec:default-expansion --></a>). Another option is to use the <span class="ec-lmtt-10">TEXMFHOME </span>tree (see section <a href="#x1-250003.2.3">3.2.3<!--tex4ht:ref: sec:directories --></a>). </p><!--l. 2044--><p class="indent" > <span class="ec-lmri-10">All </span><span class="ec-lmtt-10">texmf.cnf </span>files in the search path will be read and definitions in earlier files override those in later files. For example, with a search path of <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">.:$TEXMF</span></span></span>, values from <span class="ec-lmtt-10">./texmf.cnf </span>override those from <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">$TEXMF/texmf.cnf</span></span></span>. </p> <ul class="itemize1"> <li class="itemize"> <!--l. 2051--><p class="noindent" >Comments start with <span class="ec-lmtt-10">%</span>, either at the beginning of a line or preceded by whitespace, and continue to the end of the line. </p></li> <li class="itemize"> <!--l. 2054--><p class="noindent" >Blank lines are ignored. </p></li> <li class="itemize"> <!--l. 2056--><p class="noindent" >A <span class="ec-lmtt-10">\ </span>at the end of a line acts as a continuation character, i.e., the next line is appended. Whitespace at the beginning of continuation lines is not ignored. </p></li> <li class="itemize"> <!--l. 2060--><p class="noindent" >Each remaining line has the form:<br class="newline" /> <span class="ec-lmro-10">variable </span>[<span class="ec-lmtt-10">.</span><span class="ec-lmro-10">progname</span>] [<span class="ec-lmtt-10">=</span>] <span class="ec-lmro-10">value</span><br class="newline" /> where the ‘<span class="ec-lmtt-10">=</span>’ and surrounding whitespace are optional. (But if <span class="ec-lmro-10">value </span>begins with ‘<span class="ec-lmtt-10">.</span>’, it is simplest to use the ‘<span class="ec-lmtt-10">=</span>’ to avoid the period being interpreted as the program name qualifier.) </p></li> <li class="itemize"> <!--l. 2068--><p class="noindent" >The <span class="ec-lmro-10">variable </span>name may contain any character other than whitespace, ‘<span class="ec-lmtt-10">=</span>’, or ‘<span class="ec-lmtt-10">.</span>’, but sticking to ‘<span class="ec-lmtt-10">A-Za-z_</span>’ is safest. </p></li> <li class="itemize"> <!--l. 2072--><p class="noindent" >If ‘<span class="ec-lmtt-10">.</span><span class="ec-lmro-10">progname</span>’ is present, the definition only applies if the program that is running is named <span class="ec-lmro-10">progname </span>or <span class="ec-lmro-10">progname</span><span class="ec-lmtt-10">.exe</span>. This allows different flavors of TeX to have different search paths, for example. </p></li> <li class="itemize"> <!--l. 2077--><p class="noindent" >Considered as strings, <span class="ec-lmro-10">value </span>may contain any character. However, in practice most <span class="ec-lmtt-10">texmf.cnf</span> values are related to path expansion, and since various special characters are used in expansion (see section <a href="#x1-610007.1.7">7.1.7<!--tex4ht:ref: sec:cnf-special-chars --></a>), such as braces and commas, they cannot be used in directory names. </p><!--l. 2083--><p class="noindent" >A ‘<span class="ec-lmtt-10">;</span>’ in <span class="ec-lmro-10">value </span>is translated to ‘<span class="ec-lmtt-10">:</span>’ if running under Unix, in order to have a single <span class="ec-lmtt-10">texmf.cnf </span>that can support both Unix and Windows systems. This translation happens with any value, not just search paths, but fortunately in practice ‘<span class="ec-lmtt-10">;</span>’ is not needed in other values. </p><!--l. 2089--><p class="noindent" >The <span class="ec-lmtt-10">$</span><span class="ec-lmro-10">var</span><span class="ec-lmtt-10">.</span><span class="ec-lmro-10">prog </span>feature is not available on the right-hand side; instead, you must use an additional variable. </p></li> <li class="itemize"> <!--l. 2093--><p class="noindent" >All definitions are read before anything is expanded, so variables can be referenced before they are defined.</p></li></ul> <!--l. 2096--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below: </p><!--l. 2100--><p class="indent" > </p> <pre class="fancyvrb" id="fancyvrb15"> <a id="x1-56004r1"></a><span class="ec-lmtt-9">TEXMF</span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> {$TEXMFLOCAL,!!$TEXMFMAIN}</span> <a id="x1-56006r2"></a><span class="ec-lmtt-9">TEXINPUTS.latex</span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> .;$TEXMF/tex/{latex,generic;}//</span> <a id="x1-56008r3"></a><span class="ec-lmtt-9">TEXINPUTS.fontinst</span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> .;$TEXMF/tex//;$TEXMF/fonts/afm//</span> <a id="x1-56010r4"></a><span class="ec-lmtt-9">%</span><span class="ec-lmtt-9"> e-TeX</span><span class="ec-lmtt-9"> related</span><span class="ec-lmtt-9"> files</span> <a id="x1-56012r5"></a><span class="ec-lmtt-9">TEXINPUTS.elatex</span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> .;$TEXMF/{etex,tex}/{latex,generic;}//</span> <a id="x1-56014r6"></a><span class="ec-lmtt-9">TEXINPUTS.etex</span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> =</span><span class="ec-lmtt-9"> .;$TEXMF/{etex,tex}/{eplain,plain,generic;}//</span> </pre> <!--l. 2105--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.3 </span> <a id="x1-570007.1.3"></a>Path expansion</h5> <!--l. 2108--><p class="noindent" >Kpathsea recognizes certain special characters and constructions in search paths, similar to those available in Unix shells. As a general example, the path <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~$USER/{foo,bar}//baz</span></span></span>, expands to all subdirectories under directories <span class="ec-lmtt-10">foo </span>and <span class="ec-lmtt-10">bar </span>in <span class="ec-lmtt-10">$USER</span>’s home directory that contain a directory or file <span class="ec-lmtt-10">baz</span>. These expansions are explained in the sections below. </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.4 </span> <a id="x1-580007.1.4"></a>Default expansion</h5> <!--l. 2119--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a href="#x1-550007.1.1">63<!--tex4ht:ref: sec:path-sources --></a>) contains an <span class="ec-lmri-10">extra colon </span>(i.e., leading, trailing, or doubled), Kpathsea inserts at that point the next-highest-priority search path that is defined. If that inserted path has an extra colon, the same happens with the next highest. For example, given an environment variable setting </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">setenv</span><span class="ec-lmtk-10"> TEXINPUTS</span><span class="ec-lmtk-10"> /home/karl:</span></div> </div> and a <span class="ec-lmtt-10">TEXINPUTS </span>value from <span class="ec-lmtt-10">texmf.cnf </span>of <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> .:$TEXMF//tex</span></div> </div> then the final value used for searching will be: <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /home/karl:.:$TEXMF//tex</span></div> </div> <!--l. 2140--><p class="indent" > Since it would be useless to insert the default value in more than one place, Kpathsea changes only one extra ‘<span class="ec-lmtt-10">:</span>’ and leaves any others in place. It checks first for a leading ‘<span class="ec-lmtt-10">:</span>’, then a trailing ‘<span class="ec-lmtt-10">:</span>’, then a doubled ‘<span class="ec-lmtt-10">:</span>’. </p><!--l. 2145--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.5 </span> <a id="x1-590007.1.5"></a>Brace expansion</h5> <!--l. 2148--><p class="noindent" >A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">v{a,b}w</span></span></span> expands to <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">vaw:vbw</span></span></span>. Nesting is allowed. This is used to implement multiple TeX hierarchies, by assigning a brace list to <span class="ec-lmtt-10">$TEXMF</span>. In the distributed <span class="ec-lmtt-10">texmf.cnf</span>, a definition like this (simplified for this example) is made: </p> <pre class="verbatim" id="verbatim-3"> <pre class="fancyvrb" id="fancyvrb16"><a id="x1-59002r1"></a> TEXMF = {$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFDIST}</pre> </pre> <!--l. 2156--><p class="nopar" >We then use this to define, for example, the TeX input path: </p> <pre class="verbatim" id="verbatim-4"> <pre class="fancyvrb" id="fancyvrb17"><a id="x1-59004r1"></a> TEXINPUTS = .;$TEXMF/tex//</pre> </pre> <!--l. 2160--><p class="nopar" >which means that, after looking in the current directory, the <span class="ec-lmtt-10">$TEXMFVAR/tex</span>, <span class="ec-lmtt-10">$TEXMFHOME/tex</span>, <span class="ec-lmtt-10">$TEXMFLOCAL/tex </span>and <span class="ec-lmtt-10">$TEXMFDIST/tex </span>trees will be searched (the last two using <span class="ec-lmtt-10">ls-R </span>data base files). </p><!--l. 2167--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.6 </span> <a id="x1-600007.1.6"></a>Subdirectory expansion</h5> <!--l. 2170--><p class="noindent" >Two or more consecutive slashes in a path element following a directory <span class="ec-lmro-10">d </span>is replaced by all subdirectories of <span class="ec-lmro-10">d</span>: first those subdirectories directly under <span class="ec-lmro-10">d</span>, then the subsubdirectories under those, and so on. At each level, the order in which the directories are searched is <span class="ec-lmri-10">unspecified</span>. </p><!--l. 2176--><p class="indent" > If you specify any filename components after the ‘<span class="ec-lmtt-10">//</span>’, only subdirectories with matching components are included. For example, ‘<span class="ec-lmtt-10">/a//b</span>’ expands into directories <span class="ec-lmtt-10">/a/1/b</span>, <span class="ec-lmtt-10">/a/2/b</span>, <span class="ec-lmtt-10">/a/1/1/b</span>, and so on, but not <span class="ec-lmtt-10">/a/b/c</span> or <span class="ec-lmtt-10">/a/1</span>. </p><!--l. 2181--><p class="indent" > Multiple ‘<span class="ec-lmtt-10">//</span>’ constructs in a path are possible, but ‘<span class="ec-lmtt-10">//</span>’ at the beginning of a path is ignored. </p><!--l. 2184--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.1.7 </span> <a id="x1-610007.1.7"></a>Summary of special characters in <span class="ec-lmtt-10">texmf.cnf </span>files</h5> <!--l. 2187--><p class="noindent" >The following list summarizes the special characters and constructs in Kpathsea configuration files. </p><!--l. 2192--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">:</span> </dt><dd class="list"> <!--l. 2193--><p class="noindent" >Separator in path specification; at the beginning or the end of a path, or doubled in the middle, it substitutes the default path expansion. </p></dd><dt class="list"> <span class="ec-lmtt-10">;</span> </dt><dd class="list"> <!--l. 2196--><p class="noindent" >Separator on non-Unix systems (acts like <span class="ec-lmtt-10">:</span>). </p></dd><dt class="list"> <span class="ec-lmtt-10">$</span> </dt><dd class="list"> <!--l. 2197--><p class="noindent" >Variable expansion. </p></dd><dt class="list"> <span class="ec-lmtt-10">~</span> </dt><dd class="list"> <!--l. 2198--><p class="noindent" >Represents the user’s home directory. </p></dd><dt class="list"> <span class="ec-lmtt-10">{...}</span> </dt><dd class="list"> <!--l. 2199--><p class="noindent" >Brace expansion. </p></dd><dt class="list"> <span class="ec-lmtt-10">,</span> </dt><dd class="list"> <!--l. 2200--><p class="noindent" >Separates items in brace expansion. </p></dd><dt class="list"> <span class="ec-lmtt-10">//</span> </dt><dd class="list"> <!--l. 2201--><p class="noindent" >Subdirectory expansion (can occur anywhere in a path, except at its beginning). </p></dd><dt class="list"> <span class="ec-lmtt-10">%</span> and <span class="ec-lmtt-10">#</span></dt><dd class="list"> <!--l. 2203--><p class="noindent" >Start of comment. </p></dd><dt class="list"> <span class="ec-lmtt-10">\</span> </dt><dd class="list"> <!--l. 2204--><p class="noindent" >At the end of a line, continuation character to allow multi-line entries. </p></dd><dt class="list"> <span class="ec-lmtt-10">!!</span> </dt><dd class="list"> <!--l. 2206--><p class="noindent" >Search <span class="ec-lmri-10">only </span>database to locate file, <span class="ec-lmri-10">do not </span>search the disk.</p></dd></dl> <!--l. 2210--><p class="indent" > 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, ‘<span class="ec-lmtt-10">\</span>’ is not an “escape character” in <span class="ec-lmtt-10">texmf.cnf </span>files. </p><!--l. 2217--><p class="indent" > When it comes choosing directory names for installation, it is safest to avoid them all. </p><!--l. 2220--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a id="x1-620007.2"></a>Filename databases</h4> <!--l. 2223--><p class="noindent" >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 <span class="ec-lmtt-10">ls-R </span>that maps files to directories, thus avoiding the need to exhaustively search the disk. </p><!--l. 2231--><p class="indent" > A second database file <span class="ec-lmtt-10">aliases </span>allows you to give additional names to the files listed in <span class="ec-lmtt-10">ls-R</span>. </p><!--l. 2234--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.2.1 </span> <a id="x1-630007.2.1"></a>The filename database</h5> <!--l. 2237--><p class="noindent" >As explained above, the name of the main filename database must be <span class="ec-lmtt-10">ls-R</span>. You can put one at the root of each TeX hierarchy in your installation that you wish to be searched (<span class="ec-lmtt-10">$TEXMF </span>by default). Kpathsea looks for <span class="ec-lmtt-10">ls-R </span>files along the <span class="ec-lmtt-10">TEXMFDBS </span>path. </p><!--l. 2243--><p class="indent" > The recommended way to create and maintain ‘<span class="ec-lmtt-10">ls-R</span>’ is to run the <span class="ec-lmtt-10">mktexlsr </span>script included with the distribution. It is invoked by the various ‘<span class="ec-lmtt-10">mktex</span>’… scripts. In principle, this script just runs the command </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">cd</span><span class="ec-lmtt-10"> </span><span class="ec-lmro-10">/your/texmf/root</span><span class="ec-lmtt-10"> &&</span><span class="ec-lmtt-10"> </span><span class="path"><span class="ec-lmtt-10">\</span></span><span class="ec-lmtt-10">ls</span><span class="ec-lmtt-10"> -1LAR</span><span class="ec-lmtt-10"> ./</span><span class="ec-lmtt-10"> >ls-R</span> </div> </div> presuming your system’s <span class="ec-lmtt-10">ls </span>produces the right output format (GNU <span class="ec-lmtt-10">ls </span>is all right). To ensure that the database is always up-to-date, it is easiest to rebuild it regularly via <span class="ec-lmtt-10">cron</span>, so that it is automatically updated when the installed files change, such as after installing or updating a LaTeX package. <!--l. 2256--><p class="indent" > If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a particular path element begins with ‘<span class="ec-lmtt-10">!!</span>’, however, <span class="ec-lmri-10">only </span>the database will be searched for that element, never the disk. </p><!--l. 2262--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.2.2 </span> <a id="x1-640007.2.2"></a>kpsewhich: Standalone path searching</h5> <!--l. 2265--><p class="noindent" >The <span class="ec-lmtt-10">kpsewhich </span>program exercises path searching independent of any particular application. This can be useful as a sort of <span class="ec-lmtt-10">find </span>program to locate files in TeX hierarchies (this is used heavily in the distributed ‘<span class="ec-lmtt-10">mktex</span>’… scripts). </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> </span><span class="ec-lmro-10">option</span><span class="ec-lmtk-10">…</span><span class="ec-lmtk-10"> </span><span class="ec-lmro-10">filename</span><span class="ec-lmtk-10">…</span> </div> </div> The options specified in <span class="ec-lmro-10">option </span>start with either ‘<span class="ec-lmtt-10">-</span>’ or ‘<span class="ec-lmtt-10">--</span>’, and any unambiguous abbreviation is accepted. <!--l. 2276--><p class="indent" > Kpathsea looks up each non-option argument on the command line as a filename, and returns the first file found. There is no option to return all the files with a particular name (you can run the Unix ‘<span class="ec-lmtt-10">find</span>’ utility for that). </p><!--l. 2281--><p class="indent" > The most common options are described next. </p><!--l. 2283--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">--dpi=</span><span class="ec-lmro-10">num</span> </dt><dd class="list"> <!--l. 2284--><p class="noindent" > Set the resolution to <span class="ec-lmro-10">num</span>; this only affects ‘<span class="ec-lmtt-10">gf</span>’ and ‘<span class="ec-lmtt-10">pk</span>’ lookups. ‘<span class="ec-lmtt-10">-D</span>’ is a synonym, for compatibility with <span class="ec-lmss-10">dvips</span>. Default is 600. </p></dd><dt class="list"> <span class="ec-lmtt-10">--format=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> <!--l. 2289--><p class="noindent" ><br class="newline" />Set the format for lookup to <span class="ec-lmro-10">name</span>. By default, the format is guessed from the filename. For formats which do not have an associated unambiguous suffix, such as MetaPost support files and <span class="ec-lmss-10">dvips </span>configuration files, you have to specify the name as known to Kpathsea, such as <span class="ec-lmtt-10">tex </span>or <span class="ec-lmtt-10">enc</span> <span class="ec-lmtt-10">files</span>. Run <span class="ec-lmtt-10">kpsewhich --help-formats </span>for a list. </p></dd><dt class="list"> <span class="ec-lmtt-10">--mode=</span><span class="ec-lmro-10">string</span> </dt><dd class="list"> <!--l. 2297--><p class="noindent" ><br class="newline" />Set the mode name to <span class="ec-lmro-10">string</span>; this only affects ‘<span class="ec-lmtt-10">gf</span>’ and ‘<span class="ec-lmtt-10">pk</span>’ lookups. No default: any mode will be found. </p></dd><dt class="list"> <span class="ec-lmtt-10">--must-exist</span> </dt><dd class="list"> <!--l. 2300--><p class="noindent" ><br class="newline" />Do everything possible to find the files, notably including searching the disk. By default, only the <span class="ec-lmtt-10">ls-R </span>database is checked, in the interest of efficiency. </p></dd><dt class="list"> <span class="ec-lmtt-10">--path=</span><span class="ec-lmro-10">string</span> </dt><dd class="list"> <!--l. 2304--><p class="noindent" ><br class="newline" />Search along the path <span class="ec-lmro-10">string </span>(colon-separated as usual), instead of guessing the search path from the filename. ‘<span class="ec-lmtt-10">//</span>’ and all the usual expansions are supported. The options ‘<span class="ec-lmtt-10">--path</span>’ and ‘<span class="ec-lmtt-10">--format</span>’ are mutually exclusive. </p></dd><dt class="list"> <span class="ec-lmtt-10">--progname=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> <!--l. 2309--><p class="noindent" ><br class="newline" />Set the program name to <span class="ec-lmro-10">name</span>. This can affect the search paths via the <span class="ec-lmtt-10">.</span><span class="ec-lmro-10">progname </span>feature. The default is <span class="ec-lmss-10">kpsewhich</span>. </p></dd><dt class="list"> <span class="ec-lmtt-10">--show-path=</span><span class="ec-lmro-10">name</span> </dt><dd class="list"> <!--l. 2314--><p class="noindent" ><br class="newline" />shows the path used for file lookups of file type <span class="ec-lmro-10">name</span>. Either a filename extension (<span class="ec-lmtt-10">.pk</span>, <span class="ec-lmtt-10">.vf</span>, etc.) or a name can be used, just as with ‘<span class="ec-lmtt-10">--format</span>’ option. </p></dd><dt class="list"> <span class="ec-lmtt-10">--debug=</span><span class="ec-lmro-10">num</span> </dt><dd class="list"> <!--l. 2318--><p class="noindent" ><br class="newline" />sets the debugging options to <span class="ec-lmro-10">num</span>.</p></dd></dl> <!--l. 2323--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.2.3 </span> <a id="x1-650007.2.3"></a>Examples of use</h5> <!--l. 2326--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search: </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> article.cls</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/article.cls</span></div> </div> We are looking for the file <span class="ec-lmtt-10">article.cls</span>. Since the ‘<span class="ec-lmtt-10">.cls</span>’ suffix is unambiguous we do not need to specify that we want to look for a file of type <span class="ec-lmtt-10">tex </span>(TeX source file directories). We find it in the subdirectory <span class="ec-lmtt-10">tex/latex/base </span>below the ‘<span class="ec-lmtt-10">texmf-dist</span>’ TeX Live directory. Similarly, all of the following are found without problems thanks to their unambiguous suffix. <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> array.sty</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/tools/array.sty</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> latin1.def</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/latin1.def</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> size10.clo</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/size10.clo</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> small2e.tex</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/small2e.tex</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> tugboat.bib</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib</span> </div> </div> <!--l. 2351--><p class="indent" > By the way, that last is a BibTeX bibliography database for <span class="ec-lmro-10">TUGboat </span>articles. </p> <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> cmr10.pk</span> </div> </div> Font bitmap glyph files of type <span class="ec-lmtt-10">.pk </span>are used by display programs like <span class="ec-lmss-10">dvips </span>and <span class="ec-lmss-10">xdvi</span>. Nothing is returned in this case since there are no pre-generated Computer Modern ‘<span class="ec-lmtt-10">.pk</span>’ files in TeX Live — the Type 1 variants are used by default. <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> wsuipa10.pk</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk</span> </div> </div> For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span class="ec-lmtt-10">.pk</span>’ files, and since the default Metafont mode on our installation is <span class="ec-lmtt-10">ljfour </span>with a base resolution of 600dpi (dots per inch), this instantiation is returned. <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> -dpi=300</span><span class="ec-lmtk-10"> wsuipa10.pk</span> </div> </div> In this case, when specifying that we are interested in a resolution of 300dpi (<span class="ec-lmtt-10">-dpi=300</span>) we see that no such font is available on the system. A program like <span class="ec-lmss-10">dvips </span>or <span class="ec-lmss-10">xdvi </span>would go off and actually build the required <span class="ec-lmtt-10">.pk</span> files using the script <span class="ec-lmss-10">mktexpk</span>. <!--l. 2380--><p class="indent" > Next we turn our attention to <span class="ec-lmss-10">dvips</span>’s header and configuration files. We first look at one of the commonly used files, the general prologue <span class="ec-lmtt-10">tex.pro </span>for TeX support, before turning our attention to the generic configuration file (<span class="ec-lmtt-10">config.ps</span>) and the PostScript font map <span class="ec-lmtt-10">psfonts.map </span>— as of 2004, map and encoding files have their own search paths and new location in <span class="ec-lmtt-10">texmf </span>trees. As the ‘<span class="ec-lmtt-10">.ps</span>’ suffix is ambiguous we have to specify explicitly which type we are considering (<span class="ec-lmtt-10">dvips config</span>) for the file <span class="ec-lmtt-10">config.ps</span>. </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> tex.pro</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf/dvips/base/tex.pro</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> --format="dvips</span><span class="ec-lmtk-10"> config"</span><span class="ec-lmtk-10"> config.ps</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf/dvips/config/config.ps</span> <br /><span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> psfonts.map</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map</span> </div> </div> <!--l. 2398--><p class="indent" > We now take a closer look at the URW Times PostScript support files. The prefix for these in the standard font naming scheme is ‘<span class="ec-lmtt-10">utm</span>’. The first file we look at is the configuration file, which contains the name of the map file: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> --format="dvips</span><span class="ec-lmtk-10"> config"</span><span class="ec-lmtk-10"> config.utm</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/dvips/psnfss/config.utm</span> </div> </div> The contents of that file is <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span class="ec-lmtt-10"> +utm.map</span> </div> </div> which points to the file <span class="ec-lmtt-10">utm.map</span>, which we want to locate next. <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> utm.map</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/map/dvips/times/utm.map</span> </div> </div> This map file defines the file names of the Type 1 PostScript fonts in the URW collection. Its contents look like (we only show part of the lines): <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">utmb8r</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> NimbusRomNo9L-Medi</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> ...</span><span class="ec-lmtt-10"> <utmb8a.pfb</span> <br /><span class="ec-lmtt-10">utmbi8r</span><span class="ec-lmtt-10"> NimbusRomNo9L-MediItal...</span><span class="ec-lmtt-10"> <utmbi8a.pfb</span> <br /><span class="ec-lmtt-10">utmr8r</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> NimbusRomNo9L-Regu</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> ...</span><span class="ec-lmtt-10"> <utmr8a.pfb</span> <br /><span class="ec-lmtt-10">utmri8r</span><span class="ec-lmtt-10"> NimbusRomNo9L-ReguItal...</span><span class="ec-lmtt-10"> <utmri8a.pfb</span> <br /><span class="ec-lmtt-10">utmbo8r</span><span class="ec-lmtt-10"> NimbusRomNo9L-Medi</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> ...</span><span class="ec-lmtt-10"> <utmb8a.pfb</span> <br /><span class="ec-lmtt-10">utmro8r</span><span class="ec-lmtt-10"> NimbusRomNo9L-Regu</span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> ...</span><span class="ec-lmtt-10"> <utmr8a.pfb</span> </div> </div> Let us, for instance, take the Times Roman instance <span class="ec-lmtt-10">utmr8a.pfb </span>and find its position in the <span class="ec-lmtt-10">texmf </span>directory tree with a search for Type 1 font files: <div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">kpsewhich</span><span class="ec-lmtk-10"> utmr8a.pfb</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb</span> </div> </div> <!--l. 2437--><p class="indent" > It should be evident from these examples how you can easily locate the whereabouts of a given file. This is especially important if you suspect that the wrong version of a file is picked up somehow, since <span class="ec-lmss-10">kpsewhich </span>will show you the first file encountered. </p><!--l. 2442--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">7.2.4 </span> <a id="x1-660007.2.4"></a>Debugging actions</h5> <!--l. 2445--><p class="noindent" >Sometimes it is necessary to investigate how a program resolves file references. To make this practical, Kpathsea offers various levels of debugging output: </p><!--l. 2449--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10"> 1 </span> </dt><dd class="list"> <!--l. 2450--><p class="noindent" ><span class="ec-lmtt-10">stat </span>calls (disk lookups). When running with an up-to-date <span class="ec-lmtt-10">ls-R </span>database this should almost give no output. </p></dd><dt class="list"> <span class="ec-lmtt-10"> 2 </span> </dt><dd class="list"> <!--l. 2453--><p class="noindent" >References to hash tables (such as <span class="ec-lmtt-10">ls-R </span>databases, map files, configuration files). </p></dd><dt class="list"> <span class="ec-lmtt-10"> 4 </span> </dt><dd class="list"> <!--l. 2455--><p class="noindent" >File open and close operations. </p></dd><dt class="list"> <span class="ec-lmtt-10"> 8 </span> </dt><dd class="list"> <!--l. 2456--><p class="noindent" >General path information for file types searched by Kpathsea. This is useful to find out where a particular path for the file was defined. </p></dd><dt class="list"> <span class="ec-lmtt-10">16 </span> </dt><dd class="list"> <!--l. 2459--><p class="noindent" >Directory list for each path element (only relevant for searches on disk). </p></dd><dt class="list"> <span class="ec-lmtt-10">32 </span> </dt><dd class="list"> <!--l. 2461--><p class="noindent" >File searches. </p></dd><dt class="list"> <span class="ec-lmtt-10">64 </span> </dt><dd class="list"> <!--l. 2462--><p class="noindent" >Variable values.</p></dd></dl> <!--l. 2464--><p class="noindent" >A value of <span class="ec-lmtt-10">-1 </span>will set all the above options; in practice, this is usually the most convenient. </p><!--l. 2467--><p class="indent" > Similarly, with the <span class="ec-lmss-10">dvips </span>program, by setting a combination of debug switches, one can follow in detail where files are being picked up from. Alternatively, when a file is not found, the debug trace shows in which directories the program looks for the given file, so that one can get an indication what the problem is. </p><!--l. 2473--><p class="indent" > Generally speaking, as most programs call the Kpathsea library internally, one can select a debug option by using the <span class="ec-lmtt-10">KPATHSEA_DEBUG </span>environment variable, and setting it to (a combination of) values as described in the above list. </p><!--l. 2478--><p class="indent" > (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic purposes you can temporarily <span class="ec-lmtt-10">SET KPATHSEA_DEBUG_OUTPUT=err.log</span>). </p><!--l. 2482--><p class="indent" > Let us consider, as an example, a small LaTeX source file, <span class="ec-lmtt-10">hello-world.tex</span>, which contains the following input. </p> <pre class="verbatim" id="verbatim-5"> <pre class="fancyvrb" id="fancyvrb18"><a id="x1-66002r1"></a> \documentclass{article} <a id="x1-66004r2"></a> \begin{document} <a id="x1-66006r3"></a> Hello World! <a id="x1-66008r4"></a> \end{document}</pre> </pre> <!--l. 2489--><p class="nopar" >This little file only uses the font <span class="ec-lmtt-10">cmr10</span>, so let us look at how <span class="ec-lmss-10">dvips </span>prepares the PostScript file (we want to use the Type 1 version of the Computer Modern fonts, hence the option <span class="ec-lmtt-10">-Pcms</span>). </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">dvips</span><span class="ec-lmtk-10"> -d4100</span><span class="ec-lmtk-10"> hello-world</span><span class="ec-lmtk-10"> -Pcms</span><span class="ec-lmtk-10"> -o</span> </div> </div> In this case we have combined <span class="ec-lmss-10">dvips</span>’s debug class 4 (font paths) with Kpathsea’s path element expansion (see the <span class="ec-lmss-10">dvips </span>reference manual). The output (slightly rearranged) appears in Figure <a href="#x1-66031r12">12<!--tex4ht:ref: fig:dvipsdbga --></a>. <!--l. 2501--><p class="indent" > <a id="x1-66031r12"></a></p><figure class="float" > <div class="BVerbatimInput"> <span class="ec-lmtt-9">debug:start</span><span class="ec-lmtt-9"> search(file=texmf.cnf,</span><span class="ec-lmtt-9"> must_exist=1,</span><span class="ec-lmtt-9"> find_all=1,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:/usr/local/bin/texlive:/usr/local/bin:</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> /usr/local/bin/texmf/web2c:/usr/local:</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> /usr/local/texmf/web2c:/.:/./teTeX/TeX/texmf/web2c:).</span><br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=ls-R,</span><span class="ec-lmtt-9"> must_exist=1,</span><span class="ec-lmtt-9"> find_all=1,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=~/tex:/usr/local/texmf).</span><br /><span class="ec-lmtt-9">kdebug:search(ls-R)</span><span class="ec-lmtt-9"> =>/usr/local/texmf/ls-R</span><br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=aliases,</span><span class="ec-lmtt-9"> must_exist=1,</span><span class="ec-lmtt-9"> find_all=1,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=~/tex:/usr/local/texmf).</span><br /><span class="ec-lmtt-9">kdebug:search(aliases)</span><span class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/aliases</span><br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=config.ps,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex:!!/usr/local/texmf/dvips//).</span><br /><span class="ec-lmtt-9">kdebug:search(config.ps)</span><span class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/config/config.ps</span><br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=/root/.dvipsrc,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex:!!/usr/local/texmf/dvips//).</span><br /><span class="ec-lmtt-9">search(file=/home/goossens/.dvipsrc,</span><span class="ec-lmtt-9"> must_exist=1,</span><span class="ec-lmtt-9"> find_all=0,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).</span><br /><span class="ec-lmtt-9">kdebug:search($HOME/.dvipsrc)</span><span class="ec-lmtt-9"> =></span><br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=config.cms,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span><br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).</span><br /><span class="ec-lmtt-9">kdebug:search(config.cms)</span><br /><span class="ec-lmtt-9">=>/usr/local/texmf/dvips/cms/config.cms</span></div> <figcaption class="caption" ><span class="id">Figure 12: </span><span class="content">Finding configuration files</span></figcaption><!--tex4ht:label?: x1-66031r12 --> </figure> <!--l. 2507--><p class="indent" > <span class="ec-lmss-10">dvips </span>starts by locating its working files. First, <span class="ec-lmtt-10">texmf.cnf </span>is found, which gives the definitions of the search paths for the other files, then the file database <span class="ec-lmtt-10">ls-R </span>(to optimize file searching) and the file <span class="ec-lmtt-10">aliases</span>, 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 <span class="ec-lmss-10">dvips </span>goes on to find the generic configuration file <span class="ec-lmtt-10">config.ps </span>before looking for the customization file <span class="ec-lmtt-10">.dvipsrc </span>(which, in this case is <span class="ec-lmri-10">not found</span>). Finally, <span class="ec-lmss-10">dvips </span>locates the config file for the Computer Modern PostScript fonts <span class="ec-lmtt-10">config.cms </span>(this was initiated with the <span class="ec-lmtt-10">-Pcms </span>option on the <span class="ec-lmss-10">dvips </span>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. </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">></span><span class="ec-lmtt-10"> </span><span class="ec-lmtk-10">more</span><span class="ec-lmtk-10"> /usr/local/texmf/dvips/cms/config.cms</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span class="ec-lmtt-10"> +ams.map</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span class="ec-lmtt-10"> +cms.map</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span class="ec-lmtt-10"> +cmbkm.map</span> <br /><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> </span><span class="ec-lmtt-10"> p</span><span class="ec-lmtt-10"> +amsbkm.map</span> </div> </div> <span class="ec-lmss-10">dvips </span>thus goes on to find all these files, plus the generic map file <span class="ec-lmtt-10">psfonts.map</span>, which is always loaded (it contains declarations for commonly used PostScript fonts; see the last part of section <a href="#x1-650007.2.3">7.2.3<!--tex4ht:ref: sec:examples-of-use --></a> for more details about PostScript map file handling). <!--l. 2534--><p class="indent" > At this point <span class="ec-lmss-10">dvips </span>identifies itself to the user: </p><div class="alltt"> <div class="obeylines-v"> <span class="ec-lmtt-10">This</span><span class="ec-lmtt-10"> is</span><span class="ec-lmtt-10"> dvips(k)</span><span class="ec-lmtt-10"> 5.92b</span><span class="ec-lmtt-10"> Copyright</span><span class="ec-lmtt-10"> 2002</span><span class="ec-lmtt-10"> Radical</span><span class="ec-lmtt-10"> Eye</span><span class="ec-lmtt-10"> Software</span><span class="ec-lmtt-10"> (www.radicaleye.com)</span> </div> </div> Then it goes on to look for the prolog file <span class="ec-lmtt-10">texc.pro</span>: <div class="alltt"> <div class="obeylines-v"> <br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=texc.pro,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span> <br /><span class="ec-lmtt-9">kdebug:search(texc.pro)</span><span class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span> </div> </div> <!--l. 2551--><p class="indent" > After having found the file in question, <span class="ec-lmss-10">dvips </span>outputs the date and time, and informs us that it will generate the file <span class="ec-lmtt-10">hello-world.ps</span>, then that it needs the font file <span class="ec-lmtt-10">cmr10</span>, and that the latter is declared as “resident” (no bitmaps needed): </p><div class="alltt"> <div class="obeylines-v"> <br /><span class="ec-lmtt-9">TeX</span><span class="ec-lmtt-9"> output</span><span class="ec-lmtt-9"> 1998.02.26:1204’</span><span class="ec-lmtt-9"> -></span><span class="ec-lmtt-9"> hello-world.ps</span> <br /><span class="ec-lmtt-9">Defining</span><span class="ec-lmtt-9"> font</span><span class="ec-lmtt-9"> ()</span><span class="ec-lmtt-9"> cmr10</span><span class="ec-lmtt-9"> at</span><span class="ec-lmtt-9"> 10.0pt</span> <br /><span class="ec-lmtt-9">Font</span><span class="ec-lmtt-9"> cmr10</span><span class="ec-lmtt-9"> <CMR10></span><span class="ec-lmtt-9"> is</span><span class="ec-lmtt-9"> resident.</span></div> </div> Now the search is on for the file <span class="ec-lmtt-10">cmr10.tfm</span>, which is found, then a few more prolog files (not shown) are referenced, and finally the Type 1 instance <span class="ec-lmtt-10">cmr10.pfb </span>of the font is located and included in the output file (see last line). <div class="alltt"> <div class="obeylines-v"> <br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=cmr10.tfm,</span><span class="ec-lmtt-9"> must_exist=1,</span><span class="ec-lmtt-9"> find_all=0,</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex/fonts/tfm//:!!/usr/local/texmf/fonts/tfm//:</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> /var/tex/fonts/tfm//).</span> <br /><span class="ec-lmtt-9">kdebug:search(cmr10.tfm)</span><span class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/fonts/tfm/public/cm/cmr10.tfm</span> <br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=texps.pro,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> ...</span> <br /><span class="ec-lmtt-9"><texps.pro></span> <br /><span class="ec-lmtt-9">kdebug:start</span><span class="ec-lmtt-9"> search(file=cmr10.pfb,</span><span class="ec-lmtt-9"> must_exist=0,</span><span class="ec-lmtt-9"> find_all=0,</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span> <br /><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> </span><span class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span> <br /><span class="ec-lmtt-9">kdebug:search(cmr10.pfb)</span><span class="ec-lmtt-9"> =></span><span class="ec-lmtt-9"> /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb</span> <br /><span class="ec-lmtt-9"><cmr10.pfb>[1]</span> </div> </div> <h4 class="subsectionHead"><span class="titlemark">7.3 </span> <a id="x1-670007.3"></a>Runtime options</h4> <!--l. 2582--><p class="noindent" >Another useful feature of Web2C is its possibility to control a number of memory parameters (in particular, array sizes) via the runtime file <span class="ec-lmtt-10">texmf.cnf </span>read by Kpathsea. The memory settings can be found in Part 3 of that file in the TeX Live distribution. The more important are: </p><!--l. 2588--><p class="noindent" > </p><dl class="list1"><dt class="list"> <span class="ec-lmtt-10">main_memory</span> </dt><dd class="list"> <!--l. 2589--><p class="noindent" >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 <span class="ec-lmtt-10">hugetex.fmt</span>. Using the standard way of specifying the program name used by Kpathsea, the particular value of the <span class="ec-lmtt-10">main_memory </span>variable will then be read from <span class="ec-lmtt-10">texmf.cnf</span>. </p></dd><dt class="list"> <span class="ec-lmtt-10">extra_mem_bot</span> </dt><dd class="list"> <!--l. 2597--><p class="noindent" >Extra space for “large” TeX data structures: boxes, glue, breakpoints, etc. Especially useful if you use PI CTeX. </p></dd><dt class="list"> <span class="ec-lmtt-10">font_mem_size</span> </dt><dd class="list"> <!--l. 2601--><p class="noindent" >Number of words for font information available for TeX. This is more or less the total size of all TFM files read. </p></dd><dt class="list"> <span class="ec-lmtt-10">hash_extra</span> </dt><dd class="list"> <!--l. 2604--><p class="noindent" >Additional space for the hash table of control sequence names; its default value is <span class="ec-lmtt-10">600000</span>.</p></dd></dl> <!--l. 2609--><p class="noindent" >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. </p><!--l. 2614--><p class="indent" > <a id="texmfdotdir"></a> </p> <h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a id="x1-680007.4"></a><span class="ec-lmtt-10">$TEXMFDOTDIR</span></h4> <!--l. 2618--><p class="noindent" >In various places above, we gave various search paths starting with <span class="ec-lmtt-10">. </span>(to search the current directory first), as in </p><div class="alltt"> <div class="obeylines-v"> <br /><span class="ec-lmtt-9">TEXINPUTS=.;$TEXMF/tex//</span> </div> </div> <!--l. 2624--><p class="indent" > This is a simplification. The <span class="ec-lmtt-10">texmf.cnf </span>file we distribute in TeX Live uses <span class="ec-lmtt-10">$TEXMFDOTDIR </span>instead of just ‘<span class="ec-lmtt-10">.</span>’, as in: </p><div class="alltt"> <div class="obeylines-v"> <br /><span class="ec-lmtt-9">TEXINPUTS=$TEXMFDOTDIR;$TEXMF/tex//</span> </div> </div> (In the distributed file, the second path element is also slightly more complicated than <span class="ec-lmtt-10">$TEXMF/tex//</span>. But that’s minor; here we want to discuss the <span class="ec-lmtt-10">$TEXMFDOTDIR </span>feature.) <!--l. 2633--><p class="indent" > The reason to use the variable <span class="ec-lmtt-10">$TEXMFDOTDIR </span>in the path definitions instead of simply ‘<span class="ec-lmtt-10">.</span>’ 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 <span class="ec-lmtt-10">TEXMFDOTDIR </span>to <span class="ec-lmtt-10">.// </span>(for example, in the environment when you build the document) and they will all get searched. (Warning: don’t use <span class="ec-lmtt-10">.// </span>by default; it’s usually highly undesirable, and potentially insecure, to search through all subdirectories for an arbitrary document.) </p><!--l. 2643--><p class="indent" > 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 <span class="ec-lmtt-10">$TEXMFDOTDIR </span>to, say, <span class="ec-lmtt-10">/nonesuch </span>or any nonexistent directory for this. </p><!--l. 2648--><p class="indent" > The default value of <span class="ec-lmtt-10">$TEXMFDOTDIR </span>is just ‘<span class="ec-lmtt-10">.</span>’, as set in our <span class="ec-lmtt-10">texmf.cnf</span>. </p><!--l. 2651--><p class="indent" > <a id="ack"></a> </p> <h3 class="sectionHead"><span class="titlemark">8 </span> <a id="x1-690008"></a>Acknowledgements</h3> <!--l. 2654--><p class="noindent" >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. </p> <ul class="itemize1"> <li class="itemize"> <!--l. 2660--><p class="noindent" >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 <a href="https://tug.org/usergroups.html" class="url" ><span class="ec-lmtt-10">https://tug.org/usergroups.html</span></a>.) </p></li> <li class="itemize"> <!--l. 2666--><p class="noindent" >The CTAN team ( <a href="https://ctan.org" class="url" ><span class="ec-lmtt-10">https://ctan.org</span></a>), which distributes the TeX Live images and provides the common infrastructure for package updates, upon which TeX Live depends. </p></li> <li class="itemize"> <!--l. 2670--><p class="noindent" >Nelson Beebe, for making many platforms available to TeX Live developers, and his own comprehensive testing and unparalleled bibliographic efforts. </p></li> <li class="itemize"> <!--l. 2674--><p class="noindent" >John Bowman, for making many changes to his advanced graphics program Asymptote to make it work in TeX Live. </p></li> <li class="itemize"> <!--l. 2677--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2682--><p class="noindent" >Jin-Hwan Cho and all of the DVIPDFM<span class="lmmi-10">x </span>team, for their excellent driver and responsiveness to configuration issues. </p></li> <li class="itemize"> <!--l. 2685--><p class="noindent" >Thomas Esser, without whose marvelous teTeX package TeX Live would have never existed. </p></li> <li class="itemize"> <!--l. 2688--><p class="noindent" >Michel Goossens, who co-authored the original documentation. </p></li> <li class="itemize"> <!--l. 2690--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2695--><p class="noindent" >Hans Hagen, for much testing and making his ConTeXt package ( <a href="https://pragma-ade.com" class="url" ><span class="ec-lmtt-10">https://pragma-ade.com</span></a>) work within TeX Live’s framework, and continually driving TeX development. </p></li> <li class="itemize"> <!--l. 2699--><p class="noindent" >Hàn Thế Thành, Martin Schröder, and the pdfTeX team ( <a href="http://pdftex.org" class="url" ><span class="ec-lmtt-10">http://pdftex.org</span></a>), for continuing enhancements of TeX’s abilities. </p></li> <li class="itemize"> <!--l. 2703--><p class="noindent" >Hartmut Henkel, for significant development contributions to pdfTeX LuaTeX, and more. </p></li> <li class="itemize"> <!--l. 2706--><p class="noindent" >Shunshaku Hirata, for much original and continuing work on DVIPDFM<span class="lmmi-10">x</span>. </p></li> <li class="itemize"> <!--l. 2708--><p class="noindent" >Taco Hoekwater, for major renewed development efforts on MetaPost and (Lua)TeX ( <a href="http://luatex.org" class="url" ><span class="ec-lmtt-10">http://luatex.org</span></a>) itself, incorporating ConTeXt into TeX Live, giving Kpathsea multi-threaded functionality, and much more. </p></li> <li class="itemize"> <!--l. 2713--><p class="noindent" >Khaled Hosny, for substantial work on XeTeX, DVIPDFM<span class="lmmi-10">x</span>, and efforts with Arabic and other fonts. </p></li> <li class="itemize"> <!--l. 2716--><p class="noindent" >Paweł Jackowski, for the Windows installer <span class="ec-lmss-10">tlpm</span>, and Tomasz Łuczak, for <span class="ec-lmss-10">tlpmgui</span>, used in past releases. </p></li> <li class="itemize"> <!--l. 2719--><p class="noindent" >Akira Kakuto, for providing the Windows binaries from his W32TEX and W64TEX distributions for Japanese TeX ( <a href="http://w32tex.org" class="url" ><span class="ec-lmtt-10">http://w32tex.org</span></a>), and many other development contributions. </p></li> <li class="itemize"> <!--l. 2723--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2728--><p class="noindent" >Hironori Kitagawa, for maintenance of (e)pTeX and related support. </p></li> <li class="itemize"> <!--l. 2730--><p class="noindent" >Dick Koch, for maintaining MacTeX ( <a href="https://tug.org/mactex" class="url" ><span class="ec-lmtt-10">https://tug.org/mactex</span></a>) in very close tandem with TeX Live, and for his great good cheer in doing so. </p></li> <li class="itemize"> <!--l. 2734--><p class="noindent" >Reinhard Kotucha, for major contributions to the TeX Live 2008 infrastructure and installer, as well as Windows research efforts, the <span class="ec-lmtt-10">getnonfreefonts </span>script, and more. </p></li> <li class="itemize"> <!--l. 2738--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2742--><p class="noindent" >Clerk Ma, for engine bug fixes and extensions. </p></li> <li class="itemize"> <!--l. 2744--><p class="noindent" >Mojca Miklavec, for much help with ConTeXt, building many binary sets, and plenty more. </p></li> <li class="itemize"> <!--l. 2747--><p class="noindent" >Heiko Oberdiek, for the <span class="ec-lmss-10">epstopdf </span>package and many others, compressing the huge <span class="ec-lmss-10">pst-geo </span>data files so we could include them, and most of all, for his remarkable work on <span class="ec-lmss-10">hyperref</span>. </p></li> <li class="itemize"> <!--l. 2752--><p class="noindent" >Phelype Oleinik, for the group-delimited <span class="ec-lmtt-10">\input </span>across engines in 2020, and more. </p></li> <li class="itemize"> <!--l. 2755--><p class="noindent" >Petr Olšak, who coordinated and checked all the Czech and Slovak material very carefully. </p></li> <li class="itemize"> <!--l. 2758--><p class="noindent" >Toshio Oshima, for his <span class="ec-lmss-10">dviout </span>previewer for Windows. </p></li> <li class="itemize"> <!--l. 2760--><p class="noindent" >Manuel Pégourié-Gonnard, for helping with package updates, documentation improvements, and <span class="ec-lmss-10">texdoc </span>development. </p></li> <li class="itemize"> <!--l. 2763--><p class="noindent" >Fabrice Popineau, for the original Windows support in TeX Live and work on the French documentation. </p></li> <li class="itemize"> <!--l. 2766--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2771--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2775--><p class="noindent" >Luigi Scarso, for continuing development of MetaPost, LuaTeX, and much more. </p></li> <li class="itemize"> <!--l. 2778--><p class="noindent" >Andreas Scherer, for <span class="ec-lmtt-10">cwebbin</span>, the CWEB implementation used in TeX Live, and continuing maintenance of the original CWEB. </p></li> <li class="itemize"> <!--l. 2781--><p class="noindent" >Takuji Tanaka, for maintenance of (e)(u)pTeX and related support. </p></li> <li class="itemize"> <!--l. 2783--><p class="noindent" >Tomasz Trzeciak, for wide-ranging help with Windows. </p></li> <li class="itemize"> <!--l. 2785--><p class="noindent" >Vladimir Volovich, for substantial help with porting and other maintenance issues, and especially for making it feasible to include <span class="ec-lmss-10">xindy</span>. </p></li> <li class="itemize"> <!--l. 2789--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2794--><p class="noindent" >Olaf Weber, for his patient maintenance of Web2C in past years. </p></li> <li class="itemize"> <!--l. 2796--><p class="noindent" >Gerben Wierda, for creating and maintaining the original Mac OS X support. </p></li> <li class="itemize"> <!--l. 2799--><p class="noindent" >Graham Williams, the originator of the TeX Catalogue. </p></li> <li class="itemize"> <!--l. 2801--><p class="noindent" >Joseph Wright, for much work on making the same primitive functionality available across engines. </p></li> <li class="itemize"> <!--l. 2804--><p class="noindent" >Hironobu Yamashita, for much work on pTeX and related support. </p> </li></ul> <!--l. 2808--><p class="indent" > Builders of the binaries: Marc Baudoin (<span class="ec-lmss-10">amd64-netbsd</span>, <span class="ec-lmss-10">i386-netbsd</span>), Ken Brown (<span class="ec-lmss-10">i386-cygwin</span>, <span class="ec-lmss-10">x86_64-cygwin</span>), Simon Dales (<span class="ec-lmss-10">armhf-linux</span>), Johannes Hielscher (<span class="ec-lmss-10">aarch64-linux</span>), Akira Kakuto (<span class="ec-lmss-10">win32</span>), Dick Koch (<span class="ec-lmss-10">universal-darwin</span>), Mojca Miklavec (<span class="ec-lmss-10">amd64-freebsd</span>, <span class="ec-lmss-10">i386-freebsd</span>, <span class="ec-lmss-10">x86_64-darwinlegacy</span>, <span class="ec-lmss-10">i386-solaris</span>, <span class="ec-lmss-10">x86_64-solaris</span>, <span class="ec-lmss-10">sparc-solaris</span>), Norbert Preining (<span class="ec-lmss-10">i386-linux</span>, <span class="ec-lmss-10">x86_64-linux</span>, <span class="ec-lmss-10">x86_64-linuxmusl</span>). For information on the TeX Live build process, see <a href="https://tug.org/texlive/build.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/build.html</span></a>. </p><!--l. 2826--><p class="indent" > Translators of this manual: Takuto Asakura (Japanese), 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 <a href="https://tug.org/texlive/doc.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/doc.html</span></a>. </p><!--l. 2839--><p class="indent" > Of course the most important acknowledgement must go to Donald Knuth, first for inventing TeX, and then for giving it to the world. </p><!--l. 2843--><p class="noindent" > </p> <h3 class="sectionHead"><span class="titlemark">9 </span> <a id="x1-700009"></a>Release history</h3> <!--l. 2846--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">9.1 </span> <a id="x1-710009.1"></a>Past</h4> <!--l. 2848--><p class="noindent" >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 <span class="ec-lmri-10">TeX Directory Structure </span>( <a href="https://tug.org/tds" class="url" ><span class="ec-lmtt-10">https://tug.org/tds</span></a>), 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 <span class="ec-lmro-10">TUGboat</span>, 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 Live. </p><!--l. 2864--><p class="indent" > We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified Thomas Esser’s 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 <span class="ec-lmtt-10">texconfig </span>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 release of Web2C (7.3). The system now included a complete Windows setup, thanks to Fabrice Popineau. </p><!--l. 2880--><p class="indent" > For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds of packages. Package details were stored in XML files. But the major change for 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 ( <a href="https://debian.org/intro/free" class="url" ><span class="ec-lmtt-10">https://debian.org/intro/free</span></a>); we have done our best to check the license conditions of all packages, but we would very much appreciate hearing of any mistakes. </p><!--l. 2889--><p class="indent" > The 6th edition (July 2001) had much more material updated. The major change was a new install concept: the user could select a more exact set of needed collections. Language-related collections were completely reorganized, so selecting any of them installs not only macros, fonts, etc., but also prepares an appropriate <span class="ec-lmtt-10">language.dat</span>. </p><!--l. 2895--><p class="indent" > The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of updates to all sorts of packages and programs. An important goal was integration of the source back with teTeX, to correct the drift apart in versions 5 and 6. </p><!--l. 2900--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.1 </span> <a id="x1-720009.1.1"></a>2003</h5> <!--l. 2902--><p class="noindent" >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 <a href="#x1-90002.1">2.1<!--tex4ht:ref: sec:tl-coll-dists --></a>, p. <a href="#x1-90002.1">6<!--tex4ht:ref: sec:tl-coll-dists --></a>). In addition: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 2909--><p class="noindent" >At the request of the LaTeX team, we changed the standard <span class="ec-lmss-10">latex </span>and <span class="ec-lmss-10">pdflatex </span>commands to now use e-TeX (see p. <a href="#x1-120002.4">10<!--tex4ht:ref: text:etex --></a>). </p></li> <li class="itemize"> <!--l. 2912--><p class="noindent" >The new Latin Modern fonts were included (and are recommended). </p></li> <li class="itemize"> <!--l. 2913--><p class="noindent" >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. </p></li> <li class="itemize"> <!--l. 2916--><p class="noindent" >Windows setup was substantially changed; for the first time an integrated environment based on XEmacs was introduced. </p></li> <li class="itemize"> <!--l. 2918--><p class="noindent" >Important supplementary programs for Windows (Perl, Ghostscript, ImageMagick, Ispell) are now installed in the TeX Live installation directory. </p></li> <li class="itemize"> <!--l. 2921--><p class="noindent" >Font map files used by <span class="ec-lmss-10">dvips</span>, <span class="ec-lmss-10">dvipdfm </span>and <span class="ec-lmss-10">pdftex </span>are now generated by the new program <span class="ec-lmss-10">updmap</span> and installed into <span class="ec-lmtt-10">texmf/fonts/map</span>. </p></li> <li class="itemize"> <!--l. 2924--><p class="noindent" >TeX, Metafont, and MetaPost now, by default, output most input characters (32 and above) as themselves in output (e.g., <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\write</span></span></span>) files, log files, and the terminal, i.e., <span class="ec-lmri-10">not </span>translated using the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">^^</span></span></span> 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 <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">^^</span></span></span> output, rename the file <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">texmf/web2c/cp8bit.tcx</span></span></span>. (Future releases will have cleaner ways to control this.) </p></li> <li class="itemize"> <!--l. 2934--><p class="noindent" >This documentation was substantially revised. </p></li> <li class="itemize"> <!--l. 2935--><p class="noindent" >Finally, since the edition numbers had grown unwieldy, the version is now simply identified by the year: TeX Live 2003.</p></li></ul> <!--l. 2940--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.2 </span> <a id="x1-730009.1.2"></a>2004</h5> <!--l. 2942--><p class="noindent" >2004 saw many changes: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 2946--><p class="noindent" >If you have locally-installed fonts which use their own <span class="ec-lmtt-10">.map </span>or (much less likely) <span class="ec-lmtt-10">.enc </span>support files, you may need to move those support files. </p><!--l. 2950--><p class="noindent" ><span class="ec-lmtt-10">.map </span>files are now searched for in subdirectories of <span class="ec-lmtt-10">fonts/map </span>only (in each <span class="ec-lmtt-10">texmf </span>tree), along the <span class="ec-lmtt-10">TEXFONTMAPS </span>path. Similarly, <span class="ec-lmtt-10">.enc </span>files are now searched for in subdirectories of <span class="ec-lmtt-10">fonts/enc</span> only, along the <span class="ec-lmtt-10">ENCFONTS </span>path. <span class="ec-lmss-10">updmap </span>will attempt to warn about problematic files. </p><!--l. 2957--><p class="noindent" >For methods of handling this and other information, please see <a href="https://tug.org/texlive/mapenc.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/mapenc.html</span></a>. </p></li> <li class="itemize"> <!--l. 2960--><p class="noindent" >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 <a href="#x1-80002">2<!--tex4ht:ref: sec:overview-tl --></a> (p. <a href="#x1-80002">6<!--tex4ht:ref: sec:overview-tl --></a>). </p></li> <li class="itemize"> <!--l. 2964--><p class="noindent" >Within TeX Live, the single large <span class="ec-lmtt-10">texmf </span>tree of previous releases has been replaced by three: <span class="ec-lmtt-10">texmf</span>, <span class="ec-lmtt-10">texmf-dist</span>, and <span class="ec-lmtt-10">texmf-doc</span>. See section <a href="#x1-100002.2">2.2<!--tex4ht:ref: sec:tld --></a> (p. <a href="#x1-100002.2">7<!--tex4ht:ref: sec:tld --></a>), and the <span class="ec-lmtt-10">README </span>files for each. </p></li> <li class="itemize"> <!--l. 2970--><p class="noindent" >All TeX-related input files are now collected in the <span class="ec-lmtt-10">tex </span>subdirectory of <span class="ec-lmtt-10">texmf* </span>trees, rather than having separate sibling directories <span class="ec-lmtt-10">tex</span>, <span class="ec-lmtt-10">etex</span>, <span class="ec-lmtt-10">pdftex</span>, <span class="ec-lmtt-10">pdfetex</span>, etc. See <a href="../../../../texmf-dist/doc/generic/tds/tds.html#Extensions" ><span class="ec-lmtt-10">texmf-dist/doc/generic/tds/tds.html#Extensions</span></a>. </p></li> <li class="itemize"> <!--l. 2977--><p class="noindent" >Helper scripts (not meant to be invoked by users) are now located in a new <span class="ec-lmtt-10">scripts</span> subdirectory of <span class="ec-lmtt-10">texmf* </span>trees, and can be searched for via <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">kpsewhich</span><span class="ec-lmtt-10"> -format=texmfscripts</span></span></span>. So if you have programs which call such scripts, they’ll need to be adjusted. See <a href="../../../../texmf-dist/doc/generic/tds/tds.html#Scripts" ><span class="ec-lmtt-10">texmf-dist/doc/generic/tds/tds.html#Scripts</span></a>. </p></li> <li class="itemize"> <!--l. 2984--><p class="noindent" >Almost all formats leave most characters printable as themselves via the “translation file” <span class="ec-lmtt-10">cp227.tcx</span>, instead of translating them with the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">^^</span></span></span> 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 <a href="../../../../texmf-dist/doc/web2c/web2c.html#TCX-files" ><span class="ec-lmtt-10">texmf-dist/doc/web2c/web2c.html#TCX-files</span></a>. (By the way, with Unicode input, TeX may output partial character sequences when showing error contexts, since it is byte-oriented.) </p></li> <li class="itemize"> <!--l. 2997--><p class="noindent" ><span class="ec-lmss-10">pdfetex </span>is now the default engine for all formats except (plain) <span class="ec-lmss-10">tex </span>itself. (Of course it generates DVI when run as <span class="ec-lmss-10">latex</span>, etc.) This means, among other things, that the microtypographic features of <span class="ec-lmss-10">pdftex </span>are available in LaTeX, ConTeXt, etc., as well as the e-TeX features (<a href="../../../../texmf-dist/doc/etex/base/" >texmf-dist/doc/etex/base/</a>). </p><!--l. 3004--><p class="noindent" >It also means it’s <span class="ec-lmri-10">more important than ever </span>to use the <span class="ec-lmss-10">ifpdf </span>package (works with both plain and LaTeX) or equivalent code, because simply testing whether <span class="ec-lmtt-10">\pdfoutput </span>or some other primitive 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, <span class="ec-lmtt-10">\pdfoutput </span>may be defined even when DVI is being written. </p></li> <li class="itemize"> <!--l. 3012--><p class="noindent" >pdfTeX ( <a href="http://pdftex.org" class="url" ><span class="ec-lmtt-10">http://pdftex.org</span></a>) has many new features: </p> <ul class="itemize2"> <li class="itemize"> <!--l. 3016--><p class="noindent" ><span class="ec-lmtt-10">\pdfmapfile </span>and <span class="ec-lmtt-10">\pdfmapline </span>provide font map support from within a document. </p></li> <li class="itemize"> <!--l. 3019--><p class="noindent" >Microtypographic font expansion can be used more easily.<br class="newline" /> <a href="http://www.ntg.nl/pipermail/ntg-pdftex/2004-May/000504.html" class="url" ><span class="ec-lmtt-10">http://www.ntg.nl/pipermail/ntg-pdftex/2004-May/000504.html</span></a> </p></li> <li class="itemize"> <!--l. 3022--><p class="noindent" >All parameters previously set through the special configuration file <span class="ec-lmtt-10">pdftex.cfg </span>must now be set through primitives, typically in <span class="ec-lmtt-10">pdftexconfig.tex</span>; <span class="ec-lmtt-10">pdftex.cfg </span>is no longer supported. Any extant <span class="ec-lmtt-10">.fmt </span>files must be redumped when <span class="ec-lmtt-10">pdftexconfig.tex </span>is changed. </p></li> <li class="itemize"> <!--l. 3028--><p class="noindent" >See the pdfTeX manual for more: <a href="../../../../texmf-dist/doc/pdftex/manual/pdftex-a.pdf" >texmf-dist/doc/pdftex/manual/pdftex-a.pdf</a>. </p> </li></ul> </li> <li class="itemize"> <!--l. 3032--><p class="noindent" >The <span class="ec-lmtt-10">\input </span>primitive in <span class="ec-lmss-10">tex </span>(and <span class="ec-lmss-10">mf </span>and <span class="ec-lmss-10">mpost</span>) now accepts double quotes containing spaces and other special characters. Typical examples: </p> <pre class="verbatim" id="verbatim-6"> <pre class="fancyvrb" id="fancyvrb19"><a id="x1-73002r1"></a>\input "filename with spaces" % plain <a id="x1-73004r2"></a>\input{"filename with spaces"} % latex</pre> </pre> <!--l. 3038--><p class="nopar" >See the Web2C manual for more: <a href="../../../../texmf-dist/doc/web2c" >texmf-dist/doc/web2c</a>. </p></li> <li class="itemize"> <!--l. 3041--><p class="noindent" >encTeX support is now included within Web2C and consequently all TeX programs, via the <span class="ec-lmtt-10">-enc</span> option — <span class="ec-lmri-10">only when formats are built</span>. encTeX supports general re-encoding of input and output, enabling full support of Unicode (in UTF-8). See <a href="../../../../texmf-dist/doc/generic/enctex/" >texmf-dist/doc/generic/enctex/</a> and <a href="http://olsak.net/enctex.html" class="url" ><span class="ec-lmtt-10">http://olsak.net/enctex.html</span></a>. </p></li> <li class="itemize"> <!--l. 3048--><p class="noindent" >Aleph, a new engine combining e-TeX and Omega, is available. A little information is available in <a href="../../../../texmf-dist/doc/aleph/base" >texmf-dist/doc/aleph/base</a> and <a href="https://texfaq.org/FAQ-enginedev" class="url" ><span class="ec-lmtt-10">https://texfaq.org/FAQ-enginedev</span></a>. The LaTeX-based format for Aleph is named <span class="ec-lmss-10">lamed</span>. </p></li> <li class="itemize"> <!--l. 3053--><p class="noindent" >The latest LaTeX release has a new version of the LPPL — now officially a Debian-approved license. Assorted other updates, see the <span class="ec-lmtt-10">ltnews </span>files in <a href="../../../../texmf-dist/doc/latex/base" >texmf-dist/doc/latex/base</a>. </p></li> <li class="itemize"> <!--l. 3058--><p class="noindent" ><span class="ec-lmss-10">dvipng</span>, a new program for converting DVI to PNG image files, is included. See <a href="https://ctan.org/pkg/dvipng" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/dvipng</span></a>. </p></li> <li class="itemize"> <!--l. 3062--><p class="noindent" >We reduced the <span class="ec-lmss-10">cbgreek </span>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 ( <a href="https://ctan.org/pkg/cbgreek-complete" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/cbgreek-complete</span></a>). </p></li> <li class="itemize"> <!--l. 3068--><p class="noindent" ><span class="ec-lmss-10">oxdvi </span>has been removed; just use <span class="ec-lmss-10">xdvi</span>. </p></li> <li class="itemize"> <!--l. 3070--><p class="noindent" >The <span class="ec-lmss-10">ini </span>and <span class="ec-lmss-10">vir </span>commands (links) for <span class="ec-lmss-10">tex</span>, <span class="ec-lmss-10">mf</span>, and <span class="ec-lmss-10">mpost </span>are no longer created, such as <span class="ec-lmss-10">initex</span>. The <span class="ec-lmss-10">ini </span>functionality has been available through the command-line option <span class="ec-lmtt-10">-ini </span>for years now. </p></li> <li class="itemize"> <!--l. 3075--><p class="noindent" ><span class="ec-lmss-10">i386-openbsd </span>platform support was removed. Since the <span class="ec-lmss-10">tetex </span>package in the BSD Ports system is available, and GNU/Linux and FreeBSD binaries were available, it seemed volunteer time could be better spent elsewhere. </p></li> <li class="itemize"> <!--l. 3080--><p class="noindent" >On <span class="ec-lmss-10">sparc-solaris </span>(at least), you may have to set the <span class="ec-lmtt-10">LD_LIBRARY_PATH </span>environment variable to run the <span class="ec-lmss-10">t1utils </span>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 <span class="ec-lmss-10">mips-irix</span>, the MIPSpro 7.4 runtimes are required. </p> </li></ul> <!--l. 3089--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.3 </span> <a id="x1-740009.1.3"></a>2005</h5> <!--l. 3091--><p class="noindent" >2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed relatively stable from 2004, but inevitably there were some changes there as well: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3097--><p class="noindent" >New scripts <span class="ec-lmss-10">texconfig-sys</span>, <span class="ec-lmss-10">updmap-sys</span>, and <span class="ec-lmss-10">fmtutil-sys </span>were introduced, which modify the configuration in the system trees. The <span class="ec-lmss-10">texconfig</span>, <span class="ec-lmss-10">updmap</span>, and <span class="ec-lmss-10">fmtutil </span>scripts now modify user-specific files, under <span class="ec-lmtt-10">$HOME/.texlive2005</span>. </p></li> <li class="itemize"> <!--l. 3103--><p class="noindent" >Corresponding new variables <span class="ec-lmtt-10">TEXMFCONFIG </span>and <span class="ec-lmtt-10">TEXMFSYSCONFIG </span>to specify the trees where configuration files (user or system, respectively) are found. Thus, you may need to move personal versions of <span class="ec-lmtt-10">fmtutil.cnf </span>and <span class="ec-lmtt-10">updmap.cfg </span>to these places; another option is to redefine <span class="ec-lmtt-10">TEXMFCONFIG </span>or <span class="ec-lmtt-10">TEXMFSYSCONFIG </span>in <span class="ec-lmtt-10">texmf.cnf</span>. In any case the real location of these files and the values of <span class="ec-lmtt-10">TEXMFCONFIG </span>and <span class="ec-lmtt-10">TEXMFSYSCONFIG </span>must agree. See section <a href="#x1-110002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>, p. <a href="#x1-110002.3">8<!--tex4ht:ref: sec:texmftrees --></a>. </p></li> <li class="itemize"> <!--l. 3114--><p class="noindent" >Last year, we kept <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\pdfoutput</span></span></span> and other primitives undefined for DVI output, even though the <span class="ec-lmss-10">pdfetex </span>program was being used. This year, as promised, we undid that compatibility measure. So if your document uses <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\ifx\pdfoutput\undefined</span></span></span> to test if PDF is being output, it will need to be changed. You can use the package <span class="ec-lmss-10">ifpdf.sty </span>(which works under both plain TeX and LaTeX) to do this, or steal its logic. </p></li> <li class="itemize"> <!--l. 3122--><p class="noindent" >Last year, we changed most formats to output (8-bit) characters as themselves (see previous section). The new TCX file <span class="ec-lmtt-10">empty.tcx </span>now provides an easier way to get the original <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">^^</span></span></span> notation if you so desire, as in: </p> <pre class="verbatim" id="verbatim-7"> <pre class="fancyvrb" id="fancyvrb20"><a id="x1-74002r1"></a>latex --translate-file=empty.tcx yourfile.tex</pre> </pre> <!--l. 3128--><p class="nopar" > </p></li> <li class="itemize"> <!--l. 3130--><p class="noindent" >The new program <span class="ec-lmss-10">dvipdfmx </span>is included for translation of DVI to PDF; this is an actively maintained update of <span class="ec-lmss-10">dvipdfm </span>(which is also still available for now, though no longer recommended). </p></li> <li class="itemize"> <!--l. 3135--><p class="noindent" >The new programs <span class="ec-lmss-10">pdfopen </span>and <span class="ec-lmss-10">pdfclose </span>are included to allow reloading of PDF files in the Adobe Acrobat Reader without restarting the program. (Other PDF readers, notably <span class="ec-lmss-10">xpdf</span>, <span class="ec-lmss-10">gv</span>, and <span class="ec-lmss-10">gsview</span>, have never suffered from this problem.) </p></li> <li class="itemize"> <!--l. 3141--><p class="noindent" >For consistency, the variables <span class="ec-lmtt-10">HOMETEXMF </span>and <span class="ec-lmtt-10">VARTEXMF </span>have been renamed to <span class="ec-lmtt-10">TEXMFHOME </span>and <span class="ec-lmtt-10">TEXMFSYSVAR</span>, respectively. There is also <span class="ec-lmtt-10">TEXMFVAR</span>, which is by default user-specific. See the first point above. </p> </li></ul> <!--l. 3150--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.4 </span> <a id="x1-750009.1.4"></a>2006–2007</h5> <!--l. 3152--><p class="noindent" >In 2006–2007, the major new addition to TeX Live was the XeTeX program, available as the <span class="ec-lmtt-10">xetex </span>and <span class="ec-lmtt-10">xelatex </span>programs; see <a href="https://scripts.sil.org/xetex" class="url" ><span class="ec-lmtt-10">https://scripts.sil.org/xetex</span></a>. </p><!--l. 3156--><p class="indent" > MetaPost also received a notable update, with more planned for the future ( <a href="https://tug.org/metapost/articles" class="url" ><span class="ec-lmtt-10">https://tug.org/metapost/articles</span></a>), likewise pdfTeX ( <a href="https://tug.org/applications/pdftex" class="url" ><span class="ec-lmtt-10">https://tug.org/applications/pdftex</span></a>). </p><!--l. 3160--><p class="indent" > The TeX <span class="ec-lmtt-10">.fmt </span>(high-speed format) and the similar files for MetaPost and Metafont are now stored in subdirectories of <span class="ec-lmtt-10">texmf/web2c</span>, instead of in the directory itself (although the directory is still searched, for the sake of existing <span class="ec-lmtt-10">.fmt</span>’s). The subdirectories are named for the ‘engine’ in use, such as <span class="ec-lmtt-10">tex </span>or <span class="ec-lmtt-10">pdftex </span>or <span class="ec-lmtt-10">xetex</span>. This change should be invisible in normal use. </p><!--l. 3168--><p class="indent" > The (plain) <span class="ec-lmtt-10">tex </span>program no longer reads <span class="ec-lmtt-10">%& </span>first lines to determine what format to run; it is the pure Knuthian TeX. (LaTeX and everything else do still read <span class="ec-lmtt-10">%& </span>lines). </p><!--l. 3172--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check CTAN ( <a href="https://ctan.org" class="url" ><span class="ec-lmtt-10">https://ctan.org</span></a>) for updates. </p><!--l. 3176--><p class="indent" > Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the tree, as linked from our home page. Although not visible in the final distribution, we expect this will provide a stable development foundation for future years. </p><!--l. 3181--><p class="indent" > Finally, in May 2006 Thomas Esser announced that he would no longer be updating teTeX ( <a href="https://tug.org/tetex" class="url" ><span class="ec-lmtt-10">https://tug.org/tetex</span></a>). As a result, there was a surge of interest in TeX Live, especially among GNU/Linux distributors. (There is a new <span class="ec-lmtt-10">tetex </span>installation scheme in TeX Live, which provides an approximate equivalent.) We hope this will eventually translate to improvements in the TeX environment for everyone. </p><!--l. 3189--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.5 </span> <a id="x1-760009.1.5"></a>2008</h5> <!--l. 3191--><p class="noindent" >In 2008, the entire TeX Live infrastructure was redesigned and reimplemented. Complete information about an installation is now stored in a plain text file <span class="ec-lmtt-10">tlpkg/texlive.tlpdb</span>. </p><!--l. 3195--><p class="indent" > 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. </p><!--l. 3200--><p class="indent" > The major new engine LuaTeX ( <a href="http://luatex.org" class="url" ><span class="ec-lmtt-10">http://luatex.org</span></a>) is included; besides a new level of flexibility in typesetting, this provides an excellent scripting language for use both inside and outside of TeX documents. </p><!--l. 3205--><p class="indent" > Support among Windows and the Unix-based platforms is now much more uniform. In particular, most Perl and Lua scripts are now available on Windows, using the Perl internally distributed with TeX Live. </p><!--l. 3209--><p class="indent" > The new <span class="ec-lmss-10">tlmgr </span>script (section <a href="#x1-430005">5<!--tex4ht:ref: sec:tlmgr --></a>) 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. </p><!--l. 3214--><p class="indent" > With the advent of <span class="ec-lmss-10">tlmgr</span>, the <span class="ec-lmss-10">texconfig </span>actions to edit the format and hyphenation configuration files are now disabled. </p><!--l. 3217--><p class="indent" > The <span class="ec-lmss-10">xindy </span>indexing program ( <a href="http://xindy.sourceforge.net/" class="url" ><span class="ec-lmtt-10">http://xindy.sourceforge.net/</span></a>) is now included on most platforms. </p><!--l. 3220--><p class="indent" > The <span class="ec-lmss-10">kpsewhich </span>tool can now report all matches for a given file (option <span class="ec-lmtt-10">--all</span>) and limit matches to a given subdirectory (option <span class="ec-lmtt-10">--subdir</span>). </p><!--l. 3224--><p class="indent" > The <span class="ec-lmss-10">dvipdfmx </span>program now includes functionality to extract bounding box information, via the command name <span class="ec-lmss-10">extractbb</span>; this was one of the last features provided by <span class="ec-lmss-10">dvipdfm </span>not in <span class="ec-lmss-10">dvipdfmx</span>. </p><!--l. 3229--><p class="indent" > The font aliases <span class="ec-lmtt-10">Times-Roman</span>, <span class="ec-lmtt-10">Helvetica</span>, and so on have been removed. Different packages expected them to behave differently (in particular, to have different encodings), and there was no good way to resolve this. </p><!--l. 3234--><p class="indent" > The <span class="ec-lmss-10">platex </span>format has been removed, to resolve a name conflict with a completely different Japanese <span class="ec-lmss-10">platex</span>; the <span class="ec-lmss-10">polski </span>package is now the main Polish support. </p><!--l. 3238--><p class="indent" > Internally, the <span class="ec-lmtt-10">WEB</span> string pool files are now compiled into the binaries, to ease upgrades. </p><!--l. 3241--><p class="indent" > Finally, the changes made by Donald Knuth in his ‘TeX tuneup of 2008’ are included in this release. See <a href="https://tug.org/TUGboat/Articles/tb29-2/tb92knut.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/Articles/tb29-2/tb92knut.pdf</span></a>. </p><!--l. 3245--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.6 </span> <a id="x1-770009.1.6"></a>2009</h5> <!--l. 3247--><p class="noindent" >In 2009, the default output format for Lua(L<span class="ec-lmr-7">A</span> )TeX is now PDF, to take advantage of LuaTeX’s OpenType support, et al. New executables named <span class="ec-lmtt-10">dviluatex </span>and <span class="ec-lmtt-10">dvilualatex </span>run LuaTeX with DVI output. The LuaTeX home page is <a href="http://luatex.org" class="url" ><span class="ec-lmtt-10">http://luatex.org</span></a>. </p><!--l. 3252--><p class="indent" > The original Omega engine and Lambda format have been excised, after discussions with the Omega authors. The updated Aleph and Lamed remain, as do the Omega utilities. </p><!--l. 3256--><p class="indent" > A new release of the AMS Type 1 fonts is included, including Computer Modern: a few shape changes made over the years by Knuth in the Metafont sources have been integrated, and the hinting has been updated. The Euler fonts have been thoroughly reshaped by Hermann Zapf (see <a href="https://tug.org/TUGboat/Articles/tb29-2/tb92hagen-euler.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/Articles/tb29-2/tb92hagen-euler.pdf</span></a>). In all cases, the metrics remain unchanged. The AMS fonts home page is <a href="https://ams.org/tex/amsfonts.html" class="url" ><span class="ec-lmtt-10">https://ams.org/tex/amsfonts.html</span></a>. </p><!--l. 3264--><p class="indent" > 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, <a href="https://tug.org/texworks" class="url" ><span class="ec-lmtt-10">https://tug.org/texworks</span></a>. It is a cross-platform front-end inspired by the Mac OS X TeXShop editor, aiming at ease-of-use. </p><!--l. 3270--><p class="indent" > The graphics program Asymptote is included for several platforms. This implements a text-based graphics description language vaguely akin to MetaPost, but with advanced 3D support and other features. Its home page is <a href="https://asymptote.sourceforge.io" class="url" ><span class="ec-lmtt-10">https://asymptote.sourceforge.io</span></a>. </p><!--l. 3275--><p class="indent" > The separate <span class="ec-lmtt-10">dvipdfm </span>program has been replaced by <span class="ec-lmtt-10">dvipdfmx</span>, which operates in a special compatibility mode under that name. <span class="ec-lmtt-10">dvipdfmx </span>includes CJK support and has accumulated many other fixes over the years since the last <span class="ec-lmtt-10">dvipdfm </span>release. </p><!--l. 3281--><p class="indent" > Executables for the <span class="ec-lmss-10">cygwin </span>and <span class="ec-lmss-10">i386-netbsd </span>platforms are now included, while we were advised that OpenBSD users get TeX through their package systems, plus there were difficulties in making binaries that have a chance of working on more than one version. </p><!--l. 3286--><p class="indent" > A miscellany of smaller changes: we now use <span class="ec-lmss-10">xz </span>compression, the stable replacement for <span class="ec-lmss-10">lzma </span>( <a href="https://tukaani.org/xz/" class="url" ><span class="ec-lmtt-10">https://tukaani.org/xz/</span></a>); a literal <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">$</span></span></span> 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. </p><!--l. 3293--><p class="indent" > Final note on the past: all releases of TeX Live, along with ancillary material such as CD labels, are available at <a href="ftp://tug.org/historic/systems/texlive" class="url" ><span class="ec-lmtt-10">ftp://tug.org/historic/systems/texlive</span></a>. </p><!--l. 3298--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.7 </span> <a id="x1-780009.1.7"></a>2010</h5> <!--l. 3301--><p class="noindent" >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 <span class="ec-lmtt-10">dvipdfmx</span>. Loading the <span class="ec-lmss-10">pdf14 </span>LaTeX package changes back to PDF 1.4, or set <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\pdfminorversion=4</span></span></span>. </p><!--l. 3306--><p class="indent" > pdf(L<span class="ec-lmr-7">A</span> )TeX now <span class="ec-lmri-10">automatically </span>converts a requested Encapsulated PostScript (EPS) file to PDF, via the <span class="ec-lmss-10">epstopdf </span>package, when and if the LaTeX <span class="ec-lmtt-10">graphics.cfg </span>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 <span class="ec-lmtt-10">epstopdf </span>from being loaded at all by putting <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\newcommand{\DoNotLoadEpstopdf}{}</span></span></span> (or <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">\def...</span></span></span>) before the <span class="ec-lmtt-10">\documentclass </span>declaration. It is also not loaded if the <span class="ec-lmss-10">pst-pdf </span>package is used. For more details, see the <span class="ec-lmss-10">epstopdf </span>package documentation ( <a href="https://ctan.org/pkg/epstopdf-pkg" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/epstopdf-pkg</span></a>). </p><!--l. 3318--><p class="indent" > A related change is that execution of a very few external commands from TeX, via the <span class="ec-lmtt-10">\write18 </span>feature, is now enabled by default. These commands are <span class="ec-lmtt-10">repstopdf</span>, <span class="ec-lmtt-10">makeindex</span>, <span class="ec-lmtt-10">kpsewhich</span>, <span class="ec-lmtt-10">bibtex</span>, and <span class="ec-lmtt-10">bibtex8</span>; the list is defined in <span class="ec-lmtt-10">texmf.cnf</span>. Environments which must disallow all such external commands can deselect this option in the installer (see section <a href="#x1-260003.2.4">3.2.4<!--tex4ht:ref: sec:options --></a>), or override the value after installation by running <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">tlmgr</span><span class="ec-lmtt-10"> conf</span><span class="ec-lmtt-10"> texmf</span><span class="ec-lmtt-10"> shell_escape</span><span class="ec-lmtt-10"> 0</span></span></span>. </p><!--l. 3327--><p class="indent" > 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 <span class="ec-lmtt-10">\write18</span>. To change this, the <span class="ec-lmtt-10">TEXMFOUTPUT </span>environment variable can be set, or the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">openout_any</span></span></span> setting changed. </p><!--l. 3333--><p class="indent" > XeTeX now supports margin kerning along the same lines as pdfTeX. (Font expansion is not presently supported.) </p><!--l. 3336--><p class="indent" > By default, <span class="ec-lmss-10">tlmgr </span>now saves one backup of each package updated (<span class="ec-lmtt-10">tlmgr option autobackup 1</span>), so broken package updates can be easily reverted with <span class="ec-lmtt-10">tlmgr restore</span>. If you do post-install updates, and don’t have the disk space for the backups, run <span class="ec-lmtt-10">tlmgr option autobackup 0</span>. </p><!--l. 3342--><p class="indent" > New programs included: the pTeX engine and related utilities for typesetting Japanese; the BibTeXU program for Unicode-enabled BibTeX; the <span class="ec-lmss-10">chktex </span>utility (originally from <a href="http://baruch.ev-en.org/proj/chktex" class="url" ><span class="ec-lmtt-10">http://baruch.ev-en.org/proj/chktex</span></a>) for checking (L<span class="ec-lmr-7">A</span> )TeX documents; the <span class="ec-lmss-10">dvisvgm </span>( <a href="https://dvisvgm.de" class="url" ><span class="ec-lmtt-10">https://dvisvgm.de</span></a>) DVI-to-SVG translator. </p><!--l. 3350--><p class="indent" > Executables for these new platforms are now included: <span class="ec-lmtt-10">amd64-freebsd</span>, <span class="ec-lmtt-10">amd64-kfreebsd</span>, <span class="ec-lmtt-10">i386-freebsd</span>, <span class="ec-lmtt-10">i386-kfreebsd</span>, <span class="ec-lmtt-10">x86_64-darwin</span>, <span class="ec-lmtt-10">x86_64-solaris</span>. </p><!--l. 3354--><p class="indent" > A change in TeX Live 2009 that we failed to note: numerous TeX4ht-related executables ( <a href="https://tug.org/tex4ht" class="url" ><span class="ec-lmtt-10">https://tug.org/tex4ht</span></a>) were removed from the binary directories. The generic <span class="ec-lmtt-10">mk4ht </span>program can be used to run any of the various <span class="ec-lmtt-10">tex4ht </span>combinations. </p><!--l. 3359--><p class="indent" > 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. </p><!--l. 3364--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.8 </span> <a id="x1-790009.1.8"></a>2011</h5> <!--l. 3366--><p class="noindent" >The Mac OS X binaries (<span class="ec-lmtt-10">universal-darwin </span>and <span class="ec-lmtt-10">x86_64-darwin</span>) now work only on Leopard or later; Panther and Tiger are no longer supported. </p><!--l. 3370--><p class="indent" > The <span class="ec-lmtt-10">biber </span>program for bibliography processing is included on common platforms. Its development is closely coupled with the <span class="ec-lmtt-10">biblatex </span>package, which completely reimplements the bibliographical facilities provided by LaTeX. </p><!--l. 3375--><p class="indent" > The MetaPost (<span class="ec-lmtt-10">mpost</span>) program no longer creates or uses <span class="ec-lmtt-10">.mem </span>files. The needed files, such as <span class="ec-lmtt-10">plain.mp</span>, are simply read on every run. This is related to supporting MetaPost as a library, which is another significant though not user-visible change. </p><!--l. 3380--><p class="indent" > The <span class="ec-lmtt-10">updmap </span>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 faster. </p><!--l. 3385--><p class="indent" > The <span class="ec-lmss-10">initex </span>and <span class="ec-lmss-10">inimf </span>programs were restored (but no other <span class="ec-lmss-10">ini* </span>variants). </p><!--l. 3388--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.9 </span> <a id="x1-800009.1.9"></a>2012</h5> <!--l. 3390--><p class="noindent" ><span class="ec-lmtt-10">tlmgr </span>supports updates from multiple network repositories. The section on multiple repositories in the <span class="ec-lmtt-10">tlmgr</span> <span class="ec-lmtt-10">help </span>output has more. </p><!--l. 3394--><p class="indent" > The parameter <span class="ec-lmtt-10">\XeTeXdashbreakstate </span>is set to 1 by default, for both <span class="ec-lmtt-10">xetex </span>and <span class="ec-lmtt-10">xelatex</span>. 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 <span class="ec-lmtt-10">\XeTeXdashbreakstate </span>to 0 explicitly. </p><!--l. 3401--><p class="indent" > The output files generated by <span class="ec-lmtt-10">pdftex </span>and <span class="ec-lmtt-10">dvips</span>, among others, can now exceed 2 gigabytes. </p><!--l. 3404--><p class="indent" > The 35 standard PostScript fonts are included in the output of <span class="ec-lmtt-10">dvips </span>by default, since so many different versions of them are extant. </p><!--l. 3408--><p class="indent" > In the restricted <span class="ec-lmtt-10">\write18 </span>execution mode, set by default, <span class="ec-lmtt-10">mpost </span>is now an allowed program. </p><!--l. 3411--><p class="indent" > A <span class="ec-lmtt-10">texmf.cnf </span>file is also found in <span class="ec-lmtt-10">../texmf-local</span>, e.g., <span class="ec-lmtt-10">/usr/local/texlive/texmf-local/web2c/texmf.cnf</span>, if it exists. </p><!--l. 3415--><p class="indent" > The <span class="ec-lmtt-10">updmap </span>script reads a per-tree <span class="ec-lmtt-10">updmap.cfg </span>instead of one global config. This change should be invisible, unless you edited your updmap.cfg’s directly. The <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">updmap</span><span class="ec-lmtt-10"> --help</span></span></span> output has more. </p><!--l. 3419--><p class="indent" > Platforms: <span class="ec-lmss-10">armel-linux </span>and <span class="ec-lmss-10">mipsel-linux </span>added; <span class="ec-lmss-10">sparc-linux </span>and <span class="ec-lmss-10">i386-netbsd </span>are no longer in the main distribution. </p><!--l. 3423--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.10 </span> <a id="x1-810009.1.10"></a>2013</h5> <!--l. 3425--><p class="noindent" >Distribution layout: the top-level <span class="ec-lmtt-10">texmf/ </span>directory has been merged into <span class="ec-lmtt-10">texmf-dist/</span>, for simplicity. Both the <span class="ec-lmtt-10">TEXMFMAIN </span>and <span class="ec-lmtt-10">TEXMFDIST </span>Kpathsea variables now point to <span class="ec-lmtt-10">texmf-dist</span>. </p><!--l. 3430--><p class="indent" > Many small language collections have been merged together, to simplify installation. </p><!--l. 3433--><p class="indent" > MetaPost: native support for PNG output and floating-point (IEEE double) has been added. </p><!--l. 3436--><p class="indent" > LuaTeX: updated to Lua 5.2, and includes a new library (<span class="ec-lmtt-10">pdfscanner</span>) to process external PDF page content, among much else (see its web pages). </p><!--l. 3440--><p class="indent" > XeTeX (also see its web pages for more): </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3442--><p class="noindent" >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.) </p></li> <li class="itemize"> <!--l. 3445--><p class="noindent" >Graphite2 and HarfBuzz are used instead of SilGraphite for Graphite layout. </p></li> <li class="itemize"> <!--l. 3447--><p class="noindent" >On Macs, Core Text is used instead of the (deprecated) ATSUI. </p></li> <li class="itemize"> <!--l. 3448--><p class="noindent" >Prefer TrueType/OpenType fonts to Type1 when the names are the same. </p></li> <li class="itemize"> <!--l. 3449--><p class="noindent" >Fix occasional mismatch in font finding between XeTeX and <span class="ec-lmtt-10">xdvipdfmx</span>. </p></li> <li class="itemize"> <!--l. 3451--><p class="noindent" >Support OpenType math cut-ins.</p></li></ul> <!--l. 3454--><p class="indent" > <span class="ec-lmss-10">xdvi</span>: now uses FreeType instead of <span class="ec-lmtt-10">t1lib </span>for rendering. </p><!--l. 3456--><p class="indent" > <span class="ec-lmss-10">microtype.sty</span>: some support for XeTeX (protrusion) and LuaTeX (protrusion, font expansion, tracking), among other enhancements. </p><!--l. 3460--><p class="indent" > <span class="ec-lmss-10">tlmgr</span>: new <span class="ec-lmtt-10">pinning </span>action to ease configuring multiple repositories; that section in <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">tlmgr</span><span class="ec-lmtt-10"> --help</span></span></span> has more, online at <a href="https://tug.org/texlive/doc/tlmgr.html#MULTIPLE-REPOSITORIES" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/doc/tlmgr.html#MULTIPLE-REPOSITORIES</span></a>. </p><!--l. 3464--><p class="indent" > Platforms: <span class="ec-lmss-10">armhf-linux</span>, <span class="ec-lmss-10">mips-irix</span>, <span class="ec-lmss-10">i386-netbsd</span>, and <span class="ec-lmss-10">amd64-netbsd </span>added or revived; <span class="ec-lmss-10">powerpc-aix</span> removed. </p><!--l. 3468--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.11 </span> <a id="x1-820009.1.11"></a>2014</h5> <!--l. 3470--><p class="noindent" >2014 saw another TeX tune-up from Knuth; this affected all engines, but the only visible change likely is the restoration of the <span class="ec-lmtt-10">preloaded format </span>string on the banner line. Per Knuth, this now reflects the format that <span class="ec-lmri-10">would </span>be loaded by default, rather than an undumped format that is actually preloaded in the binary; it may be overridden in various ways. </p><!--l. 3477--><p class="indent" > pdfTeX: new warning-suppression parameter <span class="ec-lmtt-10">\pdfsuppresswarningpagegroup</span>; new primitives for fake interword spaces to help with PDF text reflowing: <span class="ec-lmtt-10">\pdfinterwordspaceon</span>, <span class="ec-lmtt-10">\pdfinterwordspaceoff</span>, <span class="ec-lmtt-10">\pdffakespace</span>. </p><!--l. 3482--><p class="indent" > LuaTeX: Notable changes and fixes were made to font loading and hyphenation. The biggest addition is a new engine variant, <span class="ec-lmtt-10">luajittex </span>and its siblings <span class="ec-lmtt-10">texluajit </span>and <span class="ec-lmtt-10">texluajitc</span>. This uses a just-in-time Lua compiler (detailed <span class="ec-lmro-10">TUGboat </span>article at <a href="https://tug.org/TUGboat/tb34-1/tb106scarso.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/tb34-1/tb106scarso.pdf</span></a>). <span class="ec-lmtt-10">luajittex</span> is still in development, is not available on all platforms, and is considerably less stable than <span class="ec-lmtt-10">luatex</span>. Neither we nor its developers recommend using it except for the specific purpose of experimenting with jit on Lua code. </p><!--l. 3493--><p class="indent" > 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. </p><!--l. 3498--><p class="indent" > MetaPost: A new numbersystem <span class="ec-lmtt-10">decimal </span>is supported, along with a companion internal <span class="ec-lmtt-10">numberprecision</span>; a new definition of <span class="ec-lmtt-10">drawdot </span>in <span class="ec-lmtt-10">plain.mp</span>, per Knuth; bug fixes in SVG and PNG output, among others. </p><!--l. 3503--><p class="indent" > The <span class="ec-lmss-10">pstopdf </span>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 <span class="ec-lmtt-10">mtxrun –script</span> <span class="ec-lmtt-10">pstopdf</span>. </p><!--l. 3508--><p class="indent" > <span class="ec-lmss-10">psutils </span>has been substantially revised by a new maintainer. As a result, several seldom-used utilities (<span class="ec-lmtt-10">fix*</span>, <span class="ec-lmtt-10">getafm</span>, <span class="ec-lmtt-10">psmerge</span>, <span class="ec-lmtt-10">showchar</span>) are now only in the <span class="ec-lmtt-10">scripts/ </span>directory rather than being user-level executables (this can be reversed if it turns out to be problematic). A new script, <span class="ec-lmtt-10">psjoin</span>, has been added. </p><!--l. 3515--><p class="indent" > The MacTeX redistribution of TeX Live (section <a href="#x1-170003.1.2">3.1.2<!--tex4ht:ref: sec:macosx --></a>) 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 <span class="ec-lmss-10">convert </span>program from ImageMagick has also been excised, since TeX4ht (specifically <span class="ec-lmtt-10">tex4ht.env</span>) now uses Ghostscript directly. </p><!--l. 3522--><p class="indent" > The <span class="ec-lmss-10">langcjk </span>collection for Chinese, Japanese, and Korean support has been split into individual language collections for the sake of more moderate sizes. </p><!--l. 3526--><p class="indent" > Platforms: <span class="ec-lmss-10">x86_64-cygwin </span>added, <span class="ec-lmss-10">mips-irix </span>removed; Microsoft no longer supports Windows XP, so our programs may start failing there at any time. </p><!--l. 3530--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.12 </span> <a id="x1-830009.1.12"></a>2015</h5> <!--l. 3532--><p class="noindent" >LaTeX2e now incorporates, by default, changes previously included only by explicitly loading the <span class="ec-lmss-10">fixltx2e</span> package, which is now a no-op. A new <span class="ec-lmss-10">latexrelease </span>package and other mechanisms allow for controlling what is done. The included LaTeX News #22 and “LaTeX changes” documents have details. Incidentally, the <span class="ec-lmss-10">babel</span> and <span class="ec-lmss-10">psnfss </span>packages, while core parts of LaTeX, are maintained separately and are not affected by these changes (and should still work). </p><!--l. 3541--><p class="indent" > 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. </p><!--l. 3547--><p class="indent" > pdfTeX: Support JPEG Exif as well as JFIF; do not emit a warning if <span class="ec-lmtt-10">\pdfinclusionerrorlevel </span>is negative; sync with <span class="ec-lmss-10">xpdf</span> 3.04. </p><!--l. 3551--><p class="indent" > LuaTeX: New library <span class="ec-lmss-10">newtokenlib </span>for scanning tokens; bug fixes in the <span class="ec-lmtt-10">normal </span>random number generator and other places. </p><!--l. 3554--><p class="indent" > XeTeX: Image handling fixes; <span class="ec-lmss-10">xdvipdfmx </span>binary looked for first as a sibling to <span class="ec-lmss-10">xetex</span>; internal <span class="ec-lmtt-10">XDV </span>opcodes changed. </p><!--l. 3557--><p class="indent" > MetaPost: New numbersystem <span class="ec-lmtt-10">binary</span>; new Japanese-enabled <span class="ec-lmss-10">upmpost </span>and <span class="ec-lmss-10">updvitomp </span>programs, analogous to <span class="ec-lmss-10">up*tex</span>. </p><!--l. 3561--><p class="indent" > 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 (<span class="ec-lmtt-10">.dfont</span>) remain supported. </p><!--l. 3567--><p class="indent" > Infrastructure: The <span class="ec-lmss-10">fmtutil </span>script has been reimplemented to read <span class="ec-lmtt-10">fmtutil.cnf </span>on a per-tree basis, analogous to <span class="ec-lmss-10">updmap</span>. Web2C <span class="ec-lmss-10">mktex* </span>scripts (including <span class="ec-lmss-10">mktexlsr</span>, <span class="ec-lmss-10">mktextfm</span>, <span class="ec-lmss-10">mktexpk</span>) now prefer programs in their own directory, instead of always using the existing <span class="ec-lmtt-10">PATH</span>. </p><!--l. 3573--><p class="indent" > Platforms: <span class="ec-lmss-10">*-kfreebsd </span>removed, since TeX Live is now easily available through the system platform mechanisms. Support for some additional platforms is available as custom binaries ( <a href="https://tug.org/texlive/custom-bin.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/custom-bin.html</span></a>). In addition, some platforms are now omitted from the DVD (simply to save space), but can be installed normally over the net. </p><!--l. 3581--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.13 </span> <a id="x1-840009.1.13"></a>2016</h5> <!--l. 3583--><p class="noindent" >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” ( <a href="https://tug.org/TUGboat/tb37-1/tb115hagen-pdf.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/tb37-1/tb115hagen-pdf.pdf</span></a>); for all the details, see the LuaTeX manual, <a href="../../../../texmf-dist/doc/luatex/base/luatex.pdf" >texmf-dist/doc/luatex/base/luatex.pdf</a>. </p><!--l. 3591--><p class="indent" > Metafont: New highly experimental sibling programs MFlua and MFluajit, integrating Lua with Metafont, for trial testing purposes. </p><!--l. 3594--><p class="indent" > MetaPost: Bug fixes and internal preparations for MetaPost 2.0. </p><!--l. 3596--><p class="indent" > <span class="ec-lmtt-10">SOURCE_DATE_EPOCH </span>support in all engines except LuaTeX (which will come in the next release) and original <span class="ec-lmtt-10">tex </span>(intentionally omitted): if the environment variable <span class="ec-lmtt-10">SOURCE_DATE_EPOCH </span>is set, its value is used for timestamps in the PDF output. If <span class="ec-lmtt-10">SOURCE_DATE_EPOCH_TEX_PRIMITIVES </span>is also set, the <span class="ec-lmtt-10">SOURCE_DATE_EPOCH</span> value is used to initialize the TeX primitives <span class="ec-lmtt-10">\year</span>, <span class="ec-lmtt-10">\month</span>, <span class="ec-lmtt-10">\day</span>, <span class="ec-lmtt-10">\time</span>. The pdfTeX manual has examples and details. </p><!--l. 3605--><p class="indent" > pdfTeX: new primitives <span class="ec-lmtt-10">\pdfinfoomitdate</span>, <span class="ec-lmtt-10">\pdftrailerid</span>, <span class="ec-lmtt-10">\pdfsuppressptexinfo</span>, to control values appearing in the output which normally change with each run. These features are for PDF output only, not DVI. </p><!--l. 3610--><p class="indent" > XeTeX: New primitives <span class="ec-lmtt-10">\XeTeXhyphenatablelength</span>, <span class="ec-lmtt-10">\XeTeXgenerateactualtext</span>,<br class="newline" /><span class="ec-lmtt-10">\XeTeXinterwordspaceshaping</span>, <span class="ec-lmtt-10">\mdfivesum</span>; character class limit increased to 4096; DVI id byte incremented. </p><!--l. 3615--><p class="indent" > Other utilities: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3617--><p class="noindent" ><span class="ec-lmtt-10">gregorio </span>is a new program, part of the <span class="ec-lmtt-10">gregoriotex </span>package for typesetting Gregorian chant scores; it is included in <span class="ec-lmtt-10">shell_escape_commands </span>by default. </p></li> <li class="itemize"> <!--l. 3621--><p class="noindent" ><span class="ec-lmtt-10">upmendex </span>is an index creation program, mostly compatible with <span class="ec-lmtt-10">makeindex</span>, with support for Unicode sorting, among other changes. </p></li> <li class="itemize"> <!--l. 3625--><p class="noindent" ><span class="ec-lmtt-10">afm2tfm </span>now makes only accent-based height adjustments upward; a new option <span class="ec-lmtt-10">-a </span>omits all adjustments. </p></li> <li class="itemize"> <!--l. 3628--><p class="noindent" ><span class="ec-lmtt-10">ps2pk </span>can handle extended PK/GF fonts.</p></li></ul> <!--l. 3631--><p class="indent" > MacTeX: The TeX Distribution Preference Pane is gone; its functionality is now in TeX Live Utility; bundled GUI applications upgraded; new script <span class="ec-lmtt-10">cjk-gs-integrate </span>to be run by users who wish to incorporate various CJK fonts into Ghostscript. </p><!--l. 3636--><p class="indent" > Infrastructure: System-level <span class="ec-lmtt-10">tlmgr </span>configuration file supported; verify package checksums; if GPG is available, verify signature of network updates. These checks happen with both the installer and <span class="ec-lmtt-10">tlmgr</span>. If GPG is not available, updates proceed as usual. </p><!--l. 3641--><p class="indent" > Platforms: <span class="ec-lmtt-10">alpha-linux </span>and <span class="ec-lmtt-10">mipsel-linux </span>removed. </p><!--l. 3644--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.14 </span> <a id="x1-850009.1.14"></a>2017</h5> <!--l. 3646--><p class="noindent" >LuaTeX: More callbacks, more typesetting control, more access to internals; <span class="ec-lmtt-10">ffi </span>library for dynamic code loading added on some platforms. </p><!--l. 3650--><p class="indent" > pdfTeX: Environment variable <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">SOURCE_DATE_EPOCH_TEX_PRIMITIVES</span></span></span> from last year renamed to <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">FORCE_SOURCE_DATE</span></span></span>, with no changes in functionality; if the <span class="ec-lmtt-10">\pdfpageattr </span>token list contains the string <span class="ec-lmtt-10">/MediaBox</span>, omit output of the default <span class="ec-lmtt-10">/MediaBox</span>. </p><!--l. 3655--><p class="indent" > XeTeX: Unicode/OpenType math now based on HarfBuzz’s MATH table support; some bug fixes. </p><!--l. 3658--><p class="indent" > Dvips: Make the last papersize special win, for consistency with <span class="ec-lmtt-10">dvipdfmx </span>and package expectations; the <span class="ec-lmtt-10">-L0 </span>option (<span class="ec-lmtt-10">L0 </span>config setting) restores the previous behavior of the first special winning. </p><!--l. 3663--><p class="indent" > epTeX, eupTeX: New primitives <span class="ec-lmtt-10">\pdfuniformdeviate</span>, <span class="ec-lmtt-10">\pdfnormaldeviate</span>, <span class="ec-lmtt-10">\pdfrandomseed</span>, <span class="ec-lmtt-10">\pdfsetrandomseed</span>, <span class="ec-lmtt-10">\pdfelapsedtime</span>, <span class="ec-lmtt-10">\pdfresettimer</span>, from pdfTeX. </p><!--l. 3667--><p class="indent" > 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 <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">x86_64-darwin</span></span></span>; 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 (<span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">x86_64-darwinlegacy</span></span></span>, <span class="ec-lmtt-10">i386-darwin</span>, <span class="ec-lmtt-10">powerpc-darwin</span>). </p><!--l. 3674--><p class="indent" > Infrastructure: The <span class="ec-lmtt-10">TEXMFLOCAL </span>tree is now searched before <span class="ec-lmtt-10">TEXMFSYSCONFIG </span>and <span class="ec-lmtt-10">TEXMFSYSVAR </span>(by default); the hope is that this will better match expectations of local files overriding system files. Also, <span class="ec-lmtt-10">tlmgr</span> has a new mode <span class="ec-lmtt-10">shell </span>for interactive and scripted use, and a new action <span class="ec-lmtt-10">conf auxtrees </span>to easily add and remove extra trees. </p><!--l. 3681--><p class="indent" > <span class="ec-lmtt-10">updmap </span>and <span class="ec-lmtt-10">fmtutil</span>: These scripts now give a warning when invoked without explicitly specifying either so-called system mode (<span class="ec-lmtt-10">updmap-sys</span>, <span class="ec-lmtt-10">fmtutil-sys</span>, or option <span class="ec-lmtt-10">-sys</span>), or user mode (<span class="ec-lmtt-10">updmap-user</span>, <span class="ec-lmtt-10">fmtutil-user</span>, or option <span class="ec-lmtt-10">-user</span>). The hope is that this will reduce the perennial problem of invoking user mode by accident and thus losing future system updates. See <a href="https://tug.org/texlive/scripts-sys-user.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/scripts-sys-user.html</span></a> for details. </p><!--l. 3689--><p class="indent" > <span class="ec-lmtt-10">install-tl</span>: Personal paths such as <span class="ec-lmtt-10">TEXMFHOME </span>are now set to MacTeX values (<span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~/Library/...</span></span></span>) by default on Macs. New option <span class="ec-lmtt-10">-init-from-profile </span>to start an installation with the values from a given profile; new command <span class="ec-lmtt-10">P </span>to explicitly save a profile; new profile variable names (but previous ones are still accepted). </p><!--l. 3696--><p class="indent" > SyncTeX: the name of the temporary file now looks like <span class="ec-lmtt-10">foo.synctex(busy)</span>, instead of <span class="ec-lmtt-10">foo.synctex.gz(busy) </span>(no <span class="ec-lmtt-10">.gz</span>). Front-ends and build systems that want to remove temp files may need adjusting. </p><!--l. 3701--><p class="indent" > Other utilities: <span class="ec-lmtt-10">texosquery-jre8 </span>is a new cross-platform program for retrieving locale and other OS information from a TeX document; it is included in <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">shell_escape_commands</span></span></span> 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.) </p><!--l. 3708--><p class="indent" > Platforms: See MacTeX entry above; no other changes. </p><!--l. 3711--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.15 </span> <a id="x1-860009.1.15"></a>2018</h5> <!--l. 3713--><p class="noindent" >Kpathsea: Case-insensitive filename matching now done by default in non-system directories; set <span class="ec-lmtt-10">texmf.cnf </span>or environment variable <span class="ec-lmtt-10">texmf_casefold_search </span>to <span class="ec-lmtt-10">0 </span>to disable. Full details in the Kpathsea manual ( <a href="https://tug.org/kpathsea" class="url" ><span class="ec-lmtt-10">https://tug.org/kpathsea</span></a>). </p><!--l. 3718--><p class="indent" > epTeX, eupTeX: New primitive <span class="ec-lmtt-10">\epTeXversion</span>. </p><!--l. 3720--><p class="indent" > LuaTeX: Preparation for moving to Lua 5.3 in 2019: a binary <span class="ec-lmtt-10">luatex53 </span>is available on most platforms, but must be renamed to <span class="ec-lmtt-10">luatex </span>to be effective. Or use the ConTeXt Garden ( <a href="https://wiki.contextgarden.net" class="url" ><span class="ec-lmtt-10">https://wiki.contextgarden.net</span></a>) files; more information there. </p><!--l. 3725--><p class="indent" > MetaPost: Fixes for wrong path directions, TFM and PNG output. </p><!--l. 3727--><p class="indent" > pdfTeX: Allow encoding vectors for bitmap fonts; current directory not hashed into PDF ID; bug fixes for <span class="ec-lmtt-10">\pdfprimitive </span>and related. </p><!--l. 3730--><p class="indent" > XeTeX: Support <span class="ec-lmtt-10">/Rotate </span>in PDF image inclusion; exit nonzero if the output driver fails; various obscure UTF-8 and other primitive fixes. </p><!--l. 3734--><p class="indent" > MacTeX: See version support changes below. In addition, the files installed in <span class="ec-lmtt-10">/Applications/TeX/ </span>by 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. </p><!--l. 3740--><p class="indent" > <span class="ec-lmtt-10">tlmgr</span>: new front-ends <span class="ec-lmtt-10">tlshell </span>(Tcl/Tk) and <span class="ec-lmtt-10">tlcockpit </span>(Java); JSON output; <span class="ec-lmtt-10">uninstall </span>now a synonym for <span class="ec-lmtt-10">remove</span>; new action/option <span class="ec-lmtt-10">print-platform-info</span>. </p><!--l. 3744--><p class="indent" > Platforms: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3747--><p class="noindent" >Removed: <span class="ec-lmtt-10">armel-linux</span>, <span class="ec-lmtt-10">powerpc-linux</span>. </p></li> <li class="itemize"> <!--l. 3749--><p class="noindent" ><span class="ec-lmtt-10">x86_64-darwin </span>supports 10.10–10.13 (Yosemite, El Capitan, Sierra, and High Sierra). </p></li> <li class="itemize"> <!--l. 3752--><p class="noindent" ><span class="ec-lmtt-10">x86_64-darwinlegacy </span>supports 10.6–10.10 (though <span class="ec-lmtt-10">x86_64-darwin </span>is preferred for 10.10). All support for 10.5 (Leopard) is gone, that is, both the <span class="ec-lmtt-10">powerpc-darwin </span>and <span class="ec-lmtt-10">i386-darwin</span> <span class="ec-lmtt-10">platforms </span>have been removed. </p></li> <li class="itemize"> <!--l. 3757--><p class="noindent" >Windows: XP is no longer supported.</p></li></ul> <!--l. 3761--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.16 </span> <a id="x1-870009.1.16"></a>2019</h5> <!--l. 3763--><p class="noindent" >Kpathsea: More consistent brace expansion and path splitting; new variable <span class="ec-lmtt-10">TEXMFDOTDIR </span>instead of hard-coded <span class="ec-lmtt-10">.</span> in paths allows for easily searching additional or sub-directories (see comments in <span class="ec-lmtt-10">texmf.cnf</span>). </p><!--l. 3768--><p class="indent" > epTeX, eupTeX: New primitives <span class="ec-lmtt-10">\readpapersizespecial </span>and <span class="ec-lmtt-10">\expanded</span>. </p><!--l. 3771--><p class="indent" > 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. </p><!--l. 3776--><p class="indent" > MetaPost: <span class="ec-lmtt-10">r-mpost </span>command name recognized as an alias for invocation with the <span class="ec-lmtt-10">--restricted </span>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. </p><!--l. 3783--><p class="indent" > pdfTeX: New primitive <span class="ec-lmtt-10">\expanded</span>; if new primitive parameter <span class="ec-lmtt-10">\pdfomitcharset </span>is set to 1, the <span class="ec-lmtt-10">/CharSet</span> string omitted from the PDF output, since it cannot feasibly be guaranteed correct, as required by PDF/A-2 and PDF/A-3. </p><!--l. 3788--><p class="indent" > XeTeX: New primitives <span class="ec-lmtt-10">\expanded</span>, <span class="ec-lmtt-10">\creationdate</span>, <span class="ec-lmtt-10">\elapsedtime</span>, <span class="ec-lmtt-10">\filedump</span>, <span class="ec-lmtt-10">\filemoddate</span>, <span class="ec-lmtt-10">\filesize</span>, <span class="ec-lmtt-10">\resettimer</span>, <span class="ec-lmtt-10">\normaldeviate</span>, <span class="ec-lmtt-10">\uniformdeviate</span>, <span class="ec-lmtt-10">\randomseed</span>; extend <span class="ec-lmtt-10">\Ucharcat </span>to produce active characters. </p><!--l. 3800--><p class="indent" > <span class="ec-lmtt-10">tlmgr</span>: Support <span class="ec-lmtt-10">curl </span>as a download program; use <span class="ec-lmtt-10">lz4 </span>and gzip before <span class="ec-lmtt-10">xz </span>for local backups, if available; prefer system-provided binaries over binaries provided with TeX Live for compressor and download programs, unless the environment variable <span class="ec-lmtt-10">TEXLIVE_PREFER_OWN </span>is set. </p><!--l. 3806--><p class="indent" > <span class="ec-lmtt-10">install-tl</span>: New option <span class="ec-lmtt-10">-gui </span>(with no argument) is the default on Windows and Macs, and invokes a new Tcl/TK GUI (see sections <a href="#x1-50001.3">1.3<!--tex4ht:ref: sec:basic --></a> and <a href="#x1-210003.1.6">3.1.6<!--tex4ht:ref: sec:graphical-inst --></a>). </p><!--l. 3810--><p class="indent" > Utilities: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3812--><p class="noindent" ><span class="ec-lmtt-10">cwebbin </span>( <a href="https://ctan.org/pkg/cwebbin" class="url" ><span class="ec-lmtt-10">https://ctan.org/pkg/cwebbin</span></a>) is now the CWEB implementation in TeX Live, with support for more language dialects, and including the <span class="ec-lmtt-10">ctwill </span>program to make mini-indexes. </p></li> <li class="itemize"> <!--l. 3816--><p class="noindent" ><span class="ec-lmtt-10">chkdvifont</span>: report font information from DVI files, also from tfm/ofm, vf, gf, pk. </p></li> <li class="itemize"> <!--l. 3819--><p class="noindent" ><span class="ec-lmtt-10">dvispc</span>: make a DVI file page-independent with respect to specials.</p></li></ul> <!--l. 3822--><p class="indent" > MacTeX: <span class="ec-lmtt-10">x86_64-darwin </span>now supports 10.12 and higher (Sierra, High Sierra, Mojave); <span class="ec-lmtt-10">x86_64-darwinlegacy</span> still supports 10.6 and newer. The spell checker Excalibur is no longer included, since it requires 32-bit support. </p><!--l. 3827--><p class="indent" > Platforms: removed <span class="ec-lmtt-10">sparc-solaris</span>. </p><!--l. 3830--><p class="noindent" > </p> <h5 class="subsubsectionHead"><span class="titlemark">9.1.17 </span> <a id="x1-880009.1.17"></a>2020</h5> <!--l. 3832--><p class="noindent" >General: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3833--><p class="noindent" >The <span class="ec-lmtt-10">\input </span>primitive in all TeX engines, including <span class="ec-lmtt-10">tex</span>, 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 characters (<span class="ec-lmtt-10">"</span>) are removed from the filename, but it is otherwise left unchanged after tokenization. This does not currently affect LaTeX’s <span class="ec-lmtt-10">\input </span>command, as that is a macro redefinition of the standard <span class="ec-lmtt-10">\input </span>primitive. </p></li> <li class="itemize"> <!--l. 3843--><p class="noindent" >New option <span class="ec-lmtt-10">--cnf-line </span>for <span class="ec-lmtt-10">kpsewhich</span>, <span class="ec-lmtt-10">tex</span>, <span class="ec-lmtt-10">mf</span>, and all other engines, to support arbitrary configuration settings on the command line. </p></li> <li class="itemize"> <!--l. 3847--><p class="noindent" >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 (<span class="ec-lmro-10">LaTeX</span><span class="ec-lmro-10"> News #31</span>, <a href="https://latex-project.org/news" class="url" ><span class="ec-lmtt-10">https://latex-project.org/news</span></a>). </p> </li></ul> <!--l. 3854--><p class="indent" > epTeX, eupTeX: New primitives <span class="ec-lmtt-10">\Uchar</span>, <span class="ec-lmtt-10">\Ucharcat</span>, <span class="ec-lmtt-10">\current(x)spacingmode</span>, <span class="ec-lmtt-10">\ifincsname</span>; revise <span class="ec-lmtt-10">\fontchar?? </span>and <span class="ec-lmtt-10">\iffontchar</span>. For eupTeX only: <span class="ec-lmtt-10">\currentcjktoken</span>. </p><!--l. 3858--><p class="indent" > LuaTeX: Integration with HarfBuzz library, available as new engines <span class="ec-lmtt-10">luahbtex </span>(used for <span class="ec-lmtt-10">lualatex</span>) and <span class="ec-lmtt-10">luajithbtex</span>. New primitives: <span class="ec-lmtt-10">\eTeXgluestretchorder</span>, <span class="ec-lmtt-10">\eTeXglueshrinkorder</span>. </p><!--l. 3862--><p class="indent" > pdfTeX: New primitive <span class="ec-lmtt-10">\pdfmajorversion</span>; this merely changes the version number in the PDF output; it has no effect on any PDF content. <span class="ec-lmtt-10">\pdfximage </span>and similar now search for image files in the same way as <span class="ec-lmtt-10">\openin</span>. </p><!--l. 3867--><p class="indent" > pTeX: New primitives <span class="ec-lmtt-10">\ifjfont</span>, <span class="ec-lmtt-10">\iftfont</span>. Also in epTeX, upTeX, eupTeX. </p><!--l. 3870--><p class="indent" > XeTeX: Fixes for <span class="ec-lmtt-10">\Umathchardef</span>, <span class="ec-lmtt-10">\XeTeXinterchartoks</span>, <span class="ec-lmtt-10">\pdfsavepos</span>. </p><!--l. 3872--><p class="indent" > Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities ( <a href="https://tug.org/TUGboat/tb40-2/tb125rokicki-type3search.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/tb40-2/tb125rokicki-type3search.pdf</span></a>). </p><!--l. 3876--><p class="indent" > MacTeX: MacTeX and <span class="ec-lmtt-10">x86_64-darwin </span>now require 10.13 or higher (High Sierra, Mojave, and Catalina); <span class="ec-lmtt-10">x86_64-darwinlegacy </span>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 <span class="ec-lmtt-10">README </span>file lists urls where they can be obtained. </p><!--l. 3884--><p class="indent" > <span class="ec-lmtt-10">tlmgr </span>and infrastructure: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3885--><p class="noindent" >Automatically retry (once) packages that fail to download. </p></li> <li class="itemize"> <!--l. 3886--><p class="noindent" >New option <span class="ec-lmtt-10">tlmgr check texmfdbs</span>, to to check consistency of <span class="ec-lmtt-10">ls-R </span>files and <span class="ec-lmtt-10">!!</span> specifications for each tree. </p></li> <li class="itemize"> <!--l. 3889--><p class="noindent" >Use versioned filenames for the package containers, as in <span class="ec-lmtt-10">tlnet/archive/</span><span class="ec-lmtto-10">pkgname</span><span class="ec-lmtt-10">.rNNN.tar.xz</span>; should be invisible to users, but a notable change in distribution. </p></li> <li class="itemize"> <!--l. 3892--><p class="noindent" ><span class="ec-lmtt-10">catalogue-date </span>information no longer propagated from the TeX Catalogue, since it was often unrelated to package updates.</p></li></ul> <!--l. 3897--><p class="indent" > <a id="news"></a> </p> <h4 class="subsectionHead"><span class="titlemark">9.2 </span> <a id="x1-890009.2"></a>Present: 2021</h4> <!--l. 3901--><p class="noindent" >General: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3902--><p class="noindent" >Donald Knuth’s changes for his 2021 tuneup of TeX and Metafont are incorporated ( <a href="https://tug.org/TUGboat/tb42-1/tb130knuth-tuneup21.pdf" class="url" ><span class="ec-lmtt-10">https://tug.org/TUGboat/tb42-1/tb130knuth-tuneup21.pdf</span></a>). They are also available on CTAN as the <span class="ec-lmtt-10">knuth-dist </span>and <span class="ec-lmtt-10">knuth-local </span>packages. As expected, the fixes are for obscure cases and do not affect any behavior in practice. </p></li> <li class="itemize"> <!--l. 3909--><p class="noindent" >Except in original TeX: if <span class="ec-lmtt-10">\tracinglostchars </span>is set to 3 or more, missing characters will result in an error, not just a message in the log file, and the missing character code will be shown in hex. </p></li> <li class="itemize"> <!--l. 3913--><p class="noindent" >Except in original TeX: a new integer parameter <span class="ec-lmtt-10">\tracingstacklevels</span>, if positive, and <span class="ec-lmtt-10">\tracingmacros </span>is also positive, causes a prefix indicating the macro expansion depth to be output on each relevant log line (e.g., <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">~..</span></span></span> at depth 2). Also, macro logging is truncated at a depth <span class="lmsy-10">≥ </span>the parameter value. </p> </li></ul> <!--l. 3921--><p class="indent" > Aleph: The Aleph-based LaTeX format, named <span class="ec-lmtt-10">lamed</span>, has been removed. The <span class="ec-lmtt-10">aleph </span>binary itself is still included and supported. </p><!--l. 3924--><p class="indent" > LuaTeX: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3925--><p class="noindent" >Lua 5.3.6. </p></li> <li class="itemize"> <!--l. 3926--><p class="noindent" >Callback for nesting level used in <span class="ec-lmtt-10">\tracingmacros</span>, as generalized variant of the new <span class="ec-lmtt-10">\tracingstacklevels</span>. </p></li> <li class="itemize"> <!--l. 3928--><p class="noindent" >Mark math glyphs as protected to prevent processing as text. </p></li> <li class="itemize"> <!--l. 3929--><p class="noindent" >Removed width/ic compensation for traditional math code path.</p></li></ul> <!--l. 3932--><p class="indent" > MetaPost: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3933--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">SOURCE_DATE_EPOCH</span></span></span> environment variable support for reproducible output. </p></li> <li class="itemize"> <!--l. 3934--><p class="noindent" >Avoid wrong final <span class="ec-lmtt-10">% </span>in <span class="ec-lmtt-10">mpto</span>. </p></li> <li class="itemize"> <!--l. 3935--><p class="noindent" >Document <span class="ec-lmtt-10">-T </span>option, other fixes to manual. </p></li> <li class="itemize"> <!--l. 3936--><p class="noindent" >Value of <span class="ec-lmtt-10">epsilon </span>changed in binary and decimal modes, so <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">mp_solve_rising_cubic</span></span></span> works as expected.</p></li></ul> <!--l. 3940--><p class="indent" > pdfTeX: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3941--><p class="noindent" >New primitives <span class="ec-lmtt-10">\pdfrunninglinkoff </span>and <span class="ec-lmtt-10">\pdfrunninglinkon</span>; e.g., for disabling generation of links in headers and footers. </p></li> <li class="itemize"> <!--l. 3944--><p class="noindent" >Warn instead of aborting when “<span class="ec-lmtt-10">\pdfendlink </span>ended up in different nesting level than <span class="ec-lmtt-10">\pdfstartlink</span>”. </p></li> <li class="itemize"> <!--l. 3946--><p class="noindent" >Dump <span class="ec-lmtt-10">\pdfglyphtounicode </span>assignments in <span class="ec-lmtt-10">fmt </span>file. </p></li> <li class="itemize"> <!--l. 3947--><p class="noindent" >Source: <span class="ec-lmtt-10">poppler </span>support removed, as it was too hard to keep in sync with upstream. In native TL, pdfTeX has always used <span class="ec-lmtt-10">libs/xpdf</span>, which is cut-down and adapted code from <span class="ec-lmtt-10">xpdf</span>.</p></li></ul> <!--l. 3952--><p class="indent" > XeTeX: Fixes for math kerning. </p><!--l. 3954--><p class="indent" > Dvipdfmx: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3955--><p class="noindent" >Ghostscript is now invoked safely by default; to override (assuming all input files are trusted), use <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">-i</span><span class="ec-lmtt-10"> dvipdfmx-unsafe.cfg</span></span></span>. To use PSTricks with XeTeX, this is required, as in: <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">xetex</span><span class="ec-lmtt-10"> -output-driver="xdvipdfmx</span><span class="ec-lmtt-10"> -i</span><span class="ec-lmtt-10"> dvipdfmx-unsafe.cfg</span><span class="ec-lmtt-10"> -q</span><span class="ec-lmtt-10"> -E"</span><span class="ec-lmtt-10"> ...</span></span></span> </p></li> <li class="itemize"> <!--l. 3960--><p class="noindent" >If an image file is not found, exit with bad status. </p></li> <li class="itemize"> <!--l. 3961--><p class="noindent" >Extended special syntax for color support. </p></li> <li class="itemize"> <!--l. 3962--><p class="noindent" >Specials for manipulating <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">ExtGState</span></span></span>. </p></li> <li class="itemize"> <!--l. 3963--><p class="noindent" >Compatibility specials <span class="ec-lmtt-10">pdfcolorstack </span>and <span class="ec-lmtt-10">pdffontattr</span>. </p></li> <li class="itemize"> <!--l. 3964--><p class="noindent" >Experimental support for <span class="ec-lmtt-10">dviluatex</span>’s extended <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">fnt_def</span></span></span>. </p></li> <li class="itemize"> <!--l. 3965--><p class="noindent" >Support new feature of virtual font to fallback Japanese font definition.</p></li></ul> <!--l. 3968--><p class="indent" > Dvips: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3969--><p class="noindent" >Default PostScript document title is now the basename of the input file, and can be overridden with the new option <span class="ec-lmtt-10">-title</span>. </p></li> <li class="itemize"> <!--l. 3971--><p class="noindent" >If an <span class="ec-lmtt-10">.eps </span>or other image file is not found, exit with bad status. </p></li> <li class="itemize"> <!--l. 3973--><p class="noindent" >Support new feature of virtual font to fallback Japanese font definition.</p></li></ul> <!--l. 3976--><p class="indent" > MacTeX: MacTeX and its new binary folder <span class="ec-lmtt-10">universal-darwin </span>now require macOS 10.14 or higher (Mojave, Catalina, and Big Sur); the <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">x86_64-darwin</span></span></span> binary folder is no longer present. The <span class="obeylines-h"><span class="verb"><span class="ec-lmtt-10">x86_64-darwinlegacy</span></span></span> binary folder, available only with the Unix <span class="ec-lmtt-10">install-tl</span>, supports 10.6 and newer. </p><!--l. 3982--><p class="indent" > This is an important year for the Macintosh because Apple introduced ARM machines in November and will sell and support both ARM and Intel machines for many years. All programs in <span class="ec-lmtt-10">universal-darwin</span> have executable code for both ARM and Intel. Both binaries are compiled from the same source code. </p><!--l. 3988--><p class="indent" > The additional programs Ghostscript, LaTeXiT, TeX Live Utility, and TeXShop are all universal and are signed with a hardened runtime, so all are included in MacTeX this year. </p><!--l. 3992--><p class="indent" > <span class="ec-lmtt-10">tlmgr </span>and infrastructure: </p> <ul class="itemize1"> <li class="itemize"> <!--l. 3993--><p class="noindent" >keep only one backup of the main repository’s <span class="ec-lmtt-10">texlive.tlpdb</span>. </p></li> <li class="itemize"> <!--l. 3994--><p class="noindent" >even more portability across systems and Perl versions. </p></li> <li class="itemize"> <!--l. 3995--><p class="noindent" ><span class="ec-lmtt-10">tlmgr info </span>reports new <span class="ec-lmtt-10">lcat-* </span>and <span class="ec-lmtt-10">rcat-* </span>fields for local vs. remote Catalogue data. </p></li> <li class="itemize"> <!--l. 3997--><p class="noindent" >full logging of subcommands moved to new log file <span class="ec-lmtt-10">texmf-var/web2c/tlmgr-commands.log</span>.</p></li></ul> <!--l. 4003--><p class="noindent" > </p> <h4 class="subsectionHead"><span class="titlemark">9.3 </span> <a id="x1-900009.3"></a>Future</h4> <!--l. 4005--><p class="noindent" >We intend to continue to release new versions of TeX Live, 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 there is always more to do. Please see <a href="https://tug.org/texlive/contribute.html" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive/contribute.html</span></a>. </p><!--l. 4011--><p class="indent" > Please send corrections, suggestions, and offers of help to: </p><blockquote class="quote"> <!--l. 4013--><p class="noindent" ><a href="mailto:tex-live@tug.org" ><span class="path"><span class="ec-lmtt-10">tex-live@tug.org</span></span></a> <br class="newline" /> <a href="https://tug.org/texlive" class="url" ><span class="ec-lmtt-10">https://tug.org/texlive</span></a></p></blockquote> <!--l. 4018--><p class="noindent" ><span class="ec-lmro-10">Happy TeXing!</span> </p> </body> </html>
Close