summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-13 23:24:33 +0000
committerKarl Berry <karl@freefriends.org>2021-03-13 23:24:33 +0000
commit48c81f346ce064d2fcb52f530a83e923731f77d0 (patch)
treed6138f20ada53e0cbf6ae83aa2618f3c00f554bb /Master/texmf-dist/source/latex
parentf40f7a9f65fa1ba6f61f506f1f7b7063ed0b27fa (diff)
rm latex-tds, now in knuth-pdf (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58335 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/README-docinfo.html2
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/README.asciidoc713
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/build.pl2207
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl199
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/lib/ziptimetree.pl369
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/license/adjust_checksum/lppl.txt416
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/license/latex-tds/lppl.txt416
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/license/ziptimetree/lgpl.txt165
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsbooka.zipbin69482 -> 0 bytes
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsclass.dtx.diff19
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff323
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff442
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsldoc.tex.diff42
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/changes.tex.diff19
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/encguide.tex.diff40
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/errorlog.tex.diff33
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/logmac.tex.diff134
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/source2e.tex.diff68
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/tlc2.err.diff19
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/trapman.tex.diff212
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/tripman.tex.diff223
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff21
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/webman.tex.diff353
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ams.drv256
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex50
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg36
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/errata.all100
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg96
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/errata.drv51
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/errorlog.drv58
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/etex_man.drv58
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/fix-expl3-lua.ini42
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg32
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/knuth-outline.tex57
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/knuth.drv294
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg37
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex235
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltugboat.cfg30
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv27
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg79
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg95
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds.ini117
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds2.ini104
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg55
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/pdflatex-tds.ini59
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv41
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg58
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls114
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tools.tex110
49 files changed, 0 insertions, 8726 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/README-docinfo.html b/Master/texmf-dist/source/latex/latex-tds/README-docinfo.html
deleted file mode 100644
index 7fb83f76a96..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/README-docinfo.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<meta name="author" content="Heiko Oberdiek" />
-<meta name="date" content="{docdate}" />
diff --git a/Master/texmf-dist/source/latex/latex-tds/README.asciidoc b/Master/texmf-dist/source/latex/latex-tds/README.asciidoc
deleted file mode 100644
index f1d77f5b151..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/README.asciidoc
+++ /dev/null
@@ -1,713 +0,0 @@
-README for project latex-tds
-============================
-:author: Heiko Oberdiek
-:revdate: 2014/11/12
-:lang: en
-:toc:
-:numbered:
-:docinfo:
-:ctan: http://mirror.ctan.org/
-:asciidoc: http://www.methods.co.nz/asciidoc/[AsciiDoc]
-:colon: :
-// Description is taken from the TeX Catalogue
-:description: Bundle `latex-tds' provides a set of ZIP file +
- modules containing TDS-compliant trees for items of the +
- LaTeX distribution (both the base system and required packages), +
- together with `user-friendly' documentation (PDF +
- files with navigation support using bookmarks and links).
-
-// This file is formatted in the text document format AsciiDoc.
-
-
-Project latex-tds
------------------
-
-[abstract]
---
-{description}
---
-
-Version{colon}::
- {revdate}
-Author{colon}::
- {author}
-Email and bug report address{colon}::
- heiko.oberdiek at googlemail.com
-CTAN home page with distribution files{colon}::
- {ctan}macros/latex/contrib/latex-tds/[CTAN:macros/latex/contrib/latex-tds/]
-Source repository (without distribution files){colon}::
- https://github.com/oberdiek/latex-tds
-
-How it has started
-~~~~~~~~~~~~~~~~~~
-The project started as I wanted to install the new LaTeX release 2005/12/01
-that was announced at 2006/04/27. However the files are not packed in
-TDS format, ready for unpacking in the destination directory. And
-the documentation files were not yet generated or the provided
-PDF files are lacking of basic features such as bookmarks or link support.
-Thus this project has started. I thought it could be finished during
-the afternoon at the day of the announcement ...
-
-Goals of the project
-~~~~~~~~~~~~~~~~~~~~
-* From the sources a TDS compliant tree is constructed and populated.
- The zipped result is distributed.
-* All the documentation is generated from the sources. The PDF files
- are user friendly and provide navigational support with bookmarks
- and links.
-* The PDF files are post-processed to reduce the file size.
-
-Scope
-~~~~~
-I do not have the time to assemble a TeX distribution with
-thousands of packages. Therefore I restricted myself to the
-LaTeX base distribution and the required bundles.
-In the following I will use the term `module' for a package bundle.
-
-Module list
-~~~~~~~~~~~
-The link addresses are the sources for the modules.
-
-*base*::
- {ctan}macros/latex/base.zip[CTAN:macros/latex/base.zip] +
- {ctan}macros/latex/doc.zip[CTAN:macros/latex/doc.zip] +
- http://www.latex-project.org/guides/lb2.err +
- http://www.latex-project.org/guides/lgc2.err +
- http://www.latex-project.org/guides/manual.err +
- http://www.latex-project.org/guides/tlc2.err +
-*tools*::
- {ctan}macros/latex/required/tools[CTAN:macros/latex/required/tools.zip]
-*cyrillic*::
- {ctan}macros/latex/required/cyrillic.zip[CTAN:macros/latex/required/cyrillic.zip]
-*amslatex*::
- {ctan}install/macros/latex/required/amslatex/amscls.tds.zip[CTAN:install/macros/latex/required/amslatex/amscls.tds.zip] +
- {ctan}install/macros/latex/required/amslatex/math.tds.zip[CTAN:install/macros/latex/required/amslatex/math.tds.zip] +
- {ctan}macros/latex/contrib/amsrefs.zip[CTAN:macros/latex/contrib/amsrefs.zip] +
- {ctan}macros/latex/required/amslatex.zip[CTAN:macros/latex/required/amslatex.zip] +
- ftp://ftp.ams.org/pub/tex/amsrefs/amsrefs.zip +
- ftp://ftp.ams.org/pub/tex/amscls.zip +
- ftp://ftp.ams.org/pub/tex/amsmath.zip +
- patch/amsbooka.zip
-*amsfonts*::
- {ctan}install/fonts/amsfonts.tds.zip[CTAN:install/fonts/amsfonts.tds.zip]
-*psnfss*::
- {ctan}macros/latex/required/psnfss.zip[CTAN:macros/latex/required/psnfss.zip]
-*tds*::
- {ctan}tds.zip[CTAN:tds.zip]
-*knuth*::
- {ctan}systems/knuth/dist/errata.zip[CTAN:systems/knuth/dist/errata.zip] +
- {ctan}systems/knuth/dist/etc.zip[CTAN:systems/knuth/dist/etc.zip] +
- {ctan}systems/knuth/dist/mfware.zip[CTAN:systems/knuth/dist/mfware.zip] +
- {ctan}systems/knuth/dist/texware.zip[CTAN:systems/knuth/dist/texware.zip] +
- {ctan}systems/knuth/dist/web.zip[CTAN:systems/knuth/dist/web.zip] +
- {ctan}systems/knuth/dist/tex.zip[CTAN:systems/knuth/dist/tex.zip] +
- {ctan}systems/knuth/dist/mf.zip[CTAN:systems/knuth/dist/mf.zip]
-*etex*::
- {ctan}systems/e-tex/v2.1/etex_doc.zip[CTAN:systems/e-tex/v2.1/etex_doc.zip]
-
-
-Abbreviations, Glossary
------------------------
-CTAN::
- Comprehensive TeX Archive Network. +
- FAQ entry: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=archives +
- For example, you can resolve the prefix +CTAN:+ by using
- +{ctan}+.
-latex-tds::
- The name of this project.
-TDS::
- TeX Directory Structure. +
- FAQ entry: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds +
- Specification: http://www.ctan.org/pkg/tds
-
-
-Download
---------
-
-The home of the project is located at:
-____
-{ctan}/macros/latex/contrib/latex-tds/[CTAN:macros/latex/contrib/latex-tds/]
-____
-
-The following files can be downloaded:
-
-* +README+, +README.html+, +README.pdf+:
- The README file in different formats.
-
-* +<module>.tds.zip+: The module distribution files,
- see section `<<_module_list,Module list>>' above
- for the available modules.
-
-* +source.tds.zip+: The sources, mainly the build script, configuration and
- driver files, and patches.
- Some of the used tools are not provided, see section
- `<<_build_hints, Build Hints>>'.
-
-* +latex-tds.tds.zip+: The universe, the contents of all the ZIP files above,
- merged together.
-
-Installation Hints
-------------------
-
-Hopefully the result of this project helps you in the installation
-process. You get a TDS compliant tree just by unpacking.
-
-Example:
-----
- cd /some/where/texmf
- unzip latex-tds
-----
-or unzip's option +-d+:
-----
- unzip latex-tds -d /some/where/texmf
-----
-
-Instead of the universe ZIP file single modules can be selected.
-
-Important to remember, point your unpack process right in
-the root directory of your TDS tree. The directory structure
-in the ZIP files start with the top-level directories:
-----
- doc/latex/base/...
- tex/latex/tools/...
- source/...
-----
-Rationale: The root directory of a TDS tree can have different
-names, such as texmf-dist, texmf-local, ...
-
-Hints
-~~~~~
---
-* Refresh the file name database.
-* Be aware that unpacking can insert and update files, but never
- deletes obsolete ones. Remainders of previous releases can
- cause trouble.
-* Depending on the module further installation steps can be
- necessary, consult the module's own documentation.
---
-
-Module base
-^^^^^^^^^^^
- * The default +texsys.cfg+ that LaTeX provides is put
- into +TDS:tex/latex/base+. It must be removed, if you need
- a specialized version. Consult your TeX distribution
- and +TDS:doc/latex/base/source2e.pdf+ (module ltdirchk).
- Usually changes are not required for many TeX distributions
- such as Unix (web2c), MikTeX, ...
- * Formats need rebuilding (e.g., fmtutil).
-
-Module psnfss
-^^^^^^^^^^^^^
- * The map files need further configuring (e.g., updmap).
-
-Module graphics
-^^^^^^^^^^^^^^^
- * Module graphics does not provide all driver files, because some are
- developed independently (+pdftex.def+, ...).
-
-
-Copyright, License
-------------------
-
-Copyright (C) 2006-2014 Heiko Oberdiek.
-
-License is **LPPL 1.3c**:
-
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (at your option) any later version.
-The latest version of this license is in
-----
- http://www.latex-project.org/lppl.txt
-----
-and version 1.3c or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
-
-This work has the LPPL maintenance status `maintained'.
-
-The Current Maintainer of this work is Heiko Oberdiek.
-
-See the following section `<<_manifest, Manifest>>' for a list of all files
-belonging to the project `latex-tds'.
-
-
-Manifest
---------
-
-Included are the projects `adjust_checksum' and `ziptimetree'.
-They are projects of their own.
-
-Documentation
-~~~~~~~~~~~~~
-[cols=".3literal,.7", frame="topbot", grid="rows"]
-|===
-|README |plain text file
-|README.html |standalone HTML file
-|README.pdf |PDF version
-|README.asciidoc |main source code in text document format {AsciiDoc}
-|README-docinfo.html |source code, read by asciidoc to generate +README.html+
-|===
-
-Licenses
-~~~~~~~~
-[cols=".3literal,.7", frame="topbot", grid="rows"]
-|===
-|license/lppl.txt |LPPL (The LaTeX Project Public License)
- for latex-tds and adjust_checksum
-|license/ziptimetree/lgpl.txt |LGPL (GNU Lesser General Public License)
- for ziptimetree, check-ascii, check-eolspaces
-|===
-
-Scripts
-~~~~~~~
-[cols=".3literal,.7", frame="topbot", grid="rows"]
-|===
-|build.pl |main script for building the distribution
-|lib/adjust_checksum.pl |Perl script that runs a DTX file through
- LaTeX and corrects its +\Checksum+ if necessary
-|lib/check-ascii.pl |Perl script that looks for non-ASCII characters
-|lib/check-eolspaces.pl |Perl script that looks for trailing spaces
-|lib/check-tds-installation.pl |Perl script that compares a module with
- an installation inside a TDS tree.
-|lib/ziptimetree.pl |Perl script that generates a ZIP file from
- a directory tree with sorted entries (LGPL)
-|===
-
-Configuration
-~~~~~~~~~~~~~
-[cols=".3literal,.7", frame="topbot", grid="rows"]
-|===
-|tex/docstrip.cfg |enables TDS feature and creates directories
-|tex/errata.cfg |for errata lists of latex/base
-|tex/fix-expl3-lua.ini |fix for expl3, if used in format file
-|tex/hyperref.cfg |hyperref configuration file
-|tex/ltnews.cfg |for LaTeX News of latex/base
-|tex/ltugboat.cls |setup for class ltugboat
-|tex/ltxdoc.cfg |setup for class ltxdoc
-|tex/ltxguide.cfg |setup for the guide manuals in latex/base
- and required/psnfss
-|tex/lualatex-tds.ini |init file for format generation for LuaTeX
-|tex/lualatex-tds2.ini |init file for LuaTeX format without LM Math
-|tex/manual.cfg |setup for errata list of the LaTeX manual
- in latex/base
-|tex/pdflatex-tds.ini |init file for format generation for pdfTeX
-|tex/tdsguide.cfg |setup for class +tdsguide.cls+
-|===
-
-Documentation driver
-~~~~~~~~~~~~~~~~~~~~
-[cols="1*.3literal,1*.7", frame="topbot", grid="rows"]
-|===
-|tex/ams.drv |generic doc driver for files from the
- amslatex bundle
-|tex/doc_lppl.tex |doc driver for +base/lppl.tex+
-|tex/errata.all |doc driver for +knuth/errata/errata.pdf+
-|tex/errata.drv |doc driver for +knuth/errata/errata_*.pdf+
-|tex/errorlog.drv |doc driver for +knuth/errata/errorlog.tex+
-|tex/etex_man.drv |doc driver for +etex/etex_man.tex+
-|tex/knuth.drv |doc driver for +knuth/+{+texware+,+mfware+,+etc+}+/*.web+
-|tex/knuth-outline.tex |outline file list for module knuth
-|tex/ltnews.tex |master file that merges all +base/ltnews*.tex+
-|tex/ltxcheck.drv |doc driver with patches for +ltxcheck.tex+
-|tex/psnfss2e.drv |doc driver with patches for +psnfss2e.tex+
-|tex/tools-overview.cls |class for +tools.tex+
-|tex/tools.tex |master file for tools overview, generated
- by the +build.pl+ script from +tools/manifest.txt+
-|===
-
-Patches
-~~~~~~~
-[cols=".3l,.7l", options="header", frame="topbot", grid="rows"]
-|===
-|Diff/patch file|Patched file
-|patch/amsbooka.zip |amslatex/amsbooka.*
-|patch/amsclass.dtx.diff |amslatex/amsclass.dtx
-|patch/amsfndoc.def.diff |amsfonts/amsfndoc.def
-|patch/amsfndoc.tex.diff |amsfonts/amsfndoc.tex
-|patch/amsldoc.tex.diff |amslatex/amsldoc.tex
-|patch/changes.tex.diff |amslatex/amsrefs/changes.tex
-|patch/encguide.tex.diff |base/encguide.tex
-|patch/errorlog.tex.diff |knuth/errata/errorlog.tex
-|patch/logmac.tex.diff |knuth/errata/logmac.tex
-|patch/source2e.tex.diff |base/source2e.tex
-|patch/tlc2.err.diff |base/tlc2.err
-|patch/trapman.tex.diff |knuth/mf/trapman.tex
-|patch/tripman.tex.diff |knuth/tex/tripman.tex
-|patch/utf8ienc.dtx.diff |base/utf8ienc.dtx
-|patch/webman.tex.diff |knuth/web/webman.tex
-|===
-
-
-Design Principles
------------------
-
-* Compliance with the latest TDS specification.
-* No redundancy.
-* User friendly PDF files with navigational support:
- - bookmarks
- - links
-* Complete documentation. The documentation generation with
- enhanced PDF files is the tricky part and should be saved
- from the user.
-* Output format of generated documentation is PDF, see above.
- Other formats such as DVI or PS are not generated and provided.
-* Documentation bundles are preferred to many partial documentation
- files (e.g. +source2e.pdf+ or +ltnews.pdf+).
-* If several expansion stages of a documentation are available,
- then just the most complete expansion stage should be used.
-* Files that do not fit in a program sub tree of TDS stay below
- +TDS:source+ (e.g. +latexbug.el+ from latex/base). Then they do not
- get lost at least.
-* Page layout: +a4paper+ with reduced vertical margins (exception: ltnews).
- (This also decreases the page number usually.)
-* ...
-
-
-Remarks
--------
-
-Base
-~~~~
-* +source2e.pdf+ is used instead of many single +lt*.pdf+ files.
-* +ltnews.pdf+ is introduced to avoid cluttering the doc directory
- with many single sheet +ltnews*.pdf+ files.
-* Patch for +ltfssdcl.dtx+: Checksum fixed.
-* ...
-
-Tools
-~~~~~
-* Added: +tools.pdf+ as overview/contents/index file with links
- and short descriptions of the single packages. (It uses
- the data from +manifest.txt+).
-* ...
-
-Knuth
-~~~~~
-* Current CTAN -> TDS mapping in use:
- +CTAN:systems/knuth/dist+ -> +TDS:<toplevel>/knuth+
-* Unsure where to put trip/trap files. Currently they are
- put in +TDS:source+, because the documentation files
- (+tripman.pdf+, +trapman.pdf+) are in +TDS:doc+. They lists the
- trip/trap files already.
-* Not covered is
- {ctan}systems/knuth/dist/lib/[CTAN:systems/knuth/dist/lib/]
- In TeX Live 2007/2008 the files are installed at different
- locations:
-+
- texmf-dist/fonts/source/public/mflogo/logo10.mf
- texmf-dist/fonts/source/public/mflogo/logo8.mf
- texmf-dist/fonts/source/public/mflogo/logo9.mf
- texmf-dist/fonts/source/public/mflogo/logobf10.mf
- texmf-dist/fonts/source/public/mflogo/logo.mf
- texmf-dist/fonts/source/public/mflogo/logosl10.mf
- texmf-dist/fonts/source/public/misc/grayf.mf
- texmf-dist/fonts/source/public/misc/manfnt.mf
- texmf-dist/fonts/source/public/misc/slant.mf
- texmf-dist/metafont/base/expr.mf
- texmf-dist/metafont/base/io.mf
- texmf-dist/metafont/base/null.mf
- texmf-dist/metafont/base/plain.mf
- texmf-dist/metafont/misc/3test.mf
- texmf-dist/metafont/misc/6test.mf
- texmf-dist/metafont/misc/rtest.mf
- texmf-dist/metafont/misc/test.mf
- texmf-dist/metafont/misc/waits.mf
- texmf-dist/metafont/misc/ztest.mf
- texmf-dist/mft/base/cmbase.mft
- texmf-dist/mft/base/plain.mft
- texmf-dist/tex/generic/misc/null.tex
- texmf-dist/tex/plain/base/manmac.tex
- texmf-dist/tex/plain/base/mftmac.tex
- texmf-dist/tex/plain/base/plain.tex
- texmf-dist/tex/plain/base/story.tex
- texmf-dist/tex/plain/base/testfont.tex
- texmf-dist/tex/plain/base/webmac.tex
- texmf/tex/generic/hyphen/hyphen.tex
-
-e-TeX
-~~~~~
-* Only the manual `etex_man' is covered by this module.
-
-
-Build Hints
------------
-
-The most important advice I can give: `Forget it'!
-The purpose of the source files are rather to show, what was
-done in which way.
-The +*.zip+ with TDS trees are the goal of the project, not the
-build process. Some remarks, if someone wants to build the
-modules himself:
-
-* TeX compiler: LuaTeX and pdfTeX (&ge; 1.30).
-* An up-to-date LaTeX installation, at least TeX Live 2012.
-* Additional packages can be necessary, e.g.
- {ctan}language/armenian/armtex.zip[CTAN:language/armenian/armtex.zip]
- is not part of TeX Live 2012.
-* Most of the PDF files are generated using lualatex and package
- `fontspec' that uses the Latin Modern fonts as default. They
- are available as OpenType fonts. LuaTeX generates with OpenType
- fonts considerably smaller PDF files. Also PDF object stream
- compression is used (PDF 1.5). Therefore the further
- post-processing of PDF files are currently dropped.
-* (Outdated since 2011-07-01) PDF post-processing, I have used two steps:
-+
---
- 1. First step:
- a. I have written a tool that analyzes page stream contents and
- optimizes them (removal of unnecessary color settings, minimize
- translation operations, ...)
- -> +pdfbox-rewrite.jar+.
- b. For reading and writing the PDF file I have used PDFBox
- -> +PDFBox-0.7.2.jar+ (http://pdfbox.apache.org/).
- c. To get better results I patched some of the classes
- of PDFBox (especially the write module)
- -> +pdfbox-rewrite.jar+.
- 2. The final conversion step was done by Multivalent, because
- it makes a very good job in PDF compression:
- -> +Multivalent20060102.jar+ (http://multivalent.sourceforge.net/)
-
-Multivalent and PDFBox are available, +pdfbox-rewrite.jar+, however,
- is just a first prototype, not ripe for a release.
- Therefore this step of post-processing is optional for the
- project latex-tds. The build script looks for the library and
- skips this steps automatically if necessary.
- If you give the build script the option +--nopostprocess+,
- then it will skip the postprocess steps (building is faster,
- the pdf files a little larger).
- Install the jar files in the directory +lib+ where
- they are expected by the build script.
---
-* Unix, Perl background is expected.
-* No support or documentation.
-
-
-History
--------
-
-2006/04/27::
- * Start of the project (without babel, amslatex, psnfss).
-2006/06/01::
- * Module amslatex added.
-2006/06/03::
- * Modules psnfss and babel added, now all modules are covered.
-2006/06/07::
- * The project uploaded to CTAN.
-2006/07/31::
- * Index added to base/classes.dtx.
- * ZIP files renamed: +\*-tds.zip+ -> +*.zip+
- * Comment added to ZIP files.
- * Update of +readme.txt+.
-2006/08/26::
- * Module tds for {ctan}tds/[CTAN:tds/] added.
- * Obsolete hyphenation patterns added to babel's source directory
- to avoid violation of LPPL.
- * Script adjust_checksum added and scripts are put below +TDS:scripts+.
- * +TDS:makeindex/base/+ renamed to +TDS:makeindex/latex/+
- * Exception for +sample2e.tex+ and +small2e.tex+ that now go into
- +TDS:tex/latex/base/+.
-2006/08/28::
- * Default +texsys.cfg+ is generated.
- * +adjust_checksum.pl+ and +ziptimetree.pl+ now moved from the +scripts+
- branch to +TDS:source/latex/latex-tds/lib/+.
-2006/12/27::
- * Fix of +ltxguide.cfg+ that had loaded doc.sty that disturbs the
- verbatim stuff in +fntguide.tex+.
-2007/01/08::
- * Fix for documentation of longtable.
-2007/03/19::
- * Patch for +babel/latin.dtx+ added (babel/3922).
-2007/09/04::
- * A minor update on CTAN regarding babel:
- +iahyphen.tex+, +icehyph.tex+, and +lahyph.tex+ are now symbolic links
- to their location in {ctan}language/hyphenation/[CTAN:language/hyphenation/].
- Therefore also
- +lahyph.tex+ is now installed in +TDS:tex/generic/hyphen/+.
-2007/10/18::
- * Update of module amslatex because of updated package amsrefs.
- * Fix in +latin.dtx.diff+.
-2007/10/24::
- * Update of babel.
- * Update of amsrefs (+TDS:tex/latex/amscls+ -> +TDS:tex/latex/amsrefs+).
-2008/04/01::
- * Update of babel (2008/03/17).
-2008/04/02::
- * Fix: +latex/base/*.err+ added to +TDS:source/latex/base/+.
-2008/04/05::
- * Using +.tds.zip+ instead of .zip to follow +CTAN:install+'s naming
- conventions.
-2008/06/28::
- * Update of babel (2008/06/01).
- * Babel documentation: table of contents reformatted.
-2008/07/07::
- * Update of babel (2008/07/06).
-2008/07/10::
- * Module knuth added.
- * Update of babel (2008/07/07).
-2008/07/11::
- * Fixes and additions for module knuth.
-2008/07/25::
- * Module amslatex: +instr-l.tex+ vanished from CTAN (but not at AMS side).
- * Some unwanted spaces in generated PDF files fixed.
- (Caused by a wrong package file that was found on my system first.)
-2008/08/10::
- * Module latex3 added.
- * Module base: CTAN hyperlinks fixed.
- * Module amslatex: Outdated URL fixed in +amsldoc.tex+.
- * Module babel: Problem with already defined +\meta+ in +tb1604.tex+ fixed.
-2008/09/06::
- * Module base:
- - Using uptodate versions from LaTeX project page for errata lists.
- - +lgc2.err+ added (LaTeX Graphics Companion, 2. ed.).
- - Various fixes in errata lists.
- * Module tools: +array.dtx+: documentation fixed (tools/4044).
-2008/09/10::
- * Module base: Missing title date for utf8ienc.pdf fixed.
-2009/09/05::
- * Module amslatex: updated.
- * Module latex3: xpackages updated.
- * Module latex3: expl3 removed, because nothing to do.
-2009/09/25::
- * Module amslatex: updated.
- * Module babel: updated.
- * Update of LaTeX, release 2009/09/24.
-2009/12/07::
- * Module amslatex: Unhappily the +.zip+ files are quite a mess,
- because they contain a mixup of old and new versions.
- Tried to sort this out and fix the last update.
- * Module latex3: xpackages removed, because nothing to do.
- * Module latex3 removed, nothing left to do.
-2010/05/04::
- * Module base: page layout for source2e fixed (changes, index).
- * Module base: update of +.err+ files.
-2010/10/27::
- * Module amslatex: amscls and amsrefs updated.
- * Module etex added (only for etex_man).
- * Erratas updated.
-2011/03/10::
- * Module base: patch for latex/4148 (Missing +\label+ and +\ref+ in +lppl.tex+).
-2011/04/18::
- * Module amslatex: There is an outdated version of amsthm.sty in
- {ctan}install/macros/latex/required/amslatex/amscls.tds.zip[CTAN:install/macros/latex/required/amslatex/amscls.tds.zip].
- The package +amsthm.sty+ is now generated from the source.
- * Using TDS tree for missing packages that are not part of TeX Live.
- Module base: {ctan}language/armenian/armtex.zip[CTAN:language/armenian/armtex.zip].
-2011/06/24::
- * Module amslatex: Two downloads from AMS server removed, because
- the files are not longer available (and they are on CTAN).
- * Module amslatex: 00readme.txt and amsrefs.dtx taken from
- {ctan}macros/latex/contrib/amsrefs.zip[CTAN:macros/latex/contrib/amsrefs.zip] instead of
- {ctan}install/macros/latex/contrib/amsrefs.tds.zip[CTAN:install/macros/latex/contrib/amsrefs.tds.zip]
- because the later archive file is out of sync.
-2011/06/30::
- * Module base:
- - Update of LaTeX, release 2011/06/27.
- - Patch +ltpatch.ltx+ to match the kernel version.
- - Patch +lppl.tex.diff+ removed (no longer needed).
- - Patch +ltfssdcl.dtx.diff+ added (checksum fixed).
- * Module tools: Release 2011/06.
- * Module babel: Release 2011/06.
-2011/07/01::
- * PDF generation:
- - Use of LuaTeX instead of pdfTeX for most of the files.
- - Use of package `fontspec' with Latin Modern fonts as
- default in OpenType format (smaller PDF file sizes).
- The post-processing of PDF files is skipped.
- - Various patches and fixes for LuaLaTeX and package `fontspec'.
- * Module base:
- - Update of LaTeX.
- - Patches +ltpatch.ltx.diff+ and +ltfssdcl.dtx.diff+ removed
- (no longer needed).
- * Module tools: Update.
-2011/07/03::
- * build.pl:
- - Caching for PDF generation added.
- - `FINAL' markers in the output of +build.pl+
- for final (Lua|pdf)TeX runs.
-2011/07/26::
- * PDF generation: Use of package unicode-math with Latin Modern Math
- where possible.
-2011/08/10::
- * Update of tools.
-2011/10/05::
- * Update of tools (varioref).
-2011/11/16::
- * Update of babel.
-2012/05/12::
- * Update of amslatex (amsrefs).
- * Update of +readme.txt+ that is renamed to +README+ (CTAN convention).
- * Update of +tlc2.err+.
-2013/02/14::
- * Update of amslatex (amsrefs).
- * Module amslatex: +cite-x*.tex+, +jb.bib+ in +TDS:source/+, because
- these files are now classified as test files.
- * Module base: +lb2.err+ and +tlc2.err+ updated.
- * Change in version control system from CVS to git with public
- source repository.
-2013/02/15::
- * Module amsfonts added.
-2013/02/25::
- * Patch file +lb2.err.diff+ removed by call of sed inside +build.pl+.
- * +README+ rewritten in text document format {AsciiDoc}
- and added as HTML and PDF files.
- * +README.asciidoc+ updated.
- * +Makefile+: Target `check-links' added.
-2013/02/26::
- * +README+ generated from +README.asciidoc+ via +README.html+.
-2013/02/27::
- * +README.asciidoc+: Additions and updates.
- * +README.pdf+ generated by wkhtmltopdf via +README.html+.
-2013/03/07::
- * Update of amslatex (amsrefs 2013/03/06 v2.13).
-2013/03/10::
- * Update of amslatex (amsrefs 2013/03/07 v2.14).
-2013/03/30::
- * Update of babel (3.9) including reorganization of language files.
-2014/02/03::
- * Removal of module babel. It has a new maintainer and the
- languages are now maintained separately.
- * Update of knuth (2014/01/19).
- * Update of base (errata lists: +lb2.err+, +tlc2.err+).
-2014/05/03::
- * Update of LaTeX, release 2014/05/01
- using public subversion repository of LaTeX2e.
- Modules: base, cyrillic, graphics, tools.
- * Line ends are normalized in source text files of the LaTeX modules.
- Trailing spaces are removed and the line ends are Unix line ends.
- * Update of armtex (needed to generate module base).
- * New options +--vcs+ and +--vcs-update+ for using the files of
- the public source repository of the LaTeX project.
-2014/05/05::
- * Using LaTeX modules from CTAN.
-2014/05/08::
- * Update of base and graphics.
- * +README.html+ with Unix line ends.
- * ZIP file for CTAN upload with top level directory +latex-tds+.
-2014/05/10::
- * Module cyrillic: Missing +00readme.txt+ added.
-2014/05/15::
- * Module base: +fix-cm+ updated (2014/05/13 v1.1q).
- * Module tools: +tabularx+ updated (2014/05/13 v2.10).
- * Module tools: +readme.txt+ renamed to +00readme.txt+.
- * Module knuth: +.web+ files are put below +TDS:web/knuth//+.
-2014/05/16::
- * Module base: Formatting of +ltnews.pdf+ fixed.
- * +fix-expl3-lua.ini+ added to support putting package expl into a format.
- * Script +check-tds-installation.pl+ added.
- * Module amslatex: +TDS:bibtex/bst/ams+ renamed to +TDS:bibtex/bst/amscls+.
-2014/05/21::
- * Module amslatex: Sources for +amsbooka+ added.
-2014/06/12::
- * Module base: Update of +fixltx2e.dtx+.
-2014/09/17::
- * Module tools: Update of packages +varioref+ and +multicol+.
- * Module base: Update of +fixltx2e+.
-2014/11/03::
- * Module base: Update (2014-10-12).
- * Module tools: Update (2014-10-28).
-2014/11/12::
- * Module graphics: Update (2014-11-07).
- * Modules base, cyrillic, graphics, tools:
- +00readme.txt+ renamed to +README+.
- * Module amslatex: Missing +amsbooka.zip+ added to directory +patch+
- (until it is resolved at the AMS side).
diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl
deleted file mode 100755
index 3179b7c3ef6..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/build.pl
+++ /dev/null
@@ -1,2207 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-$^W=1;
-
-my $prj = 'latex-tds';
-my $file = 'build.pl';
-my $version = '1.192';
-my $date = '2014-11-12';
-my $author = 'Heiko Oberdiek';
-my $copyright = "Copyright 2006-2014 $author";
-chomp(my $license = <<"END_LICENSE");
-% $copyright
-%
-% This file is part of project `$prj'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `$prj' and additional information.
-%
-END_LICENSE
-
-my $time_start = time;
-
-my $url_ctan = 'ftp://dante.ctan.org/tex-archive';
-my $url_ams = 'ftp://ftp.ams.org/pub/tex';
-my $url_ltxprj = 'http://www.latex-project.org/';
-
-my @required_list = (
- 'amslatex',
- 'psnfss',
- 'cyrillic',
- 'graphics',
- 'tools'
-);
-my @pkg_list = (
- 'base',
- @required_list,
- $prj,
- 'source',
- 'tds',
- 'knuth',
- 'etex',
- 'amsfonts',
-);
-
-my $zip_comment = <<'END_ZIP_COMMENT';
-***************************************************
-* This file is part of project 'latex-tds', see *
-* CTAN:macros/latex/contrib/latex-tds/README.html *
-***************************************************
-END_ZIP_COMMENT
-
-my $error = "!!! Error:";
-
-my $dir_incoming = 'incoming';
-my $dir_incoming_ctan = "$dir_incoming/ctan";
-my $dir_incoming_ams = "$dir_incoming/ams";
-my $dir_incoming_ltxprj = "$dir_incoming/ltxprj";
-my $dir_ltxpub = "latex2e-public";
-my $dir_incoming_ltxpub = "$dir_incoming/$dir_ltxpub";
-my $dir_build = 'build';
-my $dir_lib = 'lib';
-my $dir_license = 'license';
-my $dir_tex = 'tex';
-my $dir_patch = 'patch';
-my $dir_patch_amsbooka = $dir_patch;
-my $dir_distrib = 'distrib';
-my $dir_build_distrib = "$dir_build/distrib";
-my $dir_build_distrib_data = "$dir_build_distrib/$prj";
-my $dir_texmf = 'texmf';
-
-my $prg_pwd = 'pwd';
-chomp(my $cwd = `$prg_pwd`);
-
-# cache directory
-use File::HomeDir;
-my $homedir = File::HomeDir->my_home;
-my $dir_cache;
-if ($homedir && -d "$homedir/.cache") {
- $dir_cache = "$homedir/.cache/latex-tds";
- -d $dir_cache or mkdir $dir_cache
- or die "$error Cannot make directory `$dir_cache'!\n";
- symlink $dir_cache, "$cwd/cache";
-}
-else {
- $dir_cache = "$cwd/cache";
-}
-
-my $jar_pdfbox_rewrite = "$cwd/$dir_lib/pdfbox-rewrite.jar";
-my $jar_multivalent = "$cwd/$dir_lib/Multivalent20060102.jar";
-
-my $file_zip_comment = "$cwd/$dir_build/zip-comment.txt";
-my $file_tmp = "$cwd/$dir_build/tmp.pdf";
-my $file_tmp_o = "$cwd/$dir_build/tmp-o.pdf";
-my $file_ctan_distrib = "$cwd/$prj.zip";
-
-my $file_ziptimetree = get_perl_script('ziptimetree');
-my $file_adjust_checksum = get_perl_script('adjust_checksum');
-
-my $prg_asciidoc = 'asciidoc';
-my $prg_bibtex = 'bibtex';
-my $prg_checksum = $file_adjust_checksum;
-my $prg_chmod = 'chmod';
-my $prg_cp = 'cp -p';
-my $prg_curl = 'curl';
-my $prg_docstrip = 'tex -shell-escape';
-my $prg_epstopdf = 'epstopdf';
-my $prg_find = 'find';
-# my $prg_java = '/work/java-1.5.0/bin/java';
-# java 1.6 don't work with the used version of Multivalent
-my $prg_java = 'java';
-my $prg_kpsewhich = 'kpsewhich';
-my $prg_ls = "ls";
-my $prg_makeindex = 'makeindex';
-my $prg_mkdir = 'mkdir';
-my $prg_mv = 'mv';
-my $prg_patch = 'patch';
-my $prg_lowriter = 'lowriter';
-my $prg_lualatex = 'lualatex';
-my $prg_lualatextds = "lualatex -fmt=$cwd/$dir_build/lualatex-tds";
-my $prg_lualatextds2 = "lualatex -fmt=$cwd/$dir_build/lualatex-tds2";
-my $prg_pdflatex = 'pdflatex';
-my $prg_pdflatextds = "pdflatex -fmt=$cwd/$dir_build/pdflatex-tds";
-my $prg_pdftex = 'pdftex';
-my $prg_recode = 'recode';
-my $prg_rm = 'rm';
-my $prg_rsync = 'rsync';
-my $prg_sed = "sed";
-my $prg_sort = 'sort';
-my $prg_svn = 'svn';
-my $prg_texhash = 'texhash';
-my $prg_unzip = 'unzip';
-my $prg_w3m = 'w3m';
-my $prg_weave = 'weave';
-my $prg_wget = 'wget';
-my $prg_wkhtmltopdf = 'wkhtmltopdf'; # with patched qt
-my $prg_zip = 'zip';
-my $prg_ziptimetree = $file_ziptimetree;
-
-my $prg_latextds = $prg_lualatextds; ### temporarily
-
-$ENV{'TEXINPUTS'} = "$cwd/tex:.:texmf/tex//:";
-$ENV{'BSTINPUTS'} = '.:texmf/bibtex//:'; # amslatex
-$ENV{'TFMFONTS'} = 'texmf/fonts/tfm//:'; # psnfss
-$ENV{'VFFONTS'} = 'texmf/fonts/vf//:'; # psnfss
-$ENV{'INDEXSTYLE'} = '.:texmf/makeindex//:'; # babel
-if ($ENV{'TEXMFHOME'}) {
- $ENV{'TEXMFHOME'} = "$cwd/$dir_texmf:$ENV{'TEXMFHOME'}";
-}
-else {
- $ENV{'TEXMFHOME'} = "$cwd/$dir_texmf:$ENV{'HOME'}/texmf:";
-}
-
-sub install ($@);
-my $final = 0;
-sub final_begin ();
-sub final_end ();
-sub final_ok ();
-
-### Print title
-{
- my $line = "Building $prj, $date $version, $copyright";
- print "$line\n", "=" x length($line), "\n";
-}
-
-### Option handling
-
-my $usage = <<"END_OF_USAGE";
-Usage: build.pl [options]
-General options:
- --(no)download (check for newer files, disabled by default)
- --(no)vcs (use version control files)
- --(no)vcs-update (update version control files)
- --(no)postprocess (pdf files are postprocessed, enabled by default)
- --(no)cache (use cached pdf files, enabled by default)
-Module options:
- --all (select all modules)
-END_OF_USAGE
-map { $usage .= " --(no)$_\n"; } @pkg_list;
-
-my $opt_download = 0;
-my $opt_vcs = 0;
-my $opt_vcs_update = 0;
-my $opt_postprocess = 0;
-my $opt_cache = 1;
-my $opt_all = 0;
-my %modules;
-my @list_modules;
-
-use Getopt::Long;
-GetOptions(
- ( map { ("$_!" => \$modules{$_}); } @pkg_list ),
- 'all' =>
- sub {
- $opt_all = 1;
- map { $modules{$_} = 1; } @pkg_list;
- },
- 'download!' => \$opt_download,
- 'vcs!' => \$opt_vcs,
- 'vcs-update!' => \$opt_vcs_update,
- 'postprocess!' => \$opt_postprocess,
- 'cache!' => \$opt_cache,
-) or die $usage;
-@ARGV == 0 or die $usage;
-@list_modules = grep { $modules{$_}; } @pkg_list;
-
-info("Build modules: @list_modules");
-
-### Helper functions
-
-sub cd ($) {
- my $dir = shift;
- chdir $dir or die "$error Cannot change to directory `$dir'!\n";
-}
-
-### Line end sanitizing
-
-sub lf ($) {
- my $file = shift;
- open(IN, '<', $file) or die "!!! Error: Cannot open `$file'!\n";
- my @lines = <IN>;
- close(IN);
- my $found = 0;
- $found += s/\s+$/\n/ for @lines;
- if ($found) {
- open(OUT, '>', $file) or die "!!! Error: Cannot write `$file'!\n";
- print OUT @lines;
- close(OUT);
- print "--> lf($file): $found line(s) fixed.\n";
- }
- else {
- print "--> lf($file): nothing to do.\n";
- }
-}
-
-### Format generation
-if (@list_modules > 0) {
- section('Format generation');
-
- ensure_directory($dir_build);
-
- sub make_ini ($$) {
- my $prg = shift;
- my $fmt = shift;
- if (-f "$dir_cache/$fmt.fmt" and -f "$dir_cache/$fmt.log"
- and (stat "$dir_cache/$fmt.fmt")[9] > (stat "$cwd/tex/$fmt.ini")[9]
- ) {
- run("$prg_cp $dir_cache/$fmt.fmt $dir_cache/$fmt.log .");
- }
- else {
- run("$prg -ini -etex $cwd/tex/$fmt.ini");
- run("$prg_cp $fmt.fmt $fmt.log $dir_cache");
- }
- }
-
- cd $dir_build;
- make_ini($prg_pdflatex, 'pdflatex-tds');
- make_ini($prg_lualatex, 'lualatex-tds');
- make_ini($prg_lualatex, 'lualatex-tds2');
- cd $cwd;
-}
-
-### Download
-{
- section('Download');
-
- sub download_ctan_file ($$) {
- my $file = shift;
- my $ctan_path = shift;
- $ctan_path .= '/' if $ctan_path ne '';
- ensure_directory($dir_incoming_ctan);
- download("$dir_incoming_ctan/$file",
- "$url_ctan/$ctan_path$file");
- }
- sub download_ctan ($$) {
- my $file = shift;
- my $ctan_path = shift;
- download_ctan_file("$file.zip", $ctan_path);
- }
- sub download_ams ($$) {
- my $file = shift;
- my $ams_path = shift;
- $ams_path .= '/' if $ams_path ne '';
- ensure_directory($dir_incoming_ams);
- download("$dir_incoming_ams/$file.zip",
- "$url_ams/$ams_path$file.zip");
- }
- sub download_err ($) {
- my $name = shift;
- ensure_directory($dir_incoming_ltxprj);
- download("$dir_incoming_ltxprj/$name.err",
- "$url_ltxprj/guides/$name.err");
- }
- sub download ($$) {
- my $file = shift;
- my $url = shift;
- return 1 if -f $file and !$opt_download;
- info("download $url\n --> $file");
- my $cmd = $prg_curl;
- $cmd .= " -4";
- $cmd .= " --disable-epsv"; # for ftp.ams.org
- $cmd .= " --time-cond $file" if -f $file; # download only if newer
- $cmd .= " --remote-time"; # set file date
- $cmd .= " --output $file"; # target file
- $cmd .= " $url"; # url
- run($cmd);
- -f $file or die "$error Download failed ($url)!\n";
- }
-
- download_ctan('base', 'macros/latex');
- download_ctan('doc', 'macros/latex');
- download_ctan('tools', 'macros/latex/required');
- download_ctan('graphics', 'macros/latex/required');
- download_ctan('cyrillic', 'macros/latex/required');
- download_ctan('amslatex', 'macros/latex/required');
- download_ctan('amsrefs', 'macros/latex/contrib');
- download_ctan('amsrefs.tds', 'install/macros/latex/contrib');
- download_ctan('amscls.tds', 'install/macros/latex/required/amslatex');
- download_ctan('math.tds', 'install/macros/latex/required/amslatex');
- download_ctan('amsfonts.tds', 'install/fonts/');
- download_ctan('psnfss', 'macros/latex/required');
- download_ctan('tds', '');
- download_ctan('texware', 'systems/knuth/dist');
- download_ctan('mfware', 'systems/knuth/dist');
- download_ctan('etc', 'systems/knuth/dist');
- download_ctan('web', 'systems/knuth/dist');
- download_ctan('tex', 'systems/knuth/dist');
- download_ctan('mf', 'systems/knuth/dist');
- download_ctan('errata', 'systems/knuth/dist');
- download_ctan('etex_doc', 'systems/e-tex/v2.1');
- download_ams('amscls', '');
- download_ams('amsmath', '');
- # download_ams('amsrefs', 'amslatex/amsrefs');
- # download_ams('amsrefs', '');
- # download_ams('amslatex', '');
- # download_ams('amsrefs-tds', 'amslatex/amsrefs');
- # download_ams('amsrefs-ctan', 'amslatex/amsrefs');
- download_ams('amsrefs', 'amsrefs');
- download_err('manual');
- download_err('lb2');
- download_err('lgc2');
- download_err('tlc2');
- download_ctan_file('armtex.zip', 'language/armenian');
-}
-
-### VCS
-{
- section('VCS');
-
- if ($opt_vcs_update) {
- if (-d "$dir_incoming_ltxpub/.svn") {
- cd $dir_incoming_ltxpub;
- run("$prg_svn update");
- }
- else {
- cd $dir_incoming;
- run("$prg_svn checkout http://latex-project.org/svnroot/latex2e-public/ $dir_ltxpub");
- }
- cd $cwd;
- }
-}
-
-
-### Remove previous build
-section('Remove previous build');
-{
- foreach my $pkg (@list_modules) {
- run("$prg_rm -rf $dir_build/$pkg");
- my $distribfile = "$dir_distrib/$pkg.zip";
- unlink $distribfile if -f $distribfile;
- }
- if ($opt_all) {
- unlink $file_ctan_distrib if -f $file_ctan_distrib;
- }
-}
-
-### Unpack
-section('Unpacking');
-{
- my $texmf_ams = "$dir_build/amslatex/texmf";
-
- sub unpacking ($$$) {
- my $pkg = shift;
- $modules{$pkg} or return 1;
- my $zipfile = shift;
- my $dir = shift;
- run("$prg_unzip $zipfile -d$dir");
- }
- sub unpacking_flat ($$$) {
- my $pkg = shift;
- $modules{$pkg} or return 1;
- my $zipfile = shift;
- my $dir = shift;
- run("$prg_unzip -j $zipfile -d$dir");
- }
- sub unpack_ctan ($) {
- my $pkg = shift;
- $modules{$pkg} or return 1;
- unpacking($pkg,
- "$dir_incoming_ctan/$pkg.zip",
- $dir_build);
- }
- sub unpack_ams ($$) {
- my $name = shift;
- my $zip = shift;
- $modules{'amslatex'} or return 1;
- unpacking('amslatex', $zip, "$texmf_ams");
- my $src = "$dir_build/amslatex/$name";
- ensure_directory($src);
- run("$prg_cp $texmf_ams/source/latex/$name/* $src/");
- }
- sub unpack_psnfss ($) {
- my $name = shift;
- my $dir = "$dir_build/psnfss";
- $modules{'psnfss'} or return 1;
- unpacking('psnfss',
- "$dir/$name.zip",
- "$dir/texmf");
- }
- sub unpack_knuth ($) {
- my $pkg = 'knuth';
- my $dir = "$dir_build/$pkg";
- my $zipfile = "$dir_incoming_ctan/$_[0].zip";
- $modules{$pkg} or return 1;
- run("$prg_unzip -j $zipfile -d$dir");
- }
-
- sub eols (@) {
- for my $pat (@_) {
- for my $file (glob "$dir_build/$pat") {
- next if $file =~ /\.(?:pdf|zip)$/i;
- lf $file;
- }
- }
- }
-
- ensure_directory($dir_build);
-
- if ($modules{'base'}) {
- ensure_directory("$dir_build/base");
- if ($opt_vcs) {
- run("$prg_cp -r $dir_incoming_ltxpub/base/* $dir_build/base/");
- run("$prg_cp $dir_incoming_ltxpub/doc/*.tex $dir_build/base/");
- }
- else {
- unpack_ctan('base');
- # replace .err files
- foreach my $name (qw[
- lb2
- lgc2
- manual
- tlc2
- ]) {
- my $file = "$dir_incoming_ltxprj/$name.err";
- my $dest = "$dir_build/base/$name.err";
- run("$prg_cp $file $dest");
- }
- run("$prg_rm -rf $dir_build/base/doc");
- unpacking('base',
- "$dir_incoming_ctan/doc.zip",
- "$dir_build/base");
- run("$prg_cp -p $dir_build/base/doc/*.tex $dir_build/base/");
- }
- unpacking('base',
- "$dir_incoming_ctan/armtex.zip",
- "$dir_build/base");
- eols("base/*") if $modules{'base'};
- }
-
- map {
- ensure_directory("$dir_build/$_");
- if ($opt_vcs and /cyrillic|graphics|tools/) {
- run("$prg_cp -r $dir_incoming_ltxpub/required/$_/* $dir_build/$_/");
- }
- else {
- unpack_ctan($_);
- }
- eols("$_/*") if $modules{$_};
- } @required_list;
-
- if ($modules{'amslatex'}) {
- unpack_ams('amscls', "$dir_incoming_ctan/amscls.tds.zip");
- # Rename TDS:bibtex/bst/ams -> TDS:bibtex/bst/amscls
- my $dir_bibtex_ams = "$dir_build/amslatex/texmf/bibtex/bst/ams";
- my $dir_bibtex_amscls = "${dir_bibtex_ams}cls";
- run("$prg_mv $dir_bibtex_ams $dir_bibtex_amscls") if
- -d $dir_bibtex_ams and not -d $dir_bibtex_amscls;
- unpack_ams('amsrefs', "$dir_incoming_ctan/amsrefs.tds.zip");
- unpack_ams('amsmath', "$dir_incoming/ctan/math.tds.zip");
- #unpack_ams('amsrefs', "$dir_incoming_ams/amsrefs.zip");
- #unpack_ams('amsmath', "$dir_incoming_ams/amsmath.zip");
- ## because of 00readme.txt and amsrefs.dtx
- ## 2012-05-08: 00readme.txt is renamed to README.
- ## 2012-05-08: amsrefs.dtx is fixed on CTAN.
- ##unpacking('amslatex',
- ## "$dir_incoming_ctan/amsrefs.zip",
- ## "$dir_build/amslatex/ctan");
- ##run("$prg_cp $dir_build/amslatex/ctan/amsrefs/README "
- ## . "$dir_build/amslatex/texmf/source/latex/amsrefs/README");
- # run("$prg_cp $dir_build/amslatex/ctan/amsrefs/amsrefs.dtx "
- # . "$dir_build/amslatex/texmf/source/latex/amsrefs/amsrefs.dtx");
- unpacking_flat('amslatex',
- "$dir_patch_amsbooka/amsbooka.zip",
- "$dir_build/amslatex");
- }
-
- if ($modules{'amsfonts'}) {
- ensure_directory("$dir_build/amsfonts");
- unpacking('amsfonts',
- "$dir_incoming_ctan/amsfonts.tds.zip",
- "$dir_build/amsfonts/texmf");
- my $src = "$dir_build/amsfonts";
- ensure_directory($src);
- run("$prg_cp $dir_build/amsfonts/texmf/source/latex/amsfonts/* $src/");
- }
- unpack_psnfss('lw35nfss');
- unpack_psnfss('freenfss');
- unpack_ctan('tds');
- unpack_knuth('texware');
- unpack_knuth('mfware');
- unpack_knuth('etc');
- unpack_knuth('web');
- unpack_knuth('tex');
- unpack_knuth('mf');
- unpack_knuth('errata');
- unpacking_flat('etex',
- "$dir_incoming/ctan/etex_doc.zip",
- "$dir_build/etex");
-}
-
-### Patches
-section('Patches');
-{
- ; #
-
- if ($modules{'psnfss'}) {
- cd "$dir_build/psnfss";
- run("$prg_checksum psfonts.dtx");
- cd $cwd;
- }
-
- if ($modules{'knuth'}) {
- cd "$dir_build/knuth";
- my @files = qw[
- trip.fot
- tripin.log
- trip.log
- trip.typ
- ];
- run("$prg_chmod -x @files");
- @files = qw[
- trap.fot
- trapin.log
- trap.log
- trap.pl
- trap.typ
- ];
- run("$prg_chmod -x @files");
- cd $cwd;
- }
-
- if ($modules{'amslatex'}) {
- patch("amslatex/amsmath/amsldoc.tex");
- }
-}
-
-
-### Install TDS/source
-section('Install source');
-{
- sub install_gen_source ($$@) {
- my $fmt = shift;
- my $pkg = shift;
- my @list = @_;
- $modules{$pkg} or return 1;
- cd "$dir_build/$pkg";
- install "texmf/source/$fmt/$pkg", @list;
- cd $cwd;
- }
- sub install_generic_source ($$@) {
- my $pkg = shift;
- my $dir = shift;
- my @list = @_;
- $modules{$pkg} or return 1;
- cd "$dir_build/$pkg";
- install "texmf/source/$dir", @list;
- cd $cwd;
- }
- sub install_web_knuth ($@) {
- my $pkg = 'knuth';
- my $dir = shift;
- my @list = @_;
- $modules{$pkg} or return 1;
- cd "$dir_build/$pkg";
- install "texmf/web/$pkg/$dir", @list;
- cd $cwd;
- }
- sub install_source ($@) {
- my $pkg = shift;
- my @list = @_;
- install_gen_source('latex', $pkg, @list);
- }
-
- install_source 'base', qw[
- *.dtx
- *.fdd
- *.ins
- *.err
- *guide.tex
- ltnews*.tex
- ltx3info.tex
- latexbug.el
- source2e.tex
- ];
- install_source 'tools', qw[
- *.dtx
- *.ins
- ];
- install_source('graphics',
- '*.dtx',
- '*.ins',
- '*.tex'
- );
- install_source('cyrillic',
- '*.dtx',
- '*.fdd',
- '*.ins',
- );
- install_source('psnfss',
- 'psnfss2e.tex',
- '*.dtx',
- '*.ins'
- );
- install_gen_source('', 'tds', qw[
- Makefile
- tds2texi.el
- tdsguide.cls
- tds.sed
- tds.tex
- ]);
- install_web_knuth('texware', qw[
- dvitype.web
- pltotf.web
- pooltype.web
- tftopl.web
- ]);
- install_web_knuth('mfware', qw[
- gftodvi.web
- gftype.web
- gftopk.web
- mft.web
- ]);
- install_web_knuth('etc', qw[
- vptovf.web
- vftovp.web
- ]);
- install_web_knuth('web', qw[
- tangle.web
- weave.web
- ]);
- install_generic_source('knuth', 'knuth/web', qw[
- webman.tex
- ]);
- install_web_knuth('tex', qw[
- glue.web
- tex.web
- ]);
- install_generic_source('knuth', 'knuth/tex', qw[
- trip.fot
- tripin.log
- trip.log
- tripman.tex
- tripos.tex
- trip.pl
- trip.tex
- trip.typ
- ]);
- install_web_knuth('mf', qw[
- mf.web
- ]);
- install_generic_source('knuth', 'knuth/mf', qw[
- trap.fot
- trapin.log
- trap.log
- trap.mf
- trap.pl
- trap.typ
- trapman.tex
- ]);
- install_generic_source('knuth', 'knuth/errata', qw[
- errata.one
- errata.two
- errata.three
- errata.four
- errata.five
- errata.six
- errata.seven
- errata.eight
- errata.nine
- errata.ten
- errata.eleven
- errata.tex
- errorlog.tex
- logmac.tex
- ]);
- if ($modules{'amslatex'}) {
- cd "$dir_build/amslatex";
- install "texmf/source/latex/amscls", qw[
- amsbooka.dtx
- amsbooka.ins
- ];
- cd $cwd;
- }
-}
-
-### Patch source files after source install
-section('Patches after source install');
-{
- if ($modules{'base'}) {
- cd "$dir_build/base";
-
- # ltdirchk.dtx must be patched to fool it in
- # not having texsys.cfg
- {
- my $file_dtx = 'ltdirchk.dtx';
- my $file_org = 'ltdirchk.dtx.org';
- rename $file_dtx, $file_org;
- open(IN, '<', $file_org) or die "$error Cannot open `$file_org'!\n";
- open(OUT, '>', $file_dtx) or die "$error Cannot write `$file_dtx'!\n";
- while (<IN>) {
- s/openin15=texsys.cfg/openin15=texsys.cfg-not-found/;
- print OUT;
- }
- close(OUT);
- close(IN);
- }
-
- cd $cwd;
-
- lf("$dir_build/base/encguide.tex");
- patch('base/encguide.tex');
- patch('base/source2e.tex');
- patch('base/tlc2.err');
- patch('base/utf8ienc.dtx');
- #
- # lb2.err contains <CR><LF> line endings, a patch file
- # created by diff in Linux would create mixed line endings
- # causing trouble for subversion (Karl Berry).
- # Therefore the percent character is inserted by sed.
- run("$prg_sed -i -e '"
- . 's/\\\\usepackage\[latin1]{inputenc}/%\\\\usepackage[latin1]{inputenc}/'
- . "' $dir_build/base/lb2.err");
- run("$prg_recode latin1..utf8 $dir_build/base/lb2.err");
- }
-
- if ($modules{'knuth'}) {
- foreach my $file (qw[
- errorlog.tex
- logmac.tex
- trapman.tex
- tripman.tex
- webman.tex
- ]) {
- patch("knuth/$file");
- }
- }
-
- if ($modules{'amslatex'}) {
- patch("amslatex/amscls/amsclass.dtx");
- patch("amslatex/amsrefs/changes.tex");
- run("$prg_recode latin1..utf8 $dir_build/amslatex/amsrefs/changes.tex");
- }
-
- if ($modules{'amsfonts'}) {
- patch("amsfonts/amsfndoc.def");
- patch("amsfonts/amsfndoc.tex");
- }
-}
-
-### Docstrip
-section('Docstrip');
-{
- sub docstrip ($$) {
- my $pkg = shift;
- my $ins = shift;
- $modules{$pkg} or return 1;
- cd "$dir_build/$pkg";
- run("$prg_docstrip $ins.ins");
- cd $cwd;
- 1;
- }
- docstrip('base', 'unpack');
- docstrip('psnfss', 'psfonts');
- docstrip('cyrillic', 'cyrlatex');
- docstrip('graphics', 'graphics');
- docstrip('graphics', 'graphics-drivers');
- docstrip('tools', 'tools');
- docstrip('amslatex', 'amsbooka');
-
- ## patch for amsthm.sty, part 1/2
- #if ($modules{'amslatex'}) {
- # cd "$dir_build/amslatex/amscls";
- # run("$prg_docstrip ams-c1.ins");
- # cd $cwd;
- #}
-}
-
-section('TDS cleanup');
-{
- if ($modules{'amslatex'}) {
- my $dir_tds = "$dir_build/amslatex/texmf";
- sub cleanup_tds ($@) {
- my $sub_tree = shift;
-
- my @list = map { glob("$dir_tds/$sub_tree/$_"); } @_;
- unlink grep { -f $_; } @list;
- map { rmdir; } grep { -d $_; } @list;
- }
-
- cleanup_tds 'source/latex/amscls', qw[
- *.bst
- *.template
- diffs-c.txt
- ];
- run(sprintf "%s %s %s",
- $prg_mv,
- "$dir_tds/source/latex/amsmath/diffs-m.txt",
- "$dir_tds/doc/latex/amsmath/"
- );
- cleanup_tds 'source/latex/amsmath', qw[
- amstex.sty
- ];
- {
- my @list = map { glob("$dir_tds/source/latex/amsrefs/$_"); } qw[
- amsrefs.faq
- ];
- # 2013-02-13: Classified as test files that remain in
- # the source tree:
- # cite-x*.tex jr.bib
- map { run("$prg_mv $_ $dir_tds/doc/latex/amsrefs/"); } @list;
- }
- }
-}
-
-### Install TDS/tex, TDS/doc files
-section('Install tex doc');
-{
- sub check_readme ($) {
- my $module = shift;
- # my $readme = $module eq 'tools' ? 'readme.txt' : '00readme.txt';
- # my $readme = '00readme.txt'; # since LaTeX revision 307
- # Since LaTeX 2014-11 switch to README.
- my $readme = 'README';
- # if (-f "README" and not -f $readme) {
- # run("$prg_cp README $readme");
- # }
- if (-f '00readme.txt' and not -f $readme) {
- run("$prg_cp 00readme.txt $readme");
- }
- -f $readme or
- die "!!! Errror($module): Missing readme!\n";
- -f "readme.txt" and -f "00readme.txt" and
- die "!!! Error($module): Duplicate readme!\n";
- }
-
- if ($modules{'base'}) {
- cd "$dir_build/base";
- check_readme 'base';
- install 'texmf/doc/latex/base', qw[
- README
- autoload.txt
- bugs.txt
- changes.txt
- l*.txt
- manifest.txt
- patches.txt
- t*.txt
- ];
- install 'texmf/tex/latex/base', qw[
- *.cls
- ltpatch.ltx
- idx.tex
- lablst.tex
- latexbug.tex
- lppl.tex
- testpage.tex
- ltxcheck.tex
- sample2e.tex
- small2e.tex
- ];
- install 'texmf/tex/latex/base', qw[
- texsys.cfg
- ];
- cd $cwd;
- }
-
- if ($modules{'tools'}) {
- cd "$dir_build/tools";
- check_readme 'tools';
- install 'texmf/doc/latex/tools', qw[
- changes.txt
- manifest.txt
- README
- ];
- cd $cwd;
- }
-
- if ($modules{'graphics'}) {
- cd "$dir_build/graphics";
- check_readme 'graphics';
- install 'texmf/doc/latex/graphics', qw[
- README
- *.txt
- ];
- install('texmf/tex/latex/graphics',
- '*.def'
- );
- cd $cwd;
- }
-
- if ($modules{'cyrillic'}) {
- cd "$dir_build/cyrillic";
- check_readme 'cyrillic';
- install 'texmf/doc/latex/cyrillic', qw[
- README
- *.txt
- ];
- cd $cwd;
- }
-
- if ($modules{'psnfss'}) {
- cd "$dir_build/psnfss";
- install('texmf/doc/latex/psnfss',
- '*.txt'
- );
- install('texmf/doc/latex/psnfss/test',
- '*test*.tex'
- );
- install('texmf/fonts/enc/dvips/psnfss',
- '8r.enc'
- );
- install('texmf/fonts/map/dvips/psnfss',
- '*.map'
- );
- cd $cwd;
- }
-
- if ($modules{'tds'}) {
- cd "$dir_build/tds";
- install('texmf/doc/tds', qw[
- README
- ChangeLog
- tds.html
- ]);
- install('texmf/doc/info', qw[
- tds.info
- ]);
- cd $cwd;
- }
-
- if ($modules{'knuth'}) {
- cd "$dir_build/knuth";
- install('texmf/doc/knuth/tex', qw[
- texbook.tex
- ]);
- install('texmf/doc/knuth/mf', qw[
- mfbook.tex
- ]);
- install('texmf/doc/knuth/errata', qw[
- cm85.bug
- mf84.bug
- tex82.bug
- ]);
- cd $cwd;
- }
-
- if ($modules{'etex'}) {
- cd "$dir_build/etex";
- my $doc_dir = 'texmf/doc/etex/base';
- my $src_dir = 'texmf/source/etex/base';
- ensure_directory($doc_dir);
- ensure_directory($src_dir);
- install($src_dir, qw[
- etex_man.tex etex_man.sty
- ]);
- cd $cwd;
- }
-
- if ($modules{'amslatex'}) {
- cd "$dir_build/amslatex";
- install('texmf/tex/latex/amscls', 'amsbooka.sty');
- cd $cwd;
- }
-
- ## patch for amsthm.sty, part 2/2
- #if ($modules{'amslatex'}) {
- # cd "$dir_build/amslatex/amscls";
- # my $dest_dir = '../texmf/tex/latex/amscls';
- # ensure_directory($dest_dir);
- # install($dest_dir, 'amsthm.sty');
- # cd $cwd;
- #}
-}
-
-### Preparation for documentation
-if ($modules{'base'}) {
- my $dir_src = "$dir_build/base/armtex";
- run("$prg_cp -r $dir_build/base/armtex/* $dir_texmf/");
- run("$prg_texhash $dir_texmf");
-}
-
-### PDF caching
-my $count_cache = 0;
-my $count_generate = 0;
-sub cache ($$$) {
- my $dir = shift;
- my $name = shift;
- my $sub_generate = shift;
- ensure_directory("$dir_cache/$dir");
- my $file_cache_pdf = "$dir_cache/$dir/$name.pdf";
- my $file_cache_log = "$dir_cache/$dir/$name.log";
- my $file_here_pdf = "$name.pdf";
- my $file_here_log = "$name.log";
- my $generate = 1;
- $generate = 0
- if $opt_cache
- and -f $file_cache_pdf
- and -f $file_cache_log;
- if ($generate) {
- &$sub_generate;
- run("$prg_cp $file_here_pdf $file_cache_pdf");
- run("$prg_cp $file_here_log $file_cache_log");
- $count_generate++;
- }
- else {
- final_begin;
- run("$prg_cp $file_cache_pdf $file_here_pdf");
- run("$prg_cp $file_cache_log $file_here_log");
- final_end;
- $count_cache++;
- }
- final_ok;
- print "--- FINAL LOG: $file_cache_log ---\n\n";
-}
-
-### Generate documentation for base
-if ($modules{'base'}) {
- section('Documenation: base');
-
- sub base_guide ($) {
- my $guide = "$_[0]guide";
- cache 'base', $guide, sub {
- my $latextds = $prg_lualatextds;
- $latextds = $prg_lualatextds2 if $guide eq 'usrguide';
- $latextds = $prg_pdflatextds if $guide eq 'encguide';
- run("$latextds -draftmode $guide");
- run("$latextds -draftmode $guide");
- final_begin;
- run("$latextds $guide");
- final_end;
- };
- install_pdf('base', $guide);
- 1;
- }
- sub simple_gen ($$) {
- my $ext = shift;
- my $base = shift;
- my $file = "$base.$ext";
- my $latextds = $prg_lualatextds;
- $latextds = $prg_pdflatextds if $base eq 'utf8ienc';
- cache 'base', $base, sub {
- run("$latextds -draftmode $file");
- run("$latextds -draftmode $file");
- final_begin;
- run("$latextds $file");
- final_end;
- };
- install_pdf('base', $base);
- 1;
- }
- sub complex_dtx ($) {
- my $base = shift;
- my $dtx = "$base.dtx";
- cache 'base', $base, sub {
- run("$prg_lualatextds -draftmode $dtx");
- run_makeindex("$base.idx", 'gind.ist');
- run_makeindex("$base.glo", 'gglo.ist', "$base.gls");
- run("$prg_lualatextds -draftmode $dtx");
- run_makeindex("$base.idx", 'gind.ist');
- run_makeindex("$base.glo", 'gglo.ist', "$base.gls");
- run("$prg_lualatextds -draftmode $dtx");
- final_begin;
- run("$prg_lualatextds $dtx"); # hypdestopt
- final_end;
- };
- install_pdf('base', "$base");
- 1;
- }
- sub book_err ($) {
- my $base = shift;
- my $err = "$base.err";
- cache 'base', $base, sub {
- run("$prg_lualatextds -draftmode $err");
- run("$prg_sed -i -e '"
- . 's/\\\\endinput/\\\\input{errata.cfg}\\n\\\\endinput/'
- . "' $base.cfg");
- run("$prg_lualatextds -draftmode $err");
- run("$prg_lualatextds -draftmode $err");
- final_begin;
- run("$prg_lualatextds $err"); # hypdestopt
- final_end;
- };
- install_pdf('base', "$base");
- 1;
- }
- cd "$dir_build/base";
-
- ## source2e
- cache 'base', 'source2e', sub {
- run("$prg_lualatextds -draftmode source2e");
- run_makeindex('source2e.idx', 'gind.ist');
- run_makeindex('source2e.glo', 'gglo.ist', 'source2e.gls');
- run("$prg_lualatextds -draftmode source2e");
- run_makeindex('source2e.idx', 'gind.ist');
- run_makeindex('source2e.glo', 'gglo.ist', 'source2e.gls');
- run("$prg_lualatextds -draftmode source2e");
- final_begin;
- run("$prg_lualatextds source2e"); # hypdestopt
- final_end;
- };
- install_pdf('base', 'source2e');
-
- ## standard cases
- map { complex_dtx $_ } qw[
- classes
- doc
- docstrip
- letter
- ];
- map { simple_gen 'dtx', $_ } qw[
- alltt
- exscale
- fixltx2e
- graphpap
- ifthen
- inputenc
- latex209
- latexsym
- ltxdoc
- makeindx
- newlfont
- oldlfont
- proc
- slides
- syntonly
- utf8ienc
- ];
- map { simple_gen 'fdd', $_ } qw[
- cmfonts
- slifonts
- ];
- map { book_err $_ } qw[
- tlc2
- lb2
- lgc2
- webcomp
- ];
-
- ## manual.err
- run("$prg_sed -i -e '"
- . 's/\\\\documentclass{article}/'
- . '\\\\documentclass{article}\\n\\\\input{manual.cfg}/'
- . "' manual.err");
- cache 'base', 'manual', sub {
- run("$prg_lualatextds -draftmode manual.err");
- run("$prg_lualatextds -draftmode manual.err");
- final_begin;
- run("$prg_lualatextds manual.err"); # hypdestopt
- final_end;
- };
- install_pdf('base', 'manual');
-
- ## guides
- base_guide('cfg');
- base_guide('cls');
- base_guide('cyr');
- base_guide('enc');
- base_guide('fnt');
- base_guide('mod');
- base_guide('usr');
-
- ## lppl
- cache 'base', 'lppl', sub {
- run("$prg_lualatextds -draftmode doc_lppl");
- run("$prg_lualatextds -draftmode doc_lppl");
- final_begin;
- run("$prg_lualatextds doc_lppl"); # hypdestopt
- run("$prg_mv doc_lppl.pdf lppl.pdf");
- run("$prg_mv doc_lppl.log lppl.log");
- final_end;
- };
- install_pdf('base', 'lppl');
-
- ## ltxcheck
- cache 'base', 'ltxcheck', sub {
- run("$prg_lualatextds -draftmode ltxcheck.drv");
- final_begin;
- run("$prg_lualatextds ltxcheck.drv");
- final_end;
- };
- install_pdf('base', 'ltxcheck');
-
- ## ltx3info
- cache 'base', 'ltx3info', sub {
- my $code = <<'END_CODE';
-\let\SavedDocumentclass\documentclass
-\def\documentclass[#1]#2{
- \SavedDocumentclass[{#1}]{#2}
- \usepackage[colorlinks,pdfusetitle]{hyperref}
-}
-\input{ltx3info}
-END_CODE
- $code =~ s/\s//g;
- run("$prg_lualatextds -draftmode '$code'");
- run("$prg_lualatextds -draftmode '$code'");
- final_begin;
- run("$prg_lualatextds '$code'"); # hypdestopt
- final_end;
- };
- install_pdf('base', 'ltx3info');
-
- ## ltnews
- my $ltnewsMode_Single = 0;
- my $ltnewsMode_AllInOne = 1;
-
- my $ltnews = 'ltnews';
- my $lastissue = 0;
- map { $lastissue = $1 if /ltnews(\d+)\.tex/ and $lastissue < $1; }
- glob('ltnews*.tex');
- if ($ltnewsMode_AllInOne) {
- my $file_lastissue = 'ltnews-lastissue.cfg';
- open(LT, '>', $file_lastissue) or die "!!! Error: Cannot write `$file_lastissue'!\n";
- print LT "\\def\\lastissue{$lastissue}\n\\endinput\n";
- close(LT);
- cache 'base', $ltnews, sub {
- my $cmd_ltnews = "$prg_lualatextds $ltnews";
- run($cmd_ltnews);
- run($cmd_ltnews);
- final_begin;
- run($cmd_ltnews);
- final_end;
- };
- install_pdf('base', $ltnews);
- }
- if ($ltnewsMode_Single) {
- for (my $i = 1; $i <= $lastissue; $i++) {
- my $ltnews = 'ltnews';
- $ltnews .= '0' if $i < 10;
- $ltnews .= $i;
- cache 'base', $ltnews, sub {
- run("$prg_pdflatextds $ltnews");
- final_begin;
- run("$prg_pdflatextds $ltnews");
- final_end;
- };
- install_pdf('base', $ltnews);
- }
- }
-
- cd $cwd;
-}
-
-### Generate documentation for tools
-if ($modules{'tools'}) {
- section('Documentation: tools');
-
- cd "$dir_build/tools";
- my @list = glob("*.dtx");
- map { s/\.dtx$//; } @list;
- foreach my $entry (@list) {
- my $latextds = $prg_lualatextds;
- $latextds = $prg_pdflatextds if $entry eq 'bm'
- or $entry eq 'multicol';
- $latextds = $prg_lualatextds2 if $entry eq 'calc'
- or $entry eq 'rawfonts'
- or $entry eq 'showkeys';
- my $drv = "$entry.dtx";
- cache 'tools', $entry, sub {
- run("$latextds -draftmode $drv");
- run_makeindex("$entry.idx", 'gind.ist');
- run_makeindex("$entry.glo", 'gglo.ist', "$entry.gls");
- run("$latextds -draftmode $drv");
- run_makeindex("$entry.idx", 'gind.ist');
- run_makeindex("$entry.glo", 'gglo.ist', "$entry.gls");
- run("$latextds -draftmode $drv");
- final_begin;
- run("$latextds $drv"); # hypdestopt
- final_end;
- };
- install_pdf('tools', $entry);
- }
-
- # Generate overview
- my $infile = 'manifest.txt';
- my $texfile = "$cwd/$dir_tex/tools.tex";
- my @time = localtime(time);
- my ($mday, $month, $year) = splice @time, 3, 3;
- my $release_info = sprintf "%04d/%02d/%02d Tools overview (HO)",
- $year + 1900, $month + 1, $mday;
- my $tools_old = '';
- if (-f $texfile) {
- open(IN, '<', $texfile) or die "$error Cannot open `$texfile'!\n";
- while (<IN>) {
- $tools_old .= $_ unless $. < 3 and /^\\(NeedsTeXFormat|ProvidesFile)/;
- }
- close(IN);
- }
- my $tools_new = <<"END_HEADER";
-$license
-\\documentclass{tools-overview}
-\\begin{document}
-END_HEADER
- my $entry;
- my %db;
- open(IN, $infile) or die "$error Cannot open `$infile'!\n";
- while (<IN>) {
- next if /^%/;
- next if /^\s*$/;
- if (/^(\S+)\.dtx/) {
- $entry = $1;
- $db{$entry} = '';
- next;
- }
- s/\\(\w+)/\\cs{\1}/g;
- s/(LaTeX|TeX)/\\\1\{\}/g;
- s/`([^']+)'/\\emph{\1}/g;
- s/Indent The/Indent the/; # typo
- s/Requies/Requires/; # typo
- $db{$entry} .= $_;
- }
- close(IN);
- $db{'layout'} = <<'END_LAYOUT';
- Produces an overview of the layout of the current document.
-END_LAYOUT
- $db{'trace'} = <<'END_TRACE';
- The package helps to suppress and to control the amount of tracing
- output (\cs{tracingall}) by taming calc and making NFSS less noisy.
-END_TRACE
- for my $entry (sort keys %db) {
- my $text = $db{$entry};
- $text =~ s/^\s*/ /mg;
- chomp $text;
- $tools_new .= <<"END_ENTRY";
-\\entry{$entry}{%
-$text
-}%
-END_ENTRY
- }
- $tools_new .= <<'END_TRAILER';
-\end{document}
-END_TRAILER
- if ($tools_old eq $tools_new) {
- info("tools.tex is already uptodate");
- }
- else {
- open(OUT, ">$texfile") or die "$error Cannot open `$texfile'!\n";
- print OUT <<"END_FILE";
-\\NeedsTeXFormat{LaTeX2e}
-\\ProvidesFile{tools.tex}[$release_info]
-END_FILE
- print OUT $tools_new;
- close(OUT);
- info("tools.tex has changed");
- foreach my $ext (qw[pdf log]) {
- my $file_cache = "$dir_cache/tools/tools.$ext";
- unlink $file_cache if -f $file_cache;
- }
- }
- cache 'tools', 'tools', sub {
- final_begin;
- run("$prg_pdflatextds tools.tex");
- final_end;
- };
- install_pdf('tools', 'tools');
- cd $cwd;
-}
-
-### Generate documentation for cyrillic
-if ($modules{'cyrillic'}) {
- section('Documentation: cyrillic');
-
- cd "$dir_build/cyrillic";
- my @list = (glob("*.dtx"), glob("*.fdd"));
- foreach my $entry (@list) {
- my $base = $entry;
- $base =~ s/\.(dtx|fdd)$//;
- cache 'cyrillic', $base, sub {
- run("$prg_lualatextds -draftmode $entry");
- run("$prg_lualatextds -draftmode $entry");
- final_begin;
- run("$prg_lualatextds $entry"); # hypdestopt
- final_end;
- };
- install_pdf('cyrillic', $base);
- }
- cd $cwd;
-}
-
-### Generate documentation for graphics
-if ($modules{'graphics'}) {
- section('Documentation: graphics');
-
- cd "$dir_build/graphics";
- my @list = glob("*.dtx");
- map { s/\.dtx$//; } @list;
- foreach my $entry (@list) {
- cache 'graphics', $entry, sub {
- run("$prg_lualatextds -draftmode $entry.dtx");
- run("$prg_lualatextds -draftmode $entry.dtx");
- final_begin;
- run("$prg_lualatextds $entry.dtx"); # hypdestopt
- final_end;
- };
- install_pdf('graphics', $entry);
- }
- my $code = <<'END_CODE';
-\makeatletter
-\let\documentclass\@@end
-\input{grfguide}
-END_CODE
- $code =~ s/\s//g;
- run("$prg_lualatextds -draftmode '$code'");
- run("$prg_epstopdf a.ps");
- cache 'graphics', 'grfguide', sub {
- run("$prg_lualatextds -draftmode grfguide");
- run("$prg_lualatextds -draftmode grfguide");
- final_begin;
- run("$prg_lualatextds grfguide");
- final_end;
- };
- install_pdf('graphics', 'grfguide');
- cd $cwd;
-}
-
-sub makeindex ($) {
- my $doc = shift;
- my $style;
- $style = 'gind.ist' unless $doc eq 'amsldoc';
- run_makeindex("$doc.idx", $style);
-}
-
-sub bibtex ($) {
- my $doc = shift;
-
- if ($doc =~ /^cite-x[bh]$/) {
- run("$prg_bibtex $doc");
- }
-}
-
-### Generate documentation for amslatex
-if ($modules{'amslatex'}) {
- section('Documentation: amslatex');
-
- sub generate_doc ($$) {
- my $amspkg = shift;
- my $doc = shift;
- my $ams_drv = "$cwd/$dir_tex/ams.drv";
- my $latextds = $prg_lualatextds;
- $latextds = $prg_pdflatextds
- if $doc eq 'testmath'
- or $doc eq 'thmtest'
- or $doc eq 'cite-xs'
- or $doc eq 'mathscinet';
- $latextds = $prg_lualatextds2
- if $doc eq 'amsldoc'
- or $doc eq 'subeqn'
- or $doc eq 'textcmds';
- $latextds = $prg_pdflatex
- if $doc eq 'thmtest';
- $latextds = $prg_lualatex
- if $doc eq 'amsrdoc';
-
- symlink $ams_drv, "$doc.drv";
- cache 'amslatex', $doc, sub {
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- bibtex($doc);
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- run("$latextds -draftmode $doc.drv") if $doc eq 'amsrefs';
- final_begin;
- run("$latextds $doc.drv");
- final_end;
- };
- install_pdf($amspkg, $doc);
- }
-
- cd "$dir_build/amslatex/amsmath";
- symlink '../texmf', 'texmf';
- map { generate_doc 'amsmath', $_; } qw[
- amsldoc subeqn technote testmath
- amsbsy amscd amsgen amsmath amsopn amstext amsxtra
- ];
- cd $cwd;
-
- cd "$dir_build/amslatex/amscls";
- symlink '../texmf', 'texmf';
- map { generate_doc 'amscls', $_; } qw[
- amsthdoc instr-l thmtest
- amsclass amsdtx amsmidx upref
- ];
- cd $cwd;
-
- cd "$dir_build/amslatex";
- generate_doc 'amscls', 'amsbooka';
- cd $cwd;
-
- cd "$dir_build/amslatex/amsrefs";
- symlink '../texmf', 'texmf';
- map { generate_doc 'amsrefs', $_; } qw[
- amsrdoc changes
- amsrefs amsxport ifoption mathscinet pcatcode rkeyval textcmds
- ];
- # 2013-02-13: Excluded as test files:
- # cite-xa cite-xb cite-xh cite-xs
- cd $cwd;
-}
-
-if ($modules{'amsfonts'}) {
- section('Documentation: amsfonts');
-
- sub generate_doc2 ($$) {
- my $amspkg = shift;
- my $doc = shift;
- my $ams_drv = "$cwd/$dir_tex/ams.drv";
- my $latextds = $prg_lualatextds;
- $latextds = $prg_pdflatextds
- if $doc eq 'eufrak'
- or $doc eq 'euscript';
-
- symlink $ams_drv, "$doc.drv";
- cache 'amsfonts', $doc, sub {
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- bibtex($doc);
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- run("$latextds -draftmode $doc.drv");
- makeindex($doc);
- final_begin;
- run("$latextds $doc.drv");
- final_end;
- };
- install_gen_pdf('fonts', $amspkg, $doc);
- }
-
- cd "$dir_build/amsfonts";
- map {generate_doc2 'amsfonts', $_; } qw[
- amsfonts amssymb cmmib57 eufrak euscript
- ];
- # plain: amsfndoc
- {
- my $doc = 'amsfndoc';
- cache 'amslatex', $doc, sub {
- run("$prg_pdftex -draftmode $doc.tex");
- final_begin;
- run("$prg_pdftex $doc.tex");
- final_end;
- };
- }
- install_gen_pdf('fonts', 'amsfonts', 'amsfndoc');
- cd $cwd;
-}
-
-### Generate documentation for psnfss
-if ($modules{'psnfss'}) {
- section('Documentation: psnfss');
-
- cd "$dir_build/psnfss";
-
- cache 'psnfss', 'psfonts', sub {
- run("$prg_pdflatextds -draftmode psfonts.dtx");
- final_begin;
- run("$prg_pdflatextds psfonts.dtx");
- final_end;
- };
- install_pdf('psnfss', 'psfonts');
-
- cache 'psnfss', 'psnfss2e', sub {
- run("$prg_pdflatextds -draftmode psnfss2e.drv");
- run("$prg_pdflatextds -draftmode psnfss2e.drv");
- final_begin;
- run("$prg_pdflatextds psnfss2e.drv");
- final_end;
- };
- install_pdf('psnfss', 'psnfss2e');
-
- cd $cwd;
-}
-
-### Generate documentation for tds
-if ($modules{'tds'}) {
- section('Documentation: tds');
-
- cd "$dir_build/tds";
-
- my $file_tds = 'tds.tex';
- my $file_tds_new = 'tds.new';
-
- # make nicer references and use CVS date instead of current date
- open(IN, $file_tds) or die "$error Cannot open `$file_tds'!\n";
- open(OUT, '>', $file_tds_new) or die "$error Cannot write `$file_tds_new'!\n";
- while (<IN>) {
- s/Appendix~\\ref/\\appref/g;
- s/Section~\\ref/\\secref/g;
- if (/^% \$Id:.* (\d\d\d\d)\/(\d\d)\/(\d\d) /) {
- print OUT <<"END_TEXT";
-\\year=$1\\relax
-\\month=$2\\relax
-\\day=$3\\relax
-END_TEXT
- }
- print OUT;
- }
- close(OUT);
- close(IN);
-
- cache 'tds', 'tds', sub {
- unlink('tds.aux');
- run("$prg_lualatextds -draftmode $file_tds_new");
- run("$prg_lualatextds -draftmode $file_tds_new");
- final_begin;
- run("$prg_lualatextds $file_tds_new");
- final_end;
- };
- install_gen_pdf('', 'tds', 'tds');
-
- cd $cwd;
-}
-
-### Generate documentation for knuth
-if ($modules{'knuth'}) {
- section('Documentation: knuth');
-
- cd "$dir_build/knuth";
-
- my $knuth_drv = "$cwd/$dir_tex/knuth.drv";
-
- sub generate_web_doc ($@) {
- my $dir = shift;
- my @list = @_;
-
- foreach my $entry (@list) {
- symlink $knuth_drv, "$entry.drv";
- cache 'knuth', $entry, sub {
- run("$prg_weave $entry.web")
- unless $entry eq 'webman'
- or $entry eq 'tripman'
- or $entry eq 'trapman';
- run("$prg_pdftex -draftmode $entry.drv");
- final_begin;
- run("$prg_pdftex $entry.drv");
- final_end;
- };
- install_gen_pdf('knuth', $dir, $entry);
- }
- }
-
- generate_web_doc('texware', qw[
- dvitype
- pltotf
- pooltype
- tftopl
- ]);
- generate_web_doc('mfware', qw[
- gftodvi
- gftype
- gftopk
- mft
- ]);
- generate_web_doc('etc', qw[
- vptovf
- vftovp
- ]);
- generate_web_doc('web', qw[
- tangle
- weave
- webman
- ]);
- generate_web_doc('tex', qw[
- glue
- tex
- ]);
- generate_web_doc('mf', qw[
- mf
- ]);
-
- cache 'knuth', 'tripman', sub {
- final_begin;
- run("$prg_pdftex tripman");
- final_end;
- };
- install_gen_pdf('knuth', 'tex', 'tripman');
-
- cache 'knuth', 'trapman', sub {
- final_begin;
- run("$prg_pdftex trapman");
- final_end;
- };
- install_gen_pdf('knuth', 'mf', 'trapman');
-
- symlink "$cwd/$dir_tex/errorlog.drv", 'errorlog.drv';
- cache 'knuth', 'errorlog', sub {
- final_begin;
- run("$prg_pdftex errorlog.drv");
- final_end;
- };
- install_gen_pdf('knuth', 'errata', 'errorlog');
-
- # last bug date is used for errata.tex's today
- {
- open(IN, '<', 'errata.tex') or die "$error Cannot open `errata.tex'!\n";
- my @lines = <IN>;
- close(IN);
-
- my ($day, $month, $year) = (0, 0, 0);
- sub xdays {
- my $y = shift;
- my $m = shift;
- $m -= 1;
- my $d = shift;
- return $y*12*31 + $m*31 +$d;
- }
- foreach $_ (@lines) {
- next unless /^\\bugonpage/;
- next unless m|\((\d\d)/(\d\d)/(\d\d)\)\s*$|;
- my ($d, $m, $y) = ($2, $1, $3);
- $y += 1900;
- $y += 100 if $y < 1970;
- if (xdays($y, $m, $d) > xdays($year, $month, $day)) {
- $year = $y;
- $month = $m;
- $day = $d;
- }
- }
-
- open(OUT, '>', 'errata.new') or die "$error Cannot open `errata.new'!\n";
- print OUT "\\year=$year\n";
- print OUT "\\month=$month\n";
- print OUT "\\day=$day\n";
- print OUT "\\input errata.tex\n";
- print OUT "\\endinput\n";
- close(OUT);
- }
- foreach my $entry (qw[
- one
- two
- three
- four
- five
- six
- seven
- eight
- nine
- ten
- eleven
- new
- ]) {
- symlink "$cwd/$dir_tex/errata.drv", "errata_$entry.tex";
- cache 'knuth', "errata_$entry", sub {
- final_begin;
- run("$prg_pdftex errata_$entry.tex");
- final_end;
- }
- }
- symlink "$cwd/$dir_tex/errata.all", 'errata.all';
- cache 'knuth', 'errata', sub {
- final_begin;
- run("$prg_pdftex errata.all");
- final_end;
- };
- install_gen_pdf('knuth', 'errata', 'errata');
-
- cd $cwd;
-}
-
-### Generate documentation for etex
-if ($modules{'etex'}) {
- section('Documentation: etex');
-
- cd "$dir_build/etex";
-
- my $entry = 'etex_man';
- my $etex_man_drv = "$cwd/$dir_tex/$entry.drv";
- symlink $etex_man_drv, "$entry.drv";
- cache 'etex', $entry, sub {
- run("$prg_lualatextds -draftmode $entry.drv");
- run("$prg_lualatextds -draftmode $entry.drv");
- final_begin;
- run("$prg_lualatextds $entry.drv");
- final_end;
- };
- install_gen_pdf('etex', 'base', $entry);
-
- cd $cwd;
-}
-
-### Module source
-if ($modules{'source'}) {
- section('Module source');
-
- my $dir_build_source = "$dir_build/source";
- my $dir_dest = "$dir_build_source/texmf/source/latex/latex-tds";
- my $dir_doc = "$dir_build_source/texmf/doc/latex/latex-tds";
- my $dir_scripts = "$dir_build/source/texmf/scripts";
- my $file_readme = 'README';
- my $file_readme_html = 'README.html';
- my $file_readme_pdf = 'README.pdf';
- # my $file_readme_notoc_html = "$dir_build_source/README-notoc.html";
- my $file_readme_w3m_txt = "$dir_build_source/README-w3m.txt";
-
- ensure_directory($dir_build_source);
-
- # generate README.html
- run("$prg_asciidoc --backend=xhtml11 README.asciidoc");
- lf("README.html");
-
- # generate README.pdf
- # run("$prg_asciidoc --out-file=$file_readme_notoc_html"
- # . " --backend=xhtml11"
- # . " -a disable-javascript"
- # . " -a toc!"
- # . " README.asciidoc"
- # );
- # run("$prg_lowriter --invisible --convert-to odt "
- # . "--outdir $dir_build_source $file_readme_notoc_html");
- # run("$prg_lowriter --invisible --convert-to pdf "
- # . "--outdir $dir_build_source $dir_build_source/README-notoc.odt");
- # run("$prg_cp -p $dir_build_source/README-notoc.pdf $file_readme_pdf");
- run("$prg_wkhtmltopdf $file_readme_html $file_readme_pdf");
-
- # run("$prg_cp -p README.asciidoc $dir_build_source/README");
- run("$prg_w3m -dump README.html>$file_readme_w3m_txt");
- my @lines_pre;
- my @lines_toc;
- my @lines_post;
- my $state = 'pre';
- open(IN, '<', $file_readme_w3m_txt)
- or die "$error Cannot open `$file_readme_w3m_txt'!\n";
- while (<IN>) {
- if (/^README for project/) {
- push @lines_pre, '=' x (length($_) - 1) . "\n";
- push @lines_pre, $_;
- push @lines_pre, '=' x (length($_) - 1) . "\n";
- next;
- }
- if (/^Table of Contents/i) {
- push @lines_pre, "\n";
- push @lines_pre, "\n";
- push @lines_pre, $_;
- push @lines_pre, '=' x (length($_)-1) . "\n";
- next;
- }
- if (/^(\d+)\.(\d+\.)? /) {
- push @lines_post, "\n" unless $2;
- push @lines_post, $_;
- push @lines_post, ($2 ? '-' : '=') x length($_) . "\n";
- my $prefix = ' ' x (3 * ($2 ? 2 : 1));
- s/^(\d+)\.((?:\d+\.)?) /($1<10 ? ' ' : '') . "$1.$2 "/e;
- push @lines_toc, "$prefix$_";
- next;
- }
- if (/^JavaScript must be enabled/) {
- $state = 'post';
- next;
- }
- if ($state eq 'pre') {
- push @lines_pre, $_;
- }
- else {
- push @lines_post, $_;
- }
- }
- close(IN);
- open(OUT, '>', $file_readme) or die "$error Cannot write `$file_readme'!\n";
- print OUT @lines_pre, @lines_toc, @lines_post;
- close(OUT);
-
- install $dir_dest, qw[
- build.pl
- README.asciidoc
- README-docinfo.html
- ];
-
- install "$dir_dest/tex", glob("$dir_tex/*.*");
- install "$dir_dest/patch", glob("$dir_patch/*.*");
- install "$dir_dest/lib", $file_ziptimetree;
- install "$dir_dest/lib", $file_adjust_checksum;
- install "$dir_dest/license/latex-tds", "$dir_license/latex-tds/lppl.txt";
- install "$dir_dest/license/adjust_checksum", "$dir_license/adjust_checksum/lppl.txt";
- install "$dir_dest/license/ziptimetree", "$dir_license/ziptimetree/lgpl.txt";
- install $dir_distrib, $file_readme;
- install $dir_distrib, $file_readme_html;
- install $dir_distrib, $file_readme_pdf;
- install $dir_doc, $file_readme;
- install $dir_doc, $file_readme_html;
- install $dir_doc, $file_readme_pdf;
-}
-
-### Module latex-tds
-if ($modules{$prj}) {
- section('Module latex-tds');
-
- my $dir = "$dir_build/$prj";
- ensure_directory($dir);
- my $cmd_rsync = "$prg_rsync " . join ' ', qw[
- --recursive
- --times
- --perms
- --owner
- --group
- --hard-links
- ];
- for (@pkg_list) {
- next if $_ eq $prj;
- my $reftree = "$dir_build/$_";
- next unless -d "$reftree/texmf";
- run("$cmd_rsync --link-dest=$cwd/$reftree $reftree/texmf $dir");
- }
-}
-
-### Pack result
-section('Distrib');
-{
- ensure_directory($dir_distrib);
-
- # write zip comment file
- open(OUT, '>', $file_zip_comment)
- or die "$error Cannot write file `$file_zip_comment'!\n";
- print OUT $zip_comment;
- close OUT;
-
- for my $pkg (@list_modules) {
- my $dir_tds = "$dir_build/$pkg/texmf";
- my $file_distrib = "$cwd/$dir_distrib/$pkg.tds.zip";
- if (-d $dir_tds) {
- run_zip($file_distrib, $dir_tds);
- }
- else {
- print "!!! Warning: Missing TDS tree for `$pkg'!\n";
- }
- }
-
- if ($opt_all) {
- ensure_directory($dir_build_distrib);
- my @files = map {"$cwd/$_"} qw[
- README
- README.html
- README.pdf
- ],
- map {"$dir_distrib/$_.tds.zip"} sort @pkg_list;
- run("$prg_rm -rf $dir_build_distrib_data") if -d $dir_build_distrib_data;
- ensure_directory($dir_build_distrib_data);
- cd $dir_build_distrib_data;
- my @list;
- foreach my $file (@files) {
- $file =~ m|/([^/]+)$| or die "!!! Error: Cannot extract file name (`$file')!\n";
- my $file_new = $1;
- -f $file or die "!!! Error: File `$file' not found!\n";
- link $file, $file_new or die "!!! Error: Cannot link `$file' => `$file_new': $!\n";
- push @list, "$prj/$file_new";
- }
- cd $cwd;
- cd $dir_build_distrib;
- my $cmd = "$prg_zip -0 $file_ctan_distrib $prj @list";
- run($cmd);
- cd $cwd;
- }
-}
-
-### Display result
-section('Result');
-{
- print <<"END_CACHE";
-
-* PDF cached/generated: $count_cache/$count_generate
-
-END_CACHE
-
- for my $pkg (@list_modules) {
- my $file = "$dir_distrib/$pkg.tds.zip";
- if (-f $file) {
- system("$prg_ls -l $file");
- system("$prg_ls -l $dir_distrib/README")if $pkg eq 'source';
- }
- else {
- print "!!! Warning: Missing distribution for `$pkg'!\n";
- }
- }
- if ($opt_all) {
- system("$prg_ls -l $file_ctan_distrib");
- }
-
- # display time
- my $time_diff = time - $time_start;
- my $time_str = sprintf "%d:%02d:%02d\n",
- $time_diff / 3600,
- ($time_diff % 3600) / 60,
- ($time_diff % 3600) % 60;
- $time_str =~ s/^0:0?//;
- print "* Elapsed time: $time_str\n";
-}
-
-sub install ($@) {
- my $dir_target = shift;
- my @list = @_;
-
- ensure_directory($dir_target);
- run("$prg_cp @list $dir_target/");
- 1;
-}
-
-sub install_gen_pdf ($$$) {
- my $fmt = shift;
- my $pkg = shift;
- my $file_base = shift;
- my $file_source = "$file_base.pdf";
- my $dir_dest = "texmf/doc/$fmt/$pkg";
- my $file_dest = "$dir_dest/$file_base.pdf";
-
- ensure_directory($dir_dest);
- if ($opt_postprocess) {
- printsize($file_source, 0);
- if (-f $jar_pdfbox_rewrite) {
- run("$prg_java -jar $jar_pdfbox_rewrite $file_source $file_tmp");
- }
- else {
- run("$prg_cp $file_source $file_tmp");
- }
- run("$prg_java -cp $jar_multivalent tool.pdf.Compress -old $file_tmp");
- run("$prg_mv $file_tmp_o $file_dest");
- printsize($file_dest, 1);
- }
- else {
- run("$prg_cp $file_source $file_dest");
- }
- 1;
-}
-sub install_pdf ($$) {
- my $pkg = shift;
- my $file_base = shift;
-
- install_gen_pdf('latex', $pkg, $file_base);
-}
-
-sub printsize ($$) {
- my $file = shift;
- my $modus = shift;
- my $size = (stat($file))[7];
- $size =~ s/(\d)(\d{6})$/$1.$2/;
- $size =~ s/(\d)(\d{3})$/$1.$2/;
- $size = " " x (9 - length($size)) . $size;
- if ($modus == 0) {
- print "*" x 78 . "\n";
- print "* $size $file\n";
- }
- else {
- print "* $size $file\n";
- print "*" x 78 . "\n";
- print "\n";
- }
-}
-
-sub ensure_directory ($) {
- my $dir = shift;
-
- return 1 if -d $dir;
- run("$prg_mkdir -p '$dir'");
- return 1 if -d $dir;
- die "$error Cannot generate directory `$dir'!\n";
-}
-
-sub section ($) {
- my $title = shift;
-
- print "\n=== $title ===\n";
- 1;
-}
-
-sub final_check ($) {
- my $expected = shift;
- $final == $expected
- or die "!!! Error: Wrong final state `$final', expected `$expected'!\n";
-}
-sub final_begin () {
- final_check(0);
- print "\n--- FINAL BEGIN ---\n";
- $final = 1;
-}
-sub final_end () {
- final_check(1);
- print "--- FINAL END ---\n\n";
- $final = 2;
-}
-sub final_ok () {
- final_check(2);
- $final = 0;
-}
-
-sub run ($) {
- my $cmd = shift;
-
- info("system: $cmd");
- my $ret = system($cmd);
- if ($ret != 0) {
- if ($? == -1) {
- die "$error Failed to execute: $!\n";
- }
- elsif ($? & 127) {
- die "$error Child died with signal "
- . ($? & 127)
- . (($? & 128) ? ' with coredump' : '')
- . "!\n";
- }
- else {
- die "$error Child exited with value " . ($? >> 8) . "!\n";
- }
- }
- 1;
-}
-
-sub run_makeindex ($;$$) {
- my $input_file = shift;
- my $style_file = shift;
- my $output_file = shift;
-
- return 1 unless -f $input_file;
- my $cmd = $prg_makeindex;
- $cmd .= " -s $style_file" if $style_file;
- $cmd .= " -o $output_file" if $output_file;
- $cmd .= " $input_file";
- run($cmd);
-}
-
-sub run_zip ($$) {
- my $zip_file = shift;
- my $dir_start = shift;
- run("$prg_ziptimetree --verbose --noroot $zip_file $dir_start");
- run("$prg_zip -z $zip_file <$file_zip_comment");
-}
-
-sub info ($) {
- my $msg = shift;
- print "* $msg\n";
- 1;
-}
-
-sub cvs ($) {
- $_ = shift;
- s/^\$\w+:?\s*(\S*).*\$$/$1/;
- $_ = "v$_" if /\./;
- $_;
-}
-
-sub patch ($) {
- my $file = shift;
- my $patch = $file;
- $patch =~ s/^.*\/([^\/]+)$/$1/;
- run("$prg_patch $dir_build/$file $dir_patch/$patch.diff");
-}
-
-sub get_perl_script ($) {
- # Either the source of latex-tds is unpacked as TDS tree,
- # then the perl script is below TDS:scripts/
- # or it can be put into the lib directory $dir_lib that I am using.
- my $script = shift;
- if (-f "$cwd/$dir_lib/$script.pl") {
- $script = "$cwd/$dir_lib/$script.pl";
- }
- else {
- if (-f "$cwd/../../../scripts/latex-tds/$script.pl") {
- $script = "$cwd/../../../scripts/latex-tds/$script.pl";
- }
- else {
- $script = "$cwd/../../../scripts/$script/$script.pl";
- }
- }
- die "$error Script $script.pl not found!\n" unless -f $script;
- run("$prg_chmod +x $script") unless -x $script;
- die "$error Script $script is not executable!\n" unless -x $script;
- $script;
-}
-
-__END__
diff --git a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl b/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl
deleted file mode 100755
index b3866f0512c..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl
+++ /dev/null
@@ -1,199 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
- if 0;
-use strict;
-$^W=1; # turn warning on
-#
-# adjust_checksum.pl
-#
-# Copyright (C) 2006-2013 by Heiko Oberdiek <heiko.oberdiek at googlemail.com>
-#
-# This work may be distributed and/or modified under the
-# conditions of the LaTeX Project Public License, either
-# version 1.3 of this license or (at your option) any later
-# version. The latest version of this license is in
-# http://www.latex-project.org/lppl.txt
-# and version 1.3 or later is part of all distributions of
-# LaTeX version 2005/12/01 or later.
-#
-# This work has the LPPL maintenance status "maintained".
-#
-# This Current Maintainer of this work is Heiko Oberdiek.
-#
-# This work consists of this file.
-#
-# This file "adjust_checksum.pl" may be renamed to "adjust_checksum"
-# for installation purposes.
-#
-my $file = "adjust_checksum.pl";
-my $program = uc($&) if $file =~ /^\w+/;
-my $version = "1.6";
-my $date = "2013/01/24";
-my $author = "Heiko Oberdiek";
-my $copyright = "Copyright (c) 2002, 2006-2013 by $author.";
-#
-# Reqirements: Perl5, Linux
-# History:
-# 2002/03/15 v1.0: First release.
-# 2006/02/12 v1.1: Fix for \Checksum{0}.
-# 2007/06/15 v1.2: -draftmode added.
-# 2007/09/25 v1.3: ltxdoc.cfg added to speed up.
-# 2008/07/16 v1.4: Use of package `syntonly' for speed.
-# 2011/04/15 v1.5: Email address updated.
-# 2013/01/26 v1.6: License updated.
-#
-
-my $prg_latex = 'latex -draftmode';
-
-my $tempdir = "tmp_\L$program\E_$$";
-
-### program identification
-my $title = "$program $version, $date - $copyright\n";
-
-my $usage = <<"END_OF_USAGE";
-${title}Syntax: \L$program\E <file.dtx>
-Function: Correction of "\\Checksum{...}" entry in <file.dtx>.
-END_OF_USAGE
-
-### error strings
-my $Error = "!!! Error:"; # error prefix
-
-### parse command line arguments
-@ARGV == 1 or die $usage;
-my $dtxfile = $ARGV[0];
-
-print $title;
-
-### check dtx file
--f $dtxfile or die "$Error File not found: '$dtxfile'!\n";
-
-### signals
-$SIG{__DIE__} = \&clean;
-$SIG{'HUP'} = \&clean;
-$SIG{'INT'} = \&clean;
-$SIG{'QUIT'} = \&clean;
-$SIG{'TERM'} = \&clean;
-
-### make temp dir
-mkdir $tempdir;
--d $tempdir or die "$Error Cannot create directory '$tempdir'!\n";
-
-### copy dtx file
-my $tempdtxfile = $dtxfile;
-$tempdtxfile =~ s/.*\///;
-my $latexfile = $tempdtxfile;
-$tempdtxfile = $tempdir . "/" . $tempdtxfile;
-
-system("cp $dtxfile $tempdtxfile");
--f $tempdtxfile or die "$Error Cannot copy dtx file!\n";
-
-### create ltxdoc.cfg
-my $ltxdocfile = $tempdir . "/" . 'ltxdoc.cfg';
-open(OUT, '>', $ltxdocfile)
- or die "!!! Error: Cannot open file `$ltxdocfile'!\n";
-print OUT <<'__END__LTXDOC_CFG__';
-\typeout{* version for adjust_checksum}
-\AtEndOfClass{%
- \DontCheckModules
- \DisableCrossrefs
- \def\DisableCrossrefs{\@bsphack\@esphack}%
- \let\EnableCrossrefs\DisableCrossrefs
- \let\CodelineIndex\relax
- \let\PageIndex\relax
- \let\CodelineNumbered\relax
- \let\PrintChanges\relax
- \let\PrintIndex\relax
- \let\tableofcontents\relax
- \PassOptionsToPackage{hyperref}{bookmarks=false}%
- \PassOptionsToPackage{hypdoc}{numbered}%
- \expandafter\xdef\csname ver@hypdoc.sty\endcsname{}%
- \expandafter\xdef\csname ver@bmhydoc.sty\endcsname{}%
- \nofiles
- \hfuzz\maxdimen
- \pretolerance10000 %
- \tolerance10000 %
-}
-\endinput
-__END__LTXDOC_CFG__
-close(OUT);
-
-### run latex
-print "*** Running LaTeX ...\n";
-my $argcode = "'\\AtBeginDocument{\\usepackage{syntonly}\\syntaxonly}"
- . "\\input{$latexfile}'";
-system("(cd $tempdir; $prg_latex --interaction=batchmode $argcode)");
-
-my $logfile = $tempdtxfile;
-$logfile =~ s/\.[^\.]+$//;
-$logfile .= ".log";
--f $logfile or die "$Error Cannot find log file '$logfile'!\n";
-
-### parse log file for CheckSum
-print "*** Looking for checksum statement ...\n";
-my $found = 0;
-my $changed = 0;
-my $old = 0;
-my $new = 0;
-open(LOG, $logfile) or die "$Error Cannot open log file '$logfile'!\n";
-while (<LOG>) {
- if (/\* Checksum passed \*/) {
- $found = 1;
- $changed = 0;
- print "==> Checksum passed.\n";
- last;
- }
- if (/Checksum not passed \((\d+)<>(\d+)\)/) {
- $found = 1;
- $changed = 1;
- $old = $1;
- $new = $2;
- last;
- }
- if (/The checksum should be (\d+)!/) {
- $found = 1;
- $changed = 1;
- $old = 0;
- $new = $1;
- last;
- }
-}
-close(LOG);
-
-$found or die "$Error Checksum statement not found in log file!\n";
-
-if ($changed) {
- print "==> Checksum not passed ($old<>$new).\n";
-
- ### write changed dtx file
- print "*** Fixing Checksum ...\n";
- my $fixed = 0;
- open(IN, $tempdtxfile) or die "$Error Cannot open '$tempdtxfile'!\n";
- open(OUT, ">$dtxfile") or die "$Error Cannot write '$dtxfile'!\n";
- while (<IN>) {
- if (s/\\CheckSum\{\d+\}/\\CheckSum{$new}/) {
- $fixed++;
- print "==> Checksum fixed:\n$_";
- }
- print OUT;
- }
- close(IN);
- close(OUT);
-
- $fixed > 0 or
- die "$Error: \"\\CheckSum{...}\" not found!\n";
- $fixed == 1 or
- die "$Error: More than one \"\\CheckSum\" command found!\n";
-}
-
-### cleaning
-sub clean {
- if (-d $tempdir) {
- unlink glob("$tempdir/*");
- rmdir $tempdir;
- }
-}
-
-clean();
-
-print "*** Ready.\n";
-
-__END__
diff --git a/Master/texmf-dist/source/latex/latex-tds/lib/ziptimetree.pl b/Master/texmf-dist/source/latex/latex-tds/lib/ziptimetree.pl
deleted file mode 100755
index 9bc2c4ef99d..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/lib/ziptimetree.pl
+++ /dev/null
@@ -1,369 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
- if 0;
-use strict;
-$^W=1; # turn warning on
-#
-# ziptimetree.pl
-#
-# Packs a directory tree into a ZIP file with sorted entries
-# and corrects file permissions and directory dates.
-#
-# Copyright 2006, 2011 Heiko Oberdiek.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
-#
-# Address: heiko.oberdiek at googlemail.com
-#
-my $file = 'ziptimetree';
-my $program = 'ZIP-TimeTree';
-my $version = '1.3';
-my $date = '2011/04/15';
-my $author = 'Heiko Oberdiek';
-my $copyright = "Copyright (C) 2006, 2011 by $author.";
-#
-# History:
-# 2006/06/04 v1.0: First release.
-# 2006/06/07 v1.1: License LGPL.
-# 2006/06/15 v1.2: Small correction in option code.
-# 2011/04/15 v1.3: Email address updated.
-
-### program identification
-my $title = "$program $version, $date - $copyright\n";
-
-### error strings
-my $error = "!!! Error:"; # error prefix
-my $warning = "!!! Warning:";
-
-### file modes (type and permission)
-my $mode_directory = 040755; # drwxr-xr-x
-my $mode_file_regular = 0100644; # -rw-r--r--
-my $mode_file_exec = 0100755; # -rwxr-xr-x
-
-### programs
-my $prg_zip = 'zip';
-my $prg_pwd = 'pwd';
-
-### file extensions
-my $ext_zip = '.zip';
-
-### counters
-my $count_dir = 0;
-my $count_file = 0;
-my $count_exclude = 0;
-my $count_mode = 0;
-my $count_time = 0;
-my $count_warn = 0;
-
-### log levels
-my $log_quiet = 0;
-my $log_normal = 1;
-my $log_verbose = 2;
-my $log_debug = 3;
-
-### option variables
-my $help = 0;
-my $log_level = 1;
-my $compression = 9;
-my $root = 1;
-my $update = 0;
-my @exclude;
-my $tree;
-my $zipfile;
-
-my $usage = <<"END_OF_USAGE";
-${title}
-Syntax: $file [options] <zipfile> <treedir>
-
- <zipfile> The file where the result is stored as zipped file.
- The name must end in '.zip'.
- <treedir> Specifies the root of a directory tree whose
- directories and files are packed into the <zipfile>.
-
-Functions:
-* The permissions in the directory tree are normalized:
- drwxr-xr-x directories
- -rwxr-xr-x executable files
- -rw-r--r-- regular files
-* The time stamps of the directories are set to the time of the
- latest file somewhere below that directory.
-* The zip file is created with the same time as the latest file
- inside the archive.
-* Also the entries are orderd by depth-first and name:
- * The directory tree is traversed in deep-first order.
- * If a directory is reached, first its directory entries are
- processed in alphabetical order. Then its files are added,
- sorted by names.
-
-Options: defaults:
- --help print usage
- --quiet quiet except for warnings and errors
- --verbose verbose output
- --debug debug output
- -0 .. -9 store only .. best compression (-9)
- --(no)update zip file is not deleted before creating (--noupdate)
- --(no)root use/strip root directory name (--root)
- --exclude <pattern> exclude files by regular expression
-
-File exclusion:
- Option --exclude allows you to specify pattern that are
- used to exclude files from packing into the zipfile.
- The option can be invoked several times, the pattern are
- collected in a list.
- During the tree traversal the name of files and directories
- are generated. Depending on the state of option --root these
- names may or may not include the root directory name.
- In order to distinguish between files and directories, a slash
- is appended to a directory name. Then the patterns are used
- as regular expressions. Files or directories which names matches
- are excluded, in case of directories the whole tree.
-
-END_OF_USAGE
-
-### process options
-use Getopt::Long;
-GetOptions(
- '0' => sub { $compression = 0 },
- '1' => sub { $compression = 1 },
- '2' => sub { $compression = 2 },
- '3' => sub { $compression = 3 },
- '4' => sub { $compression = 4 },
- '5' => sub { $compression = 5 },
- '6' => sub { $compression = 6 },
- '7' => sub { $compression = 7 },
- '8' => sub { $compression = 8 },
- '9' => sub { $compression = 9 },
- 'help!' => sub { die $usage },
- 'quiet' => sub { $log_level = $log_quiet },
- 'verbose' => sub { $log_level = $log_verbose },
- 'debug' => sub { $log_level = $log_debug },
- 'update!' => \$update,
- 'root!' => \$root,
- 'exclude=s' => \@exclude,
-) or die $usage;
-
-@ARGV == 2 or die $usage;
-$zipfile = shift @ARGV;
-$tree = shift @ARGV;
-
-### Report functions
-
-sub debug ($$) {
- my $type = shift;
- my $data = shift;
- print "[$type] $data\n" if $log_level >= $log_debug;
- 1;
-}
-sub verbose ($$) {
- my $type = shift;
- my $data = shift;
- print "[$type] $data\n" if $log_level >= $log_verbose;
-}
-sub info ($$) {
- my $type = shift;
- my $data = shift;
- print "[$type] $data\n" if $log_level >= $log_normal;
- 1;
-}
-sub warning ($) {
- my $msg = shift;
- $count_warn++;
- warn "$warning $msg\n";
- 1;
-}
-
-### File operations
-
-sub excluded ($) {
- my $file = shift;
- $count_exclude++;
- info 'excluded', $file;
- 1;
-}
-sub changemod ($$) {
- my $mode = shift;
- my $file = shift;
- my $chmod = sprintf('chmod %lo', $mode);
- $count_mode++;
- info $chmod, $file;
- chmod $mode, $file or warning "Mode change failed: $file";
-}
-sub touch ($$) {
- my $time = shift;
- my $dir = shift;
- my $mtime = (stat $dir)[9];
- if ($mtime != $time) {
- $count_time++;
- info 'touch', $dir;
- utime $time, $time, $dir or warning "Time update failed: $dir";
- }
-}
-
-### Title
-print $title if $log_level >= $log_normal;
-
-use Cwd qw(getcwd abs_path);
-use File::Spec::Functions;
-
-# check $tree
--d $tree or die "$error Directory does not exist: $tree\n";
-
-# zip file name
-$zipfile =~ /\.zip$/ or
- die "$error Wrong file extension of zip file: $zipfile\n";
-
-# Option --noroot requires directory change because of program zip.
-my $cwd;
-if ($root) {
- verbose 'zipfile', $zipfile;
-}
-else {
- # adjust path of zipfile
- $zipfile = abs_path($zipfile);
- verbose 'zipfile', $zipfile;
-
- # change directory
- debug 'curdir', getcwd;
- chdir $tree or die "$error Cannot change directory: $tree\n";
-}
-debug 'workdir', getcwd;
-
-my @list; # stores names as input for program zip
-
-# directory permissions should be checked before traversal
-if ($root) {
- my $mode = (stat($tree))[2];
- changemod $mode_directory, $tree unless $mode == $mode_directory;
-}
-
-sub traverse ($);
-sub traverse ($) {
- my $dir = shift;
-
- my $traverse_dir = ($dir) ? $dir : curdir;
- debug 'traverse', $traverse_dir;
- unless (opendir DIR, $traverse_dir) {
- warning "Cannot open directory: $traverse_dir";
- return 0;
- }
- my @sub_list = sort
- grep { !/^[.]{1,2}$/ }
- readdir DIR;
- @sub_list = map { catfile $dir, $_ } @sub_list if $dir;
- closedir DIR;
- if ($dir) {
- push @list, $dir;
- $count_dir++;
- }
-
- my @sub_dirs;
- my @sub_files;
-
- for (@sub_list) {
- if (-d $_) {
- push @sub_dirs, $_;
- next;
- }
- if (-f $_) {
- push @sub_files, $_;
- next;
- }
- warning "Unknown file type ignored: $_";
- }
-
- for my $exclude (@exclude) {
- @sub_dirs = grep { not("$_/" =~ /$exclude/ and excluded "$_/") }
- @sub_dirs;
- @sub_files = grep { not(/$exclude/ and excluded $_) }
- @sub_files;
- }
-
- @sub_dirs = grep { traverse $_ } @sub_dirs;
- push @list, @sub_files;
- $count_file += @sub_files;
-
- my $time_max = 0;
- for (@sub_dirs, @sub_files) {
- my ($mode, $mtime) = (stat $_)[2,9];
-
- $time_max = $mtime if $mtime > $time_max;
-
- if (-d $_) {
- changemod $mode_directory, $_ unless $mode == $mode_directory;
- }
- else {
- my $mode_file = ((-x $_) ? $mode_file_exec : $mode_file_regular);
- changemod $mode_file, $_ unless $mode == $mode_file;
- }
- }
-
- touch $time_max, $dir if $dir;
-
- 1;
-}
-
-traverse(($root) ? $tree : '');
-
-if (-f $zipfile) {
- if ($update) {
- info 'update', $zipfile;
- }
- else {
- info 'delete/create', $zipfile;
- unlink $zipfile or warning "Cannot delete: $zipfile";
- }
-}
-else {
- info 'create', $zipfile;
-}
-
-my $opts = " -o$compression";
-$opts .= "v" if $log_level >= $log_debug;
-$opts .= "q" if $log_level <= $log_normal;
-my $pipe = "|$prg_zip$opts $zipfile -\@";
-debug 'zip call', $pipe;
-
-open(ZIP, $pipe) or die "$error Cannot start `zip'!\n";
-for (@list) {
- print ZIP "$_\n";
-}
-close(ZIP) or
- die $! ? "$error Closing `zip': $!\n"
- : "$error `zip' reports error code $?\n";
-
--f $zipfile or die "$error Missing result zip file: $zipfile\n";
-
-info 'stats', "$count_exclude entries excluded" if $count_exclude > 1;
-info 'stats', "$count_exclude entry excluded" if $count_exclude == 1;
-info 'stats', "$count_mode mode changes" if $count_mode > 1;
-info 'stats', "$count_mode mode change" if $count_mode == 1;
-info 'stats', "$count_time time updates" if $count_time > 1;
-info 'stats', "$count_time time update" if $count_time == 1;
-info 'stats', "$count_dir directories added" if $count_dir != 1;
-info 'stats', "$count_dir directory added" if $count_dir == 1;
-info 'stats', "$count_file files added" if $count_file != 1;
-info 'stats', "$count_file file added" if $count_file == 1;
-info 'stats', "$count_warn warnings" if $count_warn > 1;
-info 'stats', "$count_warn warning" if $count_warn == 1;
-
-my $size = (stat $zipfile)[7];
-$size = join '', reverse split '', $size;
-$size =~ s/(\d\d\d)/$1./g;
-$size =~ s/\.$//;
-$size = join '', reverse split '', $size;
-
-print "--> $zipfile ($size bytes)\n" if $log_level >= $log_normal;
-
-__END__
diff --git a/Master/texmf-dist/source/latex/latex-tds/license/adjust_checksum/lppl.txt b/Master/texmf-dist/source/latex/latex-tds/license/adjust_checksum/lppl.txt
deleted file mode 100644
index 494f58131f7..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/license/adjust_checksum/lppl.txt
+++ /dev/null
@@ -1,416 +0,0 @@
-The LaTeX Project Public License
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
-LPPL Version 1.3c 2008-05-04
-
-Copyright 1999 2002-2008 LaTeX3 Project
- Everyone is allowed to distribute verbatim copies of this
- license document, but modification of it is not allowed.
-
-
-PREAMBLE
-========
-
-The LaTeX Project Public License (LPPL) is the primary license under
-which the LaTeX kernel and the base LaTeX packages are distributed.
-
-You may use this license for any work of which you hold the copyright
-and which you wish to distribute. This license may be particularly
-suitable if your work is TeX-related (such as a LaTeX package), but
-it is written in such a way that you can use it even if your work is
-unrelated to TeX.
-
-The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
-below, gives instructions, examples, and recommendations for authors
-who are considering distributing their works under this license.
-
-This license gives conditions under which a work may be distributed
-and modified, as well as conditions under which modified versions of
-that work may be distributed.
-
-We, the LaTeX3 Project, believe that the conditions below give you
-the freedom to make and distribute modified versions of your work
-that conform with whatever technical specifications you wish while
-maintaining the availability, integrity, and reliability of
-that work. If you do not see how to achieve your goal while
-meeting these conditions, then read the document `cfgguide.tex'
-and `modguide.tex' in the base LaTeX distribution for suggestions.
-
-
-DEFINITIONS
-===========
-
-In this license document the following terms are used:
-
- `Work'
- Any work being distributed under this License.
-
- `Derived Work'
- Any work that under any applicable law is derived from the Work.
-
- `Modification'
- Any procedure that produces a Derived Work under any applicable
- law -- for example, the production of a file containing an
- original file associated with the Work or a significant portion of
- such a file, either verbatim or with modifications and/or
- translated into another language.
-
- `Modify'
- To apply any procedure that produces a Derived Work under any
- applicable law.
-
- `Distribution'
- Making copies of the Work available from one person to another, in
- whole or in part. Distribution includes (but is not limited to)
- making any electronic components of the Work accessible by
- file transfer protocols such as FTP or HTTP or by shared file
- systems such as Sun's Network File System (NFS).
-
- `Compiled Work'
- A version of the Work that has been processed into a form where it
- is directly usable on a computer system. This processing may
- include using installation facilities provided by the Work,
- transformations of the Work, copying of components of the Work, or
- other activities. Note that modification of any installation
- facilities provided by the Work constitutes modification of the Work.
-
- `Current Maintainer'
- A person or persons nominated as such within the Work. If there is
- no such explicit nomination then it is the `Copyright Holder' under
- any applicable law.
-
- `Base Interpreter'
- A program or process that is normally needed for running or
- interpreting a part or the whole of the Work.
-
- A Base Interpreter may depend on external components but these
- are not considered part of the Base Interpreter provided that each
- external component clearly identifies itself whenever it is used
- interactively. Unless explicitly specified when applying the
- license to the Work, the only applicable Base Interpreter is a
- `LaTeX-Format' or in the case of files belonging to the
- `LaTeX-format' a program implementing the `TeX language'.
-
-
-
-CONDITIONS ON DISTRIBUTION AND MODIFICATION
-===========================================
-
-1. Activities other than distribution and/or modification of the Work
-are not covered by this license; they are outside its scope. In
-particular, the act of running the Work is not restricted and no
-requirements are made concerning any offers of support for the Work.
-
-2. You may distribute a complete, unmodified copy of the Work as you
-received it. Distribution of only part of the Work is considered
-modification of the Work, and no right to distribute such a Derived
-Work may be assumed under the terms of this clause.
-
-3. You may distribute a Compiled Work that has been generated from a
-complete, unmodified copy of the Work as distributed under Clause 2
-above, as long as that Compiled Work is distributed in such a way that
-the recipients may install the Compiled Work on their system exactly
-as it would have been installed if they generated a Compiled Work
-directly from the Work.
-
-4. If you are the Current Maintainer of the Work, you may, without
-restriction, modify the Work, thus creating a Derived Work. You may
-also distribute the Derived Work without restriction, including
-Compiled Works generated from the Derived Work. Derived Works
-distributed in this manner by the Current Maintainer are considered to
-be updated versions of the Work.
-
-5. If you are not the Current Maintainer of the Work, you may modify
-your copy of the Work, thus creating a Derived Work based on the Work,
-and compile this Derived Work, thus creating a Compiled Work based on
-the Derived Work.
-
-6. If you are not the Current Maintainer of the Work, you may
-distribute a Derived Work provided the following conditions are met
-for every component of the Work unless that component clearly states
-in the copyright notice that it is exempt from that condition. Only
-the Current Maintainer is allowed to add such statements of exemption
-to a component of the Work.
-
- a. If a component of this Derived Work can be a direct replacement
- for a component of the Work when that component is used with the
- Base Interpreter, then, wherever this component of the Work
- identifies itself to the user when used interactively with that
- Base Interpreter, the replacement component of this Derived Work
- clearly and unambiguously identifies itself as a modified version
- of this component to the user when used interactively with that
- Base Interpreter.
-
- b. Every component of the Derived Work contains prominent notices
- detailing the nature of the changes to that component, or a
- prominent reference to another file that is distributed as part
- of the Derived Work and that contains a complete and accurate log
- of the changes.
-
- c. No information in the Derived Work implies that any persons,
- including (but not limited to) the authors of the original version
- of the Work, provide any support, including (but not limited to)
- the reporting and handling of errors, to recipients of the
- Derived Work unless those persons have stated explicitly that
- they do provide such support for the Derived Work.
-
- d. You distribute at least one of the following with the Derived Work:
-
- 1. A complete, unmodified copy of the Work;
- if your distribution of a modified component is made by
- offering access to copy the modified component from a
- designated place, then offering equivalent access to copy
- the Work from the same or some similar place meets this
- condition, even though third parties are not compelled to
- copy the Work along with the modified component;
-
- 2. Information that is sufficient to obtain a complete,
- unmodified copy of the Work.
-
-7. If you are not the Current Maintainer of the Work, you may
-distribute a Compiled Work generated from a Derived Work, as long as
-the Derived Work is distributed to all recipients of the Compiled
-Work, and as long as the conditions of Clause 6, above, are met with
-regard to the Derived Work.
-
-8. The conditions above are not intended to prohibit, and hence do not
-apply to, the modification, by any method, of any component so that it
-becomes identical to an updated version of that component of the Work as
-it is distributed by the Current Maintainer under Clause 4, above.
-
-9. Distribution of the Work or any Derived Work in an alternative
-format, where the Work or that Derived Work (in whole or in part) is
-then produced by applying some process to that format, does not relax or
-nullify any sections of this license as they pertain to the results of
-applying that process.
-
-10. a. A Derived Work may be distributed under a different license
- provided that license itself honors the conditions listed in
- Clause 6 above, in regard to the Work, though it does not have
- to honor the rest of the conditions in this license.
-
- b. If a Derived Work is distributed under a different license, that
- Derived Work must provide sufficient documentation as part of
- itself to allow each recipient of that Derived Work to honor the
- restrictions in Clause 6 above, concerning changes from the Work.
-
-11. This license places no restrictions on works that are unrelated to
-the Work, nor does this license place any restrictions on aggregating
-such works with the Work by any means.
-
-12. Nothing in this license is intended to, or may be used to, prevent
-complete compliance by all parties with all applicable laws.
-
-
-NO WARRANTY
-===========
-
-There is no warranty for the Work. Except when otherwise stated in
-writing, the Copyright Holder provides the Work `as is', without
-warranty of any kind, either expressed or implied, including, but not
-limited to, the implied warranties of merchantability and fitness for a
-particular purpose. The entire risk as to the quality and performance
-of the Work is with you. Should the Work prove defective, you assume
-the cost of all necessary servicing, repair, or correction.
-
-In no event unless required by applicable law or agreed to in writing
-will The Copyright Holder, or any author named in the components of the
-Work, or any other party who may distribute and/or modify the Work as
-permitted above, be liable to you for damages, including any general,
-special, incidental or consequential damages arising out of any use of
-the Work or out of inability to use the Work (including, but not limited
-to, loss of data, data being rendered inaccurate, or losses sustained by
-anyone as a result of any failure of the Work to operate with any other
-programs), even if the Copyright Holder or said author or said other
-party has been advised of the possibility of such damages.
-
-
-MAINTENANCE OF THE WORK
-=======================
-
-The Work has the status `author-maintained' if the Copyright Holder
-explicitly and prominently states near the primary copyright notice in
-the Work that the Work can only be maintained by the Copyright Holder
-or simply that it is `author-maintained'.
-
-The Work has the status `maintained' if there is a Current Maintainer
-who has indicated in the Work that they are willing to receive error
-reports for the Work (for example, by supplying a valid e-mail
-address). It is not required for the Current Maintainer to acknowledge
-or act upon these error reports.
-
-The Work changes from status `maintained' to `unmaintained' if there
-is no Current Maintainer, or the person stated to be Current
-Maintainer of the work cannot be reached through the indicated means
-of communication for a period of six months, and there are no other
-significant signs of active maintenance.
-
-You can become the Current Maintainer of the Work by agreement with
-any existing Current Maintainer to take over this role.
-
-If the Work is unmaintained, you can become the Current Maintainer of
-the Work through the following steps:
-
- 1. Make a reasonable attempt to trace the Current Maintainer (and
- the Copyright Holder, if the two differ) through the means of
- an Internet or similar search.
-
- 2. If this search is successful, then enquire whether the Work
- is still maintained.
-
- a. If it is being maintained, then ask the Current Maintainer
- to update their communication data within one month.
-
- b. If the search is unsuccessful or no action to resume active
- maintenance is taken by the Current Maintainer, then announce
- within the pertinent community your intention to take over
- maintenance. (If the Work is a LaTeX work, this could be
- done, for example, by posting to comp.text.tex.)
-
- 3a. If the Current Maintainer is reachable and agrees to pass
- maintenance of the Work to you, then this takes effect
- immediately upon announcement.
-
- b. If the Current Maintainer is not reachable and the Copyright
- Holder agrees that maintenance of the Work be passed to you,
- then this takes effect immediately upon announcement.
-
- 4. If you make an `intention announcement' as described in 2b. above
- and after three months your intention is challenged neither by
- the Current Maintainer nor by the Copyright Holder nor by other
- people, then you may arrange for the Work to be changed so as
- to name you as the (new) Current Maintainer.
-
- 5. If the previously unreachable Current Maintainer becomes
- reachable once more within three months of a change completed
- under the terms of 3b) or 4), then that Current Maintainer must
- become or remain the Current Maintainer upon request provided
- they then update their communication data within one month.
-
-A change in the Current Maintainer does not, of itself, alter the fact
-that the Work is distributed under the LPPL license.
-
-If you become the Current Maintainer of the Work, you should
-immediately provide, within the Work, a prominent and unambiguous
-statement of your status as Current Maintainer. You should also
-announce your new status to the same pertinent community as
-in 2b) above.
-
-
-WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
-======================================================
-
-This section contains important instructions, examples, and
-recommendations for authors who are considering distributing their
-works under this license. These authors are addressed as `you' in
-this section.
-
-Choosing This License or Another License
-----------------------------------------
-
-If for any part of your work you want or need to use *distribution*
-conditions that differ significantly from those in this license, then
-do not refer to this license anywhere in your work but, instead,
-distribute your work under a different license. You may use the text
-of this license as a model for your own license, but your license
-should not refer to the LPPL or otherwise give the impression that
-your work is distributed under the LPPL.
-
-The document `modguide.tex' in the base LaTeX distribution explains
-the motivation behind the conditions of this license. It explains,
-for example, why distributing LaTeX under the GNU General Public
-License (GPL) was considered inappropriate. Even if your work is
-unrelated to LaTeX, the discussion in `modguide.tex' may still be
-relevant, and authors intending to distribute their works under any
-license are encouraged to read it.
-
-A Recommendation on Modification Without Distribution
------------------------------------------------------
-
-It is wise never to modify a component of the Work, even for your own
-personal use, without also meeting the above conditions for
-distributing the modified component. While you might intend that such
-modifications will never be distributed, often this will happen by
-accident -- you may forget that you have modified that component; or
-it may not occur to you when allowing others to access the modified
-version that you are thus distributing it and violating the conditions
-of this license in ways that could have legal implications and, worse,
-cause problems for the community. It is therefore usually in your
-best interest to keep your copy of the Work identical with the public
-one. Many works provide ways to control the behavior of that work
-without altering any of its licensed components.
-
-How to Use This License
------------------------
-
-To use this license, place in each of the components of your work both
-an explicit copyright notice including your name and the year the work
-was authored and/or last substantially modified. Include also a
-statement that the distribution and/or modification of that
-component is constrained by the conditions in this license.
-
-Here is an example of such a notice and statement:
-
- %% pig.dtx
- %% Copyright 2005 M. Y. Name
- %
- % This work may be distributed and/or modified under the
- % conditions of the LaTeX Project Public License, either version 1.3
- % of this license or (at your option) any later version.
- % The latest version of this license is in
- % http://www.latex-project.org/lppl.txt
- % and version 1.3 or later is part of all distributions of LaTeX
- % version 2005/12/01 or later.
- %
- % This work has the LPPL maintenance status `maintained'.
- %
- % The Current Maintainer of this work is M. Y. Name.
- %
- % This work consists of the files pig.dtx and pig.ins
- % and the derived file pig.sty.
-
-Given such a notice and statement in a file, the conditions
-given in this license document would apply, with the `Work' referring
-to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
-generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
-referring to any `LaTeX-Format', and both `Copyright Holder' and
-`Current Maintainer' referring to the person `M. Y. Name'.
-
-If you do not want the Maintenance section of LPPL to apply to your
-Work, change `maintained' above into `author-maintained'.
-However, we recommend that you use `maintained', as the Maintenance
-section was added in order to ensure that your Work remains useful to
-the community even when you can no longer maintain and support it
-yourself.
-
-Derived Works That Are Not Replacements
----------------------------------------
-
-Several clauses of the LPPL specify means to provide reliability and
-stability for the user community. They therefore concern themselves
-with the case that a Derived Work is intended to be used as a
-(compatible or incompatible) replacement of the original Work. If
-this is not the case (e.g., if a few lines of code are reused for a
-completely different task), then clauses 6b and 6d shall not apply.
-
-
-Important Recommendations
--------------------------
-
- Defining What Constitutes the Work
-
- The LPPL requires that distributions of the Work contain all the
- files of the Work. It is therefore important that you provide a
- way for the licensee to determine which files constitute the Work.
- This could, for example, be achieved by explicitly listing all the
- files of the Work near the copyright notice of each file or by
- using a line such as:
-
- % This work consists of all files listed in manifest.txt.
-
- in that place. In the absence of an unequivocal list it might be
- impossible for the licensee to determine what is considered by you
- to comprise the Work and, in such a case, the licensee would be
- entitled to make reasonable conjectures as to which files comprise
- the Work.
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/license/latex-tds/lppl.txt b/Master/texmf-dist/source/latex/latex-tds/license/latex-tds/lppl.txt
deleted file mode 100644
index 494f58131f7..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/license/latex-tds/lppl.txt
+++ /dev/null
@@ -1,416 +0,0 @@
-The LaTeX Project Public License
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
-LPPL Version 1.3c 2008-05-04
-
-Copyright 1999 2002-2008 LaTeX3 Project
- Everyone is allowed to distribute verbatim copies of this
- license document, but modification of it is not allowed.
-
-
-PREAMBLE
-========
-
-The LaTeX Project Public License (LPPL) is the primary license under
-which the LaTeX kernel and the base LaTeX packages are distributed.
-
-You may use this license for any work of which you hold the copyright
-and which you wish to distribute. This license may be particularly
-suitable if your work is TeX-related (such as a LaTeX package), but
-it is written in such a way that you can use it even if your work is
-unrelated to TeX.
-
-The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
-below, gives instructions, examples, and recommendations for authors
-who are considering distributing their works under this license.
-
-This license gives conditions under which a work may be distributed
-and modified, as well as conditions under which modified versions of
-that work may be distributed.
-
-We, the LaTeX3 Project, believe that the conditions below give you
-the freedom to make and distribute modified versions of your work
-that conform with whatever technical specifications you wish while
-maintaining the availability, integrity, and reliability of
-that work. If you do not see how to achieve your goal while
-meeting these conditions, then read the document `cfgguide.tex'
-and `modguide.tex' in the base LaTeX distribution for suggestions.
-
-
-DEFINITIONS
-===========
-
-In this license document the following terms are used:
-
- `Work'
- Any work being distributed under this License.
-
- `Derived Work'
- Any work that under any applicable law is derived from the Work.
-
- `Modification'
- Any procedure that produces a Derived Work under any applicable
- law -- for example, the production of a file containing an
- original file associated with the Work or a significant portion of
- such a file, either verbatim or with modifications and/or
- translated into another language.
-
- `Modify'
- To apply any procedure that produces a Derived Work under any
- applicable law.
-
- `Distribution'
- Making copies of the Work available from one person to another, in
- whole or in part. Distribution includes (but is not limited to)
- making any electronic components of the Work accessible by
- file transfer protocols such as FTP or HTTP or by shared file
- systems such as Sun's Network File System (NFS).
-
- `Compiled Work'
- A version of the Work that has been processed into a form where it
- is directly usable on a computer system. This processing may
- include using installation facilities provided by the Work,
- transformations of the Work, copying of components of the Work, or
- other activities. Note that modification of any installation
- facilities provided by the Work constitutes modification of the Work.
-
- `Current Maintainer'
- A person or persons nominated as such within the Work. If there is
- no such explicit nomination then it is the `Copyright Holder' under
- any applicable law.
-
- `Base Interpreter'
- A program or process that is normally needed for running or
- interpreting a part or the whole of the Work.
-
- A Base Interpreter may depend on external components but these
- are not considered part of the Base Interpreter provided that each
- external component clearly identifies itself whenever it is used
- interactively. Unless explicitly specified when applying the
- license to the Work, the only applicable Base Interpreter is a
- `LaTeX-Format' or in the case of files belonging to the
- `LaTeX-format' a program implementing the `TeX language'.
-
-
-
-CONDITIONS ON DISTRIBUTION AND MODIFICATION
-===========================================
-
-1. Activities other than distribution and/or modification of the Work
-are not covered by this license; they are outside its scope. In
-particular, the act of running the Work is not restricted and no
-requirements are made concerning any offers of support for the Work.
-
-2. You may distribute a complete, unmodified copy of the Work as you
-received it. Distribution of only part of the Work is considered
-modification of the Work, and no right to distribute such a Derived
-Work may be assumed under the terms of this clause.
-
-3. You may distribute a Compiled Work that has been generated from a
-complete, unmodified copy of the Work as distributed under Clause 2
-above, as long as that Compiled Work is distributed in such a way that
-the recipients may install the Compiled Work on their system exactly
-as it would have been installed if they generated a Compiled Work
-directly from the Work.
-
-4. If you are the Current Maintainer of the Work, you may, without
-restriction, modify the Work, thus creating a Derived Work. You may
-also distribute the Derived Work without restriction, including
-Compiled Works generated from the Derived Work. Derived Works
-distributed in this manner by the Current Maintainer are considered to
-be updated versions of the Work.
-
-5. If you are not the Current Maintainer of the Work, you may modify
-your copy of the Work, thus creating a Derived Work based on the Work,
-and compile this Derived Work, thus creating a Compiled Work based on
-the Derived Work.
-
-6. If you are not the Current Maintainer of the Work, you may
-distribute a Derived Work provided the following conditions are met
-for every component of the Work unless that component clearly states
-in the copyright notice that it is exempt from that condition. Only
-the Current Maintainer is allowed to add such statements of exemption
-to a component of the Work.
-
- a. If a component of this Derived Work can be a direct replacement
- for a component of the Work when that component is used with the
- Base Interpreter, then, wherever this component of the Work
- identifies itself to the user when used interactively with that
- Base Interpreter, the replacement component of this Derived Work
- clearly and unambiguously identifies itself as a modified version
- of this component to the user when used interactively with that
- Base Interpreter.
-
- b. Every component of the Derived Work contains prominent notices
- detailing the nature of the changes to that component, or a
- prominent reference to another file that is distributed as part
- of the Derived Work and that contains a complete and accurate log
- of the changes.
-
- c. No information in the Derived Work implies that any persons,
- including (but not limited to) the authors of the original version
- of the Work, provide any support, including (but not limited to)
- the reporting and handling of errors, to recipients of the
- Derived Work unless those persons have stated explicitly that
- they do provide such support for the Derived Work.
-
- d. You distribute at least one of the following with the Derived Work:
-
- 1. A complete, unmodified copy of the Work;
- if your distribution of a modified component is made by
- offering access to copy the modified component from a
- designated place, then offering equivalent access to copy
- the Work from the same or some similar place meets this
- condition, even though third parties are not compelled to
- copy the Work along with the modified component;
-
- 2. Information that is sufficient to obtain a complete,
- unmodified copy of the Work.
-
-7. If you are not the Current Maintainer of the Work, you may
-distribute a Compiled Work generated from a Derived Work, as long as
-the Derived Work is distributed to all recipients of the Compiled
-Work, and as long as the conditions of Clause 6, above, are met with
-regard to the Derived Work.
-
-8. The conditions above are not intended to prohibit, and hence do not
-apply to, the modification, by any method, of any component so that it
-becomes identical to an updated version of that component of the Work as
-it is distributed by the Current Maintainer under Clause 4, above.
-
-9. Distribution of the Work or any Derived Work in an alternative
-format, where the Work or that Derived Work (in whole or in part) is
-then produced by applying some process to that format, does not relax or
-nullify any sections of this license as they pertain to the results of
-applying that process.
-
-10. a. A Derived Work may be distributed under a different license
- provided that license itself honors the conditions listed in
- Clause 6 above, in regard to the Work, though it does not have
- to honor the rest of the conditions in this license.
-
- b. If a Derived Work is distributed under a different license, that
- Derived Work must provide sufficient documentation as part of
- itself to allow each recipient of that Derived Work to honor the
- restrictions in Clause 6 above, concerning changes from the Work.
-
-11. This license places no restrictions on works that are unrelated to
-the Work, nor does this license place any restrictions on aggregating
-such works with the Work by any means.
-
-12. Nothing in this license is intended to, or may be used to, prevent
-complete compliance by all parties with all applicable laws.
-
-
-NO WARRANTY
-===========
-
-There is no warranty for the Work. Except when otherwise stated in
-writing, the Copyright Holder provides the Work `as is', without
-warranty of any kind, either expressed or implied, including, but not
-limited to, the implied warranties of merchantability and fitness for a
-particular purpose. The entire risk as to the quality and performance
-of the Work is with you. Should the Work prove defective, you assume
-the cost of all necessary servicing, repair, or correction.
-
-In no event unless required by applicable law or agreed to in writing
-will The Copyright Holder, or any author named in the components of the
-Work, or any other party who may distribute and/or modify the Work as
-permitted above, be liable to you for damages, including any general,
-special, incidental or consequential damages arising out of any use of
-the Work or out of inability to use the Work (including, but not limited
-to, loss of data, data being rendered inaccurate, or losses sustained by
-anyone as a result of any failure of the Work to operate with any other
-programs), even if the Copyright Holder or said author or said other
-party has been advised of the possibility of such damages.
-
-
-MAINTENANCE OF THE WORK
-=======================
-
-The Work has the status `author-maintained' if the Copyright Holder
-explicitly and prominently states near the primary copyright notice in
-the Work that the Work can only be maintained by the Copyright Holder
-or simply that it is `author-maintained'.
-
-The Work has the status `maintained' if there is a Current Maintainer
-who has indicated in the Work that they are willing to receive error
-reports for the Work (for example, by supplying a valid e-mail
-address). It is not required for the Current Maintainer to acknowledge
-or act upon these error reports.
-
-The Work changes from status `maintained' to `unmaintained' if there
-is no Current Maintainer, or the person stated to be Current
-Maintainer of the work cannot be reached through the indicated means
-of communication for a period of six months, and there are no other
-significant signs of active maintenance.
-
-You can become the Current Maintainer of the Work by agreement with
-any existing Current Maintainer to take over this role.
-
-If the Work is unmaintained, you can become the Current Maintainer of
-the Work through the following steps:
-
- 1. Make a reasonable attempt to trace the Current Maintainer (and
- the Copyright Holder, if the two differ) through the means of
- an Internet or similar search.
-
- 2. If this search is successful, then enquire whether the Work
- is still maintained.
-
- a. If it is being maintained, then ask the Current Maintainer
- to update their communication data within one month.
-
- b. If the search is unsuccessful or no action to resume active
- maintenance is taken by the Current Maintainer, then announce
- within the pertinent community your intention to take over
- maintenance. (If the Work is a LaTeX work, this could be
- done, for example, by posting to comp.text.tex.)
-
- 3a. If the Current Maintainer is reachable and agrees to pass
- maintenance of the Work to you, then this takes effect
- immediately upon announcement.
-
- b. If the Current Maintainer is not reachable and the Copyright
- Holder agrees that maintenance of the Work be passed to you,
- then this takes effect immediately upon announcement.
-
- 4. If you make an `intention announcement' as described in 2b. above
- and after three months your intention is challenged neither by
- the Current Maintainer nor by the Copyright Holder nor by other
- people, then you may arrange for the Work to be changed so as
- to name you as the (new) Current Maintainer.
-
- 5. If the previously unreachable Current Maintainer becomes
- reachable once more within three months of a change completed
- under the terms of 3b) or 4), then that Current Maintainer must
- become or remain the Current Maintainer upon request provided
- they then update their communication data within one month.
-
-A change in the Current Maintainer does not, of itself, alter the fact
-that the Work is distributed under the LPPL license.
-
-If you become the Current Maintainer of the Work, you should
-immediately provide, within the Work, a prominent and unambiguous
-statement of your status as Current Maintainer. You should also
-announce your new status to the same pertinent community as
-in 2b) above.
-
-
-WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
-======================================================
-
-This section contains important instructions, examples, and
-recommendations for authors who are considering distributing their
-works under this license. These authors are addressed as `you' in
-this section.
-
-Choosing This License or Another License
-----------------------------------------
-
-If for any part of your work you want or need to use *distribution*
-conditions that differ significantly from those in this license, then
-do not refer to this license anywhere in your work but, instead,
-distribute your work under a different license. You may use the text
-of this license as a model for your own license, but your license
-should not refer to the LPPL or otherwise give the impression that
-your work is distributed under the LPPL.
-
-The document `modguide.tex' in the base LaTeX distribution explains
-the motivation behind the conditions of this license. It explains,
-for example, why distributing LaTeX under the GNU General Public
-License (GPL) was considered inappropriate. Even if your work is
-unrelated to LaTeX, the discussion in `modguide.tex' may still be
-relevant, and authors intending to distribute their works under any
-license are encouraged to read it.
-
-A Recommendation on Modification Without Distribution
------------------------------------------------------
-
-It is wise never to modify a component of the Work, even for your own
-personal use, without also meeting the above conditions for
-distributing the modified component. While you might intend that such
-modifications will never be distributed, often this will happen by
-accident -- you may forget that you have modified that component; or
-it may not occur to you when allowing others to access the modified
-version that you are thus distributing it and violating the conditions
-of this license in ways that could have legal implications and, worse,
-cause problems for the community. It is therefore usually in your
-best interest to keep your copy of the Work identical with the public
-one. Many works provide ways to control the behavior of that work
-without altering any of its licensed components.
-
-How to Use This License
------------------------
-
-To use this license, place in each of the components of your work both
-an explicit copyright notice including your name and the year the work
-was authored and/or last substantially modified. Include also a
-statement that the distribution and/or modification of that
-component is constrained by the conditions in this license.
-
-Here is an example of such a notice and statement:
-
- %% pig.dtx
- %% Copyright 2005 M. Y. Name
- %
- % This work may be distributed and/or modified under the
- % conditions of the LaTeX Project Public License, either version 1.3
- % of this license or (at your option) any later version.
- % The latest version of this license is in
- % http://www.latex-project.org/lppl.txt
- % and version 1.3 or later is part of all distributions of LaTeX
- % version 2005/12/01 or later.
- %
- % This work has the LPPL maintenance status `maintained'.
- %
- % The Current Maintainer of this work is M. Y. Name.
- %
- % This work consists of the files pig.dtx and pig.ins
- % and the derived file pig.sty.
-
-Given such a notice and statement in a file, the conditions
-given in this license document would apply, with the `Work' referring
-to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
-generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
-referring to any `LaTeX-Format', and both `Copyright Holder' and
-`Current Maintainer' referring to the person `M. Y. Name'.
-
-If you do not want the Maintenance section of LPPL to apply to your
-Work, change `maintained' above into `author-maintained'.
-However, we recommend that you use `maintained', as the Maintenance
-section was added in order to ensure that your Work remains useful to
-the community even when you can no longer maintain and support it
-yourself.
-
-Derived Works That Are Not Replacements
----------------------------------------
-
-Several clauses of the LPPL specify means to provide reliability and
-stability for the user community. They therefore concern themselves
-with the case that a Derived Work is intended to be used as a
-(compatible or incompatible) replacement of the original Work. If
-this is not the case (e.g., if a few lines of code are reused for a
-completely different task), then clauses 6b and 6d shall not apply.
-
-
-Important Recommendations
--------------------------
-
- Defining What Constitutes the Work
-
- The LPPL requires that distributions of the Work contain all the
- files of the Work. It is therefore important that you provide a
- way for the licensee to determine which files constitute the Work.
- This could, for example, be achieved by explicitly listing all the
- files of the Work near the copyright notice of each file or by
- using a line such as:
-
- % This work consists of all files listed in manifest.txt.
-
- in that place. In the absence of an unequivocal list it might be
- impossible for the licensee to determine what is considered by you
- to comprise the Work and, in such a case, the licensee would be
- entitled to make reasonable conjectures as to which files comprise
- the Work.
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/license/ziptimetree/lgpl.txt b/Master/texmf-dist/source/latex/latex-tds/license/ziptimetree/lgpl.txt
deleted file mode 100644
index 65c5ca88a67..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/license/ziptimetree/lgpl.txt
+++ /dev/null
@@ -1,165 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsbooka.zip b/Master/texmf-dist/source/latex/latex-tds/patch/amsbooka.zip
deleted file mode 100644
index 189dfbbf643..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/amsbooka.zip
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsclass.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsclass.dtx.diff
deleted file mode 100644
index 410886004c3..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/amsclass.dtx.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-*** amsclass.dtx.org 2009-07-02 18:05:00.000000000 +0200
---- amsclass.dtx 2009-09-05 03:09:04.000000000 +0200
-***************
-*** 36,42 ****
- \author{American Mathematical Society\\Michael Downes\\
- updated by Barbara Beeton}
- \date{Version \fileversion, \filedate}
-! \hDocInput{amsclass.dtx}
- \end{document}
- %</driver>
- % \fi
---- 36,42 ----
- \author{American Mathematical Society\\Michael Downes\\
- updated by Barbara Beeton}
- \date{Version \fileversion, \filedate}
-! \DocInput{amsclass.dtx}
- \end{document}
- %</driver>
- % \fi
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff
deleted file mode 100644
index 5ceb8393589..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff
+++ /dev/null
@@ -1,323 +0,0 @@
-*** amsfndoc.def.org 2009-02-22 20:46:31.000000000 +0100
---- amsfndoc.def 2013-02-14 15:43:14.549616359 +0100
-***************
-*** 49,54 ****
---- 49,104 ----
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
-+ % Additions of latex-tds
-+
-+ \input ltxcmds.sty\relax
-+ \input infwarerr.sty\relax
-+ \input ifpdf.sty\relax
-+
-+ \ifpdf
-+ \else
-+ \@PackageError{\jobname}{pdfTeX in PDF mode is required}\@ehd
-+ \endgroup
-+ \csname @@end\expandafter\endcsname
-+ \fi
-+
-+ \def\MakeDest#1{%
-+ \begingroup
-+ \begingroup
-+ \let\relax\ltx@empty
-+ \edef\x{\endgroup
-+ \edef\noexpand\@tmp{#1\ltx@empty}%
-+ }%
-+ \x
-+ \ltx@IfUndefined{dest@\@tmp}{%
-+ \pdfdest name{\@tmp}xyz\relax
-+ \immediate\write16{* dest: [\@tmp]}%
-+ \global\expandafter\let\csname dest@\@tmp\endcsname\ltx@empty
-+ }{%
-+ \@PackageError{\jobname}{%
-+ Destination `\@tmp' is already defined%
-+ }\@ehc
-+ }%
-+ \endgroup
-+ }
-+ \def\MakeLinkAux#1#2#3{%
-+ \leavevmode
-+ \pdfstartlink attr{/F 4/Border[0 0 0]}goto name{#1}\relax
-+ \pdfcolorstack0 push{#3}\relax
-+ {#2}%
-+ \pdfcolorstack0 pop\relax
-+ \pdfendlink
-+ }
-+ \def\MakeLink#1#2{%
-+ \MakeLinkAux{#1}{#2}{1 0 0 rg 1 0 0 RG}%
-+ }
-+
-+ \def\Cite[#1]{%
-+ [\MakeLinkAux{bib.#1}{#1}{0 .8 0 rg 0 .8 0 RG}]%
-+ }
-+
-+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-+ %
- % Utility registers and definitions
-
- % Test registers for transient use; paired - internal/external
-***************
-*** 428,434 ****
- \let\DoHrule=\mthrule
-
- \newbox\maintitlebox
-! \def\maintitle #1\\#2<{\vfil\eject
- \vbox{\rightskip=0pt plus 1fil\leftskip=\rightskip
- \parindent=0pt\parfillskip=0pt\bf#1\par
- }%
---- 478,484 ----
- \let\DoHrule=\mthrule
-
- \newbox\maintitlebox
-! \def\OriginalMaintitle #1\\#2<{\vfil\eject
- \vbox{\rightskip=0pt plus 1fil\leftskip=\rightskip
- \parindent=0pt\parfillskip=0pt\bf#1\par
- }%
-***************
-*** 437,442 ****
---- 487,498 ----
- \else\vskip3pt\centerline{#2}\fi
- \medskip\SetupFirstPar }
-
-+ \def\maintitle #1\\{%
-+ \pdfinfo{/Title(#1)}%
-+ \global\let\maintitle\OriginalMaintitle
-+ }
-+
-+ \pdfinfo{/Author(AMS)}
-
- % First-paragraph formatting
-
-***************
-*** 465,477 ****
- \def\section#1#2\par{%
- \penalty-20
- \vskip\AboveTitleSkip
- {\raggedcenter
- {\smc\noindent\ignorespaces\if!#1!\else#1. \fi
- \ifFigure\rm\fi\ignorespaces
- #2\unskip}\strutt
- \ifFigure \global\Figurefalse
- \else
-! \tocwrites\tocsection{#1}{#2}%
- \ifAppendix
- \else \toks0{\rhsection{#1}{#2}}\mark{\the\toks0}%
- \fi
---- 521,534 ----
- \def\section#1#2\par{%
- \penalty-20
- \vskip\AboveTitleSkip
-+ \MakeDest{section.#1}%
- {\raggedcenter
- {\smc\noindent\ignorespaces\if!#1!\else#1. \fi
- \ifFigure\rm\fi\ignorespaces
- #2\unskip}\strutt
- \ifFigure \global\Figurefalse
- \else
-! \tocwrites\tocsection{section.#1}{#1}{#2}%
- \ifAppendix
- \else \toks0{\rhsection{#1}{#2}}\mark{\the\toks0}%
- \fi
-***************
-*** 493,503 ****
- \def\auxwriteb{\write\auxfile}
-
- \long\def\gobbletwo#1#2{}
-! \long\def\gobblethree#1#2#3{}
-
-! \def\tocwrite#1#2#3{%
- \begingroup
-! \def\temp{{#2}{#3}}\edef\temp{\mmeaning\temp}%
- \edef\tempb{\noexpand\auxwrite{%
- \string#1\temp{\noexpand\the\pageno}}}%
- \tempb
---- 550,560 ----
- \def\auxwriteb{\write\auxfile}
-
- \long\def\gobbletwo#1#2{}
-! \long\def\gobblefour#1#2#3#4{}
-
-! \def\tocwrite#1#2#3#4{%
- \begingroup
-! \def\temp{{#2}{#3}{#4}}\edef\temp{\mmeaning\temp}%
- \edef\tempb{\noexpand\auxwrite{%
- \string#1\temp{\noexpand\the\pageno}}}%
- \tempb
-***************
-*** 508,518 ****
- \def\tocwritea{\tocwrite}
-
- \newif\ifAppendix
-! \def\appendix#1#2{\maintitle Appendix #1\break #2\\<
-! \mark{Appendix #1.\enspace#2}\tocwritea\tocappendix{#1}{#2}%
- \gdef\theappendix{#1}%
- % Now \section should no longer go into the table of contents.
-! \let\tocwrites\gobblethree
- % And forget the running head on the first page of an appendix.
- \global\ThisIsFirstPagetrue \Appendixtrue
- \InstSec=0 \relax }
---- 565,577 ----
- \def\tocwritea{\tocwrite}
-
- \newif\ifAppendix
-! \def\appendix#1#2{%
-! \MakeDest{appendix.#1}%
-! \maintitle Appendix #1\break #2\\<
-! \mark{Appendix #1.\enspace#2}\tocwritea\tocappendix{appendix.#1}{#1}{#2}%
- \gdef\theappendix{#1}%
- % Now \section should no longer go into the table of contents.
-! \let\tocwrites\gobblefour
- % And forget the running head on the first page of an appendix.
- \global\ThisIsFirstPagetrue \Appendixtrue
- \InstSec=0 \relax }
-***************
-*** 535,541 ****
-
- \def\endReferences{\par\endgroup}
-
-! \def\bibitem [#1] {\noindent\kern-\leftskip
- \hbox to\leftskip{[#1]\hfil}\ignorespaces}
-
- \def\bysame{\hbox to 3em{\leaders\hrule\hfill}\thinspace, }
---- 594,602 ----
-
- \def\endReferences{\par\endgroup}
-
-! \def\bibitem [#1] {%
-! \MakeDest{bib.#1}%
-! \noindent\kern-\leftskip
- \hbox to\leftskip{[#1]\hfil}\ignorespaces}
-
- \def\bysame{\hbox to 3em{\leaders\hrule\hfill}\thinspace, }
-***************
-*** 543,557 ****
- % Note that, since \raggedbottom is turned on, there is already an
- % implied 60pt (= 5\baselineskip) margin allowed, so the penalty
- % should not be overly attractive.
-! \def\subsection#1#2\par{\ifFirstPar \nobreak
- \else \vskip\z@ plus 4\baselineskip \penalty-10
- \vskip\z@ plus-4\baselineskip \vskip 8pt \vskip\parskip \fi
- {\raggedright\hyphenpenalty=10000 \exhyphenpenalty=10000
-! \noindent\bf#1. \ignorespaces#2\endgraf}\nobreak \vskip 4pt\relax
- \SetupFirstPar }
-
-
- \def\Contents{%
- \subsection{\gobble}Contents of this document\par
- \begingroup
- \parfillskip=\normalparindent \parindent=\normalparindent
---- 604,645 ----
- % Note that, since \raggedbottom is turned on, there is already an
- % implied 60pt (= 5\baselineskip) margin allowed, so the penalty
- % should not be overly attractive.
-! \def\subsection#1#2\par{%
-! \def\@tmps{#1}%
-! \ifx\@tmps\macrogobble
-! \MakeDest{section.contents}%
-! \else
-! \MakeDest{subsection.#1}%
-! \fi
-! \ifFirstPar \nobreak
- \else \vskip\z@ plus 4\baselineskip \penalty-10
- \vskip\z@ plus-4\baselineskip \vskip 8pt \vskip\parskip \fi
- {\raggedright\hyphenpenalty=10000 \exhyphenpenalty=10000
-! \noindent
-! \ifx\@tmps\macrogobble
-! \else
-! \tocwrite\tocsub{subsection.#1}{#1}{#2}%
-! \fi
-! \bf#1. \ignorespaces#2\endgraf}\nobreak \vskip 4pt\relax
- \SetupFirstPar }
-
-+ \def\macrogobble{\gobble}
-+
-+ \def\tocsub#1#2#3#4{}%
-+
-+ \def\Outline#1#2{%
-+ \begingroup
-+ \def\LaTeX##1{LaTeX##1}%
-+ \def\TeX##1{TeX##1}%
-+ \def\AmSTeX##1{AmS-TeX##1}%
-+ \pdfoutline goto name{#1}count0{\romannumeral-`\@#2}\relax
-+ \endgroup
-+ }
-+
-+ \pdfcatalog{/PageMode/UseOutlines}
-
- \def\Contents{%
-+ \Outline{section.contents}{Table of contents}%
- \subsection{\gobble}Contents of this document\par
- \begingroup
- \parfillskip=\normalparindent \parindent=\normalparindent
-***************
-*** 560,572 ****
- \par\endgroup
- }
-
-! \def\tocsection#1#2#3{%
- \par \global\NoTocfalse
- \begingroup \hangindent\parindent\indent
-! \if!#1!\else#1. \fi#2\dotsfill\ #3\endgraf
- \endgroup}
-
-! \def\tocappendix#1{\tocsection{Appendix #1}}
-
- % Define address blocks and other structures that use \obeylines
- % in the context \tag ...<
---- 648,666 ----
- \par\endgroup
- }
-
-! \def\tocsection#1#2#3#4{%
-! \Outline{#1}{%
-! \if!#2!\else#2. \fi#3%
-! }%
- \par \global\NoTocfalse
- \begingroup \hangindent\parindent\indent
-! \MakeLink{#1}{%
-! \if!#2!\else#2. \fi#3\dotsfill\ #4%
-! }%
-! \endgraf
- \endgroup}
-
-! \def\tocappendix#1#2{\tocsection{#1}{Appendix #2}}
-
- % Define address blocks and other structures that use \obeylines
- % in the context \tag ...<
-***************
-*** 827,833 ****
-
- \ifx\InstName\relax % then we are doing only the installation instructions.
- \NoTocfalse % don't complain about the absence of TOC
-! \let\tocwrite\gobblethree
- \else
- % Make sure there is an auxfile.
- \openin\auxfile=\jobname.aux \relax
---- 921,927 ----
-
- \ifx\InstName\relax % then we are doing only the installation instructions.
- \NoTocfalse % don't complain about the absence of TOC
-! \let\tocwrite\gobblefour
- \else
- % Make sure there is an auxfile.
- \openin\auxfile=\jobname.aux \relax
-***************
-*** 843,849 ****
-
- \ifx\InstName\relax % then we are doing only the installation instructions.
- \else
-! \begingroup \let\tocsection\gobblethree
- \input \jobname.aux
- \endgroup
- \fi
---- 937,943 ----
-
- \ifx\InstName\relax % then we are doing only the installation instructions.
- \else
-! \begingroup \let\tocsection\gobblefour
- \input \jobname.aux
- \endgroup
- \fi
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff
deleted file mode 100644
index d5aa54da7ef..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff
+++ /dev/null
@@ -1,442 +0,0 @@
-*** amsfndoc.tex.org 2009-02-22 20:46:31.000000000 +0100
---- amsfndoc.tex 2013-02-14 14:58:48.915336160 +0100
-***************
-*** 105,111 ****
- instead of sizes 5,6,7,8,9,10 when the Y\&Y/Blue Sky PostScript outline
- fonts are used
- \itemitem{--} \filename{*.fd}, font definition files
-! \item{} For details, see Section 3 on using AMSFonts with \LaTeX{}.
-
- \item{\bull} Macro files for using these fonts with plain \TeX{}:
- \itemitem{--} \filename{amssym.tex}, a file defining names for the symbols
---- 105,111 ----
- instead of sizes 5,6,7,8,9,10 when the Y\&Y/Blue Sky PostScript outline
- fonts are used
- \itemitem{--} \filename{*.fd}, font definition files
-! \item{} For details, see \MakeLink{section.3}{Section 3} on using AMSFonts with \LaTeX{}.
-
- \item{\bull} Macro files for using these fonts with plain \TeX{}:
- \itemitem{--} \filename{amssym.tex}, a file defining names for the symbols
-***************
-*** 166,172 ****
- \parskip=0pt
- \item{\bull} ``{\tt cm}'': These fonts are based directly on the
- specifications for Knuth's Computer Modern fonts, as described
-! in Volume~E of \CandT{} [DEK86E].
- \item{\bull} ``{\tt eu}'': These are members of the Euler family,
- described below.
- \item{\bull} ``{\tt ms}'': These fonts of math symbols were developed
---- 166,172 ----
- \parskip=0pt
- \item{\bull} ``{\tt cm}'': These fonts are based directly on the
- specifications for Knuth's Computer Modern fonts, as described
-! in Volume~E of \CandT{} \Cite[DEK86E].
- \item{\bull} ``{\tt eu}'': These are members of the Euler family,
- described below.
- \item{\bull} ``{\tt ms}'': These fonts of math symbols were developed
-***************
-*** 211,224 ****
- eighteenth century. Zapf's designs were rendered in \MF{} code by graduate
- students at Stanford, working under Knuth's direction; the process by which
- the \MF{} fonts were implemented is described in a report by David Siegel
-! [DRS85]. The Euler fonts were designed to be used as math symbols; they are
- not intended for setting running text.
-
- The Fraktur face of the Euler family has been used in production by the
- AMS since it became available. However, no extensive test or use had
- been made of the script or cursive until Knuth decided that they should be
- used in a textbook, {\sl Concrete Mathematics}, written by him and two
-! co-authors [GKP88]. During the course of preparing that book, a number of
- errors, particularly in spacing parameters affecting the placement of sub-
- and superscripts, were discovered. All these errors have been corrected in
- the medium-weight versions of the Euler fonts (almost no boldface symbols
---- 211,224 ----
- eighteenth century. Zapf's designs were rendered in \MF{} code by graduate
- students at Stanford, working under Knuth's direction; the process by which
- the \MF{} fonts were implemented is described in a report by David Siegel
-! \Cite[DRS85]. The Euler fonts were designed to be used as math symbols; they are
- not intended for setting running text.
-
- The Fraktur face of the Euler family has been used in production by the
- AMS since it became available. However, no extensive test or use had
- been made of the script or cursive until Knuth decided that they should be
- used in a textbook, {\sl Concrete Mathematics}, written by him and two
-! co-authors \Cite[GKP88]. During the course of preparing that book, a number of
- errors, particularly in spacing parameters affecting the placement of sub-
- and superscripts, were discovered. All these errors have been corrected in
- the medium-weight versions of the Euler fonts (almost no boldface symbols
-***************
-*** 227,233 ****
- the integral sign, was too slanted to be attractive with Euler, and
- consequently he prepared a new (partial) extension font for use with Euler.
- Knuth described his experience with the Euler fonts in a \TUB\/ article
-! [DEK89]. In the article he also identified the macros he used and where they
- can be obtained.
-
- The Euler fonts are sparsely populated; only the alphabetic locations are
---- 227,233 ----
- the integral sign, was too slanted to be attractive with Euler, and
- consequently he prepared a new (partial) extension font for use with Euler.
- Knuth described his experience with the Euler fonts in a \TUB\/ article
-! \Cite[DEK89]. In the article he also identified the macros he used and where they
- can be obtained.
-
- The Euler fonts are sparsely populated; only the alphabetic locations are
-***************
-*** 243,249 ****
- includes Greek), symbol, and math extension fonts are included in standard
- distributions of \TeX{}. Since these symbols are often needed in
- mathematics, other sizes have been constructed, using the principles
-! demonstrated in Knuth's {\sl Computer Modern Typefaces\/} [DEK86E], and
- included in the AMSFonts collection.
-
-
---- 243,249 ----
- includes Greek), symbol, and math extension fonts are included in standard
- distributions of \TeX{}. Since these symbols are often needed in
- mathematics, other sizes have been constructed, using the principles
-! demonstrated in Knuth's {\sl Computer Modern Typefaces\/} \Cite[DEK86E], and
- included in the AMSFonts collection.
-
-
-***************
-*** 318,324 ****
-
- The dummy font is used in \AmSTeX{} to implement ``syntax checking''.
- (Syntax checking is activated by the |\printoptions| command as
-! described in \JoT{} [MDS86].) In this mode, the dummy font replaces all
- the usual ``printing'' fonts, so that \TeX{} never accumulates any text
- to be set, and never tries to write out a page, but in the process of
- reading the input file, checks all control sequences for syntactic
---- 318,324 ----
-
- The dummy font is used in \AmSTeX{} to implement ``syntax checking''.
- (Syntax checking is activated by the |\printoptions| command as
-! described in \JoT{} \Cite[MDS86].) In this mode, the dummy font replaces all
- the usual ``printing'' fonts, so that \TeX{} never accumulates any text
- to be set, and never tries to write out a page, but in the process of
- reading the input file, checks all control sequences for syntactic
-***************
-*** 328,334 ****
- overfull boxes cannot be detected until setting actually occurs.
-
-
-! \subsection{2.6} PostScript (Type 1) implementation of AMSFonts
-
- The AMSFonts are available in Type~1 outline form as an alternative
- to the bitmap images generated by \MF. The Type~1 files are not
---- 328,334 ----
- overfull boxes cannot be detected until setting actually occurs.
-
-
-! \subsection{2.7} PostScript (Type 1) implementation of AMSFonts
-
- The AMSFonts are available in Type~1 outline form as an alternative
- to the bitmap images generated by \MF. The Type~1 files are not
-***************
-*** 480,486 ****
-
- The \pkg{amssymb} package defines math symbol commands for all the extra
- math symbols in the \fn{msam} and \fn{msbm} fonts, as listed in the
-! table in Section 7. Thus if you want to use the \cn{blacktriangle}
- $\blacktriangle$ and \cn{nsubseteq} $\nsubseteq$ symbols, the easiest
- way is to put the statement
- \begintt
---- 480,486 ----
-
- The \pkg{amssymb} package defines math symbol commands for all the extra
- math symbols in the \fn{msam} and \fn{msbm} fonts, as listed in the
-! table in \MakeLink{section.7}{Section 7}. Thus if you want to use the \cn{blacktriangle}
- $\blacktriangle$ and \cn{nsubseteq} $\nsubseteq$ symbols, the easiest
- way is to put the statement
- \begintt
-***************
-*** 491,497 ****
- If you want more selective access to the math symbols in those fonts
- you can use the \pkg{amsfonts} package instead and define math symbol
- commands individually using \LaTeX{}'s \cn{DeclareMathSymbol}
-! (cf.\ [LFG] or [GMS94]):
- \begintt
- \usepackage{amsfonts}
- \DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{"4E}
---- 491,497 ----
- If you want more selective access to the math symbols in those fonts
- you can use the \pkg{amsfonts} package instead and define math symbol
- commands individually using \LaTeX{}'s \cn{DeclareMathSymbol}
-! (cf.\ \Cite[LFG] or \Cite[GMS94]):
- \begintt
- \usepackage{amsfonts}
- \DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{"4E}
-***************
-*** 511,517 ****
- Since \cn{DeclareMathSymbol} is used in the \pkg{amssymb} package, the
- definitions for particular symbols can be borrowed from there (file
- \fn{amssymb.sty}). Alternatively, the values can be obtained from the
-! tables in Section 7.2, as follows:
-
- \begingroup
- \raggedright
---- 511,517 ----
- Since \cn{DeclareMathSymbol} is used in the \pkg{amssymb} package, the
- definitions for particular symbols can be borrowed from there (file
- \fn{amssymb.sty}). Alternatively, the values can be obtained from the
-! tables in \MakeLink{subsection.7.2}{Section 7.2}, as follows:
-
- \begingroup
- \raggedright
-***************
-*** 568,574 ****
- rely on general mechanisms provided by \LaTeX{}.
-
- If you require these fonts, you can consult the \LaTeX{} documentation
-! [LFG], [L94] and use directly the commands described there, such as
- \cn{DeclareFontFamily}, \cn{DeclareFontShape}, and \cn{symbol}. A scheme
- for accessing letters that don't correspond to the 26-letter Latin alphabet
- will be needed; the file \fn{cyracc.def} can be used as a starting point.
---- 568,574 ----
- rely on general mechanisms provided by \LaTeX{}.
-
- If you require these fonts, you can consult the \LaTeX{} documentation
-! \Cite[LFG], \Cite[L94] and use directly the commands described there, such as
- \cn{DeclareFontFamily}, \cn{DeclareFontShape}, and \cn{symbol}. A scheme
- for accessing letters that don't correspond to the 26-letter Latin alphabet
- will be needed; the file \fn{cyracc.def} can be used as a starting point.
-***************
-*** 586,593 ****
- nonalphabetic symbols.
-
- Instructions for using the fonts of the AMSFonts collection with \AmSTeX{}
-! are also given in the {\sl User's Guide to \AmSTeX{} Version~2.2\/} [AMS01]
-! and in Appendix~G of editions of \JoT{} [MDS90] dated 1990 or later.
-
- Additional fonts to be used with \AmSTeX{} should be specified at the top
- of the document input file, in what is known as the ``preamble''. The
---- 586,593 ----
- nonalphabetic symbols.
-
- Instructions for using the fonts of the AMSFonts collection with \AmSTeX{}
-! are also given in the {\sl User's Guide to \AmSTeX{} Version~2.2\/} \Cite[AMS01]
-! and in Appendix~G of editions of \JoT{} \Cite[MDS90] dated 1990 or later.
-
- Additional fonts to be used with \AmSTeX{} should be specified at the top
- of the document input file, in what is known as the ``preamble''. The
-***************
-*** 612,619 ****
- commands |\loadmsam|, |\loadmsbm|, and |\loadeufm| will load the
- medium-weight versions of the two extra symbol fonts and Euler Fraktur
- respectively. The command |\newsymbol| can then be used to define just
-! those symbols that are needed; its use is described in Section 7,
-! {\bf Using the extra symbols}.%
- \footnote{*}{Additional fonts from the AMSFonts collection can be accessed
- easily in \AmSTeX{}.
- However, users should be aware that \TeX{} limits the number of
---- 612,619 ----
- commands |\loadmsam|, |\loadmsbm|, and |\loadeufm| will load the
- medium-weight versions of the two extra symbol fonts and Euler Fraktur
- respectively. The command |\newsymbol| can then be used to define just
-! those symbols that are needed; its use is described in \MakeLink{section.7}{Section 7,
-! {\bf Using the extra symbols}}.%
- \footnote{*}{Additional fonts from the AMSFonts collection can be accessed
- easily in \AmSTeX{}.
- However, users should be aware that \TeX{} limits the number of
-***************
-*** 698,705 ****
- \endgroup
- \noindent
- These facilities are described in more detail in the {\sl User's Guide to
-! \AmSTeX{} Version~2.2\/} [AMS01] and editions of \Joy\/ published in 1990
-! or later [MDS90].
-
-
- \subsection{4.3} Computer Modern math extension font
---- 698,705 ----
- \endgroup
- \noindent
- These facilities are described in more detail in the {\sl User's Guide to
-! \AmSTeX{} Version~2.2\/} \Cite[AMS01] and editions of \Joy\/ published in 1990
-! or later \Cite[MDS90].
-
-
- \subsection{4.3} Computer Modern math extension font
-***************
-*** 708,714 ****
- smaller than ten-point and in sub- and superscripts. They are provided
- automatically for these environments in the preprint style. If you are
- not using the preprint style, you can use the font definitions in either
-! \filename{amsppt.sty} or Appendix~E of \TB\/ [DEK86A] as a model.
-
-
- \subsection{4.4} Extra symbols
---- 708,714 ----
- smaller than ten-point and in sub- and superscripts. They are provided
- automatically for these environments in the preprint style. If you are
- not using the preprint style, you can use the font definitions in either
-! \filename{amsppt.sty} or Appendix~E of \TB\/ \Cite[DEK86A] as a model.
-
-
- \subsection{4.4} Extra symbols
-***************
-*** 720,726 ****
- |\loadmsbm| in the preamble of your document. If you load the fonts
- separately, a few symbols will be defined when one of the fonts is loaded,
- but most must be defined using the |\newsymbol| command before they can be
-! used. See Section 7, {\bf Using the extra symbols}, for
- information on both the symbol names and on using |\newsymbol| to define them.
-
-
---- 720,726 ----
- |\loadmsbm| in the preamble of your document. If you load the fonts
- separately, a few symbols will be defined when one of the fonts is loaded,
- but most must be defined using the |\newsymbol| command before they can be
-! used. See \MakeLink{section.7}{Section 7, {\bf Using the extra symbols}}, for
- information on both the symbol names and on using |\newsymbol| to define them.
-
-
-***************
-*** 729,735 ****
- Cyrillic is not referred to in the \AmSTeX{} files as distributed.
- The cyrillic fonts included in AMSFonts are intended for use mainly in text,
- not as symbols in math. Detailed instructions for loading and using cyrillic
-! appear below in Section 6, {\bf Using cyrillic}.
-
-
- \subsection{4.6} Caps/small caps
---- 729,735 ----
- Cyrillic is not referred to in the \AmSTeX{} files as distributed.
- The cyrillic fonts included in AMSFonts are intended for use mainly in text,
- not as symbols in math. Detailed instructions for loading and using cyrillic
-! appear below in \MakeLink{section.6}{Section 6, {\bf Using cyrillic}}.
-
-
- \subsection{4.6} Caps/small caps
-***************
-*** 737,743 ****
- Caps/small caps are loaded automatically by the \AmSTeX{} preprint style
- for use in ten-point and eight-point text. If you are not using the preprint
- style, you can use the font definitions in either \filename{amsppt.sty}
-! or Appendix~E of \TB\/ [DEK86A] as a model.
-
-
- \subsection{4.7} Dummy font
---- 737,743 ----
- Caps/small caps are loaded automatically by the \AmSTeX{} preprint style
- for use in ten-point and eight-point text. If you are not using the preprint
- style, you can use the font definitions in either \filename{amsppt.sty}
-! or Appendix~E of \TB\/ \Cite[DEK86A] as a model.
-
-
- \subsection{4.7} Dummy font
-***************
-*** 853,864 ****
- \subsection{5.4} Extra symbols
-
- Detailed instructions for accessing the \fontname{msam} and \fontname{msbm}
-! fonts are given in Section 7, {\bf Using the extra symbols}.
-
-
- \subsection{5.5} Cyrillic
-
-! See Section 6, {\bf Using cyrillic}, for instructions.
-
-
- \subsection{5.6} Caps/small caps
---- 853,864 ----
- \subsection{5.4} Extra symbols
-
- Detailed instructions for accessing the \fontname{msam} and \fontname{msbm}
-! fonts are given in \MakeLink{section.7}{Section 7, {\bf Using the extra symbols}}.
-
-
- \subsection{5.5} Cyrillic
-
-! See \MakeLink{section.6}{Section 6, {\bf Using cyrillic}}, for instructions.
-
-
- \subsection{5.6} Caps/small caps
-***************
-*** 933,939 ****
- \endtt
- If you require cyrillic text in more than one size, you must take a
- different approach in defining |\cyr|. An appropriate model appears in
-! Appendix~E of \TB\/ [DEK86A], pages 414--15. The definition of |\cyr|
- should be incorporated into size-specific macros such as |\tenpoint| and
- |\eightpoint| similarly to what is done there for |\bf|. Don't forget to
- include the command |\cyracc| in the definition.
---- 933,939 ----
- \endtt
- If you require cyrillic text in more than one size, you must take a
- different approach in defining |\cyr|. An appropriate model appears in
-! Appendix~E of \TB\/ \Cite[DEK86A], pages 414--15. The definition of |\cyr|
- should be incorporated into size-specific macros such as |\tenpoint| and
- |\eightpoint| similarly to what is done there for |\bf|. Don't forget to
- include the command |\cyracc| in the definition.
-***************
-*** 1046,1052 ****
- used extensively by the AMS cyrillic input conventions, are not easily
- specified to \TeX's hyphenation mechanism. Another approach to
- hyphenation, requiring some changes to the cyrillic \filename{.tfm}
-! files, has been described by Dimitri Vulis in a \TUB\/ article [DLV89].
-
-
- \subsection{6.3} Cyrillic in math
---- 1046,1052 ----
- used extensively by the AMS cyrillic input conventions, are not easily
- specified to \TeX's hyphenation mechanism. Another approach to
- hyphenation, requiring some changes to the cyrillic \filename{.tfm}
-! files, has been described by Dimitri Vulis in a \TUB\/ article \Cite[DLV89].
-
-
- \subsection{6.3} Cyrillic in math
-***************
-*** 1073,1079 ****
- font family specifications in |\addto\tenpoint|, as shown above.
-
- If other base text sizes are used besides ten point, the suggestions given
-! above in Section 6.1, {\bf Making cyrillic available}, apply here as well.
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
---- 1073,1079 ----
- font family specifications in |\addto\tenpoint|, as shown above.
-
- If other base text sizes are used besides ten point, the suggestions given
-! above in \MakeLink{subsection.6.1}{Section 6.1, {\bf Making cyrillic available}}, apply here as well.
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-***************
-*** 1126,1133 ****
- accessible to their \TeX{} jobs with the least possible fuss. For \AmSTeX{}
- users, these fonts are available automatically with the preprint style, and
- other methods of loading them for use with \AmSTeX{} are described above.
-! To load these fonts with \LaTeX{} or \AmS-\LaTeX{}, see Section 3.4,
-! {\bf Extra math symbols}.
-
- If you are not using \AmSTeX{} or \LaTeX{}, the easiest method of loading
- these fonts and defining the control sequences for accessing the symbols is
---- 1126,1133 ----
- accessible to their \TeX{} jobs with the least possible fuss. For \AmSTeX{}
- users, these fonts are available automatically with the preprint style, and
- other methods of loading them for use with \AmSTeX{} are described above.
-! To load these fonts with \LaTeX{} or \AmS-\LaTeX{}, see \MakeLink{subsection.3.4}{Section 3.4,
-! {\bf Extra math symbols}}.
-
- If you are not using \AmSTeX{} or \LaTeX{}, the easiest method of loading
- these fonts and defining the control sequences for accessing the symbols is
-***************
-*** 1413,1419 ****
- \bibitem [DLV89] Dimitri Vulis, ``Notes on Russian \TeX'',
- {\sl \TUB\/} {\bf10} (1989), no.~3, 332--36.
-
-! \bibitem [DRS86] David R Siegel, {\sl The Euler Project at Stanford},
- Computer Science Department, Stanford University, 1985.
-
- \bibitem [GKP88] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik,
---- 1413,1419 ----
- \bibitem [DLV89] Dimitri Vulis, ``Notes on Russian \TeX'',
- {\sl \TUB\/} {\bf10} (1989), no.~3, 332--36.
-
-! \bibitem [DRS85] David R Siegel, {\sl The Euler Project at Stanford},
- Computer Science Department, Stanford University, 1985.
-
- \bibitem [GKP88] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik,
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsldoc.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsldoc.tex.diff
deleted file mode 100644
index 6ab4b09f446..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/amsldoc.tex.diff
+++ /dev/null
@@ -1,42 +0,0 @@
-*** amsldoc.tex.org 2004-04-06 19:16:00.000000000 +0200
---- amsldoc.tex 2008-08-10 16:12:47.000000000 +0200
-***************
-*** 2163,2169 ****
-
- \section{Of possible interest}\label{a:possible-interest}
- Information about obtaining AMSFonts or other \tex/-related
-! software from the AMS Internet archive \fn{e-math.ams.org}
- can be obtained by sending a request through electronic mail to:
- \mail{webmaster@ams.org}.
-
---- 2163,2169 ----
-
- \section{Of possible interest}\label{a:possible-interest}
- Information about obtaining AMSFonts or other \tex/-related
-! software from the AMS Internet archive \fn{www.ams.org}
- can be obtained by sending a request through electronic mail to:
- \mail{webmaster@ams.org}.
-
-***************
-*** 2362,2368 ****
-
- \indexspace
-
-- \item \texttt{e-math.ams.org}, 31
- \item ellipsis dots
- \subitem in matrices, 11
- \item \texttt{eqnarray} environment, 1, 3, 26, 30
---- 2362,2367 ----
-***************
-*** 2612,2617 ****
---- 2611,2620 ----
-
- \indexspace
-
-+ \item \texttt{www.ams.org}, 31
-+
-+ \indexspace
-+
- \item \verb*+\xleftarrow+, 13
- \item \verb*+\xrightarrow+, 13
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/changes.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/changes.tex.diff
deleted file mode 100644
index 6acc6db56f5..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/changes.tex.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-*** changes.tex.org 2010-08-13 20:41:14.000000000 +0200
---- changes.tex 2011-07-02 00:30:41.000000000 +0200
-***************
-*** 34,40 ****
-
- %\usepackage[T1]{fontenc}
-
-! \usepackage[latin1]{inputenc}
-
- \usepackage{fullpage}
-
---- 34,40 ----
-
- %\usepackage[T1]{fontenc}
-
-! \usepackage{fontspec}% \usepackage[latin1]{inputenc}
-
- \usepackage{fullpage}
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/encguide.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/encguide.tex.diff
deleted file mode 100644
index b1095c54ae6..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/encguide.tex.diff
+++ /dev/null
@@ -1,40 +0,0 @@
-*** encguide.tex.org 2009-09-24 17:00:50.000000000 +0200
---- encguide.tex 2011-07-01 22:00:17.000000000 +0200
-***************
-*** 1226,1232 ****
- \newblock {\em {TUG}boat}, 11(4):514--516, 1990.
-
- \bibitem{fontinst} \emph{The \Pkg{fontinst} package}:
-! \textlangle CTAN\textrangle\url{/fonts/utilities/fontinst}.
-
- \bibitem{Rei:TB17-2-102} Fukui Rei:
- \emph{\textsl{TIPA}: A system for processing phonetic
---- 1226,1234 ----
- \newblock {\em {TUG}boat}, 11(4):514--516, 1990.
-
- \bibitem{fontinst} \emph{The \Pkg{fontinst} package}:
-! \href{ftp://ftp.ctan.org/tex-archive/fonts/utilities/fontinst}{%
-! \textlangle CTAN\textrangle\nolinkurl{/fonts/utilities/fontinst}%
-! }.
-
- \bibitem{Rei:TB17-2-102} Fukui Rei:
- \emph{\textsl{TIPA}: A system for processing phonetic
-***************
-*** 1266,1272 ****
- \newblock Addison-Wesley, Reading, Massachusetts, second edition, 1994.
-
- \bibitem{LH-Fonts} \emph{The \Pkg{lh}-Fonts for Cyrillic}:
-! \textlangle CTAN\textrangle\url{/fonts/cyrillic/lh}.
-
- \bibitem{A-W:MG2004}
- Frank Mittelbach and Michel Goossens.
---- 1268,1276 ----
- \newblock Addison-Wesley, Reading, Massachusetts, second edition, 1994.
-
- \bibitem{LH-Fonts} \emph{The \Pkg{lh}-Fonts for Cyrillic}:
-! \href{ftp://ftp.ctan.org/tex-archive/fonts/cyrillic/lh}{%
-! \textlangle CTAN\textrangle\nolinkurl{/fonts/cyrillic/lh}%
-! }.
-
- \bibitem{A-W:MG2004}
- Frank Mittelbach and Michel Goossens.
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/errorlog.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/errorlog.tex.diff
deleted file mode 100644
index 837978f77fe..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/errorlog.tex.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-*** errorlog.tex.org 2014-01-20 15:59:14.000000000 +0100
---- errorlog.tex 2014-02-03 20:06:06.604873657 +0100
-***************
-*** 2899,2912 ****
- * 18 March 2008
- F939. Forgot to goto the proper error recovery (DRF). @395
- E940. Avoid a case of dirty Pascal and speed up inner loop. @1035
-! R941. Forget reference to last_glue in format file (DRF). @1335
- R942. Glue reference not updated after overflow error (DRF). @1236
-! B943. Muglue in \leaders had wrong units; now disallowed (DRF). @1078
- E944. Speedup of ligatures and kerns at end of a word (DRF). @1039
- R945. Another sanity check of TFM files for security (DRF). @365
- I946. Give better size data for unmagnified insertions. @986
- * 6 January 2014
-! C947. Space after \csname\endcsname to match other spaces. (Oleg Bulatov) @262
- \relax
- \bye
-
---- 2899,2912 ----
- * 18 March 2008
- F939. Forgot to goto the proper error recovery (DRF). @395
- E940. Avoid a case of dirty Pascal and speed up inner loop. @1035
-! R941. Forget reference to \\{last_glue} in format file (DRF). @1335
- R942. Glue reference not updated after overflow error (DRF). @1236
-! B943. Muglue in |\leaders| had wrong units; now disallowed (DRF). @1078
- E944. Speedup of ligatures and kerns at end of a word (DRF). @1039
- R945. Another sanity check of TFM files for security (DRF). @365
- I946. Give better size data for unmagnified insertions. @986
- * 6 January 2014
-! C947. Space after |\csname\endcsname| to match other spaces. (Oleg Bulatov) @262
- \relax
- \bye
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/logmac.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/logmac.tex.diff
deleted file mode 100644
index 7541ceff009..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/logmac.tex.diff
+++ /dev/null
@@ -1,134 +0,0 @@
-*** logmac.tex.org 1991-10-19 05:33:44.000000000 +0100
---- logmac.tex 2008-07-11 01:00:43.000000000 +0200
-***************
-*** 42,54 ****
- \catcode`\ =12 % tabs are ordinary characters
- \catcode`@=\active % @ signs denote a TeX section reference
- {\obeylines \gdef@#1
-! {\global\setbox\texsec=\hbox{\S$#1$}\lookahead}}
- \chardef\@=`\@
- {\catcode`X=\active \gdef X{\X}}
- \def\X{{\eightbf X}}
- \def\lightX{\hbox{\eightrm X}}
-! \def\>#1\relax{\global\setbox\predec=\hbox{\let\X=\lightX
-! $#1\mapsto{}$}} % previous bug ref
-
- \def\checkvalid#1{\expandafter\ifx\csname#1!\endcsname\okay\else\invalidcode\fi}
- \def\okay{\okay}
---- 42,103 ----
- \catcode`\ =12 % tabs are ordinary characters
- \catcode`@=\active % @ signs denote a TeX section reference
- {\obeylines \gdef@#1
-! {%
-! \global\setbox\texsec=\hbox{%
-! \S$\texlinks{#1}$%
-! }%
-! \lookahead %
-! }%
-! }
-! \def\texlinks#1{%
-! \dotexlinks#1,\END
-! }
-! \def\dotexlinks#1,#2\END{%
-! {%
-! \pdfstartlink attr{%
-! /Border[0 0 0]%
-! } user {%
-! /Subtype/Link%
-! /F 4%
-! /A<<%
-! /S/GoToR%
-! /F(../tex/tex.pdf)%
-! /D(#1)%
-! >>%
-! }\relax
-! \TeXLinkColor #1\Black
-! \pdfendlink
-! }%
-! \ifx\eject#2\eject
-! \else
-! ,%
-! \dotexlinks#2\END
-! \fi
-! }
-! \def\TeXLinkColor{%
-! \pdfliteral{0 0 1 rg}%
-! }
- \chardef\@=`\@
- {\catcode`X=\active \gdef X{\X}}
- \def\X{{\eightbf X}}
- \def\lightX{\hbox{\eightrm X}}
-! \def\>#1\relax{%
-! \global\setbox\predec=\hbox{%
-! \let\X=\lightX
-! $%
-! \begingroup
-! \def\hbox##1{##1}%
-! \def\eightrm{}%
-! \xdef\linkname{#1}%
-! \endgroup
-! \pdfstartlink attr{/Border[0 0 0]} goto name{\linkname}\relax
-! \LinkColor#1\Black
-! \pdfendlink
-! \mapsto{}$%
-! }%
-! } % previous bug ref
-! \def\LinkColor{\pdfliteral{1 0 0 rg}}
-! \def\Black{\pdfliteral{0 g}}
-
- \def\checkvalid#1{\expandafter\ifx\csname#1!\endcsname\okay\else\invalidcode\fi}
- \def\okay{\okay}
-***************
-*** 82,90 ****
- \global\setbox\code=\hbox to\codesize{\enspace
- \hskip0pt plus 3fil\rm#1\hskip0pt plus1fil}%
- \begingroup\rm\catcode`X=\active\itemnumber}
-! \def\itemnumber#1.{\catcode`X=11\setbox0=\hbox to\itemnosize{\bf\hss#1\relax}%
-! \setbox2=\hbox{\bf#1\relax}\ifdim\wd2>\wd0 \setbox0=\box2 \fi
-! \textindent{\hfil\box\predec\box0}}
- \def\commentline{\fin\afterassignment\begincomment\let\next}
- \def\begincomment{\begingroup\let\tt=\sltt
- \let\MF=\slMF\sl\textindent{\hfil\copy\cbox}}
---- 131,172 ----
- \global\setbox\code=\hbox to\codesize{\enspace
- \hskip0pt plus 3fil\rm#1\hskip0pt plus1fil}%
- \begingroup\rm\catcode`X=\active\itemnumber}
-! \def\itemnumber#1.{%
-! \catcode`X=11 %
-! \setbox0=\hbox to\itemnosize{%
-! \bf\hss#1\relax
-! }%
-! \setbox2=\hbox{\bf#1\relax}%
-! \ifdim\wd2>\wd0 %
-! \setbox0=\box2 %
-! \fi
-! \textindent{%
-! \hfil
-! \box\predec
-! \box0 %
-! \rlap{%
-! \enspace
-! \kern-\parindent
-! \vbox to 0pt{%
-! \kern-2.5ex\relax
-! \def\getnum##1\>##2\END{##1}%
-! \def\eightbf{}%
-! \edef\linkname{\getnum#1\>\END}%
-! \def\firstofone##1{##1}%
-! \edef\linkname{\expandafter\firstofone\linkname}%
-! \expandafter\ifx\csname :\linkname:\endcsname\empty
-! \immediate\write16{%
-! * Warning: Destination `\linkname' already used!%
-! }%
-! \else
-! \expandafter\xdef\csname :\linkname:\endcsname{}%
-! \pdfdest name{\linkname}fitbh\relax
-! \kern2.5ex\relax
-! \fi
-! }%
-! }%
-! }%
-! }
- \def\commentline{\fin\afterassignment\begincomment\let\next}
- \def\begincomment{\begingroup\let\tt=\sltt
- \let\MF=\slMF\sl\textindent{\hfil\copy\cbox}}
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/source2e.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/source2e.tex.diff
deleted file mode 100644
index 742269bdafd..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/source2e.tex.diff
+++ /dev/null
@@ -1,68 +0,0 @@
-*** source2e.tex.org 2009-09-25 09:56:20.000000000 +0200
---- source2e.tex 2010-05-04 22:17:43.000000000 +0200
-***************
-*** 71,76 ****
---- 71,81 ----
-
- \documentclass{ltxdoc}
-
-+ \newdimen\OldHeadHeight
-+ \OldHeadHeight=\headheight
-+ \newdimen\OldHeadSep
-+ \OldHeadSep=\headsep
-+
- \listfiles
-
- % Do not index some TeX primitives, and some common plain TeX commands.
-***************
-*** 301,306 ****
---- 306,325 ----
- \clearpage
- \pagestyle{headings}
-
-+ \makeatletter
-+ \headheight=\OldHeadHeight
-+ \headsep=\OldHeadSep
-+ \addtolength{\textheight}{-\headheight}
-+ \addtolength{\textheight}{-\headsep}
-+ \addtolength{\textheight}{\footskip}
-+ \newdimen\OldFootSkip
-+ \OldFootSkip=\footskip
-+ \footskip=\z@
-+ \vsize=\textheight
-+ \@colht\textheight
-+ \@colroom\textheight
-+ \makeatother
-+
- % Make TeX shut up.
- \hbadness=10000
- \newcount\hbadness
-***************
-*** 315,320 ****
---- 334,359 ----
-
- \clearpage
-
-+ \makeatletter
-+ \footskip=85pt
-+ \addtolength{\footskip}{\OldFootSkip}
-+ \addtolength{\footskip}{-\baselineskip}
-+ \addtolength{\textheight}{-\footskip}
-+ \vsize=\textheight
-+ \@colht=\textheight
-+ \@colroom\textheight
-+ \newsavebox\FileKeyBox
-+ \g@addto@macro\index@prologue{%
-+ \sbox\FileKeyBox{%
-+ \parbox[b]{\textwidth}{\strut\footnotesize
-+ \raggedright{\bfseries File Key:} \filekey}%
-+ }%
-+ \typeout{FileKeyBox: ht=\the\ht\FileKeyBox, dp=\the\dp\FileKeyBox}%
-+ \gdef\@oddfoot{\copy\FileKeyBox}%
-+ \let\@evenfoot\@oddfoot
-+ }%
-+ \makeatother
-+
- % makeindex needs a symbol between the parts of composite page numbers
- % but we dont want one, so:
- \typeout{%
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/tlc2.err.diff b/Master/texmf-dist/source/latex/latex-tds/patch/tlc2.err.diff
deleted file mode 100644
index 7f7b5b38f7a..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/tlc2.err.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-*** tlc2.err.org 2009-09-24 17:00:50.000000000 +0200
---- tlc2.err 2011-07-01 20:28:10.000000000 +0200
-***************
-*** 302,308 ****
-
- \documentclass{ttcterrata}[2005/11/10] % we want new class
-
-! \usepackage[T1]{fontenc}
- \let\u\underline % shortcut for this file
- \newcommand\meta[1]{$\langle$\textit{#1\/}$\rangle$}
-
---- 302,308 ----
-
- \documentclass{ttcterrata}[2005/11/10] % we want new class
-
-! \usepackage{fontspec} % \usepackage[T1]{fontenc}
- \let\u\underline % shortcut for this file
- \newcommand\meta[1]{$\langle$\textit{#1\/}$\rangle$}
-
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/trapman.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/trapman.tex.diff
deleted file mode 100644
index 922a0467d2e..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/trapman.tex.diff
+++ /dev/null
@@ -1,212 +0,0 @@
-*** trapman.tex.org 1993-09-22 00:41:30.000000000 +0200
---- trapman.tex 2014-02-03 21:08:57.964670496 +0100
-***************
-*** 24,29 ****
---- 24,44 ----
- % if you're unlucky it will appear on a page by itself!
- {\obeyspaces\global\let =\ }
-
-+ \pdfinfo{%
-+ /Title(A torture test for METAFONT)%
-+ /Author(Donald E. Knuth)%
-+ }
-+ \pdfcatalog{%
-+ /PageLabels<<%
-+ /Nums[0<</P(0)>>1<</S/D/St 1>>]%
-+ >>%
-+ /PageMode/UseOutlines
-+ }
-+ \pdfpagewidth=7.5in\relax % 8.5in - 2*.5in
-+ \pdfhorigin=.5in\relax
-+ \pdfpageheight=10in\relax % 11in - 2*.5in
-+ \pdfvorigin=.5in\relax
-+
- \output{\shipout\box255\global\advance\pageno by 1} % for the title page only
- \null
- \vfill
-***************
-*** 62,69 ****
- \box255}
- \global\advance\pageno by 1}
- \let\runninghead=\mark
-! \outer\def\section#1.{\noindent{\bf#1.}\quad
-! \runninghead{\uppercase{#1} }\ignorespaces}
-
- \section Introduction.
- People often think that their programs are ``debugged'' when large applications
---- 77,121 ----
- \box255}
- \global\advance\pageno by 1}
- \let\runninghead=\mark
-!
-! \newcount\destcount
-! \destcount=1\relax
-!
-! \outer\def\section#1.{%
-! \noindent
-! \vbox to 0pt{%
-! \kern-2.5ex\relax
-! \pdfdest num\destcount fitbh\relax
-! \def\.##1{##1}%
-! \def\MF{METAFONT}%
-! \pdfoutline goto num\destcount{#1}\relax
-! \global\advance\destcount by 1\relax
-! \kern2.5ex\relax
-! }%
-! {\bf#1.}\quad
-! \runninghead{\uppercase{#1} }\ignorespaces
-! }
-!
-! \def\LinkColor{%
-! \pdfliteral{1 0 0 rg}%
-! }
-! \def\Black{%
-! \pdfliteral{0 g}%
-! }
-! \def\appA{2}
-! \def\appB{3}
-! \def\appC{4}
-! \def\appD{5}
-! \def\appE{6}
-! \def\appF{7}
-! \def\appG{8}
-!
-! \def\appref#1{%
-! \leavevmode
-! \pdfstartlink attr{/Border[0 0 0]} goto num\csname app#1\endcsname\relax
-! \LinkColor\hbox{Appendix}~#1\Black
-! \pdfendlink
-! }
-
- \section Introduction.
- People often think that their programs are ``debugged'' when large applications
-***************
-*** 175,208 ****
- The remainder of this report consists of appendices, whose contents ought
- to be described briefly here:
-
-! Appendix A explains in detail how to carry out a test of \MF, given
- a tape that contains copies of the other appendices.
-
-! Appendix B is \.{TRAP.MF}, the fiendish test file that has already
- been mentioned. People who think that they understand \MF\ are challenged
- to see if they know what \MF\ is supposed to do with this file.
- People who know only a little about \MF\ might still find it
- interesting to study Appendix~B, just to get some insights into the
- methodology advocated here.
-
-! Appendix C is \.{TRAPIN.LOG}, a correct transcript file \.{TRAP.LOG}
- that results if \.{INIMF} is applied to \.{TRAP.MF}. (\.{INIMF} is
- the name of a version of \MF\ that does certain initializations;
- this run of \.{INIMF} also creates a binary base file called \.{TRAP.BASE}.)
-
-! Appendix D is a correct transcript file \.{TRAP.LOG} that results if
- \.{INIMF} or any other version of \MF\ is applied to \.{TRAP.MF}
- with base file \.{TRAP.BASE}.
-
-! Appendix E is \.{TRAP.TYP}, the symbolic version of a correct output
- file \.{TRAP.72270GF} that was produced at the same time as the \.{TRAP.LOG}
- file of Appendix~D.
-
-! Appendix F is \.{TRAP.PL}, the symbolic version of a correct output
- file \.{TRAP.TFM} that was produced at the same time as the \.{TRAP.LOG}
- file of Appendix~D.
-
-! Appendix G is \.{TRAP.FOT}, an abbreviated version of Appendix D that
- appears on the user's terminal during the run that produces \.{TRAP.LOG},
- \.{TRAP.72270GF}, and \.{TRAP.TFM}.
-
---- 227,260 ----
- The remainder of this report consists of appendices, whose contents ought
- to be described briefly here:
-
-! \appref A explains in detail how to carry out a test of \MF, given
- a tape that contains copies of the other appendices.
-
-! \appref B is \.{TRAP.MF}, the fiendish test file that has already
- been mentioned. People who think that they understand \MF\ are challenged
- to see if they know what \MF\ is supposed to do with this file.
- People who know only a little about \MF\ might still find it
- interesting to study Appendix~B, just to get some insights into the
- methodology advocated here.
-
-! \appref C is \.{TRAPIN.LOG}, a correct transcript file \.{TRAP.LOG}
- that results if \.{INIMF} is applied to \.{TRAP.MF}. (\.{INIMF} is
- the name of a version of \MF\ that does certain initializations;
- this run of \.{INIMF} also creates a binary base file called \.{TRAP.BASE}.)
-
-! \appref D is a correct transcript file \.{TRAP.LOG} that results if
- \.{INIMF} or any other version of \MF\ is applied to \.{TRAP.MF}
- with base file \.{TRAP.BASE}.
-
-! \appref E is \.{TRAP.TYP}, the symbolic version of a correct output
- file \.{TRAP.72270GF} that was produced at the same time as the \.{TRAP.LOG}
- file of Appendix~D.
-
-! \appref F is \.{TRAP.PL}, the symbolic version of a correct output
- file \.{TRAP.TFM} that was produced at the same time as the \.{TRAP.LOG}
- file of Appendix~D.
-
-! \appref G is \.{TRAP.FOT}, an abbreviated version of \appref D that
- appears on the user's terminal during the run that produces \.{TRAP.LOG},
- \.{TRAP.72270GF}, and \.{TRAP.TFM}.
-
-***************
-*** 369,375 ****
- \section Appendix E: The \.{TRAP.TYP} file.
- Here is another major component of the test. It shows the output of \.{GFtype}
- applied to the file \.{TRAP.72270GF} that is created at the same time
-! Appendix D was produced.
- \runninghead{APPENDIX E: \.{TRAP.TYP} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
---- 421,427 ----
- \section Appendix E: The \.{TRAP.TYP} file.
- Here is another major component of the test. It shows the output of \.{GFtype}
- applied to the file \.{TRAP.72270GF} that is created at the same time
-! \appref D was produced.
- \runninghead{APPENDIX E: \.{TRAP.TYP} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
-***************
-*** 381,387 ****
- \section Appendix F: The \.{TRAP.PL} file.
- In this case we have the output of \.{TFtoPL}
- applied to the file \.{TRAP.TFM} that is created at the same time
-! Appendix D was produced.
- \runninghead{APPENDIX F: \.{TRAP.PL} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
---- 433,439 ----
- \section Appendix F: The \.{TRAP.PL} file.
- In this case we have the output of \.{TFtoPL}
- applied to the file \.{TRAP.TFM} that is created at the same time
-! \appref D was produced.
- \runninghead{APPENDIX F: \.{TRAP.PL} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
-***************
-*** 391,400 ****
- \vfill\eject
-
- \section Appendix G: The \.{TRAP.FOT} file.
-! This shows what appeared on the terminal while Appendix D was being produced.
- \runninghead{APPENDIX G: \.{TRAP.FOT} (CONTINUED)}
-
- \vskip8pt
- \verbatim{trap.fot}
-
-! \vfill\end
---- 443,454 ----
- \vfill\eject
-
- \section Appendix G: The \.{TRAP.FOT} file.
-! This shows what appeared on the terminal while \appref D was being produced.
- \runninghead{APPENDIX G: \.{TRAP.FOT} (CONTINUED)}
-
- \vskip8pt
- \verbatim{trap.fot}
-
-! \vfill
-! \input knuth-outline.tex
-! \end
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/tripman.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/tripman.tex.diff
deleted file mode 100644
index 5b3ba2f83ee..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/tripman.tex.diff
+++ /dev/null
@@ -1,223 +0,0 @@
-*** tripman.tex.org 1992-01-14 00:55:40.000000000 +0100
---- tripman.tex 2014-02-03 20:51:41.181649319 +0100
-***************
-*** 22,27 ****
---- 22,42 ----
- % if you're unlucky it will appear on a page by itself!
- {\obeyspaces\global\let =\ }
-
-+ \pdfinfo{%
-+ /Title(A torture test for TeX)%
-+ /Author(Donald E. Knuth)%
-+ }
-+ \pdfcatalog{%
-+ /PageLabels<<%
-+ /Nums[0<</P(0)>>1<</S/D/St 1>>]%
-+ >>%
-+ /PageMode/UseOutlines
-+ }
-+ \pdfpagewidth=7.5in\relax % 8.5in - 2*.5in
-+ \pdfhorigin=.5in\relax
-+ \pdfpageheight=10in\relax % 11in - 2*.5in
-+ \pdfvorigin=.5in\relax
-+
- \output{\shipout\box255\global\advance\pageno by 1} % for the title page only
- \null
- \vfill
-***************
-*** 57,64 ****
- \box255}
- \global\advance\pageno by 1}
- \let\runninghead=\mark
-! \outer\def\section#1.{\noindent{\bf#1.}\quad
-! \runninghead{\uppercase{#1} }\ignorespaces}
-
- \section Introduction.
- People often think that their programs are ``debugged'' when large applications
---- 72,117 ----
- \box255}
- \global\advance\pageno by 1}
- \let\runninghead=\mark
-!
-! \newcount\destcount
-! \destcount=1\relax
-!
-! \outer\def\section#1.{%
-! \noindent
-! \vbox to 0pt{%
-! \kern-2.5ex\relax
-! \pdfdest num\destcount fitbh\relax
-! \def\.##1{##1}%
-! \def\TeX{TeX}%
-! \pdfoutline goto num\destcount{#1}\relax
-! \global\advance\destcount by 1\relax
-! \kern2.5ex\relax
-! }%
-! {\bf#1.}\quad
-! \runninghead{\uppercase{#1} }\ignorespaces
-! }
-!
-! \def\LinkColor{%
-! \pdfliteral{1 0 0 rg}%
-! }
-! \def\Black{%
-! \pdfliteral{0 g}%
-! }
-! \def\appA{2}
-! \def\appB{3}
-! \def\appC{4}
-! \def\appD{5}
-! \def\appE{6}
-! \def\appF{7}
-! \def\appG{8}
-! \def\appH{9}
-!
-! \def\appref#1{%
-! \leavevmode
-! \pdfstartlink attr{/Border[0 0 0]} goto num\csname app#1\endcsname\relax
-! \LinkColor\hbox{Appendix}~#1\Black
-! \pdfendlink
-! }
-
- \section Introduction.
- People often think that their programs are ``debugged'' when large applications
-***************
-*** 170,208 ****
- The remainder of this report consists of appendices, whose contents ought
- to be described briefly here:
-
-! Appendix A explains in detail how to carry out a test of \TeX, given
- a tape that contains copies of the other appendices.
-
-! Appendix B is \.{TRIP.TEX}, the fiendish test file that has already
- been mentioned. People who think that they understand \TeX\ are challenged
- to see if they know what \TeX\ is supposed to do with this file.
- People who know only a little about \TeX\ might still find it
- interesting to study Appendix~B, just to get some insights into the
- methodology advocated here.
-
-! Appendix C is \.{TRIP.PL}, the property-list description of a
- special font called \.{trip}. This is the only font used by \.{TRIP.TEX}.
- There are no graphic characters associated with \.{trip} that could
- possibly be printed; indeed, \.{TRIP.PL} describes the properties of a font
- that is as weird as the ``document'' described by \.{TRIP.TEX}.
-
-! Appendix D is \.{TRIPIN.LOG}, a correct transcript file \.{TRIP.LOG}
- that results if \.{INITEX} is applied to \.{TRIP.TEX}. (\.{INITEX} is
- the name of a version of \TeX\ that does certain initializations;
- this run of \.{INITEX} also creates a binary format file called \.{TRIP.FMT}.)
-
-! Appendix E is a correct transcript file \.{TRIP.LOG} that results if
- \.{INITEX} or any other version of \TeX\ is applied to \.{TRIP.TEX}
- with format \.{TRIP.FMT}.
-
-! Appendix F is \.{TRIP.TYP}, the symbolic version of a correct output
- file \.{TRIP.DVI} that was produced at the same time as the \.{TRIP.LOG}
- file of Appendix~E.
-
-! Appendix G is \.{TRIPOS.TEX}, a short file written out and read in
- by \TeX\ when it processes \.{TRIP.TEX}.
-
-! Appendix H is \.{TRIP.FOT}, an abbreviated version of Appendix E that
- appears on the user's terminal during the run that produces \.{TRIP.LOG}
- and \.{TRIP.DVI}.
-
---- 223,261 ----
- The remainder of this report consists of appendices, whose contents ought
- to be described briefly here:
-
-! \appref A explains in detail how to carry out a test of \TeX, given
- a tape that contains copies of the other appendices.
-
-! \appref B is \.{TRIP.TEX}, the fiendish test file that has already
- been mentioned. People who think that they understand \TeX\ are challenged
- to see if they know what \TeX\ is supposed to do with this file.
- People who know only a little about \TeX\ might still find it
- interesting to study Appendix~B, just to get some insights into the
- methodology advocated here.
-
-! \appref C is \.{TRIP.PL}, the property-list description of a
- special font called \.{trip}. This is the only font used by \.{TRIP.TEX}.
- There are no graphic characters associated with \.{trip} that could
- possibly be printed; indeed, \.{TRIP.PL} describes the properties of a font
- that is as weird as the ``document'' described by \.{TRIP.TEX}.
-
-! \appref D is \.{TRIPIN.LOG}, a correct transcript file \.{TRIP.LOG}
- that results if \.{INITEX} is applied to \.{TRIP.TEX}. (\.{INITEX} is
- the name of a version of \TeX\ that does certain initializations;
- this run of \.{INITEX} also creates a binary format file called \.{TRIP.FMT}.)
-
-! \appref E is a correct transcript file \.{TRIP.LOG} that results if
- \.{INITEX} or any other version of \TeX\ is applied to \.{TRIP.TEX}
- with format \.{TRIP.FMT}.
-
-! \appref F is \.{TRIP.TYP}, the symbolic version of a correct output
- file \.{TRIP.DVI} that was produced at the same time as the \.{TRIP.LOG}
- file of Appendix~E.
-
-! \appref G is \.{TRIPOS.TEX}, a short file written out and read in
- by \TeX\ when it processes \.{TRIP.TEX}.
-
-! \appref H is \.{TRIP.FOT}, an abbreviated version of \appref E that
- appears on the user's terminal during the run that produces \.{TRIP.LOG}
- and \.{TRIP.DVI}.
-
-***************
-*** 384,390 ****
- \section Appendix F: The \.{TRIP.TYP} file.
- Here is another major component of the test. It shows the output of \.{DVItype}
- applied to the file \.{TRIP.DVI} that was created at the same time
-! Appendix E was produced.
- \runninghead{APPENDIX F: \.{TRIP.TYP} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
---- 437,443 ----
- \section Appendix F: The \.{TRIP.TYP} file.
- Here is another major component of the test. It shows the output of \.{DVItype}
- applied to the file \.{TRIP.DVI} that was created at the same time
-! \appref E was produced.
- \runninghead{APPENDIX F: \.{TRIP.TYP} (CONTINUED)}
-
- {\let\tt=\eighttt\leftskip 1in\baselineskip 9pt plus .1pt minus .1pt
-***************
-*** 395,401 ****
-
- \section Appendix G: The \.{TRIPOS.TEX} file.
- This short file was written out once and read in twice, during the time
-! Appendix E was being produced. There are only three lines, the first of
- which is blank.
- \runninghead{APPENDIX G: \.{TRIPOS.TEX} (CONTINUED)}
-
---- 448,454 ----
-
- \section Appendix G: The \.{TRIPOS.TEX} file.
- This short file was written out once and read in twice, during the time
-! \appref E was being produced. There are only three lines, the first of
- which is blank.
- \runninghead{APPENDIX G: \.{TRIPOS.TEX} (CONTINUED)}
-
-***************
-*** 404,413 ****
- \vfill\eject
-
- \section Appendix H: The \.{TRIP.FOT} file.
-! This shows what appeared on the terminal while Appendix E was being produced.
- \runninghead{APPENDIX H: \.{TRIP.FOT} (CONTINUED)}
-
- \vskip8pt
- \verbatim{trip.fot}
-
-! \vfill\end
---- 457,468 ----
- \vfill\eject
-
- \section Appendix H: The \.{TRIP.FOT} file.
-! This shows what appeared on the terminal while \appref E was being produced.
- \runninghead{APPENDIX H: \.{TRIP.FOT} (CONTINUED)}
-
- \vskip8pt
- \verbatim{trip.fot}
-
-! \vfill
-! \input knuth-outline.tex
-! \end
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
deleted file mode 100644
index dc48b5e72c5..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-*** utf8ienc.dtx.org 2006-05-21 17:26:00.000000000 +0200
---- utf8ienc.dtx 2008-09-10 16:16:45.000000000 +0200
-***************
-*** 30,35 ****
---- 30,45 ----
- % \iffalse
- %<*driver>
- \documentclass{ltxdoc}
-+ \usepackage{ifluatex,ifxetex}
-+ \ifluatex
-+ \usepackage{fontspec}
-+ \else
-+ \ifxetex
-+ \usepackage{fontspec}
-+ \else
-+ \usepackage[utf8]{inputenc}
-+ \fi
-+ \fi
- \GetFileInfo{utf8.def}
- \title{Providing some UTF-8 support via \texttt{inputenc}}
- \date{\fileversion\space\filedate{} printed \today}
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/webman.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/webman.tex.diff
deleted file mode 100644
index 22933d5ad86..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/patch/webman.tex.diff
+++ /dev/null
@@ -1,353 +0,0 @@
-*** webman.tex.org 1990-09-06 00:53:28.000000000 +0200
---- webman.tex 2014-02-03 21:10:39.734399312 +0100
-***************
-*** 13,25 ****
- \def\pb{\.{|...|}}
- \def\lpile{\def\cr{\hfill\endline}\matrix} % I only use \lpile by itself
-
-! \outer\def\section #1.{\penalty-50\vskip 12pt plus 3pt minus 3pt
-! \noindent{\bf #1.}\quad\ignorespaces}
-
- \def\lheader{\mainfont\the\pageno\hfill\sc\runninghead\hfill}
- \def\rheader{\hfill\sc\runninghead\hfill\mainfont\the\pageno}
- \def\runninghead{{\tentt WEB} USER MANUAL}
-
- % This verbatim mode assumes that no ? appears in the text being copied.
- \def\verbatim{\begingroup
- \def\do##1{\catcode`##1=12 } \dospecials
---- 13,76 ----
- \def\pb{\.{|...|}}
- \def\lpile{\def\cr{\hfill\endline}\matrix} % I only use \lpile by itself
-
-! \newcount\destcount
-! \destcount=1\relax
-!
-! \def\bkminfo{}
-! \outer\def\section #1.{%
-! \penalty-50\vskip 12pt plus 3pt minus 3pt
-! \noindent
-! \vbox to 0pt{%
-! \kern-2.5ex\relax
-! \pdfdest num\destcount fitbh\relax
-! \def\.##1{##1}%
-! \ifx\bkminfo\empty
-! \pdfoutline goto num\destcount{#1}\relax
-! \else
-! \pdfoutline goto num\destcount{#1 (\bkminfo)}\relax
-! \fi
-! \gdef\bkminfo{}%
-! \global\advance\destcount by 1\relax
-! \kern2.5ex\relax
-! }%
-! {\bf #1.}\quad\ignorespaces
-! }
-
- \def\lheader{\mainfont\the\pageno\hfill\sc\runninghead\hfill}
- \def\rheader{\hfill\sc\runninghead\hfill\mainfont\the\pageno}
- \def\runninghead{{\tentt WEB} USER MANUAL}
-
-+ \pdfinfo{%
-+ /Author(Donald E. Knuth)%
-+ /Title(WEB User Manual)%
-+ }
-+
-+ \def\LinkColor{%
-+ \pdfliteral{1 0 0 rg}%
-+ }
-+ \def\Black{%
-+ \pdfliteral{0 g}%
-+ }
-+ \def\appA{7}
-+ \def\appB{8}
-+ \def\appC{9}
-+ \def\appD{0}
-+ \def\appE{0}
-+ \def\appF{10}
-+ \def\appG{11}
-+ \def\appH{12}
-+
-+ \def\appref#1{%
-+ \leavevmode
-+ \ifnum\csname app#1\endcsname>0 %
-+ \pdfstartlink attr{/Border[0 0 0]} goto num\csname app#1\endcsname\relax
-+ \LinkColor\hbox{Appendix}~#1\Black
-+ \pdfendlink
-+ \else
-+ Appendix~#1%
-+ \fi
-+ }
-+
- % This verbatim mode assumes that no ? appears in the text being copied.
- \def\verbatim{\begingroup
- \def\do##1{\catcode`##1=12 } \dospecials
-***************
-*** 624,630 ****
- `\.{@\{}' is converted into `\.[', since \PASCAL\ does not allow
- nested comments. Incidentally, module numbers are automatically inserted
- as meta-comments into the \PASCAL\ program, in order to help correlate the
-! outputs of \.{WEAVE} and \.{TANGLE} (see Appendix~C\null). Meta-comments
- can be used to put conditional text into a \PASCAL\ program; this helps to
- overcome one of the limitations of \.{WEB}, since the simple macro
- processing routines of \.{TANGLE} do not include the dynamic evaluation of
---- 675,681 ----
- `\.{@\{}' is converted into `\.[', since \PASCAL\ does not allow
- nested comments. Incidentally, module numbers are automatically inserted
- as meta-comments into the \PASCAL\ program, in order to help correlate the
-! outputs of \.{WEAVE} and \.{TANGLE} (see \appref C\null). Meta-comments
- can be used to put conditional text into a \PASCAL\ program; this helps to
- overcome one of the limitations of \.{WEB}, since the simple macro
- processing routines of \.{TANGLE} do not include the dynamic evaluation of
-***************
-*** 757,763 ****
- characters as output if the input consists entirely of ASCII characters.
-
- 2. If you have an extended character set, all of the characters listed
-! in Appendix C of {\sl The \TeX book\/} can be used in strings. But you should
- stick to standard ASCII characters if you want to write programs that will
- be useful to all the poor souls out there who don't have extended
- character sets.
---- 808,814 ----
- characters as output if the input consists entirely of ASCII characters.
-
- 2. If you have an extended character set, all of the characters listed
-! in \appref C of {\sl The \TeX book\/} can be used in strings. But you should
- stick to standard ASCII characters if you want to write programs that will
- be useful to all the poor souls out there who don't have extended
- character sets.
-***************
-*** 890,912 ****
- to time.
- \section Appendices.
- The basic ideas of \.{WEB} can be understood most easily by looking at
-! examples of ``real'' programs. Appendix~A shows the \.{WEB} input that
-! generated modules 55--59 of the \.{WEAVE} program; Appendix~B shows the
-! corresponding \TeX\ code output by \.{WEAVE}; and Appendix~C shows excerpts
- from the corresponding \PASCAL\ code output by \.{TANGLE}.
-
- The complete webs for \.{WEAVE} and \.{TANGLE} appear as the bulk of this
-! report, in Appendices D and~E. The reader should first compare Appendix~A
-! to the corresponding portion of Appendix~D; then the same material should
- be compared to Appendices B and~C. Finally, if time permits, the reader may
- enjoy studying the complete programs in Appendices D and~E, since \.{WEAVE}
- and \.{TANGLE} contain several interesting aspects, and since an attempt
- has been made in these appendices to evolve a style of programming that
- makes good use of the \.{WEB} language.
-
-! Finally, Appendix F is the `\.{webmac}' file that sets \TeX\ up to accept
-! the output of \.{WEAVE}; Appendix~G discusses how to use some of its macros
-! to vary the output formats; and Appendix~H discusses what needs to be done
- when \.{WEAVE} and \.{TANGLE} are installed in a new operating environment.
- \section Performance statistics.
- The programs in Appendices D and E will optionally keep statistics on
---- 941,963 ----
- to time.
- \section Appendices.
- The basic ideas of \.{WEB} can be understood most easily by looking at
-! examples of ``real'' programs. \appref A shows the \.{WEB} input that
-! generated modules 55--59 of the \.{WEAVE} program; \appref B shows the
-! corresponding \TeX\ code output by \.{WEAVE}; and \appref C shows excerpts
- from the corresponding \PASCAL\ code output by \.{TANGLE}.
-
- The complete webs for \.{WEAVE} and \.{TANGLE} appear as the bulk of this
-! report, in Appendices D and~E. The reader should first compare \appref A
-! to the corresponding portion of \appref D; then the same material should
- be compared to Appendices B and~C. Finally, if time permits, the reader may
- enjoy studying the complete programs in Appendices D and~E, since \.{WEAVE}
- and \.{TANGLE} contain several interesting aspects, and since an attempt
- has been made in these appendices to evolve a style of programming that
- makes good use of the \.{WEB} language.
-
-! Finally, \appref F is the `\.{webmac}' file that sets \TeX\ up to accept
-! the output of \.{WEAVE}; \appref G discusses how to use some of its macros
-! to vary the output formats; and \appref H discusses what needs to be done
- when \.{WEAVE} and \.{TANGLE} are installed in a new operating environment.
- \section Performance statistics.
- The programs in Appendices D and E will optionally keep statistics on
-***************
-*** 985,992 ****
- }}
- \eject
- \def\runninghead{APPENDIX A --- {\tentt WEB} FILE FORMAT}
- \section Appendix A.
-! This excerpt from \.{WEAVE.WEB} produced modules 55--59 in Appendix~D.
- Note that some of the lines are indented to show the program structure.
- The indentation is ignored by \.{WEAVE} and \.{TANGLE}, but users find
- that \.{WEB} files are quite readable if they have some such indentation.
---- 1036,1044 ----
- }}
- \eject
- \def\runninghead{APPENDIX A --- {\tentt WEB} FILE FORMAT}
-+ \def\bkminfo{WEB file format}
- \section Appendix A.
-! This excerpt from \.{WEAVE.WEB} produced modules 55--59 in \appref D.
- Note that some of the lines are indented to show the program structure.
- The indentation is ignored by \.{WEAVE} and \.{TANGLE}, but users find
- that \.{WEB} files are quite readable if they have some such indentation.
-***************
-*** 1057,1064 ****
- \endgroup
- \vfill\eject
- \def\runninghead{APPENDIX B --- TRANSLATION BY {\tentt WEAVE}}
- \section Appendix B.
-! This excerpt from \.{WEAVE.TEX} corresponds to Appendix A.
-
- % I've inserted \vfill's here at the blank lines, to squeeze this on one page!
- \begingroup \def\tt{\eighttt} \baselineskip9pt
---- 1109,1117 ----
- \endgroup
- \vfill\eject
- \def\runninghead{APPENDIX B --- TRANSLATION BY {\tentt WEAVE}}
-+ \def\bkminfo{Translation by weave}
- \section Appendix B.
-! This excerpt from \.{WEAVE.TEX} corresponds to \appref A.
-
- % I've inserted \vfill's here at the blank lines, to squeeze this on one page!
- \begingroup \def\tt{\eighttt} \baselineskip9pt
-***************
-*** 1139,1144 ****
---- 1192,1198 ----
- \endgroup
- \eject
- \def\runninghead{APPENDIX C --- TRANSLATION BY {\tentt TANGLE}}
-+ \def\bkminfo{Translation by tangle}
- \section Appendix C.
- The \.{TANGLE} processor converts \.{WEAVE.WEB} into a syntactically
- correct (but not very pretty) \PASCAL\ program \.{WEAVE.PAS}.
-***************
-*** 1458,1470 ****
- opposite sides of each sheet.
-
- \point 6. The \.{\\title} macro will appear at the top of each page
-! in small caps. For example, Appendix~D was produced after saying
- `\.{\\def\\title\{WEAVE\}}'.
-
- \point 7. The first page usually is assigned page number 1.
- To start on page 16, with contents
- on page 15, say this: `\.{\\def\\contentspagenumber\{15\}}
-! \.{\\pageno=\\contentspagenumber} \.{\\advance\\pageno by 1}'. (Appendix~D
- was generated that way.)
-
- \point 8. The macro \.{\\iftitle} will suppress the header line if it is
---- 1512,1524 ----
- opposite sides of each sheet.
-
- \point 6. The \.{\\title} macro will appear at the top of each page
-! in small caps. For example, \appref D was produced after saying
- `\.{\\def\\title\{WEAVE\}}'.
-
- \point 7. The first page usually is assigned page number 1.
- To start on page 16, with contents
- on page 15, say this: `\.{\\def\\contentspagenumber\{15\}}
-! \.{\\pageno=\\contentspagenumber} \.{\\advance\\pageno by 1}'. (\appref D
- was generated that way.)
-
- \point 8. The macro \.{\\iftitle} will suppress the header line if it is
-***************
-*** 1475,1484 ****
- Two macros are provided to give flexibility to the table of
- contents: \.{\\topofcontents} is invoked just before the contents
- info is read, and \.{\\botofcontents} is invoked just after.
-! For example, Appendix~D was produced with the following definitions:
- $$\lpile{\.{\\def\\topofcontents\{\\null\\vfill}\cr
- \.{ { }\\titlefalse \% include headline on the contents page}\cr
-! \.{ { }\\def\\rheader\{\\mainfont Appendix D\\hfil 15\}}\cr
- \.{ { }\\centerline\{\\titlefont The \{\\ttitlefont WEAVE\}{ }processor\}}\cr
- \.{ { }\\vskip 15pt \\centerline\{(Version 4)\}{ }\\vfill\}}\cr}$$
- Redefining \.{\\rheader}, which is the headline for right-hand pages,
---- 1529,1538 ----
- Two macros are provided to give flexibility to the table of
- contents: \.{\\topofcontents} is invoked just before the contents
- info is read, and \.{\\botofcontents} is invoked just after.
-! For example, \appref D was produced with the following definitions:
- $$\lpile{\.{\\def\\topofcontents\{\\null\\vfill}\cr
- \.{ { }\\titlefalse \% include headline on the contents page}\cr
-! \.{ { }\\def\\rheader\{\\mainfont \appref D\\hfil 15\}}\cr
- \.{ { }\\centerline\{\\titlefont The \{\\ttitlefont WEAVE\}{ }processor\}}\cr
- \.{ { }\\vskip 15pt \\centerline\{(Version 4)\}{ }\\vfill\}}\cr}$$
- Redefining \.{\\rheader}, which is the headline for right-hand pages,
-***************
-*** 1487,1493 ****
-
- \point 9. Data for the table of contents is written to a file that
- is read after the indexes have been \TeX ed; there's one line of data
-! for every starred module. For example, when Appendix~D was being generated,
- a file \.{CONTENTS.TEX} containing
- $$\lpile{\.{\\Z \{{ }Introduction\}\{1\}\{16\}}\cr
- \.{\\Z \{{ }The character set\}\{11\}\{19\}}\cr}$$
---- 1541,1547 ----
-
- \point 9. Data for the table of contents is written to a file that
- is read after the indexes have been \TeX ed; there's one line of data
-! for every starred module. For example, when \appref D was being generated,
- a file \.{CONTENTS.TEX} containing
- $$\lpile{\.{\\Z \{{ }Introduction\}\{1\}\{16\}}\cr
- \.{\\Z \{{ }The character set\}\{11\}\{19\}}\cr}$$
-***************
-*** 1579,1585 ****
- \.{TANGLE.PAS}, and \.{WEBMAC.TEX}. The tape will probably also contain an
- example change file \.{TANGLE.CH}.
- \step(2) Look at the sections of \.{TANGLE} that are listed under ``system
-! dependencies'' in the index of Appendix~E above, and figure out what changes
- (if any) will be needed for your system.
- \step(3) Make a change file \.{TANGLE.CH} that contains the changes of~(2);
- do not change your copy of \.{TANGLE.WEB}, leave it intact. (The
---- 1633,1639 ----
- \.{TANGLE.PAS}, and \.{WEBMAC.TEX}. The tape will probably also contain an
- example change file \.{TANGLE.CH}.
- \step(2) Look at the sections of \.{TANGLE} that are listed under ``system
-! dependencies'' in the index of \appref E above, and figure out what changes
- (if any) will be needed for your system.
- \step(3) Make a change file \.{TANGLE.CH} that contains the changes of~(2);
- do not change your copy of \.{TANGLE.WEB}, leave it intact. (The
-***************
-*** 1605,1622 ****
- working \.{TANGLE} program.
- \step(7) Make a change file \.{WEAVE.CH} analogous to (3), but this time
- consider the system-dependent parts of \.{WEAVE} that are listed in
-! the index to Appendix~D.
- \step(8) Run \.{TANGLE} on \.{WEAVE.WEB} and your \.{WEAVE.CH}, obtaining
- \.{WEAVE.PAS}.
- \step(9) Use \PASCAL\ on \.{WEAVE.PAS} to make a running \.{WEAVE} program.
- \step(10) Run \.{WEAVE} on \.{TANGLE.WEB} and \.{TANGLE.CH} to produce
- \.{TANGLE.TEX}.
- \step(11) Run \TeX\ on \.{TANGLE.TEX}, obtaining a listing analogous to
-! Appendix~E. This listing will incorporate your changes.
- \step(12) Run \.{WEAVE} on \.{WEAVE.WEB} and your \.{WEAVE.CH} to produce
- \.{WEAVE.TEX}.
- \step(13) Run \TeX\ on \.{WEAVE.TEX}, obtaining a listing analogous to
-! Appendix~D that incorporates your changes.
-
- \yskip\noindent
- This description assumes that you already have a working \TeX82 system.
---- 1659,1676 ----
- working \.{TANGLE} program.
- \step(7) Make a change file \.{WEAVE.CH} analogous to (3), but this time
- consider the system-dependent parts of \.{WEAVE} that are listed in
-! the index to \appref D.
- \step(8) Run \.{TANGLE} on \.{WEAVE.WEB} and your \.{WEAVE.CH}, obtaining
- \.{WEAVE.PAS}.
- \step(9) Use \PASCAL\ on \.{WEAVE.PAS} to make a running \.{WEAVE} program.
- \step(10) Run \.{WEAVE} on \.{TANGLE.WEB} and \.{TANGLE.CH} to produce
- \.{TANGLE.TEX}.
- \step(11) Run \TeX\ on \.{TANGLE.TEX}, obtaining a listing analogous to
-! \appref E. This listing will incorporate your changes.
- \step(12) Run \.{WEAVE} on \.{WEAVE.WEB} and your \.{WEAVE.CH} to produce
- \.{WEAVE.TEX}.
- \step(13) Run \TeX\ on \.{WEAVE.TEX}, obtaining a listing analogous to
-! \appref D that incorporates your changes.
-
- \yskip\noindent
- This description assumes that you already have a working \TeX82 system.
-***************
-*** 1669,1672 ****
- the whole project is not impossibly difficult, because in fact the entire
- development of \.{WEAVE} and \.{TANGLE} (including the writing of the
- programs and this manual) took less than two months of work.
-! \vfill\end
---- 1723,1728 ----
- the whole project is not impossibly difficult, because in fact the entire
- development of \.{WEAVE} and \.{TANGLE} (including the writing of the
- programs and this manual) took less than two months of work.
-! \vfill
-! \input knuth-outline.tex
-! \end
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
deleted file mode 100644
index 681bbe95e34..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
+++ /dev/null
@@ -1,256 +0,0 @@
-% ams.drv
-% 2013/02/15 v1.5 Driver file for amslatex documentation files
-% Copyright 2006-2013 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2006/06/02 v1.0
-% 2007/10/17 v1.1: Fix for subeqn, amsmath before hyperref.
-% 2008/08/02 v1.2: Destination of bookmark "Index" fixed for amsldoc.
-% 2010/10/27 v1.3
-% * Update/fix for instr-l.tex.
-% * Adding missing macro definitions for amsrefs.dtx.
-% * Fix for changes.tex.
-% 2012/05/12 v1.4
-% * Update for ForestGreen, option `dvipsnames' also added for xcolor.
-% 2013/02/15 v1.5
-% * Support for amsfonts added.
-%
-\NeedsTeXFormat{LaTeX2e}
-\makeatletter
-
-%%% Paper size
-\@for\reserved@a:=article,report,book,amsdtx,amsart\do{%
- \PassOptionsToClass{a4paper}{\reserved@a}%
-}
-
-%%% Skip for cite-xa (unsupported)
-\begingroup
- \edef\x{\jobname}%
- \def\y{cite-xa}%
- \@onelevel@sanitize\y
-\expandafter\endgroup
-\ifx\x\y
- \expandafter\@firstofone
-\else
- \expandafter\@gobble
-\fi
-{%
- \input{\jobname.tex}%
- \endinput
-}
-
-%%% Support math symbols for amsfonts/amsfonts.dtx
-\PassOptionsToPackage{pdfencoding=auto,psdextra}{hyperref}
-
-%%% Patch for amsrefs/changes.tex and amsfonts/amsfonts.dtx
-\AtBeginDocument{%
- \@ifundefined{pdfstringdefDisableCommands}{}{%
- \pdfstringdefDisableCommands{%
- \def\cs#1{\textbackslash#1}%
- \let\fnt\@firstofone
- \def\meta#1{\textlangle#1\textrangle}%
- }%
- }%
-}
-
-%%% Patch \documentclass
-\let\PATCH@ORG@documentclass\documentclass
-\renewcommand*{\documentclass}[2][]{%
- \let\documentclass\PATCH@ORG@documentclass
- \begingroup
- \toks@{\documentclass}%
- \def\x{#1}%
- \ifx\x\@empty
- \else
- \toks@\expandafter{\the\toks@[{#1}]}%
- \fi
- \toks@\expandafter{\the\toks@{#2}}%
- \PATCH@documentclass
-}
-\newcommand*{\PATCH@documentclass}[1][]{%
- \def\x{#1}%
- \ifx\x\@empty
- \else
- \toks@\expandafter{\the\toks@[#1]}%
- \fi
- \expandafter\endgroup
- \the\toks@
- %
- % page layout
- \addtolength{\topmargin}{-10mm}%
- \addtolength{\textheight}{20mm}%
- %
- % load package amsmath before hyperref for subeqn
- \def\@tempa{subeqn}%
- \@onelevel@sanitize\@tempa
- \edef\@tempb{\jobname}%
- \ifx\@tempa\@tempb
- \usepackage{amsmath}\relax
- \fi
- %
- %%% Add hyperref support
- \PassOptionsToPackage{hyperref}{draft=false}%
- \IfFileExists{\jobname.dtx}{%
- \RequirePackage{hypdoc}[2006/06/01]%
- }{}{}%
- \usepackage[pdfusetitle]{hyperref}%
- \hypersetup{
- draft=false,
- colorlinks,
- bookmarksnumbered,
- }%
- \pdfstringdefDisableCommands{%
- \def\BibTeX{BibTeX}%
- \let\pkg\@firstofone
- \let\cls\@firstofone
- \let\opt\@firstofone
- \let\fld\@firstofone
- \let\ntt\relax
- \let\fn\@firstofone
- \let\env\@firstofone
- \def\cn{\textbackslash}%
- \def\begend##1{%
- \textbackslash begin\{##1\} \dots\space
- \textbackslash end\{##1\}%
- }%
- \def\and{, }%
- \def\linebreak[##1]{}%
- }%
-}
-
-%%% Patch for instr-l.tex
-\begingroup
- \edef\x{\jobname}%
- \def\y{instr-l}%
- \@onelevel@sanitize\y
-\expandafter\endgroup
-\ifx\x\y
- \PassOptionsToPackage{dvipsnames,usenames}{color}%
- \PassOptionsToPackage{dvipsnames}{xcolor}%
- \RequirePackage{color}%
- \definecolor{ForestGreen}{cmyk}{0.91,0,0.88,0.12}%
- \PassOptionsToPackage{%
- pdfusetitle,%
- pdftex,breaklinks=true,colorlinks,%
- citecolor=ForestGreen,plainpages=false,%
- pdfpagelabels,bookmarksopen,bookmarksnumbered,%
- }{hyperref}%
- \AtBeginDocument{%
- \hypersetup{%
- pdfauthor={American Mathematical Society},%
- pdfkeywords={latex, AMS, amslatex, ams-latex, author instructions},%
- pdftitle={Instructions for Preparation of Papers and Monographs}%
- }%
- \let\ORG@title\title
- \let\ORG@thepage\thepage
- \def\title{%
- \let\thepage\ORG@thepage
- \ORG@title
- }%
- \renewcommand*{\thepage}{\roman{page}}%
- }%
-\fi
-
-%%% Patch for cite-xh.tex
-\begingroup
- \edef\x{\jobname}%
- \def\y{cite-xh}%
- \@onelevel@sanitize\y
-\expandafter\endgroup
-\ifx\x\y
- \PassOptionsToPackage{%
- colorlinks,citecolor=red,pagebackref,hypertexnames=false,hypertexnames%
- }{hyperref}%
-\fi
-
-%%% Patch theindex for amsldoc.tex
-\begingroup
- \edef\x{\jobname}%
- \def\y{amsldoc}%
- \@onelevel@sanitize\y
-\expandafter\endgroup
-\ifx\x\y
-\else
- \expandafter\@gobbletwo
-\fi
-\AtBeginDocument{%
- \let\PATCH@ORG@theindex\theindex
- \def\theindex{%
- \let\endtheindex\relax
- \end{theindex}%
- \let\theindex\PATCH@ORG@theindex
- \clearpage
- \phantomsection
- \InputIfFileExists{\jobname.ind}{}{}%
- \end{document}%
- }%
-}
-
-%%% Patch for amsrefs.dtx
-% Adding missing macro definitions (from amsrdoc.tex)
-\begingroup
- \edef\x{\jobname}%
- \def\y{amsrefs}%
- \@onelevel@sanitize\y
-\expandafter\endgroup
-\ifx\x\y
- \AtBeginDocument{%
- \providecommand{\cnbreak}{\penalty999\hskip0pt\relax}%
- \providecommand{\cnm}[2]{\cn{#1}\cnbreak\embrace{#2}}%
- \providecommand{\cnmm}[3]{%
- \cn{#1}%
- \cnbreak
- \embrace{#2}%
- \cnbreak
- \embrace{#3}%
- }%
- \providecommand{\cnom}[1]{\cn{#1}\cnbreak\ommitude}%
- \providecommand{\ommitude}[2][]{{\ntt[#1]}\cnbreak\embrace{#2}}%
- \providecommand{\cnmsm}[4]{%
- \cn{#1}\cnbreak\embrace{#2}\cnbreak *\embrace{#4}%
- }%
- \@ifundefined{lbracechar}{%
- \DeclareTextSymbol{\lbracechar}{OT1}{123}%
- \DeclareTextSymbolDefault{\lbracechar}{OT1}%
- \DeclareTextSymbol{\rbracechar}{OT1}{125}%
- \DeclareTextSymbolDefault{\rbracechar}{OT1}%
- }{}%
- \providecommand{\embrace}[1]{%
- \begingroup\ntt\lbracechar#1\rbracechar\endgroup
- }%
- }%
-\fi
-
-\makeatother
-
-%%% Load document source file
-\InputIfFileExists{\jobname.tex}{%
- \typeout{* Document source: \jobname.tex}%
-}{%
- \InputIfFileExists{\jobname.dtx}{%
- \typeout{* Document source: \jobname.dtx}%
- \AtBeginDocument{\CodelineIndex}%
- \AtEndDocument{\PrintIndex}%
- }{%
- \PackageError{ams.drv}{%
- Cannot find document source%
- }{\csname @ehc\endcsname}%
- }%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex b/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex
deleted file mode 100644
index 3122fceabd0..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex
+++ /dev/null
@@ -1,50 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{doc_lppl.tex}
- [2006/06/02 v1.0 Master file for lppl.tex (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\documentclass[a4paper,11pt]{article}
-
-\usepackage[
- ignoreall,
- vmargin=1in
-]{geometry}
-
-\usepackage[colorlinks]{hyperref}
-\hypersetup{
- pdftitle={The LaTeX Project Public License},
- bookmarksopen,
- bookmarksopenlevel=3,
-}
-
-\let\LPPLicense\begingroup
-\let\endLPPLicense\endgroup
-
-\newcommand*{\LPPLsection}{\section}
-\newcommand*{\LPPLsubsection}{\subsection}
-\newcommand*{\LPPLsubsubsection}{\subsubsection}
-\newcommand*{\LPPLparagraph}{\paragraph}
-
-\setcounter{secnumdepth}{0}
-
-\begin{document}
-\input{lppl}
-\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg
deleted file mode 100644
index 541978cc15a..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg
+++ /dev/null
@@ -1,36 +0,0 @@
-% docstrip.cfg
-% 2006/06/02 v1.0
-% Copyright 2006 Heiko Oberdiek
-%
-% Configuration file for `docstrip' that enables the TDS installation
-% feature and automatically creates missing directories.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\BaseDirectory{texmf}
-\UseTDS
-
-\def\shell#{\immediate\write18}
-\def\mkdir#1{\shell{mkdir -p #1}}
-
-\let\saved@usedir\usedir
-\def\usedir#1{%
- \mkdir{\basedir#1}%
- \saved@usedir{#1}%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/errata.all b/Master/texmf-dist/source/latex/latex-tds/tex/errata.all
deleted file mode 100644
index 8e41134e820..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/errata.all
+++ /dev/null
@@ -1,100 +0,0 @@
-% errata.all
-% 2008/07/11 v1.0 Driver file for merging of knuth/errata/errata.*
-% Copyright 2008 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2008/07/11 v1.0
-%
-\pdfinfo{%
- /Author(Donald E. Knuth)%
- /Title(Bugs in Computers and \string&\space Typesetting)%
-}
-\pdfcatalog{%
- /PageMode/UseOutlines
-}
-\pdfhorigin=0pt\relax
-\pdfvorigin=0pt\relax
-\newcount\i
-\newcount\m
-\newcount\e
-\e=0 %
-\def\labels{}
-\def\err#1#2{%
- \advance\e by 1 %
- \edef\labels{%
- \labels
- \the\numexpr\pageno - 1\relax<</P(\the\e-)/S/D>>%
- }%
- \pdfoutline user{%
- <<%
- /S/GoTo%
- /D[\pdfpageref\pageno\space 0 R /FitBH 600]%
- >>%
- }{\the\e\space#2}%
- \setbox0=\hbox{%
- \pdfximage{errata_#1.pdf}%
- \pdfrefximage\pdflastximage
- }%
- \m=\pdflastximagepages
- \i=0 %
- \loop
- \ifnum\i<\m
- \advance\i by 1 %
- \ifcase\i
- \else
- \setbox0=\hbox{%
- \pdfximage page\i{errata_#1.pdf}%
- \pdfrefximage\pdflastximage
- }%
- \fi
- \pdfpagewidth=\wd0 %
- \pdfpageheight=\dimexpr\ht0 + \dp0\relax
- \shipout\box0 %
- \advancepageno
- \repeat
-}
-\def\-{\string\205}
-\def\comp{Computers \string& Typesetting}
-\err{one}{The TeXbook, first printing}
-\err{two}{The TeXbook, second printing}
-\err{three}{\comp, 1986\-1987}
-\err{four}{\comp, 1987\-1988}
-\err{five}{\comp, 1989}
-\err{six}{\comp, 1990}
-\err{seven}{\comp, 1991}
-\err{eight}{\comp, 1992}
-\err{nine}{\comp\space A, 1996}
-\err{ten}{\comp, 2000}
-\err{eleven}{\comp, 2001}
-\begingroup
- \newread\r
- \openin\r=errata.new\relax
- \read\r to \test
- \closein\r
- \test
- \xdef\latest{\the\year}%
-\endgroup
-\err{new}{\comp, \latest}
-
-\pdfcatalog{%
- /PageLabels<<%
- /Nums[\labels]%
- >>%
-}
-\end
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg
deleted file mode 100644
index 66a59892a37..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg
+++ /dev/null
@@ -1,96 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{errata.cfg}%
- [2011/07/01 v1.2 latex-tds: errata.cls configuration (HO)]
-%
-% Copyright 2006, 2008, 2011 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\AtEndOfClass{%
- \RequirePackage{hyperref}%
- \newcounter{unique}
- \renewcommand\CHAPTER[1]{%
- \endgobble
- &\\[4pt]%
- \noalign{%
- \stepcounter{unique}%
- \pdfbookmark[0]{#1}{ch-\number\value{unique}}%
- }%
- \multicolumn{4}{l}{\framebox[10cm][l]{\textbf{\normalsize\strut#1}}} \\%
- }
- \let\SAVEDerratatitle\erratatitle
- \renewcommand{\erratatitle}[1]{%
- \hypersetup{%
- pdftitle={#1}%
- }%
- \SAVEDerratatitle{#1}%
- }%
- \hypersetup{%
- pdfsubject={Errata list}%
- }%
-}
-\AtBeginDocument{%
- \showallerrors
- \renewcommand*{\myprinting}{1}%
-}
-\begingroup
- \edef\x{\jobname}%
- \edef\y{\detokenize{lb2}}%
-\expandafter\endgroup
-\ifx\x\y
- \AtBeginDocument{%
- \renewcommand*{\printedentries}{bis zum}%
- \hypersetup{%
- pdftitle={Der LaTeX Begleiter, 2. Auflage}%
- }%
- \renewcommand\erratatitle[2]{%
- \begin{center}\LARGE\bfseries
- Errataliste f\"ur #1\\[5pt](\myprinting.\ Druck)\\[10pt]%
- \small Enth\"alt alle Eintr\"age, die \printedentries\space #2 %
- gemeldet wurden\\
- (F\"ur andere Zeitr\"aume/Druckausgaben \"andert man die \texttt{.cfg} %
- Datei und formatiert erneut.)
- \end{center}%
- \markright{Errata f\"ur #1 (\printedentries\space #2)}%
- \thispagestyle{plain}%
- \vspace{20pt}%
- }%
- }%
-\fi
-\begingroup
- \edef\x{\jobname}%
- \edef\y{\detokenize{webcompg}}%
-\expandafter\endgroup
-\ifx\x\y
- \AtBeginDocument{%
- \renewcommand*{\printedentries}{bis zum}%
- }%
- \AtEndOfClass{%
- \renewcommand*{\erratatitle}[2]{%
- \begin{center}\LARGE\bfseries
- Errata list f\"ur #1\\[5pt](\myprinting.\ Druck)\\[10pt]
- \large Enth\"alt alle Eintr\"age, die \printedentries\space #2 %
- gemeldet wurden %
- \end{center}%
- \markright{Errata f\"ur #1 (\printedentries\space #2)}%
- \thispagestyle{plain}%
- \vspace{20pt}%
- }%
- }%
-\fi
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/errata.drv b/Master/texmf-dist/source/latex/latex-tds/tex/errata.drv
deleted file mode 100644
index a84beaeae34..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/errata.drv
+++ /dev/null
@@ -1,51 +0,0 @@
-% errata.drv
-% 2008/07/11 v1.0 Driver file for knuth/errata/errata.*
-% Copyright 2008 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2008/07/11 v1.0
-%
-\errorcontextlines=\maxdimen
-\input ifpdf.sty\relax
-\ifpdf
-\else
- \input infwarerr.sty\relax
- \catcode`\@=11 %
- \@PackageError{errata.drv}{You need pdfTeX in PDF mode}\@ehd
- \expandafter\end
-\fi
-
-\input atbegshi.sty\relax
-\AtBeginShipout{%
- \pdfpagewidth=\dimexpr\wd\AtBeginShipoutBox + 72bp\relax
- \pdfpageheight=\dimexpr\ht\AtBeginShipoutBox
- + \dp\AtBeginShipoutBox + 72bp\relax
-}
-\pdfhorigin=.5in\relax
-\pdfpageheight=\dimexpr 44pc + 3pc + 72bp\relax
-\pdfvorigin=.5in\relax
-
-\begingroup
- \edef\file{\jobname}%
- \catcode`\_=12 %
- \def\x#1_#2\END{\endgroup
- \input #1.#2\relax
- }%
-\expandafter\x\file\END
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/errorlog.drv b/Master/texmf-dist/source/latex/latex-tds/tex/errorlog.drv
deleted file mode 100644
index f4d690d7559..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/errorlog.drv
+++ /dev/null
@@ -1,58 +0,0 @@
-% errorlog.drv
-% 2008/07/11 v1.0 Driver file for knuth/errata/errorlog.tex
-% Copyright 2008 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2008/07/11 v1.0
-%
-\errorcontextlines=\maxdimen
-\input ifpdf.sty\relax
-\ifpdf
-\else
- \input infwarerr.sty\relax
- \catcode`\@=11 %
- \@PackageError{errorlog.drv}{You need pdfTeX in PDF mode}\@ehd
- \expandafter\end
-\fi
-
-% Original paper size is probably letter (default of plain format).
-% But decrease margins for better online viewing.
-% /CropBox setting does not work for all viewers (AR, but not xdvi).
-\iftrue
- \pdfpagewidth=472.5bp\relax % 33.5pc + 2*.5in
- \pdfhorigin=0.5in\relax
- \pdfpageheight=645.85bp\relax % 48pc + 2*.5in
- \pdfvorigin=0.5in\relax
- \def\voffsetbp{-36}%
-\else
- \pdfpagewidth=544.5bp\relax
- \pdfpageheight=717.85bp\relax
- \def\voffsetbp{0}%
- \pdfpageattr{%
- /CropBox[36 36 508.5 681.85]%
- }%
-\fi
-
-\pdfinfo{%
- /Author(Donald E. Knuth)%
- /Title(The errors of TeX)%
-}
-
-\input \jobname.tex\relax
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/etex_man.drv b/Master/texmf-dist/source/latex/latex-tds/tex/etex_man.drv
deleted file mode 100644
index 51f0723f0c4..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/etex_man.drv
+++ /dev/null
@@ -1,58 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{etex_man.drv}%
- [2010/10/27 v1.0 Driver file for etex_man.tex (HO)]
-%
-% Copyright 2010 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\let\SavedDocumentclass\documentclass
-\def\documentclass#1{%
- \let\documentclass\SavedDocumentclass
- \documentclass{#1}%
- \addtolength{\textheight}{\headheight}%
- \addtolength{\textheight}{\headsep}%
- \setlength{\headheight}{0pt}%
- \setlength{\headsep}{0pt}%
- \addtolength{\textheight}{20mm}%
- \addtolength{\topmargin}{-10mm}%
- % \RequirePackage[dvipsnames,usenames]{color}%
- \RequirePackage[unicode,colorlinks]{hyperref}[2010/05/13]%
- \hypersetup{%
- pdftitle={The \eTeX\ manual},%
- pdfauthor={The NTS Team, Peter Breitenlohner},%
- pdfkeywords={\eTeX, manual},%
- % citecolor=ForestGreen,%
- }%
- \RequirePackage{bookmark}%
- \bookmarksetup{%
- open,%
- openlevel=2,%
- numbered,%
- }%
-}
-\AtBeginDocument{%
- \let\SavedSection\section
- \def\section{%
- \let\section\SavedSection
- \tableofcontents
- \section
- }%
-}
-\input{\jobname.tex}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/fix-expl3-lua.ini b/Master/texmf-dist/source/latex/latex-tds/tex/fix-expl3-lua.ini
deleted file mode 100644
index 8b0deb04fbf..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/fix-expl3-lua.ini
+++ /dev/null
@@ -1,42 +0,0 @@
-% fix-expl3-lua.ini
-% 2014/05/15 v1.0
-% Copyright 2014 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2015/05/15 v1.0:
-% * First version.
-%
-\newcommand*{\FixExplThreeLua}{%
- \directlua{%
- if not l3kernel or not l3kernel.strcmp then %
- l3kernel = { }%
- function l3kernel.strcmp (A, B)%
- if A == B then %
- tex.write ("0")%
- elseif A < B then %
- tex.write ("-1")%
- else %
- tex.write ("1")%
- end %
- end %
- end%
- }%
-}
-\everyjob=\expandafter{\the\everyjob\FixExplThreeLua}%
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg
deleted file mode 100644
index 674d7716978..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg
+++ /dev/null
@@ -1,32 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{hyperref.cfg}%
- [2006/06/02 v1.0 latex-tds: hyperref.sty configuration (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\AtEndOfPackage{%
- \RequirePackage{hypdestopt}%
- % patch for varioref (psnfss2e.drv)
- \let\HyperrefRefstepcounter\refstepcounter
- \AtBeginDocument{%
- \let\refstepcounter\HyperrefRefstepcounter
- }%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/knuth-outline.tex b/Master/texmf-dist/source/latex/latex-tds/tex/knuth-outline.tex
deleted file mode 100644
index 3a875e48fb0..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/knuth-outline.tex
+++ /dev/null
@@ -1,57 +0,0 @@
-% knuth.drv
-% 2014/02/03 v1.0 Outline file list for module knuth
-% Copyright 2014 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2014/02/03 v1.0
-%
-\begingroup
- \def\voffsetbp{-36}%
- \def\entry#1#2{%
- \pdfoutline
- attr{/C[0 0 1]}
- user{%
- <<%
- /S/GoToR%
- /F(../#1/#2.pdf)%
- /D[0/FitBH \the\numexpr 720+\voffsetbp\relax]% 10in/9.5in
- >>%
- }%
- {[#1/#2]}\relax
- }%
- \entry{tex}{tex}%
- \entry{tex}{tripman}%
- \entry{tex}{glue}%
- \entry{texware}{pooltype}%
- \entry{texware}{tftopl}%
- \entry{texware}{pltotf}%
- \entry{texware}{dvitype}%
- \entry{mf}{mf}%
- \entry{mf}{trapman}%
- \entry{mfware}{gftype}%
- \entry{mfware}{gftopk}%
- \entry{mfware}{gftodvi}%
- \entry{mfware}{mft}%
- \entry{etc}{vftovp}%
- \entry{etc}{vptovf}%
- \entry{web}{weave}%
- \entry{web}{tangle}%
- \entry{web}{webman}%
-\endgroup
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/knuth.drv b/Master/texmf-dist/source/latex/latex-tds/tex/knuth.drv
deleted file mode 100644
index bf2952c227b..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/knuth.drv
+++ /dev/null
@@ -1,294 +0,0 @@
-% knuth.drv
-% 2008/07/10 v1.0 Driver file for knuth/{texware,mfware,etc}/*.web
-% Copyright 2008 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2008/07/10 v1.0
-%
-\errorcontextlines=\maxdimen
-\input ifpdf.sty\relax
-\ifpdf
-\else
- \input infwarerr.sty\relax
- \catcode`\@=11 %
- \@PackageError{knuth.drv}{You need pdfTeX in PDF mode}\@ehd
- \expandafter\end
-\fi
-\input pdfwebmac.tex\relax % Han The Thanh's enriched version of webmac.tex
-
-% Original paper size is probably letter (default of plain format).
-% But decrease margins for better online viewing.
-% /CropBox setting does not work for all viewers (AR, but not xdvi).
-\iftrue
- \pdfpagewidth=7.5in\relax % 8.5in - 2*0.5in
- \pdfhorigin=0.5in\relax
- \pdfpageheight=10in\relax % 11in - 2*0.5in
- \pdfvorigin=0.5in\relax
- \def\voffsetbp{-36}%
-\else
- \pdfpagewidth=8.5in\relax
- \pdfpageheight=11in\relax
- \def\voffsetbp{0}%
- \pdfpageattr{%
- /CropBox[36 36 576 756]% .5in .5in 8in 10.5in
- }%
-\fi
-
-% Definition of color macros
-\def\pdfsetrgbcolor#1{%
- \pdfliteral{#1 rg}%
-}
-\def\pdfsetgraycolor#1{%
- \pdfliteral{#1 g}%
-}
-\def\Black{%
- \pdfsetgraycolor{0}%
-}
-\def\LinkColor{%
- \pdfsetrgbcolor{1 0 0}%
-}
-
-\newif\ifusename
-\usenamefalse
-\begingroup
- \edef\x{\jobname}%
- \edef\y{\detokenize{tex}}%
- \ifx\x\y
- \global\usenametrue
- \fi
-\endgroup
-\def\numname#1{%
- \ifusename
- name{\number#1}%
- \else
- num #1 %
- \fi
-}
-
-% Redefinition of pdfwebmac macros
-\def\startsection{%
- \Q
- {%
- \let\*=\empty
- \pdfdest \numname{\modstar}xyz%
- }%
- \noindent
- {%
- \let\*=\lapstar
- \bf\modstar.\quad
- }%
-}
-\def\n#1{%
- \leavevmode
- \ifnum#1>0 % test for valid section numbers that start with 1
- \pdfstartlink attr{/Border[0 0 0]} goto \numname{#1}\relax
- \LinkColor #1\Black
- \pdfendlink
- \else
- #1%
- \fi
-}
-\newcount\seclistnum
-\let\ORGfin\fin
-\def\fin{%
- \ORGfin
- \seclistnum=\numexpr\modno+1\relax
- \pdfdest \numname{\seclistnum}fitbh\relax
- \pdfoutline goto \numname{\seclistnum}{Names of the sections}\relax
- \iftrue
- \def\entry##1##2{%
- \pdfoutline
- attr{/C[0 0 1]}
- user{%
- <<%
- /S/GoToR%
- /F(../##1/##2.pdf)%
- /D[0/FitBH \the\numexpr 720+\voffsetbp\relax]% 10in/9.5in
- >>%
- }%
- {[##1/##2]}\relax
- }%
- \entry{tex}{tex}%
- \entry{tex}{tripman}%
- \entry{tex}{glue}%
- \entry{texware}{pooltype}%
- \entry{texware}{tftopl}%
- \entry{texware}{pltotf}%
- \entry{texware}{dvitype}%
- \entry{mf}{mf}%
- \entry{mf}{trapman}%
- \entry{mfware}{gftype}%
- \entry{mfware}{gftopk}%
- \entry{mfware}{gftodvi}%
- \entry{mfware}{mft}%
- \entry{etc}{vftovp}%
- \entry{etc}{vptovf}%
- \entry{web}{weave}%
- \entry{web}{tangle}%
- \entry{web}{webman}%
- \fi
-}
-\def\con{%
- \begingroup
- \def\lowercase##1{##1}%
- \def\,{}%
- \def\TeX{TeX}%
- \def\eightlogo{}%
- \xdef\infotitle{\title}%
- \def\firstofone##1{##1}%
- \xdef\infotitle{\expandafter\firstofone\infotitle}%
- \def\filter##1$##2\END{%
- ##1%
- \ifx\eject##2\eject
- \else
- \filter##2\END
- \fi
- }%
- \xdef\infotitle{\expandafter\filter\infotitle$\END}%
- \endgroup
- \pdfinfo{%
- /Title(\infotitle)%
- /Author(Donald E. Knuth)%
- }%
- \par\vfill\eject % finish the section names
- \rightskip 0pt %
- \hyphenpenalty 50 %
- \tolerance 200 %
- \setpage
- \output{\normaloutput\page\lheader\rheader}%
- \titletrue % prepare to output the table of contents
- \global\pageno=\contentspagenumber
- \def\rhead{TABLE OF CONTENTS}%
- \message{Table of contents:}%
- \topofcontents
- \line{\hfil Section\hbox to3em{\hss Page}}%
- \def\Z##1##2##3{%
- \line{%
- \pdfstartlink attr{/Border [0 0 0]} goto \numname{##2}\relax
- \LinkColor
- \ignorespaces##1 %
- \leaders\hbox to .5em{.\hfil}\hfil\ ##2
- \Black
- \pdfendlink
- \hbox to3em{\hss##3}%
- }%
- }%
- \readcontents\relax % read the contents info
- \botofcontents % print the contents page(s) and terminate
- \makeoutlines
- \eject % \titletrue is necessary during output and
- % \con is maybe called in a group, therefore
- % the output is forced here.
- \makepagelabels
- \global\advance\pageno by 1 %
- \end
-}
-
-% Adding PDF page labels
-\def\makepagelabels{%
- \ifnum\contentspagenumber=1 %
- \else
- \ifnum\contentspagenumber=0 %
- \pdfcatalog{%
- /PageLabels<<%
- /Nums[0<</P(0)>>1<</S/D/St 1>>]%
- >>%
- }%
- \else
- \pdfcatalog{%
- /PageLabels<<%
- /Nums[0<</S/D/St \contentspagenumber>>]%
- >>%
- }%
- \fi
- \fi
-}
-
-% Move contents page to the front
-\def\contentsfile{\jobname.toc}
-\def\readcontents{\input\contentsfile\relax}
-\def\makeoutlines{%
- \def\?##1]{}%
- \def\Z##1##2##3{%
- \pdfoutline goto \numname{##2}{##2. ##1}\relax
- }%
- \readcontents
-}%
-\newread\testread
-\openin\testread=\contentsfile\relax
-\ifeof\testread
-\else
- \let\ORGcon\con
- \def\con{%
- \begingroup
- \let\end\relax
- \ORGcon
- \endgroup
- \let\con\end
- }%
- \expandafter\let\csname ORGN\expandafter\endcsname
- \csname N\endcsname
- \expandafter\outer\expandafter\def\csname N\endcsname{%
- \con
- \advance\pageno by -1\relax
- \expandafter\let\csname N\expandafter\endcsname
- \csname ORGN\endcsname
- \csname N\endcsname
- }%
- \begingroup
- \def\num{0}%
- \edef\x{\jobname}%
- \edef\y{\detokenize{tex}}%
- \ifx\x\y
- \def\num{1}%
- \else
- \edef\y{\detokenize{mf}}%
- \ifx\x\y
- \def\num{1}%
- \fi
- \fi
- \expandafter\endgroup\ifnum\num=1 %
- \def\contentspagenumber{2}%
- \let\ORGpageno\pageno
- \def\pageno{%
- \let\pageno\ORGpageno
- \expandafter\let\csname ORGN\expandafter\endcsname
- \csname N\endcsname
- \expandafter\outer\expandafter\def\csname N\endcsname{%
- \con
- \advance\pageno by -1\relax
- \expandafter\let\csname N\expandafter\endcsname
- \csname ORGN\endcsname
- \csname N\endcsname
- }%
- \pageno
- }%
- \fi
-\fi
-
-% Patch \input to disable `\input webmac'
-\let\ORGinput\input
-\def\input #1\relax{%
- \def\input webmac {%
- \let\input\ORGinput
- }%
- \ORGinput #1 %
-}
-\input \jobname.tex\relax
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg
deleted file mode 100644
index c2b477f616f..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg
+++ /dev/null
@@ -1,37 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{ltnews.cfg}%
- [2006/06/02 v1.0 latex-tds: ltnews.cls configuration (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfinfo\endcsname\relax
-\else
- \AtBeginDocument{%
- \pdfinfo{%
- /Subject(%
- Issue \@issue, \@month\space\@year
- )%
- /Creator(LaTeX)%
- }%
- \newtoks\pdfinfo
- }%
-\fi
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
deleted file mode 100644
index b3be2b21235..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
+++ /dev/null
@@ -1,235 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{ltnews.tex}%
- [2014/05/15 v1.4 Master file for ltnews*.tex (HO)]
-%
-% Copyright 2006, 2009, 2011, 2014 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2006/06/02 v1.0: First version.
-% 2009/09/25 v1.1: \usepackage disabled.
-% 2011/07/01 v1.2: Fixes.
-% 2014/02/30 v1.3:
-% * Update for LaTeX 2014/05/01.
-% * Fix for anchor positions of issue titles.
-% 2014/05/15 v1.4:
-% * Updates for ltnews21.tex.
-%
-\providecommand*{\lastissue}{20}
-\InputIfFileExists{ltnews-lastissue.cfg}{}{}
-
-\RequirePackage{ifpdf}
-\ifpdf
- % overwrite nasty stuff of ltnews.cfg
- % (use of hyperref for this would also support other drivers)
- \pdfinfo{%
- /Title(LaTeX News)%
- /Subject(Issues 1--\lastissue)%
- /Author(The LaTeX Project)%
- /Creator(LaTeX)%
- }
- \newtoks\pdfinfo
-\else
- \AtBeginDocument{%
- \hypersetup{%
- pdftitle={LaTeX News},%
- pdfsubject={Issues 1\textendash\lastissue},%
- pdfauthor={The LaTeX Project},%
- pdfcreator={LaTeX}%
- }%
- }%
-\fi
-
-\RequirePackage[T1]{fontenc}
-\RequirePackage{lmodern}
-\RequirePackage{hologo}
-
-\documentclass{ltnews}
-
-\expandafter
-\DeclareRobustCommand\expandafter*\expandafter\small\expandafter{\small}
-
-\RequirePackage{hyperref}
-\hypersetup{colorlinks}
-\RequirePackage{bookmark}
-
-\makeatletter
-
-\newcounter{issue}
-\renewcommand*{\theissue}{%
- \ifnum\value{issue}<10 0\fi
- \number\value{issue}%
-}
-
-\newcommand*{\MonthJanuary}{01}
-\newcommand*{\MonthFebruary}{02}
-\newcommand*{\MonthMarch}{03}
-\newcommand*{\MonthApril}{04}
-\newcommand*{\MonthMay}{05}
-\newcommand*{\MonthJune}{06}
-\newcommand*{\MonthJuly}{07}
-\newcommand*{\MonthAugust}{08}
-\newcommand*{\MonthSeptember}{09}
-\newcommand*{\MonthOctober}{10}
-\newcommand*{\MonthNovember}{11}
-\newcommand*{\MonthDecember}{12}
-\newcommand*{\printissue}{%
- Issue %
- \texorpdfstring{\number\value{issue}}{\theissue}, %
- \texorpdfstring{\@month\space\@year}{\@year/\@nameuse{Month\@month}}%
-}
-\let\l@part\l@section
-\let\l@section\l@subsection
-\let\l@subsection\l@subsubsection
-\let\l@subsubsection\l@paragraph
-\let\l@paragraph\l@subparagraph
-
-\newcommand*{\makefirsttitle}{%
- \twocolumn[{%
- \parbox[t][4\baselineskip]{\textwidth}{%
- \@titlefont\@title, Issues 1--\lastissue
- }%
- }]%
-}
-
-% table of contents with underlined links
-\iffalse % disable if option colorlinks is used
-\@ifpackagelater{hyperref}{2006/06/01}{%
- \newcommand*{\saved@tableofcontents}{}%
- \let\saved@tableofcontents\tableofcontents
- \renewcommand*{\tableofcontents}{%
- \begingroup
- \hypersetup{pdfborderstyle={/S/U/W 1}}%
- \saved@tableofcontents
- \endgroup
- }%
-}{}
-\fi
-\makeatother
-
-\begin{document}
-
-%%% Title and Table of Contents
-
-\makefirsttitle
-\pdfbookmark[0]{\contentsname}{toc}
-\tableofcontents
-\clearpage
-
-%%% Issues
-
-\begingroup
- \makeatletter
- \renewcommand*{\usepackage}[2][]{%
- \begingroup
- \def\x{#1|#2}%
- \def\y{T1|fontenc}%
- \ifx\x\y
- \else
- \def\y{|lmodern,url}%
- \ifx\x\y
- \else
- \def\y{|lmodern,url,hologo}%
- \ifx\x\y
- \else
- \@latex@error{ltnews.tex: \string\usepackage[#1]{#2} found}\@ehc
- \fi
- \fi
- \fi
- \endgroup
- }%
- \renewcommand*{\documentclass}[2][]{%
- \setcounter{footnote}{0}%
- \gobbleopt
- }%
- \newcommand*{\gobbleopt}[1][]{}%
- \let\org@twocolumn\twocolumn
- \renewenvironment{document}{%
- \clearpage
- \ifnum\@issue=20 %
- \addtocontents{toc}{\protect\setcounter{tocdepth}{5}}%
- \addtocontents{toc}{%
- \protect\makeatletter
- }%
- \addtocontents{toc}{%
- \let\protect\saved@l@paragraph\protect\l@paragraph
- }%
- \addtocontents{toc}{%
- \let\protect\l@paragraph\protect\l@subsection
- }%
- \fi
- \ifnum\@issue=21 %
- \addtocontents{toc}{%
- \let\protect\l@paragraph\protect\saved@l@paragraph
- }%
- \def\toclevel@subsection{1}%
- \def\toclevel@subsubsection{2}%
- \addtocontents{toc}{\protect\setcounter{tocdepth}{4}}%
- \renewcommand*{\tableofcontents}{%
- \section*{\contentsname}%
- \@starttoc{toc21}%
- }%
- \let\saved@addtocontents\addtocontents
- \renewcommand*{\addtocontents}[2]{%
- \saved@addtocontents{##1}{##2}%
- \def\temp@toc{toc}%
- \def\temp@param{##1}%
- \ifx\temp@toc\temp@param
- \saved@addtocontents{toc21}{##2}%
- \fi
- }%
- \let\l@subsubsection\l@subsection
- \let\l@subsection\l@section
- \let\l@section\l@part
- \let\l@part\@gobbletwo
- \fi
- \def\twocolumn[{%
- \let\twocolumn\org@twocolumn
- \org@twocolumn[%
- {% because of optional argument of \twocolumn
- \pdfbookmark[0]{\printissue}{issue\theissue}%
- }%
- \begingroup
- \let\WriteBookmarks\relax
- \@firstofone{% inside opt. arg. of \twocolumn: protect "]"
- \renewcommand*{\Hy@writebookmark}[5]{}%
- }%
- \phantomsection
- \addcontentsline{toc}{part}{\printissue}%
- \endgroup
- }%
- }{%
- \clearpage
- }%
- \makeatother
- \loop
- \ifnum\value{issue}<\lastissue
- \stepcounter{issue}%
- \input{ltnews\theissue}%
- \repeat
- \stepcounter{issue}%
- \makeatletter
- \IfFileExists{ltnews\theissue}{%
- \@latex@error{\jobname.tex is out of date,\MessageBreak
- there is `ltnews\theissue.tex'%
- }\@ehc
- }{}%
- \makeatother
-\endgroup
-
-\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltugboat.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltugboat.cfg
deleted file mode 100644
index 0a99444a88f..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltugboat.cfg
+++ /dev/null
@@ -1,30 +0,0 @@
-% ltugboat.cfg
-% 2008/08/10 v1.0 Configuration file for class `ltugboat'.
-% Copyright 2008 Heiko Oberdiek.
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2008/08/10 v1.0
-%
-% Fix for double definition of \meta in babel/tb1604.tex
-\edef\NAMEjobname{\jobname}
-\edef\NAMEtbmdciv{\detokenize{tb1604}}
-\ifx\NAMEjobname\NAMEtbmdciv
- \let\meta\relax
-\fi
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv
deleted file mode 100644
index 7443c657f81..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv
+++ /dev/null
@@ -1,27 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{ltxcheck.drv}%
- [2006/06/02 v1.0 Driver file for ltxcheck.tex (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\documentclass{ltxdoc}
-\begin{document}
-\DocInput{ltxcheck.tex}
-\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg
deleted file mode 100644
index 72bc349cb5e..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg
+++ /dev/null
@@ -1,79 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{ltxdoc.cfg}%
- [2011/06/30 latex-tds: ltxdoc.cls configuration (HO)]
-%
-% Copyright 2006, 2007, 2011 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\PassOptionsToClass{a4paper}{article}
-\AtEndOfClass{%
- \RequirePackage{hypdoc}%
- \RequirePackage{pdftexcmds}\relax
- \ifnum\pdf@strcmp{\jobname}{inputenc}=0 %
- \hypersetup{pdfencoding=auto}%
- \pdfstringdefDisableCommands{%
- \def\meta#1{% inputenc.dtx
- \9060\010#1\9060\011%
- }%
- }%
- \else
- \fi
- \pdfstringdefDisableCommands{%
- \let\env\relax % longtable.dtx
- \let\mytt\relax % tabularx.dtx
- }%
- \addtolength{\topmargin}{-10mm}%
- \addtolength{\textheight}{20mm}%
- % Depending on the page style, the head or foot area
- % are put into the text area.
- % Usually the page style is the default "plain".
- % tools/verbatim.dtx uses "myheadings".
- \def\string@plain{plain}%
- \def\string@myheadings{myheadings}%
- \def\current@pagestyle{plain}%
- \let\ltxdoc@cfg@pagestyle\pagestyle
- \def\pagestyle#1{%
- \def\current@pagestyle{#1}%
- \ltxdoc@cfg@pagestyle{#1}%
- }%
- \edef\ltxdoc@cfg@jobname{\jobname}%
- \def\ltxdoc@cfg@longtable{longtable}%
- \@onelevel@sanitize\ltxdoc@cfg@longtable
- \ifx\ltxdoc@cfg@jobname\ltxdoc@cfg@longtable
- \def\current@pagestyle{both}%
- \fi
- \let\ltxdoc@cfg@document\document
- \def\document{%
- \ifx\current@pagestyle\string@plain
- \addtolength{\textheight}{\headheight}%
- \addtolength{\textheight}{\headsep}%
- \setlength{\headheight}{0pt}%
- \setlength{\headsep}{0pt}%
- \global\textheight\textheight
- \global\headheight\headheight
- \global\headsep\headsep
- \fi
- \ifx\current@pagestyle\string@myheadings
- \addtolength{\textheight}{\footskip}%
- \global\textheight\textheight
- \fi
- \ltxdoc@cfg@document
- }%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
deleted file mode 100644
index d8a7b9be278..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
+++ /dev/null
@@ -1,95 +0,0 @@
-\ProvidesFile{ltxguide.cfg}%
- [2008/08/10 v1.1 latex-tds: ltxguide.cls configuration (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2006/04/27 v1.0
-% 2008/08/10 v1.1: Fix for bookmark `References' of encguide.tex.
-%
-\PassOptionsToClass{a4paper}{article}
-\edef\NAMEencguide{\detokenize{encguide}}
-\edef\NAMEjobname{\jobname}
-\AtEndOfClass{%
- \RequirePackage[%
- hyperindex=false,%
- pdfusetitle,%
- colorlinks,%
- pdfpagelabels,%
- ]{hyperref}[2002/05/09]%
- \hypersetup{%
- plainpages=false,%
- bookmarksopen,%
- bookmarksnumbered,%
- bookmarksopenlevel=0,%
- pdfstartview={FitBH \hypercalcbp{%
- \paperheight-\topmargin-1in-\headheight-\headsep
- }},%
- }%
- \pdfstringdefDisableCommands{%
- \let\package\relax % grfguide.tex
- }%
- \let\org@tableofcontents\tableofcontents
- \def\tableofcontents{%
- \pdfbookmark[\toclevel@section]{\contentsname}{toc}%
- \org@tableofcontents
- }%
- \let\org@thebibliography\thebibliography
- \ifx\NAMEjobname\NAMEencguide
- \def\thebibliography{%
- \clearpage
- \phantomsection
- \hypersetup{bookmarksnumbered=false}%
- \org@thebibliography
- }%
- \else
- \def\thebibliography{%
- \pdfbookmark[\toclevel@section]{\refname}{bib}%
- \org@thebibliography
- }%
- \fi
- \addtolength{\textheight}{\headheight}%
- \addtolength{\textheight}{\headsep}%
- \setlength{\headheight}{0pt}%
- \setlength{\headsep}{0pt}%
- \begingroup
- \edef\x{\jobname}%
- \edef\y{\detokenize{encguide}}%
- \expandafter\endgroup
- \ifx\x\y
- % encguide already enlarges \textheight
- \addtolength{\topmargin}{-\baselineskip}%
- \else
- \addtolength{\topmargin}{-10mm}%
- \addtolength{\textheight}{20mm}%
- \fi
-}
-% Patch for grfguide.tex
-\AtBeginDocument{%
- \@ifundefined{DeclareGraphicsExtensions}{%
- }{%
- \DeclareGraphicsExtensions{.pdf}%
- \GPT@fix
- \let\GPT@fix\relax
- \define@key{Gin}{bb}{%
- \setkeys{Gin}{viewport=15 10 35 45}%
- }%
- }%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds.ini b/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds.ini
deleted file mode 100644
index b7e2b124c13..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds.ini
+++ /dev/null
@@ -1,117 +0,0 @@
-% lualatex-tds.ini
-% 2014/05/15 v1.9
-% Copyright 2007, 2008, 2011, 2013, 2014 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2007/10/17 v1.0
-% 2008/08/08 v1.1: Packages `ifvtex', `ifxetex', and `pdfescape' added.
-% 2011/06/30 v1.2: Package `hobsub-hyperref' added.
-% 2011/07/01 v1.3
-% * Split of latex-tds.ini in pdflatex-tds.ini and lualatex-tds.ini.
-% 2011/07/02 v1.4
-% * Package `fixltx2e' added.
-% 2011/07/26 v1.5
-% * Package `unicode-math' with LM Math added.
-% 2013/02/13 v1.6
-% * Font `lmmath-regular.otf' was renamed to `latinmodern-math.otf'.
-% 2014/04/29 v1.7
-% * Patch for `inputenc' 2014/04/20 v1.2a.
-% 2014/04/30 v1.8
-% * Patch for `inputenc' 2014/04/30 v1.2b no longer needed.
-% 2014/05/15 v1.9
-% * Patch for `expl3': Put `\directlua' in `\everyjob'.
-%
-\input lualatexiniconfig.tex
-\input pdftexconfig %
-\pdfoutput=1 %
-\scrollmode
-\let\SavedDump\dump
-\let\dump\relax
-\input latex.ltx %
-\input lualatex-patch-kernel.tex
-% \input lualatexquotejobname.tex
-\input lualatex-reset-codes.tex % reset them
-\input luatex-unicode-letters.tex % set codes based on Unicode (full range)
-\errorcontextlines=\maxdimen
-\RequirePackage{keyval}
-\RequirePackage{url}
-\RequirePackage{hobsub-hyperref}[2011/07/01]
-\RequirePackage{pdftexcmds}[2011/07/01]
-\RequirePackage{infwarerr}[2007/09/09]
-\RequirePackage{atbegshi}[2007/09/09]
-\RequirePackage{auxhook}[2007/04/06]
-\RequirePackage{etexcmds}[2007/09/09]
-\RequirePackage{ifpdf}[2007/09/09]
-\RequirePackage{ifvtex}[2007/09/09]
-\RequirePackage{ifxetex}
-\RequirePackage{intcalc}[2007/09/27]
-\RequirePackage{bigintcalc}[2007/09/27]
-\RequirePackage{kvoptions}[2007/10/11]
-\RequirePackage{kvsetkeys}[2007/09/29]
-\RequirePackage{bitset}[2007/09/28]
-\RequirePackage{refcount}[2006/02/20]
-\RequirePackage{pdfescape}[2007/11/11]
-%\RequirePackage{letltxmacro}[2008/06/13]
-\RequirePackage{fixltx2e}
-\expandafter\def\csname ver@thumbpdf.sty\endcsname{0000/00/00}
-\makeatletter
-\def\setup@fontspec@math{%
- \RequirePackage{fontspec}[2011/02/26]%
- \RequirePackage{unicode-math}[2011/01/29]%
- % \setmathfont{lmmath-regular.otf}%
- \setmathfont{latinmodern-math.otf}%
-}
-\let\@SavedDocumentclass\documentclass
-\def\documentclass{%
- \begingroup
- \@ifnextchar[{%
- \@documentclass@opt
- }{%
- \toks@{\@SavedDocumentclass}%
- \@documentclass@class
- }%
-}
-\def\@documentclass@opt[#1]{%
- \toks@{\@SavedDocumentclass[{#1}]}%
- \@documentclass@class
-}
-\def\@documentclass@class#1{%
- \toks@\expandafter{\the\toks@{#1}}%
- \@ifnextchar[{%
- \@documentclass@rev
- }{%
- \expandafter\endgroup
- \the\toks@
- \setup@fontspec@math
- }%
-}
-\def\@documentclass@rev[#1]{%
- \expandafter\endgroup
- \the\toks@[{#1}]%
- \setup@fontspec@math
-}
-\makeatother
-\RequirePackage{expl3}%
-\RequirePackage{xparse}%
-\RequirePackage{calc}%
-\input{fix-expl3-lua.ini}%
-\let\dump\SavedDump
-\let\SavedDump\UNDEFINED
-\dump
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds2.ini b/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds2.ini
deleted file mode 100644
index f98717f59fb..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/lualatex-tds2.ini
+++ /dev/null
@@ -1,104 +0,0 @@
-% lualatex-tds.ini
-% 2014/05/15 v1.9
-% Copyright 2011, 2014 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2011/07/25 v1.0:
-% * lualatex-tds.ini without math stuff.
-% 2014/04/29 v1.1:
-% * Patch for `inputenc' 2014/04/20 v1.2a.
-% 2014/04/30 v1.8:
-% * Patch for `inputenc' 2014/04/30 v1.2b no longer needed.
-% 2014/05/15 v1.9
-% * Patch for `expl3': Put `\directlua' in `\everyjob'.
-%
-\input lualatexiniconfig.tex
-\input pdftexconfig %
-\pdfoutput=1 %
-\scrollmode
-\let\SavedDump\dump
-\let\dump\relax
-\input latex.ltx %
-\input lualatex-patch-kernel.tex
-% \input lualatexquotejobname.tex
-\input lualatex-reset-codes.tex % reset them
-\input luatex-unicode-letters.tex % set codes based on Unicode (full range)
-\errorcontextlines=\maxdimen
-\RequirePackage{keyval}
-\RequirePackage{url}
-\RequirePackage{hobsub-hyperref}[2011/07/01]
-\RequirePackage{pdftexcmds}[2011/07/01]
-\RequirePackage{infwarerr}[2007/09/09]
-\RequirePackage{atbegshi}[2007/09/09]
-\RequirePackage{auxhook}[2007/04/06]
-\RequirePackage{etexcmds}[2007/09/09]
-\RequirePackage{ifpdf}[2007/09/09]
-\RequirePackage{ifvtex}[2007/09/09]
-\RequirePackage{ifxetex}
-\RequirePackage{intcalc}[2007/09/27]
-\RequirePackage{bigintcalc}[2007/09/27]
-\RequirePackage{kvoptions}[2007/10/11]
-\RequirePackage{kvsetkeys}[2007/09/29]
-\RequirePackage{bitset}[2007/09/28]
-\RequirePackage{refcount}[2006/02/20]
-\RequirePackage{pdfescape}[2007/11/11]
-\RequirePackage{fixltx2e}
-\expandafter\def\csname ver@thumbpdf.sty\endcsname{0000/00/00}
-\makeatletter
-\def\setup@fontspec@math{%
- \RequirePackage{fontspec}[2011/02/26]%
-}
-\let\@SavedDocumentclass\documentclass
-\def\documentclass{%
- \begingroup
- \@ifnextchar[{%
- \@documentclass@opt
- }{%
- \toks@{\@SavedDocumentclass}%
- \@documentclass@class
- }%
-}
-\def\@documentclass@opt[#1]{%
- \toks@{\@SavedDocumentclass[{#1}]}%
- \@documentclass@class
-}
-\def\@documentclass@class#1{%
- \toks@\expandafter{\the\toks@{#1}}%
- \@ifnextchar[{%
- \@documentclass@rev
- }{%
- \expandafter\endgroup
- \the\toks@
- \setup@fontspec@math
- }%
-}
-\def\@documentclass@rev[#1]{%
- \expandafter\endgroup
- \the\toks@[{#1}]%
- \setup@fontspec@math
-}
-\makeatother
-\RequirePackage{expl3}%
-\RequirePackage{xparse}%
-\RequirePackage{calc}%
-\input{fix-expl3-lua.ini}%
-\let\dump\SavedDump
-\let\SavedDump\UNDEFINED
-\dump
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg
deleted file mode 100644
index da0c4fda716..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg
+++ /dev/null
@@ -1,55 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{manual.cfg}%
- [2008/09/06 v1.1 latex-tds: manual.err configuration (HO)]
-%
-% Copyright 2006, 2008 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\usepackage[pdfusetitle]{hyperref}
-\setcounter{secnumdepth}{0}
-\makeatletter
-\let\SAVED@subsection\subsection
-\let\SAVED@subsubsection\subsubsection
-\renewcommand*{\subsection}{%
- \@ifstar\ERR@subsection\ERR@subsection
-}
-\def\ERR@all{Errors in All Printings}
-\newcommand*{\ERR@subsection}[1]{%
- \def\ERR@string{#1}%
- \ifx\ERR@string\ERR@all
- \SAVED@subsection{%
- \texorpdfstring{#1}{All Printings}%
- }%
- \else
- \SAVED@subsection{%
- \texorpdfstring{#1}{%
- \ERR@strip #1\@nil
- }%
- }%
- \fi
-}
-\def\ERR@strip Error#1 Corrected in the #2\@nil{#2}
-\renewcommand*{\subsubsection}{%
- \@ifstar\SAVED@subsubsection\SAVED@subsubsection
-}
-\AtBeginDocument{%
- \def\xpmd Last modified %
- on #1 #2 #3 #4 at #5:#6:#7 #8 by #9 endypmd{#3 #2, #4}%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/pdflatex-tds.ini b/Master/texmf-dist/source/latex/latex-tds/tex/pdflatex-tds.ini
deleted file mode 100644
index 8db111ecc83..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/pdflatex-tds.ini
+++ /dev/null
@@ -1,59 +0,0 @@
-% pdflatex-tds.ini
-% 2011/07/02 v1.4
-% Copyright 2007, 2008, 2011 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-% 2007/10/17 v1.0
-% 2008/08/08 v1.1: Packages `ifvtex', `ifxetex', and `pdfescape' added.
-% 2011/06/30 v1.2: Package `hobsub-hyperref' added.
-% 2011/07/01 v1.3
-% * Split of latex-tds.ini in pdflatex-tds.ini and lualatex-tds.ini.
-% 2011/07/02 v1.4
-% * Package `fixltx2e' added.
-%
-\input pdftexconfig %
-\pdfoutput=1 %
-\scrollmode
-\let\SavedDump\dump
-\let\dump\relax
-\input latex.ltx %
-\errorcontextlines=\maxdimen
-\RequirePackage{keyval}
-\RequirePackage{url}
-\RequirePackage{hobsub-hyperref}[2011/06/30]
-\RequirePackage{infwarerr}[2007/09/09]
-\RequirePackage{atbegshi}[2007/09/09]
-\RequirePackage{auxhook}[2007/04/06]
-\RequirePackage{etexcmds}[2007/09/09]
-\RequirePackage{ifpdf}[2007/09/09]
-\RequirePackage{ifvtex}[2007/09/09]
-\RequirePackage{ifxetex}
-\RequirePackage{intcalc}[2007/09/27]
-\RequirePackage{bigintcalc}[2007/09/27]
-\RequirePackage{kvoptions}[2007/10/11]
-\RequirePackage{kvsetkeys}[2007/09/29]
-\RequirePackage{bitset}[2007/09/28]
-\RequirePackage{refcount}[2006/02/20]
-\RequirePackage{pdfescape}[2007/11/11]
-\RequirePackage{fixltx2e}
-\expandafter\def\csname ver@thumbpdf.sty\endcsname{0000/00/00}
-\let\dump\SavedDump
-\let\SavedDump\UNDEFINED
-\dump
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv b/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv
deleted file mode 100644
index 92add620271..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv
+++ /dev/null
@@ -1,41 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{psnfss2e.drv}%
- [2006/08/18 v1.2 Driver file for psnfss2e.tex (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\RequirePackage{kvoptions-patch}[2007/10/18]
-\PassOptionsToPackage{colorlinks=false,pdfborder={0 0 0}}{hyperref}
-\AtBeginDocument{%
- \utopiatrue
-}
-\let\SavedDocumentclass\documentclass
-\def\documentclass[#1]#2[#3]{%
- \let\documentclass\SavedDocumentclass
- \documentclass[{#1}]{#2}[{#3}]%
- \addtolength{\textheight}{\headheight}%
- \addtolength{\textheight}{\headsep}%
- \setlength{\headheight}{0pt}%
- \setlength{\headsep}{0pt}%
- \addtolength{\textheight}{20mm}%
- \addtolength{\topmargin}{-10mm}%
-}
-\input{\jobname.tex}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg
deleted file mode 100644
index 38b150a066a..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg
+++ /dev/null
@@ -1,58 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{tdsguide.cfg}%
- [2006/08/17 v1.0 latex-tds: tdsguide.cls configuration (HO)]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\PassOptionsToClass{a4paper}{article}
-\AtEndOfClass{%
- \RequirePackage[
- colorlinks,
- bookmarksnumbered,
- ]{hyperref}%
- \let\SavedUrl\url
- \def\url|#1|{%
- \SavedUrl{#1}%
- }%
- \providecommand*{\appref}[1]{%
- \hyperref[{#1}]{Appendix~\ref*{#1}}%
- }%
- \providecommand*{\secref}[1]{%
- \hyperref[{#1}]{Section~\ref*{#1}}%
- }%
- \pdfstringdefDisableCommands{%
- \let\abbr\@firstofone
- \def\BibTeX{BibTeX}%
- }%
- \hypersetup{%
- pdfauthor={Karl Berry},
- pdftitle={A Directory Structure for TeX Files (TDS)},
- pdfsubject={TUG Working Group on a TeX Directory Structure (TWG-TDS)},
- }%
- \addtolength{\topmargin}{-10mm}%
- \addtolength{\textheight}{20mm}%
- \let\saved@maketitle\@maketitle
- \def\@maketitle{%
- \null
- \kern10mm\relax
- \saved@maketitle
- }%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls b/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls
deleted file mode 100644
index 7fcd8532b58..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls
+++ /dev/null
@@ -1,114 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{tools-overview}
- [2006/06/02 Overview for packages of latex/tools]
-%
-% Copyright 2006 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\nofiles
-\LoadClass[a4paper,12pt]{article}
-
-% page layout
-\RequirePackage[
- ignoreall,
- hmargin=1in,
- vmargin={.75in,1in},
-]{geometry}
-
-\pagestyle{empty}
-
-\RequirePackage{calc}[2005/08/06]
-
-\RequirePackage{hyperref}
-\hypersetup{
- colorlinks,
- filecolor=blue,
- pdftitle={LaTeX's Tools Bundle},
- pdfsubject={Overview},
- pdfauthor={Heiko Oberdiek},
- pdfcreator={Project `latex-tds'},
-}
-\title{Contents of \LaTeX's Tools Bundle}
-
-\let\TO@document\document
-\let\TO@enddocument\enddocument
-\def\document{%
- \TO@document
- \maketitle
- \toks@={}%
- \setlength{\maxlen}{0pt}%
-}
-\newlength{\maxlen}
-\def\enddocument{%
- \begin{list}{}{%
- \setlength{\leftmargin}{\maxlen + \labelsep}%
- \setlength{\labelwidth}{\maxlen}%
- \setlength{\partopsep}{0pt}%
- }%
- \the\toks@
- \end{list}%
- \TO@enddocument
-}
-\newcommand{\entry}[2]{%
- \outline{#1}%
- \toks@\expandafter{%
- \the\toks@
- \item[%
- \href{file:#1.pdf}{\printpackage{#1}}%
- \hfill
- ]%
- #2%
- }%
- \setlength{\maxlen}{%
- \maxof{\maxlen}{\widthof{\printpackage{#1}}}%
- }%
- \global\maxlen\maxlen
-}
-\newcommand*{\printpackage}[1]{%
- \textbf{\large #1:}%
-}
-\newcommand*{\outline}[1]{%
- \pdfoutline
- attr {/C[0 0 1]}
- user {%
- <<%
- /S/GoToR%
- /F(#1.pdf)%
- /NewWindow true%
- /D[0/XYZ null null null]%
- >>%
- }%
- {[#1]}\relax
-}
-\renewcommand*{\maketitle}{%
- \begingroup
- \par
- \centering
- \bfseries
- \LARGE
- \@title
- \par
- \endgroup
- \vspace{2em}%
-}
-
-\providecommand*{\cs}[1]{%
- \texttt{\textbackslash#1}%
-}
-\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex b/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex
deleted file mode 100644
index f57df9e0dc7..00000000000
--- a/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex
+++ /dev/null
@@ -1,110 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{tools.tex}[2014/04/30 Tools overview (HO)]
-% Copyright 2006-2014 Heiko Oberdiek
-%
-% This file is part of project `latex-tds'.
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Heiko Oberdiek.
-%
-% See `README' for a list of all files belonging to the
-% project `latex-tds' and additional information.
-%
-\documentclass{tools-overview}
-\begin{document}
-\entry{afterpage}{%
- Place text after the current page.
-}%
-\entry{array}{%
- Extended versions of the environments array, tabular and tabular*.
-}%
-\entry{bm}{%
- Access bold math symbols.
-}%
-\entry{calc}{%
- Infix arithmetic expresions. Contributed to the distribution by
- Kresten Krab Thorup and Frank Jensen.
-}%
-\entry{dcolumn}{%
- Alignment on \emph{decimal points} in tabular entries. Requires array.
-}%
-\entry{delarray}{%
- Adds \emph{large delimiters} around arrays. Requires array.
-}%
-\entry{enumerate}{%
- Extended version of the enumerate environment.
-}%
-\entry{fileerr}{%
- Suite of small files which may be used to control \TeX{}'s
- missing file error loop.
-}%
-\entry{fontsmpl}{%
- Package and test file for producing \emph{font samples}
-}%
-\entry{ftnright}{%
- Place footnotes in the right hand column in two-column mode.
-}%
-\entry{hhline}{%
- Finer control over horizontal rules in tables. Requires array.
-}%
-\entry{indentfirst}{%
- Indent the first paragraph of sections etc.
-}%
-\entry{layout}{%
- Produces an overview of the layout of the current document.
-}%
-\entry{longtable}{%
- Multipage tables. (Does not require array, but uses the extended
- features if both are loaded.)
-}%
-\entry{multicol}{%
- Typeset text in columns, with the length of the final columns
- \emph{balanced}.
-}%
-\entry{rawfonts}{%
- Preload fonts under the old internal font names of \LaTeX{}2.09.
- Not recomended for new packages, but may help when updating old
- files.
-}%
-\entry{showkeys}{%
- Draft mode showing the \emph{keys} used by \cs{label}, \cs{ref}, \cs{cite} etc.
-}%
-\entry{somedefs}{%
- Selective handling of package options. (Used in rawfonts.sty.)
-}%
-\entry{tabularx}{%
- Defines tabularx environment (similar to tabular*) but modifies
- column widths, not inter-column space, to achieve a desired
- table width.
-}%
-\entry{theorem}{%
- Flexible definition of \emph{theorem-like} environments.
-}%
-\entry{trace}{%
- The package helps to suppress and to control the amount of tracing
- output (\cs{tracingall}) by taming calc and making NFSS less noisy.
-}%
-\entry{varioref}{%
- \emph{Smart} handling of page references.
-}%
-\entry{verbatim}{%
- Flexible version of verbatim environment.
-}%
-\entry{xr}{%
- eXternall References. Extend \cs{ref} to access \cs{label} commands in
- other documents.
-}%
-\entry{xspace}{%
- Smart space command that avoids the common mistake of missing
- spaces after command names.
-}%
-\end{document}