diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-11 22:32:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-11 22:32:49 +0000 |
commit | b8f67cb908880c8fdf6b03eb9c4d5219d7409171 (patch) | |
tree | 87574d214a3f39e7293bc54e2b40076ae052bed3 /Master | |
parent | 6ffd766f7627989e12bfb89d63f908de8c052c81 (diff) |
latex(2e) (11dec18)
git-svn-id: svn://tug.org/texlive/trunk@49390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
204 files changed, 2481 insertions, 531 deletions
diff --git a/Master/texmf-dist/doc/latex/amsmath/README.md b/Master/texmf-dist/doc/latex/amsmath/README.md index 4bbba9630cd..9b2de985782 100644 --- a/Master/texmf-dist/doc/latex/amsmath/README.md +++ b/Master/texmf-dist/doc/latex/amsmath/README.md @@ -50,14 +50,6 @@ command line, or via [TeXdoc Online](http://texdoc.net). -### REMARKS ON THIS RELEASE - -#### Version 2.17 - -Fixes a bug in the spacing around the closing delimiter in generalised -fractions in xetex and luatex version added in release 2.16. -Fixes a bug that overfull lines did not always produce warnings. - ### CHANGE LOG @@ -89,7 +81,7 @@ contact the developer, and not us! ### Copyright Copyright 2001-2004, 2007, 2008, 2010, 2011, 2013 American Mathematical Society. -Copyright 2016-2017 LaTeX3 Project and American Mathematical Society. +Copyright 2016-2018 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -103,4 +95,4 @@ This work has the LPPL maintenance status `maintained'. The Current Maintainer of this work is the LaTeX3 Project. -This README file is copyright 2016-2017 The LaTeX3 Project. +This README file is copyright 2016-2018 The LaTeX3 Project. diff --git a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf Binary files differindex f96445f48bc..ae9cc56fcf3 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf Binary files differindex 48c7d0d6a2f..e66f4e75abb 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf Binary files differindex eefafeb74f5..7a1a95c4d72 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc-1.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc-1.pdf Binary files differnew file mode 100644 index 00000000000..c3a8c86f0f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc-1.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc-bb.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc-bb.pdf Binary files differnew file mode 100644 index 00000000000..71a18b3cbaa --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc-bb.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf Binary files differindex c532044c403..5ea14d28a82 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf Binary files differindex 0c0d051a7a5..61d19095a9b 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf Binary files differindex c64b05b5787..a07f5a03781 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf Binary files differindex 8e4ca3d727b..b41ec69e29d 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf Binary files differindex 05914279342..882dce91976 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/changes.txt b/Master/texmf-dist/doc/latex/amsmath/changes.txt index 398763e13cf..48a5e1992fa 100644 --- a/Master/texmf-dist/doc/latex/amsmath/changes.txt +++ b/Master/texmf-dist/doc/latex/amsmath/changes.txt @@ -1,3 +1,20 @@ + +######################### +# 2018-12-01 Release +######################### + +2018-10-09 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * amsmath.dtx + Don't drop \frozen@everymath + Start LR-mode for \thinspace and friends if necessary (github/49) + Start LR-mode for \bigl and friends if necessary (github/49) + Start LR-mode for \smash if necessary (github/49) + +######################### +# 2018-04-01 Release +######################### + 2017-09-02 David Carlisle <latex-bugs@latex-project.org> * amsmath.dtx: ensure that overfull alignments give warnings in more cases diff --git a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf Binary files differindex 85f610d1885..4d04db3b816 100644 --- a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/technote.pdf b/Master/texmf-dist/doc/latex/amsmath/technote.pdf Binary files differindex a5b46be5b94..e845ca15c8e 100644 --- a/Master/texmf-dist/doc/latex/amsmath/technote.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/technote.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf Binary files differindex 5a8a7b827a6..6230a1dfdf7 100644 --- a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf diff --git a/Master/texmf-dist/doc/latex/base/TEMPLATE-IncludeInRelease.txt b/Master/texmf-dist/doc/latex/base/TEMPLATE-IncludeInRelease.txt new file mode 100644 index 00000000000..0f1c53d3a33 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/TEMPLATE-IncludeInRelease.txt @@ -0,0 +1,19 @@ +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\XXX}{Info}% + + + + + + +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\XXX}{Info}% +%<latexrelease> +%<latexrelease> +%<latexrelease> +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> diff --git a/Master/texmf-dist/doc/latex/base/alltt.pdf b/Master/texmf-dist/doc/latex/base/alltt.pdf Binary files differindex 3bdf7284925..0933300eb56 100644 --- a/Master/texmf-dist/doc/latex/base/alltt.pdf +++ b/Master/texmf-dist/doc/latex/base/alltt.pdf diff --git a/Master/texmf-dist/doc/latex/base/cfgguide.pdf b/Master/texmf-dist/doc/latex/base/cfgguide.pdf Binary files differindex 890a9ca6dac..fb366ac7c26 100644 --- a/Master/texmf-dist/doc/latex/base/cfgguide.pdf +++ b/Master/texmf-dist/doc/latex/base/cfgguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/changes.txt b/Master/texmf-dist/doc/latex/base/changes.txt index b7851d82389..39c56074ba4 100644 --- a/Master/texmf-dist/doc/latex/base/changes.txt +++ b/Master/texmf-dist/doc/latex/base/changes.txt @@ -5,6 +5,111 @@ are not part of the distribution. ======================================================================= ######################### +# 2018-12-01 Release +######################### + +2018-11-28 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltoutput.dtx (subsection{Floats}): Unbox \@outputbox to preserve boxing + level (github/94) + +2018-11-18 Enrico Gregorio <Enrico.Gregorio@latex-project.org> + + * ltoutenc.dtx + Added \Hwithstroke and \hwithstroke + +2018-11-09 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltbibl.dtx (section{Bibliography Generation}): + Zap spaces in the argument of \bibliography + as BibTeX doesn't support them (github/88) + +2018-10-11 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltmiscen.dtx (subsection{Verbatim}): + Provide visible space in \verb* also for XeTeX and LuaTeX (github/69) + Provide \verbvisiblespace such that it is usable in normal text (github/70) + +2018-10-10 David Carlisle <David.Carlisle@latex-project.org> + + * ltspace.dtx: prevent space hacks adding breakpoints (github/81) + +2018-10-05 David Carlisle <David.Carlisle@latex-project.org> + + * utf8ienc.dtx: Use hex in invalid byte error (suggested in PR 82 from mirabilos) + +2018-09-30 David Carlisle <David.Carlisle@latex-project.org> + + * utf8ienc.dtx: Fix display of codepoints in error messages (PR 63 from mirabilos) + +2018-09-28 David Carlisle <David.Carlisle@latex-project.org> + + * utf8ienc.dtx: Fix to handling of 4-octet UTF-8. Mostly from github PR 60 + +2018-09-26 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltmiscen.dtx (subsection{Environments}): + * ltsect.dtx (section| or |\caption|): + Sometimes mask the endline char when writing to files (github/73) + +2018-09-26 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltdefns.dtx (subsection{Command definitions}): + In the error messages always explicitly generate a space + after the csname and not rely on \noexpand to save tokens (github/41) + +2018-09-25 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * doc.dtx (section*{Index}): + Guard against following \unskip (github/23) also fixes (github/75) + +2018-09-24 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltspace.dtx (subsection{Horizontal space (and breaks)}): + Start LR-mode for \thinspace and friends if necessary (github/49) + + * ltmath.dtx (subsubsection{The UNSORTED Rest}): + Start LR-mode for \smash \phantom and variants if necessary (github/49) + + * exscale.dtx (section{Implementation}): + * fontdef.dtx (subsubsection{Biggggg}): + Start LR-mode for \big and friends if necessary (github/49) + +2018-09-03 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * classes.dtx + Prevent protrusion in TOC lines (https://tex.stackexchange.com/q/172785/10109) + +2018-09-03 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltsect.dtx (section| or |\caption|): + Prevent protrusion in TOC lines (https://tex.stackexchange.com/q/172785/10109) + +2018-08-24 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltfinal.dtx (subsection{Hyphenation}): Added + \document@default@language to latexrelease mechanism (github/68) + +2018-08-11 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * inputenc.dtx Use \guillemetleft and \guillemetright + instead of old Adobe names in all encoding files (github/65) + + * ltoutenc.dtx Provide \guillemetleft and \guillemetright (github/65) + + * latex209.dtx Allow \guillemetleft and \guillemetright to be + (re)defined. (github/65) + +2018-07-30 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * utf8ienc.dtx: added missing declarations for \j (0237), \SS (1E9E), + \k{} (02DB) and \.{} {02D9) + +2018-05-29 David Carlisle <David.Carlisle@latex-project.org> + + * ltclass.dtx: use \csname test rather than \@ifundefined to get \relax side effect. + +######################### # 2018-04-01 PL 5 Release ######################### @@ -13,7 +118,7 @@ are not part of the distribution. * ltfinal.dtx: Make \UTFviii@undefined@err and \UTFviii@invalid@err also safe for initial file name for invalid UTF-8 and non-UTF-8 filesystems. issue #48 - + 2018-05-08 David Carlisle <David.Carlisle@latex-project.org> * ltclass.dtx: diff --git a/Master/texmf-dist/doc/latex/base/classes.pdf b/Master/texmf-dist/doc/latex/base/classes.pdf Binary files differindex 99e2a6fb95e..6ef4607a192 100644 --- a/Master/texmf-dist/doc/latex/base/classes.pdf +++ b/Master/texmf-dist/doc/latex/base/classes.pdf diff --git a/Master/texmf-dist/doc/latex/base/clsguide.pdf b/Master/texmf-dist/doc/latex/base/clsguide.pdf Binary files differindex f99dac374cb..0ee3268fa1c 100644 --- a/Master/texmf-dist/doc/latex/base/clsguide.pdf +++ b/Master/texmf-dist/doc/latex/base/clsguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/cmfonts.pdf b/Master/texmf-dist/doc/latex/base/cmfonts.pdf Binary files differindex 2f96657ee86..b72e4c8e450 100644 --- a/Master/texmf-dist/doc/latex/base/cmfonts.pdf +++ b/Master/texmf-dist/doc/latex/base/cmfonts.pdf diff --git a/Master/texmf-dist/doc/latex/base/cyrguide.pdf b/Master/texmf-dist/doc/latex/base/cyrguide.pdf Binary files differindex 1711cd1c497..87b2945b852 100644 --- a/Master/texmf-dist/doc/latex/base/cyrguide.pdf +++ b/Master/texmf-dist/doc/latex/base/cyrguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/doc.pdf b/Master/texmf-dist/doc/latex/base/doc.pdf Binary files differindex 2ed7c28f244..e3599b7e19e 100644 --- a/Master/texmf-dist/doc/latex/base/doc.pdf +++ b/Master/texmf-dist/doc/latex/base/doc.pdf diff --git a/Master/texmf-dist/doc/latex/base/docstrip.pdf b/Master/texmf-dist/doc/latex/base/docstrip.pdf Binary files differindex 7b28b757105..98948a6c361 100644 --- a/Master/texmf-dist/doc/latex/base/docstrip.pdf +++ b/Master/texmf-dist/doc/latex/base/docstrip.pdf diff --git a/Master/texmf-dist/doc/latex/base/encguide.pdf b/Master/texmf-dist/doc/latex/base/encguide.pdf Binary files differindex 025c3fdbf52..2d9805bb7de 100644 --- a/Master/texmf-dist/doc/latex/base/encguide.pdf +++ b/Master/texmf-dist/doc/latex/base/encguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/exscale.pdf b/Master/texmf-dist/doc/latex/base/exscale.pdf Binary files differindex d03ba2d0195..27cf9e37757 100644 --- a/Master/texmf-dist/doc/latex/base/exscale.pdf +++ b/Master/texmf-dist/doc/latex/base/exscale.pdf diff --git a/Master/texmf-dist/doc/latex/base/fix-cm.pdf b/Master/texmf-dist/doc/latex/base/fix-cm.pdf Binary files differindex 3f84761911d..6e928410ea9 100644 --- a/Master/texmf-dist/doc/latex/base/fix-cm.pdf +++ b/Master/texmf-dist/doc/latex/base/fix-cm.pdf diff --git a/Master/texmf-dist/doc/latex/base/fntguide.pdf b/Master/texmf-dist/doc/latex/base/fntguide.pdf Binary files differindex 2c05d19c23e..834113d1729 100644 --- a/Master/texmf-dist/doc/latex/base/fntguide.pdf +++ b/Master/texmf-dist/doc/latex/base/fntguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/fontdef.pdf b/Master/texmf-dist/doc/latex/base/fontdef.pdf Binary files differnew file mode 100644 index 00000000000..2f553b68181 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/fontdef.pdf diff --git a/Master/texmf-dist/doc/latex/base/github-0049.pdf b/Master/texmf-dist/doc/latex/base/github-0049.pdf Binary files differnew file mode 100644 index 00000000000..1a0680af538 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/github-0049.pdf diff --git a/Master/texmf-dist/doc/latex/base/github-0081.pdf b/Master/texmf-dist/doc/latex/base/github-0081.pdf Binary files differnew file mode 100644 index 00000000000..dba1fe1bc26 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/github-0081.pdf diff --git a/Master/texmf-dist/doc/latex/base/github-0081b.pdf b/Master/texmf-dist/doc/latex/base/github-0081b.pdf Binary files differnew file mode 100644 index 00000000000..0262659ce12 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/github-0081b.pdf diff --git a/Master/texmf-dist/doc/latex/base/graphpap.pdf b/Master/texmf-dist/doc/latex/base/graphpap.pdf Binary files differindex 1e1c1459548..8b7f69e2762 100644 --- a/Master/texmf-dist/doc/latex/base/graphpap.pdf +++ b/Master/texmf-dist/doc/latex/base/graphpap.pdf diff --git a/Master/texmf-dist/doc/latex/base/ifthen.pdf b/Master/texmf-dist/doc/latex/base/ifthen.pdf Binary files differindex 8517a59efc5..1655a5e38ef 100644 --- a/Master/texmf-dist/doc/latex/base/ifthen.pdf +++ b/Master/texmf-dist/doc/latex/base/ifthen.pdf diff --git a/Master/texmf-dist/doc/latex/base/inputenc.pdf b/Master/texmf-dist/doc/latex/base/inputenc.pdf Binary files differindex 40841067d52..a527e8e4aec 100644 --- a/Master/texmf-dist/doc/latex/base/inputenc.pdf +++ b/Master/texmf-dist/doc/latex/base/inputenc.pdf diff --git a/Master/texmf-dist/doc/latex/base/latexchanges.pdf b/Master/texmf-dist/doc/latex/base/latexchanges.pdf Binary files differindex f0b41aa4bdf..2de71291120 100644 --- a/Master/texmf-dist/doc/latex/base/latexchanges.pdf +++ b/Master/texmf-dist/doc/latex/base/latexchanges.pdf diff --git a/Master/texmf-dist/doc/latex/base/latexchanges.tex b/Master/texmf-dist/doc/latex/base/latexchanges.tex index f91b00f5e06..3fa3996bde1 100644 --- a/Master/texmf-dist/doc/latex/base/latexchanges.tex +++ b/Master/texmf-dist/doc/latex/base/latexchanges.tex @@ -58,7 +58,8 @@ \newcommand\ghissue[1]{#1} \newcommand\gnatsissue[1]{#1} \newcommand\ltnewsissue[1]{\LaTeX\ News~#1} - \newcommand\sxanswer[1]{http://tex.stackexchange.com\slash a\slash #1} + \newcommand\sxanswer[1]{https://tex.stackexchange.com\slash a\slash #1} + \newcommand\sxquestion[1]{https://tex.stackexchange.com\slash q\slash #1} \else \newcommand\ghissue[1]{% \href{https://github.com/latex3/latex2e/issues/#1}{#1}} @@ -67,7 +68,9 @@ \newcommand\ltnewsissue[1]{% \href{https://www.latex-project.org/news/latex2e-news/ltnews#1.pdf}{\LaTeX\ News~#1}} \newcommand\sxanswer[1]{% - \url{http://tex.stackexchange.com/a/#1}} + \url{https://tex.stackexchange.com/a/#1}} + \newcommand\sxquestion[1]{% + \url{https://tex.stackexchange.com/q/#1}} \fi \begin{document} @@ -88,6 +91,24 @@ policy. Improvements and bug fixes will be made to the format sources, with the \Lpack{latexrelease} package being available to revert changes to use definitions from an earlier format. +\section{Changes introduced in 2018-12-01} + +Further additions to the characters supported by default in UTF-8. +\verb|\guillemetleft| and \verb|\guillemetright| provided as alias for +the names based on the Adobe font names (\ghissue{65}). + +The use of potrusion in tables of contents is suppressed by default, +see \sxquestion{172785}. + +The handling of visible space in verbation was adjusted for +\ghissue{69} and \ghissue{70}. + +Spaces are removed from the argument passed to BiBTeX, \ghissue{88}. + +New commands \verb\Hwithstroke| and \verb|\hwithstroke| added to T1 encoding support. + +The internal box structure for floats is adjusted to preserve box +levels of split hyperlinks, avoiding a fatal pdftex error. \ghissue{94}. \section{Changes introduced in 2018-04-01 patch~5} Improved support for non ASCII filenames on the commandline on filesystems using legacy encodings. diff --git a/Master/texmf-dist/doc/latex/base/latexrelease.pdf b/Master/texmf-dist/doc/latex/base/latexrelease.pdf Binary files differindex 83dec9c51b5..521b2159c45 100644 --- a/Master/texmf-dist/doc/latex/base/latexrelease.pdf +++ b/Master/texmf-dist/doc/latex/base/latexrelease.pdf diff --git a/Master/texmf-dist/doc/latex/base/latexsym.pdf b/Master/texmf-dist/doc/latex/base/latexsym.pdf Binary files differindex bcd8e02bd42..5ac1cd54350 100644 --- a/Master/texmf-dist/doc/latex/base/latexsym.pdf +++ b/Master/texmf-dist/doc/latex/base/latexsym.pdf diff --git a/Master/texmf-dist/doc/latex/base/lb2.pdf b/Master/texmf-dist/doc/latex/base/lb2.pdf Binary files differindex 151a09d6985..abb0124d357 100644 --- a/Master/texmf-dist/doc/latex/base/lb2.pdf +++ b/Master/texmf-dist/doc/latex/base/lb2.pdf diff --git a/Master/texmf-dist/doc/latex/base/letter.pdf b/Master/texmf-dist/doc/latex/base/letter.pdf Binary files differindex 8f3a4becf49..dd5180e50d9 100644 --- a/Master/texmf-dist/doc/latex/base/letter.pdf +++ b/Master/texmf-dist/doc/latex/base/letter.pdf diff --git a/Master/texmf-dist/doc/latex/base/lgc2.pdf b/Master/texmf-dist/doc/latex/base/lgc2.pdf Binary files differindex 583b31b45b9..527b395a254 100644 --- a/Master/texmf-dist/doc/latex/base/lgc2.pdf +++ b/Master/texmf-dist/doc/latex/base/lgc2.pdf diff --git a/Master/texmf-dist/doc/latex/base/lppl.pdf b/Master/texmf-dist/doc/latex/base/lppl.pdf Binary files differindex c1ce02791ac..e9e561140ef 100644 --- a/Master/texmf-dist/doc/latex/base/lppl.pdf +++ b/Master/texmf-dist/doc/latex/base/lppl.pdf diff --git a/Master/texmf-dist/doc/latex/base/ltclass.pdf b/Master/texmf-dist/doc/latex/base/ltclass.pdf Binary files differnew file mode 100644 index 00000000000..6278a089bc7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/ltclass.pdf diff --git a/Master/texmf-dist/doc/latex/base/ltluatex.pdf b/Master/texmf-dist/doc/latex/base/ltluatex.pdf Binary files differindex 972b5769990..1cd87dccf07 100644 --- a/Master/texmf-dist/doc/latex/base/ltluatex.pdf +++ b/Master/texmf-dist/doc/latex/base/ltluatex.pdf diff --git a/Master/texmf-dist/doc/latex/base/ltnews.pdf b/Master/texmf-dist/doc/latex/base/ltnews.pdf Binary files differindex e2c71ad6b3e..668088b9ba6 100644 --- a/Master/texmf-dist/doc/latex/base/ltnews.pdf +++ b/Master/texmf-dist/doc/latex/base/ltnews.pdf diff --git a/Master/texmf-dist/doc/latex/base/ltnews.tex b/Master/texmf-dist/doc/latex/base/ltnews.tex index f52aefcbb49..4429d33f364 100644 --- a/Master/texmf-dist/doc/latex/base/ltnews.tex +++ b/Master/texmf-dist/doc/latex/base/ltnews.tex @@ -33,7 +33,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltnews.tex}% [2015/02/16 v1.4b Master file for ltnews*.tex (LaTeX Project)] -\providecommand*{\lastissue}{28} +\providecommand*{\lastissue}{29} \InputIfFileExists{ltnews-lastissue.cfg}{}{} @@ -68,8 +68,11 @@ \RequirePackage[T1]{fontenc} \RequirePackage{hologo} + \documentclass{ltnews} +\RequirePackage{url,csquotes} + \expandafter \DeclareRobustCommand\expandafter*\expandafter\small\expandafter{\small} @@ -176,7 +179,11 @@ \def\y{|lmodern,url,hologo}% \ifx\x\y \else - \@latex@error{ltnews.tex: \string\usepackage[#1]{#2} found}\@ehc + \def\y{|csquotes}% + \ifx\x\y + \else + \@latex@error{ltnews.tex: \string\usepackage[#1]{#2} found}\@ehc + \fi \fi \fi \fi diff --git a/Master/texmf-dist/doc/latex/base/ltx3info.pdf b/Master/texmf-dist/doc/latex/base/ltx3info.pdf Binary files differindex 7e7725c6b1c..96ebe1ada8a 100644 --- a/Master/texmf-dist/doc/latex/base/ltx3info.pdf +++ b/Master/texmf-dist/doc/latex/base/ltx3info.pdf diff --git a/Master/texmf-dist/doc/latex/base/ltxdoc.pdf b/Master/texmf-dist/doc/latex/base/ltxdoc.pdf Binary files differindex dfd8ff63d6c..d7d6d9d6949 100644 --- a/Master/texmf-dist/doc/latex/base/ltxdoc.pdf +++ b/Master/texmf-dist/doc/latex/base/ltxdoc.pdf diff --git a/Master/texmf-dist/doc/latex/base/makeindx.pdf b/Master/texmf-dist/doc/latex/base/makeindx.pdf Binary files differindex 93e14cddc95..f6475a4ecea 100644 --- a/Master/texmf-dist/doc/latex/base/makeindx.pdf +++ b/Master/texmf-dist/doc/latex/base/makeindx.pdf diff --git a/Master/texmf-dist/doc/latex/base/manual.err b/Master/texmf-dist/doc/latex/base/manual.err index ea2a2435c75..e78b18de9f6 100644 --- a/Master/texmf-dist/doc/latex/base/manual.err +++ b/Master/texmf-dist/doc/latex/base/manual.err @@ -19,7 +19,7 @@ \def\ypmd{% % % % % % - Last modified on Wed 18 Jan 2006 at 13:17:43 PST by lamport % + Last modified on Sat 13 October 2018 at 12:56:41 PST by lamport % endypmd} % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -46,9 +46,8 @@ by Addison-Wesley, reported as of \moddate. Positions in the book are indicated by page and line number, where the top line of a page is number 1 and the bottom line is number $-1$. A running head and a page number are not considered to be lines, but all other lines are. -Please report any additional errors to me. My current email address -can be found at -{\tt http://lamport.org}. +Please report any additional errors to The \LaTeX\ Project at +\texttt{www.latex-project.org/bugs/}\,. \subsection*{Errors Corrected in the First Printing} @@ -344,6 +343,22 @@ The two index entries for \verb|\ldots| should be combined. \reportedby{Christopher Dutchyn}{22 July 2005} + +\subsection*{Uncorrected Errors} + +\erratum{page 206, line 17 (\texttt{\string\multicolumn} explanation)} + +Insert the following text right after ``\texttt{l}, and \texttt{r}.'' +\begin{quote} +If the part of the environment's \emph{cols} argument being replaced +immediately follows an \texttt{@} expression, then the \emph{item} +will be preceded by a normal intercolumn space unless the +\verb|\multicolumn| command's \emph{col} argument begins with an +\texttt{@} expression. In particular, beginning the \emph{col} +argument with \verb|@{}| will suppress that space. +\end{quote} +\reportedby{Ulrike Fischer, Frank Mittelbach}{23 Sep 2018} + \end{document} %try diff --git a/Master/texmf-dist/doc/latex/base/manual.pdf b/Master/texmf-dist/doc/latex/base/manual.pdf Binary files differindex abb92c4bc38..62d4eab9a68 100644 --- a/Master/texmf-dist/doc/latex/base/manual.pdf +++ b/Master/texmf-dist/doc/latex/base/manual.pdf diff --git a/Master/texmf-dist/doc/latex/base/modguide.pdf b/Master/texmf-dist/doc/latex/base/modguide.pdf Binary files differindex 619f04509b1..97d1fa45a1e 100644 --- a/Master/texmf-dist/doc/latex/base/modguide.pdf +++ b/Master/texmf-dist/doc/latex/base/modguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/nfssfont.pdf b/Master/texmf-dist/doc/latex/base/nfssfont.pdf Binary files differindex d1a86420a61..3ab32e6f959 100644 --- a/Master/texmf-dist/doc/latex/base/nfssfont.pdf +++ b/Master/texmf-dist/doc/latex/base/nfssfont.pdf diff --git a/Master/texmf-dist/doc/latex/base/proc.pdf b/Master/texmf-dist/doc/latex/base/proc.pdf Binary files differindex ccc9a668bf0..3daa1444cd4 100644 --- a/Master/texmf-dist/doc/latex/base/proc.pdf +++ b/Master/texmf-dist/doc/latex/base/proc.pdf diff --git a/Master/texmf-dist/doc/latex/base/slides.pdf b/Master/texmf-dist/doc/latex/base/slides.pdf Binary files differindex e5a62d02068..1a33f7e0cf7 100644 --- a/Master/texmf-dist/doc/latex/base/slides.pdf +++ b/Master/texmf-dist/doc/latex/base/slides.pdf diff --git a/Master/texmf-dist/doc/latex/base/slifonts.pdf b/Master/texmf-dist/doc/latex/base/slifonts.pdf Binary files differindex 7967ced3cb6..5c71c2333fb 100644 --- a/Master/texmf-dist/doc/latex/base/slifonts.pdf +++ b/Master/texmf-dist/doc/latex/base/slifonts.pdf diff --git a/Master/texmf-dist/doc/latex/base/source2e.pdf b/Master/texmf-dist/doc/latex/base/source2e.pdf Binary files differindex 6806c8fcc13..02ac1bf9c66 100644 --- a/Master/texmf-dist/doc/latex/base/source2e.pdf +++ b/Master/texmf-dist/doc/latex/base/source2e.pdf diff --git a/Master/texmf-dist/doc/latex/base/syntonly.pdf b/Master/texmf-dist/doc/latex/base/syntonly.pdf Binary files differindex 87c7b9e9ce8..0f92fed10d4 100644 --- a/Master/texmf-dist/doc/latex/base/syntonly.pdf +++ b/Master/texmf-dist/doc/latex/base/syntonly.pdf diff --git a/Master/texmf-dist/doc/latex/base/tlb1144.pdf b/Master/texmf-dist/doc/latex/base/tlb1144.pdf Binary files differnew file mode 100644 index 00000000000..a96aee591e9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/base/tlb1144.pdf diff --git a/Master/texmf-dist/doc/latex/base/tlc2.pdf b/Master/texmf-dist/doc/latex/base/tlc2.pdf Binary files differindex f8e2ff655b0..c1e585e94f4 100644 --- a/Master/texmf-dist/doc/latex/base/tlc2.pdf +++ b/Master/texmf-dist/doc/latex/base/tlc2.pdf diff --git a/Master/texmf-dist/doc/latex/base/tulm.pdf b/Master/texmf-dist/doc/latex/base/tulm.pdf Binary files differindex 3f695c4804f..d98593cb25c 100644 --- a/Master/texmf-dist/doc/latex/base/tulm.pdf +++ b/Master/texmf-dist/doc/latex/base/tulm.pdf diff --git a/Master/texmf-dist/doc/latex/base/usrguide.pdf b/Master/texmf-dist/doc/latex/base/usrguide.pdf Binary files differindex c81b24118cc..1f038d0aadb 100644 --- a/Master/texmf-dist/doc/latex/base/usrguide.pdf +++ b/Master/texmf-dist/doc/latex/base/usrguide.pdf diff --git a/Master/texmf-dist/doc/latex/base/utf8ienc.pdf b/Master/texmf-dist/doc/latex/base/utf8ienc.pdf Binary files differindex a722bc38de8..c27d6a58388 100644 --- a/Master/texmf-dist/doc/latex/base/utf8ienc.pdf +++ b/Master/texmf-dist/doc/latex/base/utf8ienc.pdf diff --git a/Master/texmf-dist/doc/latex/base/webcomp.pdf b/Master/texmf-dist/doc/latex/base/webcomp.pdf Binary files differindex 858a145b382..43153cab113 100644 --- a/Master/texmf-dist/doc/latex/base/webcomp.pdf +++ b/Master/texmf-dist/doc/latex/base/webcomp.pdf diff --git a/Master/texmf-dist/doc/latex/tools/afterpage.pdf b/Master/texmf-dist/doc/latex/tools/afterpage.pdf Binary files differindex 400dadc4d26..59235e416c1 100644 --- a/Master/texmf-dist/doc/latex/tools/afterpage.pdf +++ b/Master/texmf-dist/doc/latex/tools/afterpage.pdf diff --git a/Master/texmf-dist/doc/latex/tools/array.pdf b/Master/texmf-dist/doc/latex/tools/array.pdf Binary files differindex 43fbc761b47..fcb26e9edad 100644 --- a/Master/texmf-dist/doc/latex/tools/array.pdf +++ b/Master/texmf-dist/doc/latex/tools/array.pdf diff --git a/Master/texmf-dist/doc/latex/tools/bm.pdf b/Master/texmf-dist/doc/latex/tools/bm.pdf Binary files differindex e62c30ed64a..09ba1159648 100644 --- a/Master/texmf-dist/doc/latex/tools/bm.pdf +++ b/Master/texmf-dist/doc/latex/tools/bm.pdf diff --git a/Master/texmf-dist/doc/latex/tools/calc.pdf b/Master/texmf-dist/doc/latex/tools/calc.pdf Binary files differindex 1b192ce5b09..1a927dbdad4 100644 --- a/Master/texmf-dist/doc/latex/tools/calc.pdf +++ b/Master/texmf-dist/doc/latex/tools/calc.pdf diff --git a/Master/texmf-dist/doc/latex/tools/changes.txt b/Master/texmf-dist/doc/latex/tools/changes.txt index b4ae449af3a..532d64892f7 100644 --- a/Master/texmf-dist/doc/latex/tools/changes.txt +++ b/Master/texmf-dist/doc/latex/tools/changes.txt @@ -5,6 +5,45 @@ completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= +######################### +# 2018-12-01 Release +######################### + +2018-11-13 <Frank.Mittelbach@latex-project.org> + + * array.dtx: Do not expand argument of \@startpbox + while building the tabular preamble (sx/459285) + +2018-11-09 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * multicol.dtx: + Support star with \docolaction (test first then execute) + +2018-10-13 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * trace.dtx (section{Implementation}): + Only reset \tracingoutput if not set by \showoutput earlier + +2018-10-01 David Carlisle <David.Carlisle@latex-project.org> + + * xr.dtx: Update to handle \if tests in the aux file. + https://tex.stackexchange.com/a/452321 + +2018-09-13 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * array.dtx (section{The macros \@classz): + Add group to prevent color leak (github/72) + +######################### +# 2018-04-01 PL 5 Release +######################### + +2018-06-26 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * multicol.dtx (subsection{Not balancing the columns}): + Re-add end penalty for multicols* environment to guard + against leftovers (git/53) + 2018-04-30 Frank Mittelbach <Frank.Mittelbach@latex-project.org> * array.dtx Explicity place the row strut inside \\ before @@ -206,9 +245,10 @@ are not part of the distribution. 2014-06-19 Frank Mittelbach <latex-bugs@latex-project.org> - * multicol.dtx: color-leak fix introduced a spacing problem in boxed mode - as the added color commands were hiding any space at the bottom of the box - material (which thus didn't get discarded) + * multicol.dtx: color-leak fix introduced a spacing problem in + boxed mode as the added color commands were hiding any space + at the bottom of the box material (which thus didn't get + discarded) 2014-05-14 David Carlisle <latex-bugs@latex-project.org> @@ -474,7 +514,7 @@ are not part of the distribution. 2003-04-08 Frank Mittelbach <latex-bugs@latex-project.org> - * multicol.dtx: Collect one addition line per column to account + * multicol.dtx: Collect one additional line per column to account for vanishing space at column breaks 2003-03-29 Frank Mittelbach <latex-bugs@latex-project.org> diff --git a/Master/texmf-dist/doc/latex/tools/dcolumn.pdf b/Master/texmf-dist/doc/latex/tools/dcolumn.pdf Binary files differindex 60a85b37a64..49f3239e50a 100644 --- a/Master/texmf-dist/doc/latex/tools/dcolumn.pdf +++ b/Master/texmf-dist/doc/latex/tools/dcolumn.pdf diff --git a/Master/texmf-dist/doc/latex/tools/delarray.pdf b/Master/texmf-dist/doc/latex/tools/delarray.pdf Binary files differindex 9f0ec92104f..27118e76c6f 100644 --- a/Master/texmf-dist/doc/latex/tools/delarray.pdf +++ b/Master/texmf-dist/doc/latex/tools/delarray.pdf diff --git a/Master/texmf-dist/doc/latex/tools/enumerate.pdf b/Master/texmf-dist/doc/latex/tools/enumerate.pdf Binary files differindex 532a51b2047..7708f6a7c65 100644 --- a/Master/texmf-dist/doc/latex/tools/enumerate.pdf +++ b/Master/texmf-dist/doc/latex/tools/enumerate.pdf diff --git a/Master/texmf-dist/doc/latex/tools/fileerr.pdf b/Master/texmf-dist/doc/latex/tools/fileerr.pdf Binary files differindex 45d2c859069..1bf450a5d41 100644 --- a/Master/texmf-dist/doc/latex/tools/fileerr.pdf +++ b/Master/texmf-dist/doc/latex/tools/fileerr.pdf diff --git a/Master/texmf-dist/doc/latex/tools/fontsmpl.pdf b/Master/texmf-dist/doc/latex/tools/fontsmpl.pdf Binary files differindex 4475ee5663c..7b5439307cd 100644 --- a/Master/texmf-dist/doc/latex/tools/fontsmpl.pdf +++ b/Master/texmf-dist/doc/latex/tools/fontsmpl.pdf diff --git a/Master/texmf-dist/doc/latex/tools/ftnright.pdf b/Master/texmf-dist/doc/latex/tools/ftnright.pdf Binary files differindex 3d45ef7b923..138ad0565f6 100644 --- a/Master/texmf-dist/doc/latex/tools/ftnright.pdf +++ b/Master/texmf-dist/doc/latex/tools/ftnright.pdf diff --git a/Master/texmf-dist/doc/latex/tools/hhline.pdf b/Master/texmf-dist/doc/latex/tools/hhline.pdf Binary files differindex f2b327156b7..b6edb666414 100644 --- a/Master/texmf-dist/doc/latex/tools/hhline.pdf +++ b/Master/texmf-dist/doc/latex/tools/hhline.pdf diff --git a/Master/texmf-dist/doc/latex/tools/indentfirst.pdf b/Master/texmf-dist/doc/latex/tools/indentfirst.pdf Binary files differindex 7c7b230d665..e663e8b9cad 100644 --- a/Master/texmf-dist/doc/latex/tools/indentfirst.pdf +++ b/Master/texmf-dist/doc/latex/tools/indentfirst.pdf diff --git a/Master/texmf-dist/doc/latex/tools/layout.pdf b/Master/texmf-dist/doc/latex/tools/layout.pdf Binary files differindex 753abf1ab6e..47bc0deefd7 100644 --- a/Master/texmf-dist/doc/latex/tools/layout.pdf +++ b/Master/texmf-dist/doc/latex/tools/layout.pdf diff --git a/Master/texmf-dist/doc/latex/tools/longtable.pdf b/Master/texmf-dist/doc/latex/tools/longtable.pdf Binary files differindex bde94d24311..c204c623877 100644 --- a/Master/texmf-dist/doc/latex/tools/longtable.pdf +++ b/Master/texmf-dist/doc/latex/tools/longtable.pdf diff --git a/Master/texmf-dist/doc/latex/tools/multicol.pdf b/Master/texmf-dist/doc/latex/tools/multicol.pdf Binary files differindex 9125993956d..131d7a5582f 100644 --- a/Master/texmf-dist/doc/latex/tools/multicol.pdf +++ b/Master/texmf-dist/doc/latex/tools/multicol.pdf diff --git a/Master/texmf-dist/doc/latex/tools/rawfonts.pdf b/Master/texmf-dist/doc/latex/tools/rawfonts.pdf Binary files differindex d7395f9f864..39caf638e48 100644 --- a/Master/texmf-dist/doc/latex/tools/rawfonts.pdf +++ b/Master/texmf-dist/doc/latex/tools/rawfonts.pdf diff --git a/Master/texmf-dist/doc/latex/tools/shellesc.pdf b/Master/texmf-dist/doc/latex/tools/shellesc.pdf Binary files differindex dbc64249c19..bb6725ad8b0 100644 --- a/Master/texmf-dist/doc/latex/tools/shellesc.pdf +++ b/Master/texmf-dist/doc/latex/tools/shellesc.pdf diff --git a/Master/texmf-dist/doc/latex/tools/showkeys.pdf b/Master/texmf-dist/doc/latex/tools/showkeys.pdf Binary files differindex 7cdac3fd507..41d133a674a 100644 --- a/Master/texmf-dist/doc/latex/tools/showkeys.pdf +++ b/Master/texmf-dist/doc/latex/tools/showkeys.pdf diff --git a/Master/texmf-dist/doc/latex/tools/somedefs.pdf b/Master/texmf-dist/doc/latex/tools/somedefs.pdf Binary files differindex 1c436ed4f93..5611c1105d2 100644 --- a/Master/texmf-dist/doc/latex/tools/somedefs.pdf +++ b/Master/texmf-dist/doc/latex/tools/somedefs.pdf diff --git a/Master/texmf-dist/doc/latex/tools/tabularx.pdf b/Master/texmf-dist/doc/latex/tools/tabularx.pdf Binary files differindex a61f4d56d1a..325c0f7475b 100644 --- a/Master/texmf-dist/doc/latex/tools/tabularx.pdf +++ b/Master/texmf-dist/doc/latex/tools/tabularx.pdf diff --git a/Master/texmf-dist/doc/latex/tools/theorem.pdf b/Master/texmf-dist/doc/latex/tools/theorem.pdf Binary files differindex cfa1c25cd0d..42b1ae8118d 100644 --- a/Master/texmf-dist/doc/latex/tools/theorem.pdf +++ b/Master/texmf-dist/doc/latex/tools/theorem.pdf diff --git a/Master/texmf-dist/doc/latex/tools/tools-overview.pdf b/Master/texmf-dist/doc/latex/tools/tools-overview.pdf Binary files differindex f7e96da89e7..94e11fc0109 100644 --- a/Master/texmf-dist/doc/latex/tools/tools-overview.pdf +++ b/Master/texmf-dist/doc/latex/tools/tools-overview.pdf diff --git a/Master/texmf-dist/doc/latex/tools/trace.pdf b/Master/texmf-dist/doc/latex/tools/trace.pdf Binary files differindex f6bf4c1d4aa..86e735f262b 100644 --- a/Master/texmf-dist/doc/latex/tools/trace.pdf +++ b/Master/texmf-dist/doc/latex/tools/trace.pdf diff --git a/Master/texmf-dist/doc/latex/tools/varioref.pdf b/Master/texmf-dist/doc/latex/tools/varioref.pdf Binary files differindex 0ee07ccf2fe..cc4813a079b 100644 --- a/Master/texmf-dist/doc/latex/tools/varioref.pdf +++ b/Master/texmf-dist/doc/latex/tools/varioref.pdf diff --git a/Master/texmf-dist/doc/latex/tools/verbatim.pdf b/Master/texmf-dist/doc/latex/tools/verbatim.pdf Binary files differindex e7475661ade..e964d8265ce 100644 --- a/Master/texmf-dist/doc/latex/tools/verbatim.pdf +++ b/Master/texmf-dist/doc/latex/tools/verbatim.pdf diff --git a/Master/texmf-dist/doc/latex/tools/xr-e1.pdf b/Master/texmf-dist/doc/latex/tools/xr-e1.pdf Binary files differnew file mode 100644 index 00000000000..30051a90526 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tools/xr-e1.pdf diff --git a/Master/texmf-dist/doc/latex/tools/xr-he1.pdf b/Master/texmf-dist/doc/latex/tools/xr-he1.pdf Binary files differnew file mode 100644 index 00000000000..ee3e25bdd6f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tools/xr-he1.pdf diff --git a/Master/texmf-dist/doc/latex/tools/xr-main.pdf b/Master/texmf-dist/doc/latex/tools/xr-main.pdf new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tools/xr-main.pdf diff --git a/Master/texmf-dist/doc/latex/tools/xr.pdf b/Master/texmf-dist/doc/latex/tools/xr.pdf Binary files differindex 7ff4b25c269..d7510e78cf5 100644 --- a/Master/texmf-dist/doc/latex/tools/xr.pdf +++ b/Master/texmf-dist/doc/latex/tools/xr.pdf diff --git a/Master/texmf-dist/doc/latex/tools/xspace.pdf b/Master/texmf-dist/doc/latex/tools/xspace.pdf Binary files differindex fc5a856f67a..10573e7efbc 100644 --- a/Master/texmf-dist/doc/latex/tools/xspace.pdf +++ b/Master/texmf-dist/doc/latex/tools/xspace.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx index d597f74b7cb..8e4943235f0 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx @@ -2,7 +2,7 @@ % \iffalse meta-comment % % Copyright 1995, 2000, 2013 American Mathematical Society. -% Copyright 2016-2017 LaTeX3 Project and American Mathematical Society. +% Copyright 2016-2018 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -74,7 +74,19 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must be December 1994 or later -\ProvidesPackage{amsmath}[2017/09/02 v2.17a AMS math features] +% \end{macrocode} +% +% Not yet used but for the future \ldots +% \begin{macrocode} +%\providecommand\DeclareRelease[3]{} +%\providecommand\DeclareCurrentRelease[2]{} +% +%\DeclareRelease{}{2017-09-02}{amsmath-2017-09-02.sty} +%\DeclareCurrentRelease{}{2018-12-01} +% \end{macrocode} +% +% \begin{macrocode} +\ProvidesPackage{amsmath}[2018/12/01 v2.17b AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -224,7 +236,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % Previously \cn{aligned} and \cn{gathered} inserted a thin space on % their left but not their right, there is no good reason for this % that anyone can remember, it has just always been that way -% inherited from amstex. The usual advice to authors has bben to use +% inherited from amstex. The usual advice to authors has been to use % |\!\begin{aligned}| to get better spacing. % % Here introduce: @@ -405,9 +417,18 @@ For additional information on amsmath, use the \lq ?\rq\space option.% % mathstyle, and the result is left in the box named by the first % arg. It is assumed that we are already in math mode, so we can turn % off |\everymath| (in particular, |\check@mathfonts|). +% +% As of 2018/12 release we don't turn off |\evermath| as this +% optimization can be harmful. +% \changes{v2.17b}{2018/12/01}{Don't drop \cs{frozen@everymath}} % \begin{macrocode} +\ifx\leavevmode@ifvmode\@undefined % kernel is < 2018/12 \def\@mathmeasure#1#2#3{\setbox#1\hbox{\frozen@everymath\@emptytoks + \m@th$#2#3$}} +\else +\def\@mathmeasure#1#2#3{\setbox#1\hbox{% \m@th$#2#3$}} +\fi % \end{macrocode} % \end{macro} % @@ -440,9 +461,16 @@ For additional information on amsmath, use the \lq ?\rq\space option.% % them. The standard \cs{relax} before the \cs{ifmmode} is not % necessary because of the \cs{protect} added by % \cs{DeclareRobustCommand}. +% \changes{v2.17b}{2018/12/01}{Start LR-mode for \cs{thinspace} and +% friends if necessary (github/49)} % \begin{macrocode} +\ifx\leavevmode@ifvmode\@undefined \DeclareRobustCommand{\tmspace}[3]{% \ifmmode\mskip#1#2\else\kern#1#3\fi\relax} +\else +\DeclareRobustCommand{\tmspace}[3]{% + \ifmmode\mskip#1#2\else\leavevmode@ifvmode\kern#1#3\fi\relax} +\fi \renewcommand{\,}{\tmspace+\thinmuskip{.1667em}} \let\thinspace\, \renewcommand{\!}{\tmspace-\thinmuskip{.1667em}} @@ -1538,7 +1566,10 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macro}{\bBigg@} % Now we tackle the macro which has to do the real work. It % actually has two arguments, the factor and the wanted delimiter. +% \changes{v2.17b}{2018/12/01}{Start LR-mode for \cs{bigl} and +% friends if necessary (github/49)} % \begin{macrocode} +\ifx\leavevmode@ifvmode\@undefined \def\bBigg@#1#2{% % \end{macrocode} % We start with an extra set of braces because we want @@ -1548,6 +1579,12 @@ Foreign command \@backslashchar#1;\MessageBreak {\@mathmeasure\z@{\nulldelimiterspace\z@}% {\left#2\vcenter to#1\big@size{}\right.}% \box\z@}} +\else +\def\bBigg@#1#2{\leavevmode@ifvmode + {\@mathmeasure\z@{\nulldelimiterspace\z@}% + {\left#2\vcenter to#1\big@size{}\right.}% + \box\z@}} +\fi % \end{macrocode} % \end{macro} % @@ -2072,14 +2109,26 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macro}{\smash} % We add to the \cn{smash} command an optional argument % denoting the part of the formula to be smashed. +% \changes{v2.17b}{2018/12/01}{Start LR-mode for \cs{smash} +% if necessary (github/49)} % \begin{macrocode} +\ifx\leavevmode@ifvmode\@undefined \renewcommand{\smash}[1][tb]{% \def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}% - \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@ \box\z@}% + \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@\box\z@}% \ifmmode \@xp\mathpalette\@xp\mathsm@sh \else \@xp\makesm@sh \fi } +\else +\renewcommand{\smash}[1][tb]{% + \def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}% + \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@ \leavevmode@ifvmode\box\z@}% + \ifmmode \@xp\mathpalette\@xp\mathsm@sh + \else \@xp\makesm@sh + \fi +} +\fi % \end{macrocode} % \end{macro} % diff --git a/Master/texmf-dist/source/latex/base/classes.dtx b/Master/texmf-dist/source/latex/base/classes.dtx index 5b6e68ba682..a2dde6ade16 100644 --- a/Master/texmf-dist/source/latex/base/classes.dtx +++ b/Master/texmf-dist/source/latex/base/classes.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -53,7 +53,7 @@ %<*driver> \ProvidesFile{classes.drv} %</driver> - [2014/09/29 v1.4h + [2018/09/03 v1.4i %<article|report|book> Standard LaTeX document class] %<10pt|11pt|12pt> Standard LaTeX file (size option)] % \end{macrocode} @@ -3812,7 +3812,14 @@ % set flush right. % \begin{macrocode} {\leavevmode - \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \large \bfseries #1\hfil + \hb@xt@\@pnumwidth{\hss #2% +% \end{macrocode} +% +% \changes{v1.4i}{2018/09/03}{Prevent protrusion +% (\url{https://tex.stackexchange.com/q/172785/10109})} +% \begin{macrocode} + \kern-\p@\kern\p@}}\par % \end{macrocode} % Prevent a pagebreak immediately after this entry, but use % |\everypar| to reset the |\if@nobreak| switch. Finally we close @@ -3873,7 +3880,14 @@ % \begin{macrocode} \advance\leftskip\@tempdima \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + #1\nobreak\hfil + \nobreak\hb@xt@\@pnumwidth{\hss #2% +% \end{macrocode} +% +% \changes{v1.4i}{2018/09/03}{Prevent protrusion +% (\url{https://tex.stackexchange.com/q/172785/10109})} +% \begin{macrocode} + \kern-\p@\kern\p@}\par \penalty\@highpenalty \endgroup \fi} @@ -3923,7 +3937,14 @@ % \begin{macrocode} \advance\leftskip\@tempdima \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + #1\nobreak\hfil + \nobreak\hb@xt@\@pnumwidth{\hss #2% +% \end{macrocode} +% +% \changes{v1.4i}{2018/09/03}{Prevent protrusion +% (\url{https://tex.stackexchange.com/q/172785/10109})} +% \begin{macrocode} + \kern-\p@\kern\p@}\par \endgroup \fi} %</article> diff --git a/Master/texmf-dist/source/latex/base/cmextra.ins b/Master/texmf-dist/source/latex/base/cmextra.ins index a1c0973075b..292bcd46d61 100644 --- a/Master/texmf-dist/source/latex/base/cmextra.ins +++ b/Master/texmf-dist/source/latex/base/cmextra.ins @@ -3,7 +3,7 @@ %% driver files from the doc files in this package when run through %% LaTeX or TeX. %% -%% Copyright 1993-2017 +%% Copyright 1993-2018 %% The LaTeX3 Project and any individual authors listed elsewhere %% in this file. %% @@ -48,7 +48,7 @@ reports for it can be opened at https://latex-project.org/bugs.html (but please observe conditions on bug reports sent to that address!) -Copyright 1993-2017 +Copyright 1993-2018 The LaTeX3 Project and any individual authors listed elsewhere in this file. @@ -124,6 +124,13 @@ making successful document exchange impossible. ^^J* ^^J* You can easily redo this installation later in case you ^^J* change your mind. + ^^J* + ^^J* Normally it is better *not* to install these files, but use + ^^J* the support files provided in the cyrillic bundle instead!!! + ^^J* + ^^J* For that reason this installation file is no longer used + ^^J* when generating the run-time system. + ^^J* ^^J**************************************************************} {\ifx\answer\y diff --git a/Master/texmf-dist/source/latex/base/doc.dtx b/Master/texmf-dist/source/latex/base/doc.dtx index 5225a9af113..aad15515431 100644 --- a/Master/texmf-dist/source/latex/base/doc.dtx +++ b/Master/texmf-dist/source/latex/base/doc.dtx @@ -35,7 +35,7 @@ %<+package|shortvrb>\NeedsTeXFormat{LaTeX2e}[1994/12/01] %<+package> \ProvidesPackage{doc} %<+shortvrb>\ProvidesPackage{shortvrb} -%<+package|shortvrb> [2018/02/01 v2.1h +%<+package|shortvrb> [2018/09/25 v2.1i %<+package|shortvrb> Standard LaTeX documentation package (FMi)] %\catcode`\<=12 % @@ -139,7 +139,7 @@ % \changes{v1.9t}{1995/05/11}{Use \cs{GetFileInfo}} % \GetFileInfo{doc.sty} % -% \CheckSum{2202} ^^A % keep the checksum in this file +% \CheckSum{2206} ^^A % keep the checksum in this file % % \title{The \DOC{} and \texttt{shortvrb} Packages\thanks % {This file has version number \fileversion{} dated \filedate{}.}} @@ -3698,9 +3698,10 @@ % space before the referenced page numbers will be filled with % dots, with a little white space interpolated at each end of the % dots. If the line is broken the dots will show up on both lines. +% \changes{v2.1i}{2018/09/25}{Guard against following \cs{unskip} (git/23)} % \begin{macrocode} -\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill}% -\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}% +\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill\kern\z@}% +\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil\kern\z@}% \def\pfill{\unskip~\dotfill\penalty500\strut\nobreak \dotfil~\ignorespaces}% %</package> diff --git a/Master/texmf-dist/source/latex/base/exscale.dtx b/Master/texmf-dist/source/latex/base/exscale.dtx index 983ac95d1cf..49e53ca5f87 100644 --- a/Master/texmf-dist/source/latex/base/exscale.dtx +++ b/Master/texmf-dist/source/latex/base/exscale.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -33,7 +33,7 @@ %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{exscale} %<fd, >\ProvidesFile{OMXcmex.fd} -%<package,fd> [2014/09/29 v2.1h +%<package,fd> [2018/09/24 v2.1i %<package> Standard LaTeX package exscale] %<fd, > exscale package font definitions] %<*driver> @@ -173,13 +173,27 @@ % \end{macrocode} % Now we can define the macros. Note: |\n@space| sets the internal % variables |\nulldelimiterspace| and |\mathsurround| to zero length. +% +% Older kernels (e.g in roll back didn't have LR-mode with the +% these commands) so we test for the support comment. This only works +% if the rollback request is before loading this package but that is +% where it should be. +% \changes{v2.1i}{2018/09/24}{Start LR-mode if necessary (git/49)} % \begin{macrocode} +\ifx\leavevmode@ifvmode\@undefined \def\bBigg@#1#2{% {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} +\else +\def\bBigg@#1#2{\leavevmode@ifvmode + {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} +\fi \def\big{\bBigg@\@ne} \def\Big{\bBigg@{1.5}} \def\bigg{\bBigg@\tw@} \def\Bigg{\bBigg@{2.5}} +% \end{macrocode} +% +% \begin{macrocode} %</package> % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/base/fontdef.dtx b/Master/texmf-dist/source/latex/base/fontdef.dtx index 3231fac583e..36a31ef19bf 100644 --- a/Master/texmf-dist/source/latex/base/fontdef.dtx +++ b/Master/texmf-dist/source/latex/base/fontdef.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -39,7 +39,7 @@ %<driver, >\ProvidesFile{fontdef.drv} % \fi % \ProvidesFile{fontdef.dtx} - [2016/12/03 v3.0a LaTeX Kernel +%<-latexrelease> [2018/09/24 v3.0b LaTeX Kernel % \iftrue (\else %<text, >(Text %<math, >(Math @@ -47,7 +47,7 @@ %<+cfgmath>(Uncustomised math %<+cfgprel>(Uncustomised preload % \fi - font setup)] +%<-latexrelease> font setup)] % % %\iffalse This is a META comment @@ -391,8 +391,6 @@ % The following three definitions set up the meaning for % |\rmfamily|, |\sffamily|, and |\ttfamily|. % \begin{macrocode} -%</text> -%<*text|latexrelease> \ifx\Umathchar\@undefined \newcommand\encodingdefault{OT1} \newcommand\rmdefault{cmr} @@ -400,31 +398,40 @@ \newcommand\ttdefault{cmtt} \else \newcommand\encodingdefault{TU} -\newcommand\rmdefault{lmr}\fontfamily{\rmdefault} +\newcommand\rmdefault{lmr} +\fontfamily{\rmdefault} \newcommand\sfdefault{lmss} \newcommand\ttdefault{lmtt} \fi +%</text> %<latexrelease>\IncludeInRelease{2017/01/01}% %<latexrelease> {\encodingdefault}{TU encoding default}% %<latexrelease>\ifx\Umathchar\@undefined %<latexrelease>\renewcommand\encodingdefault{OT1} +%<latexrelease>\fontencoding{\encodingdefault} %<latexrelease>\renewcommand\rmdefault{cmr} +%<latexrelease>\fontfamily{\rmdefault} %<latexrelease>\renewcommand\sfdefault{cmss} %<latexrelease>\renewcommand\ttdefault{cmtt} %<latexrelease>\else %<latexrelease>\renewcommand\encodingdefault{TU} +%<latexrelease>%done in everyjob\fontencoding{\encodingdefault} %<latexrelease>\renewcommand\rmdefault{lmr} +%<latexrelease>\fontfamily{\rmdefault} %<latexrelease>\renewcommand\sfdefault{lmss} %<latexrelease>\renewcommand\ttdefault{lmtt} %<latexrelease>\fi %<latexrelease>\EndIncludeInRelease %<latexrelease>\IncludeInRelease{0000/00/00}% %<latexrelease> {\encodingdefault}{TU encoding default}% +%<latexrelease>\fontencoding{OT1} %<latexrelease>\renewcommand\encodingdefault{OT1} +%<latexrelease>\fontencoding{\encodingdefault} %<latexrelease>\renewcommand\rmdefault{cmr} +%<latexrelease>\fontfamily{\rmdefault} %<latexrelease>\renewcommand\sfdefault{cmss} %<latexrelease>\renewcommand\ttdefault{cmtt} -%</text|latexrelease> +%<latexrelease>\EndIncludeInRelease %<*text> % \end{macrocode} % \end{macro} @@ -1308,11 +1315,33 @@ % % \subsubsection{Biggggg} % +% \changes{v3.0b}{2018/09/24}{Start LR-mode if necessary (git/49)} +% \begin{macrocode} +%</math> +%<*math|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\Big}{Start LR-mode}% +\def\big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +\def\Big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +\def\bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +\def\Bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +%</math|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\Big}{Start LR-mode}% +%<latexrelease>\def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +%<latexrelease>\def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +%<latexrelease>\def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +%<latexrelease>\def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +%<latexrelease>\EndIncludeInRelease +%<*math> +% \end{macrocode} +% % \begin{macrocode} -\def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} -\def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} -\def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} -\def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} \def\n@space{\nulldelimiterspace\z@ \m@th} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/base/inputenc.dtx b/Master/texmf-dist/source/latex/base/inputenc.dtx index 32a20cc600b..93f64577e20 100644 --- a/Master/texmf-dist/source/latex/base/inputenc.dtx +++ b/Master/texmf-dist/source/latex/base/inputenc.dtx @@ -410,13 +410,12 @@ %<cp1252&!ansinew> \ProvidesFile{cp1252.def} %<cp1250> \ProvidesFile{cp1250.def} %<cp1257> \ProvidesFile{cp1257.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] %<cp850>%% %<cp850>%% If you need a Euro symbol, try cp858 instead. %<cp850>%% % \end{macrocode} % -% % \section{The package} % % \changes{v0.99c}{2002/11/11}{Added cp858 (pr/3464)} @@ -792,6 +791,9 @@ % \changes{v0.995}{2000/05/22}{Added latin2 option for textdegree % (pr/3207) CAR} % +% \changes{v1.3c}{2018/08/11}{Use \cs{guillemetleft} and \cs{guillemetright} +% instead of old Adobe names in all encoding files} +% % The name |\textblacksquare| is derived from the AMS symbol name since % Adobe seem not to want this symbol. The default definition, as a % rule, makes no claim to being a good design. @@ -1323,8 +1325,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{188}{\textonequarter} \DeclareInputText{173}{\-} @@ -1436,8 +1438,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\textonequarter} \DeclareInputText{189}{\textonehalf} \DeclareInputText{191}{\textquestiondown} @@ -1583,9 +1585,9 @@ \DeclareInputText{172}{\textonequarter} %% "B9-"BC: DG \DeclareInputText{173}{\textexclamdown} \DeclareInputText{189}{\textcent} -\DeclareInputText{174}{\guillemotleft} +\DeclareInputText{174}{\guillemetleft} \DeclareInputText{190}{\textyen} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{175}{\guillemetright} % \end{macrocode} % % \begin{macrocode} @@ -1713,8 +1715,8 @@ \DeclareInputText{171}{\@tabacckludge'z} \DeclareInputText{172}{\v C} \DeclareInputText{173}{\c s} -\DeclareInputText{174}{\guillemotleft} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{174}{\guillemetleft} +\DeclareInputText{175}{\guillemetright} \DeclareInputText{181}{\@tabacckludge'A} \DeclareInputText{182}{\^A} \DeclareInputText{183}{\v E} @@ -1866,8 +1868,8 @@ \DeclareInputText{171}{\textonehalf} \DeclareInputText{172}{\textonequarter} \DeclareInputText{173}{\textexclamdown} -\DeclareInputText{174}{\guillemotleft} -%<cp437|cp437de>\DeclareInputText{175}{\guillemotright} +\DeclareInputText{174}{\guillemetleft} +%<cp437|cp437de>\DeclareInputText{175}{\guillemetright} %<cp865>\DeclareInputText{175}{\textcurrency} %\DeclareInputText{176}{\textlightgraybox} %\DeclareInputText{177}{\textgraybox} @@ -2049,8 +2051,8 @@ \DeclareInputText{196}{\textflorin} \DeclareInputMath{197}{\approx} \DeclareInputMath{198}{\Delta} -\DeclareInputText{199}{\guillemotleft} -\DeclareInputText{200}{\guillemotright} +\DeclareInputText{199}{\guillemetleft} +\DeclareInputText{200}{\guillemetright} \DeclareInputText{201}{\dots} \DeclareInputText{202}{\nobreakspace} \DeclareInputText{203}{\@tabacckludge`A} @@ -2166,8 +2168,8 @@ \DeclareInputText{169}{\copyright} \DeclareInputText{184}{\l} \DeclareInputText{196}{\@tabacckludge'n} -\DeclareInputText{199}{\guillemotleft} -\DeclareInputText{200}{\guillemotright} +\DeclareInputText{199}{\guillemetleft} +\DeclareInputText{200}{\guillemetright} \DeclareInputText{201}{\dots} \DeclareInputText{202}{\nobreakspace} \DeclareInputText{208}{\textendash} @@ -2270,7 +2272,7 @@ \DeclareInputText{168}{\textcurrency} \DeclareInputText{169}{\textquoteright} \DeclareInputText{170}{\textquotedblleft} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputText{172}{\guilsinglleft} \DeclareInputText{173}{\guilsinglright} \DeclareInputText{174}{fi} @@ -2286,7 +2288,7 @@ \DeclareInputText{184}{\quotesinglbase} \DeclareInputText{185}{\quotedblbase} \DeclareInputText{186}{\textquotedblright} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\dots} \DeclareInputText{189}{\textperthousand} \DeclareInputMath{190}{\lnot} @@ -2512,8 +2514,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} @@ -2653,7 +2655,7 @@ \DeclareInputText{168}{\v s} \DeclareInputText{169}{\textcopyright} \DeclareInputText{170}{\textcommabelow S} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputText{172}{\@tabacckludge'Z} \DeclareInputText{173}{\-} \DeclareInputText{174}{\@tabacckludge'z} @@ -2669,7 +2671,7 @@ \DeclareInputText{184}{\v z} \DeclareInputText{185}{\v c} \DeclareInputText{186}{\textcommabelow s} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\OE} \DeclareInputText{189}{\oe} \DeclareInputText{190}{\"Y} @@ -2811,7 +2813,7 @@ \DeclareInputText{168}{\"{}} \DeclareInputText{169}{\copyright} \DeclareInputText{170}{\c S} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-}% soft hyphen \DeclareInputText{174}{\textregistered} @@ -2827,7 +2829,7 @@ \DeclareInputText{184}{\c\ } \DeclareInputText{185}{\k a} \DeclareInputText{186}{\c s} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\v L}% L caron (L') ? \DeclareInputText{189}{\H{}} \DeclareInputText{190}{\v l}% l caron (l') ? @@ -2952,7 +2954,7 @@ \DeclareInputText{168}{\O} \DeclareInputText{169}{\copyright} \DeclareInputText{170}{\c R} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} @@ -2968,7 +2970,7 @@ \DeclareInputText{184}{\o} \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{186}{\c r} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\textonequarter} \DeclareInputText{189}{\textonehalf} \DeclareInputText{190}{\textthreequarters} diff --git a/Master/texmf-dist/source/latex/base/latex209.dtx b/Master/texmf-dist/source/latex/base/latex209.dtx index 4996e334c14..cc5563c632a 100644 --- a/Master/texmf-dist/source/latex/base/latex209.dtx +++ b/Master/texmf-dist/source/latex/base/latex209.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -200,7 +200,7 @@ % \end{macrocode} % Describe the file. % \begin{macrocode} -\ProvidesFile{latex209.def}[2015/02/22 v0.53 Standard LaTeX file] +\ProvidesFile{latex209.def}[2018/08/11 v0.54 Standard LaTeX file] % \end{macrocode} % \changes{v0.24}{1994/05/14}{Removed date.} % \changes{v0.40}{1995/03/21} @@ -254,7 +254,7 @@ % % \subsection{Removing features} % -% \changes{v0.22}{1994/05/02}{Added \cs{latex@e@command}.} +% \changes{v0.22}{1994/05/02}{Added \cs{@latex@e@command}.} % \changes{v0.36}{1994/10/17}{Redid switching off commands.} % \changes{v0.38}{1994/11/16}{Removed \cs{LaTeXe} from this list} % @@ -350,6 +350,7 @@ \def\@latex@e@commands{% \usepackage\listfiles\ensuremath\LaTeXe\lrbox \th\dh\ng\dj\TH\DH\NG\DJ\k\r\SS + \guillemetleft\guillemetright \guillemotleft\guillemotright\guilsinglleft \guilsinglright\quotedblbase\quotesinglbase } diff --git a/Master/texmf-dist/source/latex/base/latexrelease.ins b/Master/texmf-dist/source/latex/base/latexrelease.ins index 429308198ad..1ddcfc4c290 100644 --- a/Master/texmf-dist/source/latex/base/latexrelease.ins +++ b/Master/texmf-dist/source/latex/base/latexrelease.ins @@ -113,6 +113,7 @@ extension .ins) which are part of the distribution. \from{ltplain.dtx} {latexrelease}% \from{ltfssdcl.dtx} {latexrelease}% \from{ltfssini.dtx} {latexrelease}% + \from{fontdef.dtx} {latexrelease}% (covering fontmath and fonttext) \from{ltfntcmd.dtx} {latexrelease}% empty \from{ltfssbas.dtx} {latexrelease}% \from{ltfsstrc.dtx} {latexrelease}% empty diff --git a/Master/texmf-dist/source/latex/base/ltalloc.dtx b/Master/texmf-dist/source/latex/base/ltalloc.dtx index 4be345c3544..5da3582e556 100644 --- a/Master/texmf-dist/source/latex/base/ltalloc.dtx +++ b/Master/texmf-dist/source/latex/base/ltalloc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltalloc.dtx} - [1996/07/26 v1.1c LaTeX Kernel (allocation)] + [2018/08/05 v1.1c LaTeX Kernel (allocation)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltalloc.dtx} @@ -90,8 +90,8 @@ % \begin{macro}{\@Mi} % \begin{macro}{\@Mii} % \begin{macro}{\@Miii} -% \begin{macro}{\@miv} -% Constants $1001$--$1004$. +% \begin{macro}{\@Miv} +% Constants $10001$--$10004$. % \begin{macrocode} \mathchardef\@Mi=10001 \mathchardef\@Mii=10002 diff --git a/Master/texmf-dist/source/latex/base/ltbibl.dtx b/Master/texmf-dist/source/latex/base/ltbibl.dtx index 198897d13d9..79505680c43 100644 --- a/Master/texmf-dist/source/latex/base/ltbibl.dtx +++ b/Master/texmf-dist/source/latex/base/ltbibl.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltbibl.dtx} - [2004/02/15 v1.1q LaTeX Kernel (Bibliography)] + [2018/11/09 v1.1r LaTeX Kernel (Bibliography)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltbibl.dtx} @@ -284,10 +284,12 @@ % \begin{macro}{\bibliography} % \changes{LaTeX2e}{1994/01/18} % {Use \cs{@input@} so include files are listed.} +% \changes{LaTeX2e}{2018/11/09} +% {Zap spaces in the argument as BibTeX doesn't support them (github/88)} % \begin{macrocode} \def\bibliography#1{% \if@filesw - \immediate\write\@auxout{\string\bibdata{#1}}% + \immediate\write\@auxout{\string\bibdata{\zap@space#1 \@empty}}% \fi \@input@{\jobname.bbl}} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/base/ltclass.dtx b/Master/texmf-dist/source/latex/base/ltclass.dtx index 199d839ed47..2f19c74352d 100644 --- a/Master/texmf-dist/source/latex/base/ltclass.dtx +++ b/Master/texmf-dist/source/latex/base/ltclass.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltclass.dtx} - [2018/05/08 v1.2i LaTeX Kernel (Class & Package Interface)] + [2018/05/29 v1.2j LaTeX Kernel (Class & Package Interface)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltclass.dtx} @@ -1050,7 +1050,7 @@ % \begin{macrocode} %</2ekernel> %<latexrelease>\IncludeInRelease{2017/01/01}% -%<latexrelease> {\@if@pti@ns}{Spaces in \ExecuteOptions}% +%<latexrelease> {\ExecuteOptions}{Spaces in \ExecuteOptions}% %<*2ekernel|latexrelease> \def\ExecuteOptions#1{% % \end{macrocode} @@ -1068,7 +1068,7 @@ %</2ekernel|latexrelease> %<latexrelease>\EndIncludeInRelease %<latexrelease>\IncludeInRelease{0000/00/00}% -%<latexrelease> {\@if@pti@ns}{Spaces in \ExecuteOptions}% +%<latexrelease> {\ExecuteOptions}{Spaces in \ExecuteOptions}% %<latexrelease>\def\ExecuteOptions#1{% %<latexrelease> \def\reserved@a##1\@nil{% %<latexrelease> \@for\CurrentOption:=#1\do @@ -1820,13 +1820,14 @@ ^^M}% % \end{macrocode} % +% \changes{v1.2j}{2018/05/29}{use \cs{csname} not \cs{@undefined}} % \begin{macrocode} \catcode`\^^L\active% \let\L\@undefined% - \def^^L{\@ifundefined L^^J^^J^^J}% + \def^^L{\expandafter\ifx\csname L\endcsname\relax\fi ^^J^^J}% \catcode`\^^I\active% \let\I\@undefined% - \def^^I{\@ifundefined I\space\space}% + \def^^I{\expandafter\ifx\csname I\endcsname\relax\fi\space}% \catcode`\^^M\active% \edef^^M##1^^M{% \noexpand\reserved@b##1\E\E\relax}}% diff --git a/Master/texmf-dist/source/latex/base/ltdefns.dtx b/Master/texmf-dist/source/latex/base/ltdefns.dtx index 6c6e691efc0..3a7d6f06ea6 100644 --- a/Master/texmf-dist/source/latex/base/ltdefns.dtx +++ b/Master/texmf-dist/source/latex/base/ltdefns.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltdefns.dtx} - [2018/01/08 v1.5d LaTeX Kernel (definition commands)] + [2018/09/26 v1.5e LaTeX Kernel (definition commands)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltdefns.dtx} @@ -527,7 +527,7 @@ % two csnames per command, the price is the extra expansion time % for the |\ifx| test. % \begin{macrocode} -\def\@protected@testopt#1{%% +\def\@protected@testopt#1{% \ifx\protect\@typeset@protect \expandafter\@testopt \else @@ -624,11 +624,13 @@ % \changes{v1.2y}{1996/07/26}{use \cs{noexpand} instead of \cs{string}} % \changes{v1.2z1}{1997/10/21}{Use \cs{begingroup}/\cs{endgroup} rather % than braces for grouping, to avoid generating empty math atom.} +% \changes{v1.5e}{2018/09/26}{Always explicitly generate a space after the csname and +% not rely on \cs{noexpand} to save tokens (git/41)} % \begin{macrocode} \def\renew@command#1{% \begingroup \escapechar\m@ne\xdef\@gtempa{{\string#1}}\endgroup \expandafter\@ifundefined\@gtempa - {\@latex@error{\noexpand#1undefined}\@ehc}% + {\@latex@error{Command \string#1 undefined}\@ehc}% \relax \let\@ifdefinable\@rc@ifdefinable \new@command#1} diff --git a/Master/texmf-dist/source/latex/base/lterror.dtx b/Master/texmf-dist/source/latex/base/lterror.dtx index 8a590d9944b..daf645b8b8c 100644 --- a/Master/texmf-dist/source/latex/base/lterror.dtx +++ b/Master/texmf-dist/source/latex/base/lterror.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{lterror.dtx} - [2016/10/15 v1.2p LaTeX Kernel (errors)] + [2018/08/05 v1.2p LaTeX Kernel (errors)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{lterror.dtx} @@ -743,14 +743,14 @@ Type H <return> for immediate help.}% % \end{macro} % % As well as the above error commands some error messages are directly -% coded to save space. The Messages already present in \LaTeX2.09 -% inlcuded: +% coded to save space. The messages already present in \LaTeX2.09 +% include: % % |Environment --- undefined|\\ % Issued by |\begin| for undefined environment. % -% |tab overflow|\\ -% Occurs in |\= when| maximum number of tabs exceeded. +% |Tab overflow|\\ +% Occurs in |\=| when maximum number of tabs exceeded. % % |\< in mid line|\\ % Occurs in |\<| when it appears in middle of line. diff --git a/Master/texmf-dist/source/latex/base/ltfinal.dtx b/Master/texmf-dist/source/latex/base/ltfinal.dtx index 0cc4e69bfd4..998710371ac 100644 --- a/Master/texmf-dist/source/latex/base/ltfinal.dtx +++ b/Master/texmf-dist/source/latex/base/ltfinal.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltfinal.dtx} - [2018/05/11 v2.1e LaTeX Kernel (Final Settings)] + [2018/08/24 v2.1f LaTeX Kernel (Final Settings)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltfinal.dtx} @@ -503,11 +503,25 @@ \fi % \end{macrocode} % \end{macro} +% +% % \begin{macro}{\document@default@language} % Default document language. -1 acts as language 0, but used as a flag in |\document| % to see if it has been set in the preamble. +% \changes{v2.1f}{2018/08/24}{Add to latexrelease (github/68)} % \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2017/04/15}% +%<latexrelease> {\document@default@language}{Save language for hyphenation}% \let\document@default@language\m@ne +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\document@default@language}{Save language for hyphenation}% +%<latexrelease>\let\document@default@language\@undefined +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> % \end{macrocode} % \end{macro} % @@ -548,7 +562,7 @@ % This is done in a way largely compatible with older releases: |utf8.def| is input just as if\\ % |\usepackage[utf8]{inputenc}|\\ % had been used, however rather than input the whole package a minimal core part just enough to support -% loading the UTF-8 encoding iles is defined here. +% loading the UTF-8 encoding files is defined here. % % If a document re-specifies UTF-8 this is silently ignored. % diff --git a/Master/texmf-dist/source/latex/base/ltfloat.dtx b/Master/texmf-dist/source/latex/base/ltfloat.dtx index 8214f9ed96b..ac1e37688ee 100644 --- a/Master/texmf-dist/source/latex/base/ltfloat.dtx +++ b/Master/texmf-dist/source/latex/base/ltfloat.dtx @@ -799,7 +799,7 @@ %\newcount\c@totalnumber % \end{macrocode} % -% \begin{macro}{\@dblfloatplacement} +% \begin{macro}{\@floatplacement} % An analysis of |\@floatplacement|: % % This should be called whenever |\@colht| has been set. diff --git a/Master/texmf-dist/source/latex/base/ltluatex.dtx b/Master/texmf-dist/source/latex/base/ltluatex.dtx index 4686785cf57..5645d3a85fe 100644 --- a/Master/texmf-dist/source/latex/base/ltluatex.dtx +++ b/Master/texmf-dist/source/latex/base/ltluatex.dtx @@ -24,7 +24,7 @@ \ProvidesFile{ltluatex.dtx} %</driver> %<*tex> -[2018/05/02 v1.1g +[2018/10/21 v1.1i %</tex> %<plain> LuaTeX support for plain TeX (core) %<*tex> @@ -200,6 +200,14 @@ % The number is returned and also \meta{name} argument is added to the % |lua.name| array at that index. % +% \noindent +% \DescribeMacro{new_luafunction} +% |luatexbase.new_luafunction(|\meta{functionname}|)|\\ +% Returns an allocation number for a lua function for use +% with |\luafunction|, |\lateluafunction|, and |\luadef|, +% indexed from~$1$. The optional \meta{functionname} argument +% is just used for logging. +% % These functions all require access to a named \TeX{} count register % to manage their allocations. The standard names are those defined % above for access from \TeX{}, \emph{e.g.}~\string\e@alloc@attribute@count, @@ -1184,6 +1192,29 @@ luatexbase.new_chunkname = new_chunkname % \end{macrocode} % \end{macro} % +% \subsection{Lua function allocation} +% +% \begin{macro}{new_luafunction} +% \changes{v1.1i}{2018/10/21}{Function added} +% Much the same as for attribute allocation in Lua. +% The optional \meta{name} argument is used in the log if given. +% \begin{macrocode} +local luafunction_count_name = + luafunction_count_name or "e@alloc@luafunction@count" +local function new_luafunction(name) + tex_setcount("global", luafunction_count_name, + tex_count[luafunction_count_name] + 1) + if tex_count[luafunction_count_name] > 65534 then + luatexbase_error("No room for a new luafunction register") + end + luatexbase_log("Lua function " .. (name or "") .. " = " .. + tex_count[luafunction_count_name]) + return tex_count[luafunction_count_name] +end +luatexbase.new_luafunction = new_luafunction +% \end{macrocode} +% \end{macro} +% % \subsection{Lua callback management} % % The native mechanism for callbacks in Lua\TeX\ allows only one per function. @@ -1279,13 +1310,14 @@ local callbacktypes = callbacktypes or { % {process\_rule, [hv]pack\_quality append\_to\_vlist\_filter added} % \changes{v1.0n}{2016/03/13}{insert\_local\_par added} % \changes{v1.0n}{2016/03/13}{contribute\_filter added} +% \changes{v1.1h}{2018/08/18}{append\_to\_vlist\_filter is \texttt{exclusive}} % \begin{macrocode} contribute_filter = simple, buildpage_filter = simple, build_page_insert = exclusive, pre_linebreak_filter = list, linebreak_filter = list, - append_to_vlist_filter = list, + append_to_vlist_filter = exclusive, post_linebreak_filter = list, hpack_filter = list, vpack_filter = list, diff --git a/Master/texmf-dist/source/latex/base/ltmath.dtx b/Master/texmf-dist/source/latex/base/ltmath.dtx index c2eae28919e..d7c283f9ef8 100644 --- a/Master/texmf-dist/source/latex/base/ltmath.dtx +++ b/Master/texmf-dist/source/latex/base/ltmath.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -31,14 +31,14 @@ % %<leqno>\ProvidesFile{leqno.clo} %<fleqn>\ProvidesFile{fleqn.clo} -%<leqno,fleqn> [2016/12/29 v1.2a Standard LaTeX option +%<leqno,fleqn> [2016/12/29 v1.2b Standard LaTeX option %<leqno> (left equation numbers)] %<fleqn> (flush left equations)] % %<*driver> % \fi \ProvidesFile{ltmath.dtx} - [2016/12/29 v1.2a LaTeX Kernel (Math Setup)] + [2018/09/24 v1.2b LaTeX Kernel (Math Setup)] % \iffalse %</driver> % @@ -291,10 +291,28 @@ % \end{macrocode} % % \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\finph@nt}{Start LR-mode}% \def\finph@nt{% \setbox\tw@\null \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi - \ifh@ \wd\tw@\wd\z@\fi \box\tw@} + \ifh@ \wd\tw@\wd\z@\fi +% \end{macrocode} +% \changes{v1.2b}{2018/09/24}{Start LR-mode if necessary (git/49)} +% \begin{macrocode} + \leavevmode@ifvmode\box\tw@} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\finph@nt}{Start LR-mode}% +%<latexrelease>\def\finph@nt{% +%<latexrelease> \setbox\tw@\null +%<latexrelease> \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi +%<latexrelease> \ifh@ \wd\tw@\wd\z@\fi \box\tw@} +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> % \end{macrocode} % \end{macro} % \end{macro} @@ -326,7 +344,21 @@ \setbox\z@\hbox{\color@begingroup#1\color@endgroup}\finsm@sh} \def\mathsm@sh#1#2{% \setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh} -\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@} +% \end{macrocode} +% \changes{v1.2b}{2018/09/24}{Start LR-mode if necessary (git/49)} +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\finsm@sh}{Start LR-mode}% +\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \leavevmode@ifvmode\box\z@} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\finsm@sh}{Start LR-mode}% +%<latexrelease>\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@} +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> % \end{macrocode} % \end{macro} % diff --git a/Master/texmf-dist/source/latex/base/ltmiscen.dtx b/Master/texmf-dist/source/latex/base/ltmiscen.dtx index 081ae04317b..122ef3b39bf 100644 --- a/Master/texmf-dist/source/latex/base/ltmiscen.dtx +++ b/Master/texmf-dist/source/latex/base/ltmiscen.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2017 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltmiscen.dtx} - [2017/09/13 v1.1m LaTeX Kernel (Misc. Environments)] + [2018/10/11 v1.1o LaTeX Kernel (Misc. Environments)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltmiscen.dtx} @@ -303,19 +303,143 @@ % \end{macro} % % +% Reading data from auxiliary files (like \texttt{.toc} normally +% happens in vertical mode and it therefore doesn't matter if line +% endings are converted to spaces by \TeX{} during that process. +% +% However, especially the \texttt{.toc} file might be read in L-R mode +% (in cases the \cs{tableofcontents} attempts to put, say a list of +% sub-sections as a paragraph. In that case the newlines after a line +% like +% \begin{verbatim} +% \contentsline {subsubsection}{\numberline {1.1.1}A C-head}{2} +% \end{verbatim} +% might result in spurious spaces (e.g., when that level is not +% included). +% +% That could be fixed by reading in the file using +% \cs{endlinechar}\texttt{=-1} but that has the danger that it drops +% some valid endlines that should be converted to spaces (for example +% when the user edited the TOC and then used \cs{nofiles} to preserve +% it. +% +% So the approach taken instead is this: +% \begin{itemize} +% \item \cs{addcontentsline} adds the command +% \cs{protected@file@percent} to the end of the second argument of +% \cs{@writefile} that is written to the \texttt{.aux}. As the name +% indicates this is a protected macro so it doesn't change if it is +% written out. +% +% \item When the \texttt{.aux} is read back in at the end of the run, +% \cs{@writefile} is executed and writes its second argument +% unmodified to the file with the extension given by its first +% argument. Or rather that was how it was in the past. +% +% \item Instead we change \cs{@writefile} slightly: basically it looks +% at the second argument and if the last token in there is +% \cs{protected@file@percent} then it is replaced by a percent +% character and that is then written out. If not (for example, if +% the data came from a user issued \cs{addtocontents}, or from some +% package that uses \cs{@writefile} for writing its own files) then +% the command behaves exactly as before. +% \end{itemize} +% +% +% \begin{macro}{\protected@file@percent} +% Dummy cs to be replaced by a percent sign inside +% \cs{@writefile}. If it survives (when used incorrectly) it will +% expand to nothing in a typsetting context. +% \changes{v1.1n}{2018/09/26}{Sometimes mask the endline char when +% writing to files (github/73)} +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\protected@file@percent}{Mask line endings}% +\protected\def\protected@file@percent{} +% \end{macrocode} +% \end{macro} + + +% \begin{macro}{\add@percent@to@temptokena} +% Helper function which is used to inspect a sequence of tokens +% (the second argument of \cs{@writefile} and it the last token is +% \cs{protected@file@percent} it will replace it by a harmless +% percent. The result is saved in \cs{@temptokena} for later use. +% \changes{v1.1n}{2018/09/26}{Sometimes mask the endline char when +% writing to files (github/73)} +% \begin{macrocode} +\begingroup +\catcode`\%=12 +% \end{macrocode} +% \texttt{latexrelease} will read this code in high-speed +% mode in certain situations. During that it will only look for +% \cs{if} tests but not actually execute the \cs{catcode} change +% above. As a result it will drop anything after the |%| character +% in the definition. Therefore the |\fi| needs to be on the next +% line and we need locally another comment character to avoid +% getting spaces into the definition---a weird problem :-) +% \begin{macrocode} +\catcode`\^^A=9 +\long\gdef\add@percent@to@temptokena + #1\protected@file@percent#2\add@percent@to@temptokena +% \end{macrocode} +% When we call this macro in |\@writefile| we stick in |\@empty| at +% the beginning, so that in case the tokenlist consists of a single brace +% group the braces aren't stripped. The |\expandafter| then expands +% this extra token away again. +% \begin{macrocode} + {\ifx!#2!\@temptokena\expandafter{#1}\else + \@temptokena\expandafter{#1%^^A +% \end{macrocode} +% Can't be on the same line as the |%| --- see above. +% \begin{macrocode} + }\fi} +\endgroup +% \end{macrocode} +% \end{macro} +% % \begin{macro}{\@writefile} % \changes{v1.0l}{1994/05/20}{Added correct setting of \cs{protect}.} % \changes{v1.0t}{1994/11/04}{Removed setting of \cs{protect}. ASAJ.} % \changes{v1.0z}{1995/07/13}{Added missing percent and use \cs{relax} % in the THEN case} +% \changes{v1.1n}{2018/09/26}{Sometimes mask the endline char when +% writing to files (github/73)} % \begin{macrocode} \long\def\@writefile#1#2{% \@ifundefined{tf@#1}\relax - {\@temptokena{#2}% + {% +% \end{macrocode} +% If we write to the file we first prepare |#2| using +% \cs{add@percent@to@temptokena} and then write the token register +% out. +% \begin{macrocode} + \add@percent@to@temptokena + \@empty#2\protected@file@percent + \add@percent@to@temptokena \immediate\write\csname tf@#1\endcsname{\the\@temptokena}% }% } % \end{macrocode} +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\protected@file@percent}{Mask line endings}% +%<latexrelease>\let\protected@file@percent\@undefined +%<latexrelease>\let\add@percent@to@temptokena\@undefined +%<latexrelease>\long\def\@writefile#1#2{% +%<latexrelease> \@ifundefined{tf@#1}\relax +%<latexrelease> {\@temptokena{#2}% +%<latexrelease> \immediate\write\csname tf@#1\endcsname{\the\@temptokena}% +%<latexrelease> }% +%<latexrelease>} +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} % \end{macro} % % \begin{macro}{\stop} @@ -712,14 +836,169 @@ % \end{macrocode} % \end{macro} % +% +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\verbvisiblespace}{Setup visible space for verb}% +% \end{macrocode} +% +% +% \begin{macro}{\asciispace} +% The character in slot 32, in typewriter fonts (historically) a +% visible space but in other fonts a real space or something else +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} +% \begin{macrocode} +\DeclareRobustCommand\asciispace{\char 32 } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\verbvisiblespace} +% This defines how to get a visible space in +% |\verb*| and friends. In classic \TeX{} this is just the +% slot 32, but in TU encoded fonts we switch fonts and take the +% character from cmtt. +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} +% \changes{v1.1o}{2018/10/11} +% {Provide \cs{verbvisiblespace} such that it is usable in normal text (github/70)} +% \begin{macrocode} +\ifx\Umathcode\@undefined + \let\verbvisiblespace\asciispace % Pdftex version +\else + \DeclareRobustCommand\verbvisiblespace + {\leavevmode{\usefont{OT1}{cmtt}{m}{n}\asciispace}} % xetex/luatex version +\fi +% \end{macrocode} +% \end{macro} +% +% + +% \begin{macro}{\@setupverbvisiblespace} +% +% In pdf\TeX{} a catcode 12 space will produce the character in +% slot 32 which is assumed to be a visible space character (in a +% typewriter font in OT1 or T1 encoding). In Xe\TeX{} or Lua\TeX{} a +% font in TU encoding is normally used and that has a real space in +% this slot. So what we do in this case is this: we check the +% definition of +% |\verbvisiblespace| and if it is |\asciispace| we assume that the +% char32 can be used (e.g., in pdf\TeX{}). We then redefine +% |\@xobeysp| so that after running |\@vobeyspaces| we get +% characters from slot 32 for each active space. +% +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} +% \begin{macrocode} +\def\@setupverbvisiblespace{% + \ifx\verbvisiblespace\asciispace + \let\@xobeysp\asciispace + \else +% \end{macrocode} Otherwise we measure the width of a character in +% the mon-spaced current font and place a +% |\verbvisiblespace| into a box of the right width which we are then +% using as the character for a space. By default this will be the space +% character from OT1 cmtt but by changing +% |\verbvisiblespace| one could use, for example, the |\textvisiblespace| +% of the current typewriter font. +% \begin{macrocode} + \setbox\z@\hbox{x}% + \setbox\@verbvisiblespacebox\hbox to\wd\z@{\hss\verbvisiblespace\hss}% + \def\@xobeysp{\leavevmode\copy\@verbvisiblespacebox}% + \fi +} +% \end{macrocode} +% \end{macro} +% + +% \begin{macro}{\@verbvisiblespacebox} +% The box to hold the visible space character if it isn't in slot +% 32 in the current typewriter font. +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} +% \begin{macrocode} +\newbox\@verbvisiblespacebox +% \end{macrocode} +% \end{macro} +% +% +% \begin{macro}{\@sverb} +% \changes{v1.0j}{1994/05/10}{Slight change in error message text.} +% Definitions of |\@sverb| and |\@verb| changed so |\verb+ foo+| +% does not lose leading blanks when it comes at the beginning of a line. +% Change made 24 May 89. Suggested by Frank Mittelbach and Rainer +% Sch\"opf. +% \begin{macrocode} +\def\@sverb#1{% + \catcode`#1\active + \lccode`\~`#1% + \gdef\verb@balance@group{\verb@egroup + \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% + \aftergroup\verb@balance@group + \lowercase{\let~\verb@egroup}% +% \end{macrocode} +% If |\@sverb| is called from |\@verb| then space is already active +% and supposed to produce a real space. In this case we do +% nothing. Otherwise we run |\@setupverbvisiblespace| to setup the +% right visible space char and afterwards |\@vobeyspaces| to make +% it the definition for the active space character. +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} +% \begin{macrocode} + \ifnum\catcode`\ =\active + \else \@setupverbvisiblespace \@vobeyspaces \fi +} +% \end{macrocode} +% \end{macro} % % \begin{environment}{verbatim*} +% For \texttt{verbatim*} we also set up the correct visible space +% character definition and then run |\@vobeyspaces|. As this code +% is not called as part of the normal verbatim environment (the +% method is done the other way around this time) we don't have to +% check if space is already active---it shouldn't be. +% \changes{v1.1o}{2018/10/11} +% {Provide visible space in \cs{verb*} also for XeTeX and LuaTeX (github/69)} % \begin{macrocode} -\@namedef{verbatim*}{\@verbatim\@sxverbatim} +\@namedef{verbatim*}{\@verbatim + \@setupverbvisiblespace + \frenchspacing\@vobeyspaces\@sxverbatim} \expandafter\let\csname endverbatim*\endcsname =\endverbatim % \end{macrocode} % \end{environment} % +% +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\verbvisiblespace}{Setup visible space for verb}% +%<latexrelease> +%<latexrelease>\@namedef{verbatim*}{\@verbatim\@sxverbatim} +%<latexrelease> +%<latexrelease>\let\asciispace \@undefined +%<latexrelease>\let\verbvisiblespace \@undefined +%<latexrelease>\let\@setupverbvisiblespace\@undefined +%<latexrelease>\let\@verbvisiblespacebox \@undefined +%<latexrelease> +%<latexrelease>\def\@sverb#1{% +%<latexrelease> \catcode`#1\active +%<latexrelease> \lccode`\~`#1% +%<latexrelease> \gdef\verb@balance@group{\verb@egroup +%<latexrelease> \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% +%<latexrelease> \aftergroup\verb@balance@group +%<latexrelease> \lowercase{\let~\verb@egroup}}% +%<latexrelease> +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} +% +% +% +% % \begin{macro}{\@makeother} % \begin{macrocode} \def\@makeother#1{\catcode`#112\relax} @@ -797,23 +1076,6 @@ % \end{macro} % % -% \begin{macro}{\@sverb} -% \changes{v1.0j}{1994/05/10}{Slight change in error message text.} -% Definitions of |\@sverb| and |\@verb| changed so |\verb+ foo+| -% does not lose leading blanks when it comes at the beginning of a line. -% Change made 24 May 89. Suggested by Frank Mittelbach and Rainer -% Sch\"opf. -% -% \begin{macrocode} -\def\@sverb#1{% - \catcode`#1\active - \lccode`\~`#1% - \gdef\verb@balance@group{\verb@egroup - \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% - \aftergroup\verb@balance@group - \lowercase{\let~\verb@egroup}}% -% \end{macrocode} -% \end{macro} % % \begin{macro}{\@verb} % \begin{macrocode} diff --git a/Master/texmf-dist/source/latex/base/ltnews29.tex b/Master/texmf-dist/source/latex/base/ltnews29.tex new file mode 100644 index 00000000000..bd74b31bf96 --- /dev/null +++ b/Master/texmf-dist/source/latex/base/ltnews29.tex @@ -0,0 +1,479 @@ +% \iffalse meta-comment +% +% Copyright 2018 +% The LaTeX3 Project and any individual authors listed elsewhere +% in this file. +% +% This file is part of the LaTeX base system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3c +% 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 file has the LPPL maintenance status "maintained". +% +% The list of all files belonging to the LaTeX base distribution is +% given in the file `manifest.txt'. See also `legal.txt' for additional +% information. +% +% The list of derived (unpacked) files belonging to the distribution +% and covered by LPPL is defined by the unpacking scripts (with +% extension .ins) which are part of the distribution. +% +% \fi +% Filename: ltnews29.tex +% +% This is issue 29 of LaTeX News. + +\documentclass{ltnews} +\usepackage[T1]{fontenc} + +\usepackage{lmodern,url,hologo} + +\usepackage{csquotes} + +\providecommand\acro[1]{\textsc{#1}} +\providecommand\meta[1]{$\langle$\textit{#1}$\rangle$} + + +\providecommand\XeTeX{\hologo{XeTeX}} +\providecommand\LuaTeX{\hologo{LuaTeX}} +\providecommand\pdfTeX{\hologo{pdfTeX}} + +\newcommand\githubissue[2][]{\ifhmode\unskip\fi + \quad\penalty500\strut\nobreak\hfill + \mbox{\small\itshape(github issue#1 #2)}\par} + +\newcommand\sxissue[1]{\ifhmode\unskip\fi + \quad\penalty500\strut\nobreak\hfill + \mbox{\small\itshape\url(#1)}\par} + +\let\cls\pkg +\newcommand\env[1]{\texttt{#1}} + + +\publicationmonth{December} +\publicationyear{2018} + +\publicationissue{29} + +\begin{document} + +\maketitle +\tableofcontents + +\setlength\rightskip{0pt plus 3em} + +\bigskip + +\section{Introduction} + +The December 2018 release of \LaTeX{} is a maintenance release in +which we have fixed a few bugs in the software: some are old, some +newer, and they are mostly rather obscure. + +\section[Bug reports for core \LaTeXe{} and packages] + {Bug reports for core \LaTeXe{} and packages maintained by the Project Team} + +In Spring 2018 we established a new issue tracking system (GitHub +issues) for both the \LaTeX{} core and the packages maintained by the +\LaTeX{} Project team, with an updated procedure for how to report a +bug or problem. + +Initial experience with this system is good, with people who report +problems following the guidelines and including helpful working +examples to show the problem---thanks for doing this. + +The detailed requirements and the workflow for reporting a bug in the +core \LaTeX{} software is documented at +\begin{quote} +\url{https://www.latex-project.org/bugs/} +\end{quote} +with further details and discussion in~\cite{Mittelbach:TB39-1}. + + +\section{Changes to the \LaTeX{} kernel} + +\subsection{UTF-8:\ updates to the default input encoding} + +In the April 2018 release of \LaTeX{} we changed the default encoding +from 7-bit \acro{ascii} to UTF-8 when using classic \TeX\ or +\hologo{pdfTeX}, see \textit{\LaTeX{} News~28}~\cite{ltnews28} for +details. + +Now, after half a year of experience with +this new default, +we have +made a small number of adjustments to further improve the user experience. +These include: +\begin{itemize} +\item + Some improvements when displaying error messages about UTF-8 + characters that have not been set up for use with \LaTeX{}, + or are invalid for some other reason; +% +\githubissue[s]{60, 62 and 63} +% +\item + The addition of a number of previously missing declarations for + characters that are in fact available with the default fonts, e.g., + \cs{j} \enquote{\j} (0237), \cs{SS} \enquote{\SS} (1E9E), + \verb=\k{}= \enquote{\k{ }} (02DB) and \verb=\.{}= \enquote{\.{ }} + (02D9); +\item + Correcting the names for \cs{guillemetleft} + \enquote{\guillemotleft} and \cs{guillemetright} + \enquote{\guillemotright} in all encoding files. These correct + names are in addition to the old (but wrong) Adobe names: Adobe + mistakenly called them Guillemot, which is a sea bird. +% + \githubissue{65} +% +\item + Added \cs{Hwithstroke} and \cs{hwithstroke} necessary for + typesetting Maltese. +% + \sxissue{https://tex.stackexchange.com/q/460110} +\end{itemize} + + + +\subsection{Fixed \cs{verb*} and friends in \XeTeX{} and \LuaTeX{}} + + +The original \cs{verb*} and \texttt{verbatim*} in \LaTeX{} were coded +under the assumption that the position of the space character (i.e., +ASCII 32) in a Typewriter Font contains a visible space glyph +``\verb*= =''. This is correct for \pdfTeX{} with the most used font +encodings \texttt{OT1} and \texttt{T1}. However, this unfortunately +does not work for Unicode engines using the \texttt{TU} encoding since +the space character slot (ASCII 32) then usually contains a real +(normal) space, which has the effect that \cs{verb*} produces the same +results as \cs{verb}. + +The \cs{verb*} code now always uses the newly introduced command +\cs{verbvisiblespace} to produce the visible space character and this +command will get appropriate definitions for use with the different +engines. With \pdfTeX{} it will simply use \cs{asciispace}, which is +a posh name for ``select character 32 in the current font'', but with +Unicode engines the default definition is +\begin{verbatim} + \DeclareRobustCommand\verbvisiblespace + {\leavevmode + {\usefont{OT1}{cmtt}{m}{n}\asciispace}} +\end{verbatim} +which uses the visible space from the font Computer Modern Typewriter, +regardless of the currently chosen typewriter font. Internally the +code ensures that the character used has exactly the same width as the +other characters in the current (monospaced) font; thus, for example, +code displays line up properly. + +It is possible to redefine this command to select your own character, +for example +\begin{verbatim} + \DeclareRobustCommand\verbvisiblespace + {\textvisiblespace} +\end{verbatim} +will select the the ``official'' visible space character of the +current font. This may look like the natural default, but it wasn't +chosen as our default because many fonts just don't have that unicode +character, or they have one with a strange shape. +% +\githubissue[s]{69 and 70} + + +\subsection{Error message corrected} +Trying to redefine an undefined command could in a few cases generate +an error message with a missing space, e.g., +\verb=\renewcommand\1{...}= gave +\begin{verbatim} + LaTeX Error: \1undefined. +\end{verbatim} +This is now fixed. +% +\githubissue{41} + + +\subsection{Fixed fatal link error with \pkg{hyperref}} + +If a \cs{href} link text gets broken across pages \pdfTeX{} and +\LuaTeX{} will generate a fatal error unless both parts of the link +are internally at the same boxing level. In two-column mode that was +not the case if one of the pages had spanning top floats. This has now +been changed so that the error is avoided. +% +\githubissue{94} + + +\subsection{Avoid page breaks caused by invisible commands} + +Commands like \cs{label} or \cs{index} could generate a potential page +break in places where a page break was otherwise prohibited, e.g., +when used between two consecutive headings. This has now been +corrected. If for some reason you really want a break and you relied +on this faulty behavior, you can always add one using \cs{pagebreak}, +with or without an optional argument. +% +\githubissue{81} + + + +\subsection{Prevent spurious spaces when reading table of contents data} + +When table of contents data is read in from a \texttt{.toc} file, the +new-line character at the end of each line is converted by \TeX{} to a +space. In normal processing this is harmless (as \TeX{} is doing this +input reading whilst in vertical mode and each line in the file +represents a single line (paragraph) in the table of contents. If, +however, this is done in horizontal mode, which is sometimes the case, +then these spaces will appear in the output. If you then omit some of +the input lines (e.g., because you do not display TOC data below a +certain level), then these spaces accumulate in the typeset output and +you get surprising, and unwanted, gaps inside the text. + +The new code now adds a \texttt{\%} sign at the end of problematic +lines in the \texttt{.toc} file so that \TeX{} will not generate such +spaces that may survive to spoil the printed result. As some third +party packages have augmented or changed the core \LaTeX{} +functionality in that area (for example, by adding additional +arguments to the commands in TOC files) the code uses a conservative +approach and the \texttt{\%} signs are added only when certain +conditions are met. Therefore some packages might require updates if +they want to benefit from this correction, especially if they +unconditionally overwrite \LaTeX{}'s \cs{addcontentsline} definition. +% +\githubissue{73} + + +\subsection{Prevent protrusion in table of contents lines} + +In \TeX{}'s internal processing model, +paragraph data is one of the +major data structures. As a result, +many things are internally modeled +as paragraphs even if they are not conceptually +``text paragraphs'' in +the traditional sense. +In a few cases this has some surprising effects +that are not always +for the better. One example is +standard TOC entries, +where you have +heading data followed by some dot leaders and a page +number at the right, produced, for example, from this: +\begin{quote} + \contentsline {subsection}{Error message corrected}{2}{section*.7} +\end{quote} +The space reserved for the page number is of a fixed width, so that +the dots always end in the same place. Well, they did end in the same +place until the event of protrusion support in the \TeX{} engines. +Now, with the \pkg{microtype} package loaded, it is possible that the +page number will protrude slightly into the margin (even though it’s +typeset inside a box) and as a result this page number box gets +shifted. With enough bad luck this can get you another dot in the +line, sticking out like the proverbial sore thumb, as exhibited in the +question on StackExchange that triggered the correction. + +\LaTeX{} now takes care that there will be no protrusion happening on +such lines, even if it is generally enabled for the whole document. +% +\sxissue{https://tex.stackexchange.com/q/172785} + + + +\subsection{Start L-R mode for \cs{thinspace} and friends} + +In \LaTeX{}, commands that are intended only for paragraph (L-R) mode +are generally careful to start paragraph mode if necessary; thus they +can be used at the start of a paragraph without surprising and +unwanted consequences. This important requirement had been overlooked +for a few horizontal spacing commands, such as \cs{thinspace} +(a.k.a.\ ``\cs{,}''), and for some other support commands such as +\cs{smash} or \cs{phantom}. Thus they ended up adding vertical space +when used at the beginning of a paragraph or, in the case of +\cs{smash}, creating a paragraph of their own. This has now been +corrected, and a corresponding update has been made to the +\pkg{amsmath} package, in which these commands are also defined. +% +\githubissue[s]{49 and 50} + + + +\subsection{Guarding \cs{pfill} in \pkg{doc}} + +For presenting index entries pointing to +code fragments and the like, +the \pkg{doc} package has a \cs{pfill} command that +generates within the index a line of dots leading from +the command name to the page or code line numbers. +If necessary it would automatically split the entry +over two lines. That worked well enough for a quarter century, but we +discovered recently that it is broken inside +the \cls{ltugboat} class, +where it sometimes produces +bad spacing within continuation lines. + +The reason turned out to be a redefinition of the \LaTeX{} command +\cs{nobreakspace} (\verb=~=) inside the class \cls{ltugboat}, which +removed any preceding space (and thus unfortunately also removed the +dots on the continuation line). While one can argue that this is a +questionable redefinition, it has been in the class so long that +changing it would certainly break older documents. So instead we now +guard against that removal of space. +% +\githubissue[s]{25 and 75} + + + + + +\section{Changes to packages in the \pkg{tools} category} + +\subsection{Sometimes the \pkg{trace} package turned off too much} + +The \pkg{trace} package is a useful little tool for tracing macro +execution: it hides certain lengthy and typically uninteresting +expansions resulting from font changes and similar activities. +However, it had the problem that it also reset other tracing settings +such as \cs{showoutput} in such situations, so that you couldn't use +\cs{showoutput} in the preamble to get symbolic output of all the +pages in the document. This has now been corrected. + + + + +\subsection{Update to \pkg{xr}} + +The \pkg{xr} package has been updated so that the code that reads the +\texttt{.aux} file has been made more robust. It now correctly +ignores conditionals (added by \pkg{hyperref} and other packages) +rather than generating low level parsing errors. +\sxissue{https://tex.stackexchange.com/a/452321} + + +\subsection{Column data for \env{multicols*} sometimes vanished} + +In certain situations involving \env{multicols*}, when there are more +explicit \cs{columnbreak} requests than there are columns on the +current page, data could vanish due to the removal of an internal +penalty marking the end of the environment. This has been corrected by +explicitly reinserting that penalty if necessary. +% +\githubissue{53} + +\subsection{Extension to \cs{docolaction} in \pkg{multicol}} + +The \cs{docolaction} command can be used used to carry out actions +depending on the column you are currently in, i.e., first, any inner +one (if more than two) or last. However, if the action generates text +then there is the question: is this text part of the current column or +the one after? That is, on the next run, do we test before or after it, +to determine in which column we are? + +This is now resolved as follows: if you use \cs{docolaction*} any +generated text by the chosen action is considered to be after the test +point. But if you use the command without the star then all the material +it generates will be placed before the test point to determine the +current column, i.e., the text will become part of the current column +and may affect the test result on the next run. + + + +\subsection{Prevent color leak in \pkg{array}} + +In some cases the color used inside a \env{tabular} cell could ``leak +out'' into the surrounding text. This has been corrected. +% +\githubissue{72} + +\subsection{Support fragile commands in \texttt{array} or \texttt{tabular} column templates} + +The preamble specifiers \texttt{p}, \texttt{m} and \texttt{b} each receives +a user supplied argument: the width of the paragraph column. Normally +that is something harmless, like a length or a simple length +expression. But in more complicated settings involving the \pkg{calc} +package it could break with a low-level error message. This has now +been corrected. +% +\sxissue{https://tex.stackexchange.com/q/459285} + + + +\section{Changes to packages in the amsmath category} + +The changes in the kernel made for \cs{thinspace}, \cs{smash}, +etc.\ (see above) have been reflected in the \pkg{amsmath} package +code, so that loading this package doesn't revert them. +% +\githubissue[s]{49 and 50} + + + + + +\section{Website updates} + +\subsection{Publications area reorganized and extended} + +To help readers to find relevant information in more convenient and +easy ways, the area of the website covering publications by the +\LaTeX{} Project Team was reorganized and extended (many more +abstracts added). We now provide the articles, talks and supplementary +data structured both by year and also by major +topics~\cite{site-pub}. Feel free to take a look. + +\subsection{Japanese translations of the user's guide} + +Yukitoshi Fujimura has kindly translated +into Japanese two documents that are +distributed with standard \LaTeX{}. +These are: +\begin{itemize} +\item + \LaTeXe{} for authors; +\item + User's Guide for the \pkg{amsmath}~\cite{amsldoc}. +\end{itemize} +They can be found on the website documentation page~\cite{site-doc}. +You will now also find there a typeset version of the full \LaTeXe{} +source code (with index etc.\@) and a number of other goodies. + + + + +\begin{thebibliography}{9} + +\bibitem{Mittelbach:TB39-1} Frank Mittelbach: + \emph{New rules for reporting bugs in the \LaTeX{} core software}. + In: TUGboat, 39\#1, 2018. + \url{https://latex-project.org/publications/} + +\bibitem{ltnews28} + \emph{\LaTeX{} News, Issue 28}. + In: TUGboat, 39\#1, 2018.\\ + \rlap{\url{https://latex-project.org/news/latex2e-news/}} + +\bibitem{site-doc} + \emph{\LaTeX{} documentation on the \LaTeX{} Project Website}.\\ + \url{https://latex-project.org/documentation/} + +\bibitem{site-pub} + \emph{\LaTeX{} Project publications on the \LaTeX{} Project Website}.\\ + \url{https://latex-project.org/publications/} + +\bibitem{amsldoc} American Mathematical Society and The \LaTeX3 Project: + \emph{User's Guide for the \texttt{amsmath} package} (Version 2.1). + April 2018. + Available from + \url{https://www.ctan.org} + and distributed as part of every \LaTeX{} distribution. + +\end{thebibliography} + +\end{document} + diff --git a/Master/texmf-dist/source/latex/base/ltoutenc.dtx b/Master/texmf-dist/source/latex/base/ltoutenc.dtx index 259c7920db2..86135e96c84 100644 --- a/Master/texmf-dist/source/latex/base/ltoutenc.dtx +++ b/Master/texmf-dist/source/latex/base/ltoutenc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2017 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -38,14 +38,14 @@ %<TU>\ProvidesFile{tuenc.def} %<package>\ProvidesPackage{fontenc} %<TS1sty>\ProvidesPackage{textcomp} -%<OT1|T1|OMS|OML|OT4|TU|package|TS1sty> [2017/04/05 v2.0i +%<OT1|T1|OMS|OML|OT4|TU|package|TS1sty> [2018/08/11 v2.0j %<OT1|T1|OMS|OML|OT4|TS1|TU> Standard LaTeX file] %<package|TS1sty> Standard LaTeX package] % %<*driver> % \fi \ProvidesFile{ltoutenc.dtx} - [2017/04/05 v2.0i LaTeX Kernel (font encodings)] + [2018/11/18 v2.0k LaTeX Kernel (font encodings)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltoutenc.dtx} @@ -1886,6 +1886,46 @@ {\%\char 24\char 24 } % space or `relax as delimiter? % \end{macrocode} % +% For Maltese, \cs{Hwithstroke} and \cs{hwithstroke} are needed. +% +% \changes{v2.0k}{2018/11/19} +% {Added \cs{Hwithstroke} and \cs{hwithstroke}} +% +% \begin{macrocode} +\DeclareTextCommand{\Hwithstroke}{T1} + {% + \hmode@bgroup + \vphantom{H}% + \sbox\z@{H}% + \ooalign{% + H\cr + \hidewidth + \vrule + height \dimexpr 0.7\ht\z@+0.1ex\relax + depth -0.7\ht\z@ + width 0.8\wd\z@ + \hidewidth\cr + }% + \egroup + } +\DeclareTextCommand{\hwithstroke}{T1} + {% + \hmode@bgroup + \vphantom{h}% + \sbox\z@{h}% + \ooalign{% + h\cr + \kern0.075\wd\z@ + \vrule + height \dimexpr 0.7\ht\z@+0.1ex\relax + depth -0.7\ht\z@ + width 0.4\wd\z@ + \hidewidth\cr + }% + \egroup + } +% \end{macrocode} +% % Declare the text symbols. % \changes{v1.7t}{1995/11/29}{Added \cs{textasciicircum}, % \cs{textasciitilde}, \cs{textbackslash}, \cs{textbar}, @@ -1910,8 +1950,17 @@ \DeclareTextSymbol{\ae}{T1}{230} \DeclareTextSymbol{\dh}{T1}{240} \DeclareTextSymbol{\dj}{T1}{158} +% \end{macrocode} +% \changes{v2.0j}{2018/08/11}{Provide \cs{guillemetleft} and \cs{guillemetright}} +% \begin{macrocode} +\DeclareTextSymbol{\guillemetleft}{T1}{19} +\DeclareTextSymbol{\guillemetright}{T1}{20} +% old Adobe names \DeclareTextSymbol{\guillemotleft}{T1}{19} \DeclareTextSymbol{\guillemotright}{T1}{20} +% \end{macrocode} +% +% \begin{macrocode} \DeclareTextSymbol{\guilsinglleft}{T1}{14} \DeclareTextSymbol{\guilsinglright}{T1}{15} \DeclareTextSymbol{\i}{T1}{25} @@ -2290,8 +2339,17 @@ \DeclareTextSymbol{\O}{OT4}{31} \DeclareTextSymbol{\L}{OT4}{138} \DeclareTextSymbol{\ae}{OT4}{26} +% \end{macrocode} +% \changes{v2.0j}{2018/08/11}{Provide \cs{guillemetleft} and \cs{guillemetright}} +% \begin{macrocode} +\DeclareTextSymbol{\guillemetleft}{OT4}{174} +\DeclareTextSymbol{\guillemetright}{OT4}{175} +% old Adobe names \DeclareTextSymbol{\guillemotleft}{OT4}{174} \DeclareTextSymbol{\guillemotright}{OT4}{175} +% \end{macrocode} +% +% \begin{macrocode} \DeclareTextSymbol{\i}{OT4}{16} \DeclareTextSymbol{\j}{OT4}{17} \DeclareTextSymbol{\l}{OT4}{170} @@ -2884,7 +2942,15 @@ \DeclareTextSymbol{\textasciidieresis} \UnicodeEncodingName{"00A8} \DeclareTextSymbol{\textcopyright} \UnicodeEncodingName{"00A9} \DeclareTextSymbol{\textordfeminine} \UnicodeEncodingName{"00AA} +% \end{macrocode} +% \changes{v2.0j}{2018/08/11}{Provide \cs{guillemetleft} and \cs{guillemetright}} +% \begin{macrocode} +\DeclareTextSymbol{\guillemetleft} \UnicodeEncodingName{"00AB} +% old Adobe name \DeclareTextSymbol{\guillemotleft} \UnicodeEncodingName{"00AB} +% \end{macrocode} +% +% \begin{macrocode} \DeclareTextSymbol{\textlnot} \UnicodeEncodingName{"00AC} \DeclareTextSymbol{\textregistered} \UnicodeEncodingName{"00AE} \DeclareTextSymbol{\textasciimacron} \UnicodeEncodingName{"00AF} @@ -2898,7 +2964,15 @@ \DeclareTextSymbol{\textperiodcentered} \UnicodeEncodingName{"00B7} \DeclareTextSymbol{\textonesuperior} \UnicodeEncodingName{"00B9} \DeclareTextSymbol{\textordmasculine} \UnicodeEncodingName{"00BA} +% \end{macrocode} +% \changes{v2.0j}{2018/08/11}{Provide \cs{guillemetleft} and \cs{guillemetright}} +% \begin{macrocode} +\DeclareTextSymbol{\guillemetright} \UnicodeEncodingName{"00BB} +% old Adobe name \DeclareTextSymbol{\guillemotright} \UnicodeEncodingName{"00BB} +% \end{macrocode} +% +% \begin{macrocode} \DeclareTextSymbol{\textonequarter} \UnicodeEncodingName{"00BC} \DeclareTextSymbol{\textonehalf} \UnicodeEncodingName{"00BD} \DeclareTextSymbol{\textthreequarters} \UnicodeEncodingName{"00BE} @@ -2979,7 +3053,14 @@ \DeclareTextSymbol{\textrightarrow} \UnicodeEncodingName{"2192} \DeclareTextSymbol{\textdownarrow} \UnicodeEncodingName{"2193} \DeclareTextSymbol{\textminus} \UnicodeEncodingName{"2212} + +% \end{macrocode} +% \changes{v2.0k}{2018/11/18}{Provide \cs{Hwithstroke} and \cs{hwithstroke}} +% \begin{macrocode} +\DeclareTextSymbol{\Hwithstroke} \UnicodeEncodingName{"0126} +\DeclareTextSymbol{\hwithstroke} \UnicodeEncodingName{"0127} % \end{macrocode} +% % Not all fonts have U+2217 but using U+002A requires some adjustment. % \begin{macrocode} \DeclareTextCommand{\textasteriskcentered}\UnicodeEncodingName{% @@ -3648,7 +3729,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{tc@subst} +% \begin{macro}{\tc@subst} % \begin{macrocode} \def\tc@subst#1{% \tc@errorwarn{textcomp}% % should be latex error if general diff --git a/Master/texmf-dist/source/latex/base/ltoutput.dtx b/Master/texmf-dist/source/latex/base/ltoutput.dtx index 8cfeb3fc7f7..d1fe26b90a0 100644 --- a/Master/texmf-dist/source/latex/base/ltoutput.dtx +++ b/Master/texmf-dist/source/latex/base/ltoutput.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2017 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -30,14 +30,14 @@ %%% From File: ltoutput.dtx %<flafter>\ProvidesPackage{flafter} %<fltrace>\ProvidesPackage{fltrace} -%<flafter,fltrace> [2018/01/08 v1.4c +%<flafter,fltrace> [2018/11/28 v1.4d %<flafter> Standard LaTeX floats after reference (FMi)] %<fltrace> Tracing LaTeX floats algorithm (FMi)] % %<*driver> % \fi \ProvidesFile{ltoutput.dtx} - [2018/01/08 v1.4c LaTeX Kernel (Output Routine)] + [2018/11/28 v1.4d LaTeX Kernel (Output Routine)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltoutput.dtx} @@ -2413,7 +2413,18 @@ \dblfigrule \fi \vskip \dbltextfloatsep - \box\@outputbox +% \end{macrocode} +% If pdf links are present in the galley and those links get broken +% across pages they have to end up being on the same level of boxing +% (even if not actually in the same structure) due to some engine +% restrictions in pdf\TeX\ and Lua\TeX. We therefore unbox +% |\@outputbox| here (which only contains a single |\hbox|) so that +% this case has the same boxing level as a normal twocolumn page +% without top floats. +% \changes{v1.4d}{2018/11/28}{Unbox \cs{@outputbox} to preserve boxing +% level (github/94)} +% \begin{macrocode} + \unvbox\@outputbox }% \fi } @@ -4679,7 +4690,7 @@ % In case of |\enlargethispage| we will have infinite negative glue % at the bottom of the page (coming from |\vss|) and that will earn % us an error message if we |\vsplit| to get at the marks. So we -% need to remove thek last glue (if any) at the end of |\@outputbox| +% need to remove the last glue (if any) at the end of |\@outputbox| % as we are only interested in marks that change doesn't matter. % \changes{v1.1o}{2014/04/18}{Handle infinite glue from % \cs{enlargethispage} (pr/4023)} diff --git a/Master/texmf-dist/source/latex/base/ltpictur.dtx b/Master/texmf-dist/source/latex/base/ltpictur.dtx index d15814acbab..6b84231ab5b 100644 --- a/Master/texmf-dist/source/latex/base/ltpictur.dtx +++ b/Master/texmf-dist/source/latex/base/ltpictur.dtx @@ -586,7 +586,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\getlinechar} +% \begin{macro}{\@getlinechar} % \begin{macrocode} \gdef\@getlinechar(#1,#2){\@tempcnta#1\relax\multiply\@tempcnta 8% \advance\@tempcnta -9\ifnum #2>\z@ \advance\@tempcnta #2\relax\else @@ -1133,9 +1133,9 @@ % \end{macrocode} % % \begin{macro}{\if@ovvline} -% \changes{v.1l}{2016/03/29}{macro added (latex/4452)} +% \changes{v1.1l}{2016/03/29}{macro added (latex/4452)} % \begin{macro}{\if@ovhline} -% \changes{v.1l}{2016/03/29}{macro added (latex/4452)} +% \changes{v1.1l}{2016/03/29}{macro added (latex/4452)} % Tests whether horizontal or vertical lines are needed. % \begin{macrocode} \newif\if@ovvline \@ovvlinetrue @@ -1149,7 +1149,7 @@ \gdef\@oval(#1,#2)[#3]{\begingroup\boxmaxdepth \maxdimen \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue % \end{macrocode} -% \changes{v.1l}{2016/03/29}{initialise tests} +% \changes{v1.1l}{2016/03/29}{initialise tests} % \begin{macrocode} \@ovvlinefalse \@ovhlinefalse % \end{macrocode} @@ -1158,7 +1158,7 @@ \@ovxx #1\unitlength \@ovyy #2\unitlength % \end{macrocode} -% \changes{v.1l}{2016/03/29}{add setting of line tests} +% \changes{v1.1l}{2016/03/29}{add setting of line tests} % \begin{macrocode} \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx \@ovvlinetrue \else \@ovyy \ifdim \@ovyy =\@ovxx \else \@ovhlinetrue \fi\fi @@ -1170,7 +1170,7 @@ \@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@ \@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@ % \end{macrocode} -% \changes{v.1l}{2016/03/29}{add setting of line tests} +% \changes{v1.1l}{2016/03/29}{add setting of line tests} % \begin{macrocode} \ifdim \@ovdx >\z@ \@ovhlinetrue \fi \ifdim \@ovdy >\z@ \@ovvlinetrue \fi @@ -1194,7 +1194,7 @@ \kern -\@ovro \hbox{\char \@tempcntb}\nointerlineskip \else \kern \@ovri \kern \@ovdy \fi % \end{macrocode} -% \changes{v.1l}{2016/03/29} +% \changes{v1.1l}{2016/03/29} % {use glue not leaders if vertical line not required} % \begin{macrocode} \if@ovvline \leaders\vrule \@width \@wholewidth \fi @@ -1212,7 +1212,7 @@ \gdef\@ovhorz{\hb@xt@\@ovxx{\kern \@ovro \if@ovr \else \kern \@ovdx \fi % \end{macrocode} -% \changes{v.1l}{2016/03/29} +% \changes{v1.1l}{2016/03/29} % {use glue not leaders if horizontal line not required} % \begin{macrocode} \if@ovhline \leaders \hrule \@height \@wholewidth \fi diff --git a/Master/texmf-dist/source/latex/base/ltsect.dtx b/Master/texmf-dist/source/latex/base/ltsect.dtx index a77070229a5..cb1c6d2c304 100644 --- a/Master/texmf-dist/source/latex/base/ltsect.dtx +++ b/Master/texmf-dist/source/latex/base/ltsect.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2017 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -31,7 +31,7 @@ %%% From File: ltsect.dtx %<*driver> % \fi -\ProvidesFile{ltsect.dtx}[2017/03/17 v1.1a LaTeX Kernel (Sectioning)] +\ProvidesFile{ltsect.dtx}[2018/09/26 v1.1c LaTeX Kernel (Sectioning)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltsect.dtx} @@ -734,9 +734,29 @@ % \changes{v1.0j}{1995/04/23}{Use \cs{contentsline} internally.} % \changes{v1.0h}{1994/11/04}{Added \cs{protected@write} to % \cs{addcontentsline}. ASAJ.} +% \changes{v1.1c}{2018/09/26}{Sometimes mask the endline char when +% writing to files (github/73)} % \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\addcontentsline}{Mask line endings}% \def\addcontentsline#1#2#3{% - \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} + \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}% +% \end{macrocode} +% We add \cs{protected@file@percent} at the end which is turned om +% \cs{@writefile} into a percent character to mask the newline after +% the closing argument brace. +% \begin{macrocode} + \protected@file@percent}} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\addcontentsline}{Mask line endings}% +%<latexrelease>\def\addcontentsline#1#2#3{% +%<latexrelease> \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> % \end{macrocode} % \end{macro} % @@ -813,6 +833,10 @@ % \changes{v1.0g}{1994/10/18}{Added \cs{normalcolor} for page number} % \changes{v1.0z}{1996/12/20}{Added \cs{nobreak} for latex/2343} % \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\@dottedtocline}{Prevent protrusion}% \def\@dottedtocline#1#2#3#4#5{% \ifnum #1>\c@tocdepth \else \vskip \z@ \@plus.2\p@ @@ -840,12 +864,67 @@ \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill \nobreak - \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% + \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5% +% \end{macrocode} +% We finish off by preventing +% any protrusion if that is enabled. If protrusion happens the +% number may shift to the right and as a result you may end up with +% an additional dot in the toc line in some situations. +% \changes{v1.1b}{2018/09/02}{Prevent protrusion +% (\url{https://tex.stackexchange.com/q/172785/10109})} +% \begin{macrocode} + \kern-\p@\kern\p@}% \par}% \fi} % \end{macrocode} % \end{macro} % +% + +% \begin{macro}{\noprotrusion} +% This command, if placed directly to the right (or left) of a +% word, will prevent prevent protrusion of that word into the +% margin. It is used in the toc entry lines as they shouldn't +% protrude. It is implemented as to kerns that cancel each other +% but being there hide the word so that protrusion is not +% added. Note that a zero kern or an empty box would not work as +% the protrusion mechanism will skip over those. +% \begin{macrocode} +\DeclareRobustCommand\noprotrusion{\leavevmode\kern-\p@\kern\p@} +% \end{macrocode} +% \end{macro} +% +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\@dottedtocline}{Prevent protrusion}% +%<latexrelease>\def\@dottedtocline#1#2#3#4#5{% +%<latexrelease> \ifnum #1>\c@tocdepth \else +%<latexrelease> \vskip \z@ \@plus.2\p@ +%<latexrelease> {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip +%<latexrelease> \parindent #2\relax\@afterindenttrue +%<latexrelease> \interlinepenalty\@M +%<latexrelease> \leavevmode +%<latexrelease> \@tempdima #3\relax +%<latexrelease> \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip +%<latexrelease> {#4}\nobreak +%<latexrelease> \leaders\hbox{$\m@th +%<latexrelease> \mkern \@dotsep mu\hbox{.}\mkern \@dotsep +%<latexrelease> mu$}\hfill +%<latexrelease> \nobreak +%<latexrelease> \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% +%<latexrelease> \par}% +%<latexrelease> \fi} +%<latexrelease> +%<latexrelease>\let\noprotrusion\@undefined +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} +% +% +% % \textbf{Note:} |\nobreak|'s added 7 Jan 86 to prevent bad line break % that left the page number dangling by itself at left edge of a new % line. diff --git a/Master/texmf-dist/source/latex/base/ltspace.dtx b/Master/texmf-dist/source/latex/base/ltspace.dtx index f74db0b929b..6f212bba159 100644 --- a/Master/texmf-dist/source/latex/base/ltspace.dtx +++ b/Master/texmf-dist/source/latex/base/ltspace.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltspace.dtx} - [2016/07/04 v1.3g LaTeX Kernel (spacing)] + [2018/10/10 v1.3i LaTeX Kernel (spacing)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltspace.dtx} @@ -547,12 +547,20 @@ % \end{macro} % % \begin{macro}{\@esphack} -% Companion to |\@bsphack|. +% Companion to |\@bsphack|. If this command is not properly paired +% with |\@bsphack| one might end up with a low-level \TeX{} error: +% ``BAD spacefactor''. One possible cause is calling |\@bsphack| in +% vertical mode, then doing something that gets you (sometimes) into +% horizontal mode and finally calling |\@esphack|. Even if no error +% is generated that is wrong, because |\@esphack| will then use the +% saved values for |\@savsk| and |\@savsf| from some earlier +% invocation of |\@bsphack| which will have nothing to do with the +% current situation. % \changes{v1.3d}{2015/01/11}{Allow hyphenation (Donald Arseneau pr/3498) (latexrelease)} % \begin{macrocode} %</2ekernel> -%<latexrelease>\IncludeInRelease{2015/10/01}% -%<latexrelease> {\@esphack}{hyphenation after space hack}% +%<latexrelease>\IncludeInRelease{2018/10/10}% +%<latexrelease> {\@esphack}{hyphenation and nobreak after space hack}% %<*2ekernel|latexrelease> \def\@esphack{% \relax @@ -568,11 +576,36 @@ \fi \ignorespaces \fi +% \end{macrocode} +% \changes{v1.3i}{2018/10/10} +% {Don't introduce breakpoints if @nobreak is true and after sections} +% \begin{macrocode} + \else + \ifvmode + \if@nobreak\nobreak\else\if@noskipsec\nobreak\fi\fi + \fi +% \end{macrocode} +% +% \begin{macrocode} \fi}% %</2ekernel|latexrelease> %<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{2015/10/01}% +%<latexrelease> {\@esphack}{hyphenation and nobreak after space hack}% +%<latexrelease>\def\@esphack{% +%<latexrelease> \relax +%<latexrelease> \ifhmode +%<latexrelease> \spacefactor\@savsf +%<latexrelease> \ifdim\@savsk>\z@ +%<latexrelease> \ifdim\lastskip=\z@ +%<latexrelease> \nobreak \hskip\z@skip +%<latexrelease> \fi +%<latexrelease> \ignorespaces +%<latexrelease> \fi +%<latexrelease> \fi}% +%<latexrelease>\EndIncludeInRelease %<latexrelease>\IncludeInRelease{2015/01/01}% -%<latexrelease> {\@esphack}{hyphenation after space hack}% +%<latexrelease> {\@esphack}{hyphenation and nobreak after space hack}% %<latexrelease>\def\@esphack{% %<latexrelease> \relax %<latexrelease> \ifhmode @@ -584,7 +617,7 @@ %<latexrelease> \fi}% %<latexrelease>\EndIncludeInRelease %<latexrelease>\IncludeInRelease{0000/00/00}% -%<latexrelease> {\@esphack}{hyphenation after space hack}% +%<latexrelease> {\@esphack}{hyphenation and nobreak after space hack}% %<latexrelease>\def\@esphack{% %<latexrelease> \relax %<latexrelease> \ifhmode @@ -1093,21 +1126,52 @@ % \end{macrocode} % \end{macro} % -% +% +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2018/12/01}% +%<latexrelease> {\thinspace}{Start LR-mode}% +% \end{macrocode} % % % \begin{macro}{\thinspace} % \begin{macro}{\negthinspace} % \begin{macro}{\enspace} +% \changes{v1.3h}{2018/09/24}{Start LR-mode if necessary (git/49)} % \begin{macrocode} -\def\thinspace{\kern .16667em } -\def\negthinspace{\kern-.16667em } -\def\enspace{\kern.5em } +\def\thinspace{\leavevmode@ifvmode\kern .16667em } +\def\negthinspace{\leavevmode@ifvmode\kern-.16667em } +\def\enspace{\leavevmode@ifvmode\kern.5em } % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % +% \begin{macro}{\leavevmode@ifvmode} +% Leave vmode but only if we are really in vmode, otherwise the +% expansion is empty (which is not the case with the default definition). +% \changes{v1.3h}{2018/09/24}{Macro added (git/49)} +% \begin{macrocode} +\protected\def\leavevmode@ifvmode{\ifvmode\expandafter\indent\fi} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\thinspace}{Start LR-mode}% +%<latexrelease>\def\thinspace{\kern .16667em } +%<latexrelease>\def\negthinspace{\kern-.16667em } +%<latexrelease>\def\enspace{\kern.5em } +%<latexrelease>\let\leavevmode@ifvmode\@undefined +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} +% +% +% % \begin{macro}{\enskip} % \begin{macro}{\quad} % \begin{macro}{\qquad} diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx index cb207695efa..7a001bb2b19 100644 --- a/Master/texmf-dist/source/latex/base/ltvers.dtx +++ b/Master/texmf-dist/source/latex/base/ltvers.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltvers.dtx} - [2018/03/16 v1.1a LaTeX Kernel (Version Info)] + [2018/12/01 v1.1b LaTeX Kernel (Version Info)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltvers.dtx} @@ -112,10 +112,10 @@ %</2ekernel> %<latexrelease>\edef\latexreleaseversion %<*2ekernel|latexrelease> - {2018-04-01} + {2018-12-01} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{5} +\def\patch@level{0} % \end{macrocode} % \end{macro} % \end{macro} diff --git a/Master/texmf-dist/source/latex/base/utf8ienc.dtx b/Master/texmf-dist/source/latex/base/utf8ienc.dtx index b67c9361eed..993f59c4818 100644 --- a/Master/texmf-dist/source/latex/base/utf8ienc.dtx +++ b/Master/texmf-dist/source/latex/base/utf8ienc.dtx @@ -217,7 +217,7 @@ %<+ts1> \ProvidesFile{ts1enc.dfu} %<+x2> \ProvidesFile{x2enc.dfu} %<+all> \ProvidesFile{utf8enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] % \end{macrocode} % % \begin{macrocode} @@ -323,9 +323,10 @@ % \begin{macro}{\UTFviii@invalid@err} % \begin{macro}{\UTFviii@invalid@help} % \changes{v1.2a}{2018/03/24}{Macro added}% +% \changes{v1.2f}{2018/10/05}{Show invalid byte in hex}% % \begin{macrocode} \def\UTFviii@invalid@err#1{% - \PackageError{inputenc}{Invalid UTF-8 byte \number`#1}% + \PackageError{inputenc}{Invalid UTF-8 byte "\UTFviii@hexnumber{`#1}}% \UTFviii@invalid@help} % \end{macrocode} % @@ -463,9 +464,10 @@ % \end{macrocode} % % Setting up 4-byte UTF-8: +% \changes{v1.2e}{2018/09/28}{Fix "F4 lead byte}% % \begin{macrocode} \count@"F0 - \@tempcnta"F4 + \@tempcnta"F5 \def\UTFviii@tmp{\xdef~{\noexpand\UTFviii@four@octets\string~}} \UTFviii@loop % \end{macrocode} @@ -473,7 +475,7 @@ % Bytes above F4 are not valid UTF-8 starting bytes as they would encode numbers beyond % the Unicode range % \begin{macrocode} - \count@"F4 + \count@"F5 \@tempcnta"100 \def\UTFviii@tmp{\xdef~{\noexpand\UTFviii@invalid@err\string~}} \UTFviii@loop @@ -620,7 +622,7 @@ % |\parse@XML@charref| work without arguments. % \changes{v1.1g}{2005/09/27}{Real spaces do not show up so use \cs{space}} % \changes{v1.2a}{2018/03/24}{Allow control characters if active} -% In the case single byte UTF-8 sequences, only allw definition if +% In the case single byte UTF-8 sequences, only allow definition if % the character os already active. The definition of |\UTFviii@tmp| % looks slightly strange but is designed for the sequence of |\expandafter| % in |\DeclareUnicodeCharacter|. @@ -650,6 +652,20 @@ \parse@UTFviii@a,% \parse@UTFviii@b E\UTFviii@three@octets.{,;}% \else +% \end{macrocode} +% +% Test added here for out of range values, the 4-octet definitions are still set up +% so that |\DeclareUnicodeCharacter| does something sensible if the user scrolls +% past this error. +% \begin{macrocode} + \ifnum\count@>"10FFFF\relax + \PackageError{inputenc}% + {\UTFviii@hexnumber\count@\space too large for Unicode}% + {Values between 0 and 10FFFF are permitted}% + \fi +% \end{macrocode} +% +% \begin{macrocode} \parse@UTFviii@a;% \parse@UTFviii@a,% \parse@UTFviii@a!% @@ -793,23 +809,28 @@ % % \begin{macro}{\UTFviii@splitcsname} % \changes{v1.1o}{2015/08/28}{Macro added} +% \begin{macro}{\UTFviii@hexcodepoint} +% \changes{v1.2e}{2018/09/28}{Macro added: Format codepoint properly} % Split a csname representing a unicode character and return -% the character and (if |\numexpr| is defined) the unicode number in hex. -% \begin{macrocode} -\ifx\numexpr\@undefined -\gdef\UTFviii@splitcsname#1:#2\relax{#2}} -\else +% the character and the unicode number in hex. +% \begin{macrocode} +\gdef\UTFviii@hexcodepoint#1{U+% + \ifnum#1<16 0\fi + \ifnum#1<256 0\fi + \ifnum#1<4096 0\fi + \UTFviii@hexnumber{#1}% +}% \gdef\UTFviii@splitcsname#1:#2\relax{% % \end{macrocode} % \changes{v1.2b}{2018/03/26}{add percent as \cs{endlinechar} not -1 in the format}% % Need to pre-expand the argument to ensure cleanup in case of mal-formed UTF-8. % \begin{macrocode} -#2 (U+\expandafter\UTFviii@hexnumber\expandafter{% +#2 (\expandafter\UTFviii@hexcodepoint\expandafter{% \the\numexpr\decode@UTFviii#2\relax})% } -\fi % \end{macrocode} % \end{macro} +% \end{macro} % % \begin{macrocode} \endgroup @@ -1232,10 +1253,13 @@ % \begin{macrocode} %<all,t1>\DeclareUnicodeCharacter{0232}{\@tabacckludge=Y} %<all,t1>\DeclareUnicodeCharacter{0233}{\@tabacckludge=y} +%<all,t2c,t2b,t2a,t1,ot2,ot1,ly1,lcy>\DeclareUnicodeCharacter{0237}{\j} %<all,ly1,utf8>\DeclareUnicodeCharacter{02C6}{\textasciicircum} %<all,ts1>\DeclareUnicodeCharacter{02C7}{\textasciicaron} %<all,ly1,utf8>\DeclareUnicodeCharacter{02DC}{\textasciitilde} %<all,ts1>\DeclareUnicodeCharacter{02D8}{\textasciibreve} +%<all,t1>\DeclareUnicodeCharacter{02D9}{\.{}} +%<all,t1>\DeclareUnicodeCharacter{02DB}{\k{}} %<all,ts1>\DeclareUnicodeCharacter{02DD}{\textacutedbl} % \end{macrocode} % The Cyrillic code points have been recently checked (2007) and extended @@ -1530,6 +1554,7 @@ %<all,ts1>\DeclareUnicodeCharacter{0E3F}{\textbaht} %<all,t1>\DeclareUnicodeCharacter{1E02}{\.B} %<all,t1>\DeclareUnicodeCharacter{1E03}{\.b} +%<all,t1>\DeclareUnicodeCharacter{1E9E}{\SS} %<all,x2,t2c,t2b,t2a,t1,utf8>\DeclareUnicodeCharacter{200C}{\textcompwordmark} % \end{macrocode} % \changes{v1.1s}{2016/02/28}{Add more hyphens and dashes} diff --git a/Master/texmf-dist/source/latex/tools/array.dtx b/Master/texmf-dist/source/latex/tools/array.dtx index d8f3687a026..ec597464c04 100644 --- a/Master/texmf-dist/source/latex/tools/array.dtx +++ b/Master/texmf-dist/source/latex/tools/array.dtx @@ -32,7 +32,7 @@ %<+package>\DeclareCurrentRelease{}{2018-04-30} %<+package> %<+package>\ProvidesPackage{array} -%<+package> [2018/04/30 v2.4h Tabular extension package (FMi)] +%<+package> [2018/11/13 v2.4j Tabular extension package (FMi)] % % \fi % @@ -1283,6 +1283,10 @@ % \subsection{The macro \texttt{\textbackslash @mkpream}} % % \begin{macro}{\@mkpream} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} % \begin{macro}{\the@toks} % \label{@mkpream} % Now we can define the macro which builds up the preamble for the @@ -1290,7 +1294,7 @@ % First we initialize =\@preamble=, =\@lastchclass= % and the boolean variable =\if@firstamp=. % \begin{macrocode} -\def\@mkpream#1{\gdef\@preamble{}\@lastchclass 4 \@firstamptrue +%\def\@mkpream#1{\gdef\@preamble{}\@lastchclass 4 \@firstamptrue % \end{macrocode} % During the build-up of the preamble we cannot directly use the % =#= sign; this would lead to an error message in the next @@ -1309,7 +1313,7 @@ % macros expand in many \textsf{tokens} which would delay the % build-up of the preamble. % \begin{macrocode} - \let\@sharp\relax \let\@startpbox\relax \let\@endpbox\relax +% \let\@sharp\relax\let\@startpbox\relax\let\@endpbox\relax % \end{macrocode} % Two more are needed to deal with the code that handles struts % for extra space after a row from =\\[<space>]= @@ -1318,27 +1322,27 @@ % \changes{v2.4e}{2016/10/07}{Fixing SX68732} % \changes{v2.4f}{2017/11/04}{Managing m-cells without \cs{vcenter}} % \begin{macrocode} - \let\do@row@strut\relax - \let\ar@align@mcell\relax +% \let\do@row@strut\relax +% \let\ar@align@mcell\relax % \end{macrocode} % Now we remove possible $*$-forms in the user preamble with the % command =\@xexpast=. As we already know, this command saves % its result in the macro =\@tempa=. % \begin{macrocode} - \@xexpast #1*0x\@@ +% \@xexpast #1*0x\@@ % \end{macrocode} % Afterwards we initialize all registers and macros, that we need % for the build-up of the preamble. % Since we want to start with the \textsf{token} register $0$, % =\count@= has to contain the value $-1$. % \begin{macrocode} - \count@\m@ne - \let\the@toks\relax +% \count@\m@ne +% \let\the@toks\relax % \end{macrocode} % Then we call up =\prepnext@tok= in order to prepare the % \textsf{token} register $0$ for use. % \begin{macrocode} - \prepnext@tok +% \prepnext@tok % \end{macrocode} % To evaluate the user preamble (without stars) saved in % =\@tempa= we use the \LaTeX--macro =\@tfor=. @@ -1347,8 +1351,8 @@ % =\@tempa= and not the macro =\@tempa= to this % \LaTeX--macro. % \begin{macrocode} - \expandafter \@tfor \expandafter \@nextchar - \expandafter :\expandafter =\@tempa \do +% \expandafter \@tfor \expandafter \@nextchar +% \expandafter :\expandafter =\@tempa \do % \end{macrocode} % The body of this loop (the group after the =\do=) % is executed for one \textsf{token} at a time, whereas @@ -1359,15 +1363,15 @@ % the character number of this \textsf{token}. % \changes{v2.0f}{1992/02/29}{\cs{@testpach} now without arg} % \begin{macrocode} - {\@testpach +% {\@testpach % \end{macrocode} % Then we branch out depending on the value of =\@chclass= into % different macros that extend the preamble respectively. % \begin{macrocode} - \ifcase \@chclass \@classz \or \@classi \or \@classii - \or \save@decl \or \or \@classv \or \@classvi - \or \@classvii \or \@classviii \or \@classix - \or \@classx \fi +% \ifcase \@chclass \@classz \or \@classi \or \@classii +% \or \save@decl \or \or \@classv \or \@classvi +% \or \@classvii \or \@classviii \or \@classix +% \or \@classx \fi % \end{macrocode} % Two cases deserve our special attention: Since the current % \textsf{token} cannot have the character class $4$ (start) we @@ -1379,29 +1383,29 @@ % =\@lastchclass= to assure that this information will be available % during the next run of the loop. % \begin{macrocode} - \@lastchclass\@chclass}% +% \@lastchclass\@chclass}% % \end{macrocode} % After the loop has been finished space must still be added to % the created preamble, depending on the last \textsf{token}. % Depending on the value of =\@lastchclass= we perform % the necessary operations. % \begin{macrocode} - \ifcase\@lastchclass +% \ifcase\@lastchclass % \end{macrocode} % If the last class equals $0$ we add a % =\hskip \col@sep=. % \begin{macrocode} - \@acol \or +% \@acol \or % \end{macrocode} % If it equals $1$ we do not add any additional space so that the % horizontal lines do not exceed the vertical ones. % \begin{macrocode} - \or +% \or % \end{macrocode} % Class $2$ is treated like class $0$ because a =<{...}= can % only directly follow after class $0$. % \begin{macrocode} - \@acol \or +% \@acol \or % \end{macrocode} % Most of the other possibilities can only appear if the user % preamble was defective. Class $3$ is not allowed since after a @@ -1409,32 +1413,32 @@ % \texttt{r}, \texttt{p},\texttt{m} or \texttt{b}. We report an % error and ignore the declaration given by ={..}=. % \begin{macrocode} - \@preamerr \thr@@ \or +% \@preamerr \thr@@ \or % \end{macrocode} % If =\@lastchclass= is $4$ the user preamble has been empty. % To continue, we insert a =#= in the preamble. % \begin{macrocode} - \@preamerr \tw@ \@addtopreamble\@sharp \or +% \@preamerr \tw@ \@addtopreamble\@sharp \or % \end{macrocode} % Class $5$ is allowed again. In this case % (the user preamble ends with =@{..}=) we need not % do anything. % \begin{macrocode} - \or +% \or % \end{macrocode} % Any other case means that the arguments to =@=, \texttt{!}, % \texttt{<}, \texttt{>}, \texttt{p}, \texttt{m} or \texttt{b} have % been forgotten. So we report an error and ignore the last % \textsf{token}. % \begin{macrocode} - \else \@preamerr \@ne \fi +% \else \@preamerr \@ne \fi % \end{macrocode} % Now that the build-up of the preamble is almost finished we can % insert the \textsf{token} registers and therefore redefine % =\the@toks=. The actual insertion, though, is performed % later. % \begin{macrocode} - \def\the@toks{\the\toks}} +% \def\the@toks{\the\toks}} % \end{macrocode} % \end{macro} % \end{macro} @@ -1593,7 +1597,6 @@ % mode. Therefore we start with a~=$=. % \changes{v2.4f}{2017/11/04}{Managing m-cells without \cs{vcenter}} % \begin{macrocode} -% $\vcenter \setbox\ar@mcellbox\vbox % \end{macrocode} % The part of the templates which is the same in all three cases @@ -1608,9 +1611,8 @@ % \changes{v2.4e}{2016/10/07}{Fixing SX68732} % \changes{v2.4f}{2017/11/04}{Managing m-cells without \cs{vcenter}} % \begin{macrocode} - \@startpbox{\@nextchar}\insert@column \@endpbox - \ar@align@mcell -%$ + \@startpbox{\@nextchar}\insert@column \@endpbox + \ar@align@mcell \do@row@strut \or % \end{macrocode} % The templates for \texttt{p} and \texttt{b} are generated in the @@ -1691,6 +1693,11 @@ % % \begin{macro}{\@classix} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} +% % In case of class $9$ (\texttt{>}--\textsf{token}) we first check % if the character class of the last % \textsf{token} was $3$. In this case we have a @@ -1699,28 +1706,33 @@ % So the declarations defined by the first =>{...}= % are ignored. % \begin{macrocode} -\def\@classix{\ifnum \@lastchclass = \thr@@ - \@preamerr \thr@@ \fi +%\def\@classix{\ifnum \@lastchclass = \thr@@ +% \@preamerr \thr@@ \fi % \end{macrocode} % Furthermore, we call up =\@class10= because afterwards always a % new column is started by \texttt{c}, \texttt{l}, \texttt{r}, % \texttt{p}, \texttt{m} or \texttt{b}. % \begin{macrocode} - \@classx} +% \@classx} % \end{macrocode} % \end{macro} % % % % \begin{macro}{\@classviii} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} +% % If the current \textsf{token} is a \texttt{<} the last character % class must be $0$. In this case it is not necessary to extend the % preamble. Otherwise we output an error message, set =\@chclass= % to $6$ and call =\@classvi=. By doing this we achieve that % \texttt{<} is treated like \texttt{!}. % \begin{macrocode} -\def\@classviii{\ifnum \@lastchclass >\z@ - \@preamerr 4\@chclass 6 \@classvi \fi} +%\def\@classviii{\ifnum \@lastchclass >\z@ +% \@preamerr 4\@chclass 6 \@classvi \fi} % \end{macrocode} % \end{macro} % @@ -1819,11 +1831,16 @@ % % % \begin{macro}{\@classv} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} +% % If the current \textsf{token} is of class $5$ then it is an % argument of a \texttt{@} \textsf{token}. It must be stored into a % \textsf{token} register. % \begin{macrocode} -\def\@classv{\save@decl +%\def\@classv{\save@decl % \end{macrocode} % We extend the preamble with a command which inserts this % \textsf{token} register into the preamble when its construction @@ -1834,11 +1851,11 @@ % \changes{v2.0c}{1990/08/14}{\cs{relax} added to avoid problem % `the`toks0`the`toks1.} % \begin{macrocode} - \@addtopreamble{\d@llarbegin\the@toks\the\count@\relax\d@llarend}% +% \@addtopreamble{\d@llarbegin\the@toks\the\count@\relax\d@llarend}% % \end{macrocode} % Finally we must prepare the next \textsf{token} register. % \begin{macrocode} - \prepnext@tok} +% \prepnext@tok} % \end{macrocode} % \end{macro} % @@ -1868,8 +1885,10 @@ % The width of the \textsf{parbox} is passed as an argument. % =\vcenter=, =\vtop= or =\vbox= are already in the % preamble. So we start with the braces for the wanted box. +% \changes{v2.4i}{2018/09/13}{Add group to prevent color leak (gh/72)} % \begin{macrocode} \def\@startpbox#1{\bgroup + \color@begingroup % \end{macrocode} % The argument is the width of the box. This information has to be % assigned to =\hsize=. @@ -1917,8 +1936,9 @@ % =\@startpbox=. % \changes{v2.2d}{1994/05/16}{Use \LaTeXe \cs{@finalstrut}} % \changes{v2.3g}{1996/05/07}{Add \cs{hfil} for tools/2120} +% \changes{v2.4i}{2018/09/13}{Add group to prevent color leak (gh/72)} % \begin{macrocode} -\def\@endpbox{\@finalstrut\@arstrutbox \egroup\hfil} +\def\@endpbox{\@finalstrut\@arstrutbox \color@endgroup \egroup\hfil} % \end{macrocode} % \end{macro} % @@ -2307,10 +2327,15 @@ % \end{macro} % % \begin{macro}{\@tabarray} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} +% % This macro tests for a optional bracket and then calls up % =\@array= or =\@array[c]= (as default). % \begin{macrocode} -\def\@tabarray{\@ifnextchar[{\@array}{\@array[c]}} +%\def\@tabarray{\@ifnextchar[{\@array}{\@array[c]}} % \end{macrocode} % \end{macro} % @@ -2366,6 +2391,11 @@ % \end{macro} % % \begin{macro}{\endarray} +% \emph{The code below has been replaced long time ago by an +% extended version further down but the code and its documentation +% was left here for reference. It is now commented out to avoid +% confusion.} +% % When the processing of \textsf{array} is finished we have to % close the =\halign= % and afterwards the surrounding \textsf{box} selected by @@ -2373,7 +2403,7 @@ % =\@preamble= % because its replacement text isn't longer needed. % \begin{macrocode} -\def\endarray{\crcr \egroup \egroup \gdef\@preamble{}} +%\def\endarray{\crcr \egroup \egroup \gdef\@preamble{}} % \end{macrocode} % \end{macro} % @@ -2675,6 +2705,7 @@ {\expandafter\@nextchar\the\toks\count@}} % \end{macrocode} % \end{macro} +% % \begin{macro}{\@mkpream} % The main modification to "\@mkpream" is to replace the call to % "\@xexpast" (which expanded $*$-forms) by a loop which expands @@ -2683,7 +2714,23 @@ % \changes{v2.4f}{2017/11/04}{Managing m-cells without \cs{vcenter}} % \begin{macrocode} \def\@mkpream#1{\gdef\@preamble{}\@lastchclass 4 \@firstamptrue - \let\@sharp\relax \let\@startpbox\relax \let\@endpbox\relax + \let\@sharp\relax +% \end{macrocode} +% +% \changes{v2.4j}{2018/11/13}{Do not expand argument of +% \cs{@startpbox} while building the tabular preamble (sx/459285)} +% The "\@startpbox" (which is called for "p", "m" or "b" columns) +% receives a user supplied argument: the width of the +% paragraph-column. Normally that is something harmless like a length or a +% simple length expression, but with the calc package involved it +% could break under an "\edef" operation, which is how the preamble +% is constructed. We now make use of "\unexpanded" here to prevent that. The +% "\expandafter" gymnastics is necessary to expand the "#1" at least +% once (since it will get "\@nextchar" as its value and need its +% content! +% \begin{macrocode} + \def\@startpbox##1{\unexpanded\expandafter{\expandafter + \@startpbox\expandafter{##1}}}\let\@endpbox\relax \let\do@row@strut\relax \let\ar@align@mcell\relax % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tools/multicol.dtx b/Master/texmf-dist/source/latex/tools/multicol.dtx index b347d3e80b5..1962ec24e59 100644 --- a/Master/texmf-dist/source/latex/tools/multicol.dtx +++ b/Master/texmf-dist/source/latex/tools/multicol.dtx @@ -98,7 +98,7 @@ %<driver> \ProvidesFile{multicol.drv} % \fi % \ProvidesFile{multicol.dtx} - [2018/04/20 v1.8s multicolumn formatting (FMi)] + [2018/11/09 v1.8u multicolumn formatting (FMi)] % % %% @@ -3899,8 +3899,24 @@ not make sense.\MessageBreak Going to balance anyway}% \else - \let\balance@columns@out - \multi@column@out +% \end{macrocode} +% If we aren't balancing we change the |\balance@columns@out| to +% work like the normal output routine that cuts normal +% pages. However, there is a catch: In case the last page we cut +% (after seeing the end of the environment) is actually larger than +% a page (for example, if it contains more |\columnbreak| commands +% than columns) we end up with some leftover material that is +% returned to the main galley, but now the environment end penalty +% is missing. So we add another one here too. Of course that +% shouldn't be done if there is really only a single final page, +% but fortunately in that case we have just finished a page and any +% penalty on the recent contributions will be discarded, thus the +% extra one is harmless---puh. +% \changes{v1.8t}{2018/06/26}{Re-add end penalty for +% \texttt{multicols*} environment to guard against leftovers (git/53)} +% \begin{macrocode} + \def\balance@columns@out + {\multi@column@out \penalty-\@Mvi }% \fi \begin{multicols} } @@ -4217,8 +4233,16 @@ % \begin{macro}{\docolaction} % +% The \verb=\docolaction= scans for a star and optional argument +% and 3 mandatory ones, but we do this in chunks (not having xparse +% available). +% +% \changes{v1.8u}{2018/11/09}{Support star with \cs{docolaction}} +% \begin{macrocode} +\newcommand\docolaction{% +% \end{macrocode} +% First check is the support is enabled. % \begin{macrocode} -\newcommand\docolaction[4][1]{% \ifx\mc@col@status@write\relax \PackageError{multicol}% {Option 'colaction' not selected}% @@ -4226,6 +4250,9 @@ requires the use of the 'colaction' option on the package}% \fi +% \end{macrocode} +% Then prepare \verb=\mc@col@type=. +% \begin{macrocode} \global\advance\mc@col@check@num\@ne \edef\mc@col@type{\expandafter\ifx \csname mc@col-\the\mc@col@check@num @@ -4233,7 +4260,36 @@ 0\else \csname mc@col-\the\mc@col@check@num \endcsname - \fi}% + \fi}% +% \end{macrocode} +% Finally check for a star, record this information and then call +% \verb=\@docolaction= to do the rest. +% \begin{macrocode} + \@ifstar + {\@docolactionstartrue \@docolaction}% + {\@docolactionstarfalse\@docolaction}% +} +% \end{macrocode} +% +% \begin{macrocode} +\newcommand\@docolaction[4][1]{% +% \end{macrocode} +% +% How does the column number get associated with our label? We +% do do this by writing another line into the aux file. Here are the +% preparations. +% \begin{macrocode} + \edef\@docolactioncheck{\write\@auxout + {\string\mc@set@col@status + {mc@col-\the\mc@col@check@num}% + {\mc@col@type}}}% +% \end{macrocode} +% Where we do the actual \verb=\write= depends on the whether or +% not we gave seen a \texttt{*}. If yes, we do it first and then +% execute the code argument, otherwise we execute that code first +% and check at the point after that. +% \begin{macrocode} + \if@docolactionstar \@docolactioncheck \fi % \end{macrocode} % We prefix with 0 so that an unknown label (that returns % \verb=\relax=) will result in case 0 @@ -4256,21 +4312,20 @@ \or #4% % 3 last col \else - \ERROR + \ERRORwrongdefaultgiven \fi % \end{macrocode} -% But how does the column number get associated with our label? We -% do do this by writing another line into the aux file at this point: % \begin{macrocode} - \edef\next{\write\@auxout - {\string\mc@set@col@status - {mc@col-\the\mc@col@check@num}% - {\mc@col@type}}}% - \next + \if@docolactionstar \else \@docolactioncheck \fi } % \end{macrocode} % \end{macro} % +% Here is the if used above: +% \begin{macrocode} +\newif\if@docolactionstar +% \end{macrocode} +% % Because of extra data writing to the aux file the aux file will % now contain something like the following after the document is % processed the first time: diff --git a/Master/texmf-dist/source/latex/tools/trace.dtx b/Master/texmf-dist/source/latex/tools/trace.dtx index 422c43e0713..dabec8aa006 100644 --- a/Master/texmf-dist/source/latex/tools/trace.dtx +++ b/Master/texmf-dist/source/latex/tools/trace.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright 1993-2018 % % The LaTeX3 Project and any individual authors listed elsewhere % in this file. @@ -22,7 +22,7 @@ % \fi % \iffalse %% -%% (C) Copyright 1999-2014 Frank Mittelbach +%% (C) Copyright 1999-2018 Frank Mittelbach %% All rights reserved. %% %<*dtx> @@ -33,7 +33,7 @@ %<driver>\ProvidesFile{trace.drv} % \fi % \ProvidesFile{trace.dtx} - [2014/10/28 v1.1d trace LaTeX code] + [2018/10/13 v1.1e trace LaTeX code] % % \iffalse %<*driver> @@ -355,13 +355,14 @@ % \changes{v1.1c}{2003/04/30}{Macro added} % \begin{macro}{\conditionally@traceoff} % As stated in the introduction, the amount of tracing being done -% should depend on the formatter we use. So we first test if we are +% should depend on the formatter we use. Initially first test if we are % running with \eTeX{} in extended mode. In the latter case the command -% |\tracinggroups| is defined.\footnote{If some package writer has defined -% that command name for some reason---too bad---then we make the -% wrong deduction from this fact and as a result the package will fail.} +% |\tracinggroups| is defined. +% But for a number of years now \LaTeX{} only works with \eTeX{} so +% we drop that part of the code. For now I leave it in the file +% together with its documentation, but commented out. % \begin{macrocode} -\ifx\tracinggroups\undefined +%\ifx\tracinggroups\undefined % \end{macrocode} % % If we are using standard \TeX{} then |\tr@ce@n| is more or less @@ -402,31 +403,31 @@ % nothing whatsoever since the noise generating switches are set at % the very end. % \begin{macrocode} - \def\tr@ce@n{% +% \def\tr@ce@n{% % \end{macrocode} % We start by setting the |@tracing| switch to signal that tracing % is asked for. This is then followed by setting the various % tracing primitives of \TeX. % \begin{macrocode} - \@tracingtrue - \tracingstats\tw@ - \tracingpages\@ne - \tracinglostchars\@ne - \tracingparagraphs\@ne - \errorcontextlines\maxdimen - \tracingoutput\@ne - \showboxbreadth\maxdimen - \showboxdepth\maxdimen - \errorstopmode - \tracingmacros\tw@ - \tracingrestores\@ne - \tracingcommands\tw@ +% \@tracingtrue +% \tracingstats\tw@ +% \tracingpages\@ne +% \tracinglostchars\@ne +% \tracingparagraphs\@ne +% \errorcontextlines\maxdimen +% \tracingoutput\@ne +% \showboxbreadth\maxdimen +% \showboxdepth\maxdimen +% \errorstopmode +% \tracingmacros\tw@ +% \tracingrestores\@ne +% \tracingcommands\tw@ % \end{macrocode} % The setting of |\tracingonline| depends on the option % \texttt{logonly}: % \begin{macrocode} - \tracingonline\tracingonline@p - } +% \tracingonline\tracingonline@p +% } % \end{macrocode} % % Now what should |\conditionally@traceoff| do in this case? Should @@ -454,15 +455,15 @@ % value they already have). % \changes{v1.1c}{2003/04/30}{Turn off \cs{tracingoutput}} % \begin{macrocode} - \def\conditionally@traceoff{% - \tracingrestores\z@ - \tracingcommands\z@ - \tracingpages\z@ - \tracingmacros\z@ - \tracingparagraphs\z@ - \tracingoutput\z@ - \showboxbreadth\m@ne - \showboxdepth\m@ne +% \def\conditionally@traceoff{% +% \tracingrestores\z@ +% \tracingcommands\z@ +% \tracingpages\z@ +% \tracingmacros\z@ +% \tracingparagraphs\z@ +% \tracingoutput\z@ +% \showboxbreadth\m@ne +% \showboxdepth\m@ne % \end{macrocode} % % As remarked above there are more tracing switches set by @@ -470,22 +471,22 @@ % |\tracinglostchars| so we leave it alone. % \changes{v1.1c}{2003/04/30}{Reset \cs{tracingstats} to one} % \begin{macrocode} - \tracingstats\@ne -% \tracinglostchars\z@ +% \tracingstats\@ne +%% \tracinglostchars\z@ % \end{macrocode} % Since this is the command that only conditionally turns off % tracing we do not touch the |@tracing| switch. This way a % |\conditionally@traceon| will be able to turn the tracing on % again. % \begin{macrocode} - } +% } % \end{macrocode} % % That covers the case for the standard \TeX{} program. If % |\tracingsgroups| was defined we assume that we are running with % \eTeX{} in extended mode. % \begin{macrocode} -\else +%\else % \end{macrocode} % % In that case |\tr@ce@n| does more than |\tracingall|: it also @@ -504,9 +505,22 @@ \tracinglostchars\@ne \tracingparagraphs\@ne \errorcontextlines\maxdimen - \tracingoutput\@ne - \showboxbreadth\maxdimen - \showboxdepth\maxdimen +% \end{macrocode} +% We only change |\tracingoutput| if it hasn't already been enabled by +% |\showoutput|. If that's not the case, we set it to 2 so that we +% can distingush the two cases. +% \changes{v1.1e}{2018/10/13}{Only reset \cs{tracingoutput} if not +% set by \cs{showoutput} earlier} +% \begin{macrocode} + \ifnum\tracingoutput=\@ne + \else + \tracingoutput\tw@ + \showboxbreadth\maxdimen + \showboxdepth\maxdimen + \fi +% \end{macrocode} +% +% \begin{macrocode} \errorstopmode \tracingmacros\tw@ \tracinggroups\@ne @@ -536,9 +550,21 @@ \tracingcommands\z@ \tracingpages\z@ \tracingmacros\z@ - \tracingoutput\z@ - \showboxbreadth\m@ne - \showboxdepth\m@ne +% \end{macrocode} +% If |\tracingoutput| is 2 it was set above, if it is 1 it was set +% by |\showoutput| and we leave it alone and if it is 0 there is +% nothing to do as well. +% \changes{v1.1e}{2018/10/13}{Only reset \cs{tracingoutput} if not +% set by \cs{showoutput} earlier} +% \begin{macrocode} + \ifnum\tracingoutput=\tw@ + \tracingoutput\z@ + \showboxbreadth\m@ne + \showboxdepth\m@ne + \fi +% \end{macrocode} +% +% \begin{macrocode} \tracingstats\@ne \tracingparagraphs\z@ \tracinggroups\z@ @@ -548,7 +574,7 @@ % This concludes the part that depends on the formatter being % used. % \begin{macrocode} -\fi +%\fi % \end{macrocode} % \end{macro} % \end{macro} diff --git a/Master/texmf-dist/source/latex/tools/xr.dtx b/Master/texmf-dist/source/latex/tools/xr.dtx index 5cd0cebc4bc..c4bd41e9164 100644 --- a/Master/texmf-dist/source/latex/tools/xr.dtx +++ b/Master/texmf-dist/source/latex/tools/xr.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 -% 2006 2008 2009 +% 2006 2008 2009 2018 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -21,11 +21,11 @@ % % \fi % \iffalse -%% File: xr.dtx Copyright (C) 1994-1994 David Carlisle +%% File: xr.dtx Copyright (C) 1994-1994 2018 David Carlisle % %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{xr} -%<package> [1994/05/28 v5.02 eXternal References (DPC)] +%<package> [2018/10/01 v5.03 eXternal References (DPC)] % %<*driver> \documentclass{ltxdoc} @@ -56,6 +56,7 @@ % aux files of \cmd\include'ed files. (Reported by J-PD)} % % \changes{v5.02}{1994/05/28}{Update for LaTeX2e} +% \changes{v5.02}{1994/05/28}{Fix for conditionals in aux file} % % % This package implements a system for eXternal References. @@ -152,13 +153,17 @@ % filename to the list of files to process. Otherwise ignore. % Go around the loop if not at end of file. Finally process the next % file in the list. +% +% 2018 update: make sure the arguments are handled outside the |\ifx| test, % \begin{macrocode} \long\def\XR@test#1#2#3#4\XR@{% + \let\XR@next\@gobbletwo \ifx#1\newlabel - \newlabel{\XR@prefix#2}{#3}% + \let\XR@next\@firstoftwo% \else\ifx#1\@input - \edef\XR@list{\XR@list#2\relax}% + \let\XR@next\@secondoftwo \fi\fi + \XR@next{\newlabel{\XR@prefix#2}{#3}}{\edef\XR@list{\XR@list#2\relax}}% \ifeof\@inputcheck\expandafter\XR@aux \else\expandafter\XR@read\fi} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tools/xr.ins b/Master/texmf-dist/source/latex/tools/xr.ins new file mode 100644 index 00000000000..b34a2ac87ae --- /dev/null +++ b/Master/texmf-dist/source/latex/tools/xr.ins @@ -0,0 +1,9 @@ +\input docstrip + +\def\SimplePackage#1{% + \generate{\file{#1.sty}{\from{#1.dtx}{package}}}} + +\keepsilent +\SimplePackage{xr} + +\endbatchfile
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty index bf9c101691f..f684834649e 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must be December 1994 or later -\ProvidesPackage{amsmath}[2017/09/02 v2.17a AMS math features] +\ProvidesPackage{amsmath}[2018/12/01 v2.17b AMS math features] \edef\@temp{\catcode 96=\number\catcode 96 } \catcode\string `\`=12 \def\do#1{\catcode\number`#1=\number\catcode`#1} @@ -139,13 +139,23 @@ For additional information on amsmath, use the \lq ?\rq\space option.% A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}} \newcommand{\AmSfont}{% \usefont{OMS}{cmsy}{\if\@xp\@car\f@series\@nil bb\else m\fi}{n}} +\ifx\leavevmode@ifvmode\@undefined % kernel is < 2018/12 \def\@mathmeasure#1#2#3{\setbox#1\hbox{\frozen@everymath\@emptytoks + \m@th$#2#3$}} +\else +\def\@mathmeasure#1#2#3{\setbox#1\hbox{% \m@th$#2#3$}} +\fi \@ifundefined{inf@bad}{% \newcount\inf@bad \inf@bad=1000000 \relax }{} +\ifx\leavevmode@ifvmode\@undefined \DeclareRobustCommand{\tmspace}[3]{% \ifmmode\mskip#1#2\else\kern#1#3\fi\relax} +\else +\DeclareRobustCommand{\tmspace}[3]{% + \ifmmode\mskip#1#2\else\leavevmode@ifvmode\kern#1#3\fi\relax} +\fi \renewcommand{\,}{\tmspace+\thinmuskip{.1667em}} \let\thinspace\, \renewcommand{\!}{\tmspace-\thinmuskip{.1667em}} @@ -699,10 +709,17 @@ Foreign command \@backslashchar#1;\MessageBreak \renewcommand{\Big}{\bBigg@{1.5}} \renewcommand{\bigg}{\bBigg@\tw@} \renewcommand{\Bigg}{\bBigg@{2.5}} +\ifx\leavevmode@ifvmode\@undefined \def\bBigg@#1#2{% {\@mathmeasure\z@{\nulldelimiterspace\z@}% {\left#2\vcenter to#1\big@size{}\right.}% \box\z@}} +\else +\def\bBigg@#1#2{\leavevmode@ifvmode + {\@mathmeasure\z@{\nulldelimiterspace\z@}% + {\left#2\vcenter to#1\big@size{}\right.}% + \box\z@}} +\fi \addto@hook\every@math@size{% \global\big@size 1.2\ht\Mathstrutbox@ \global\advance\big@size 1.2\dp\Mathstrutbox@ } @@ -883,13 +900,23 @@ Foreign command \@backslashchar#1;\MessageBreak \dimen@-\wd6 \advance\dimen@\wd4 \advance\dimen@\wd\z@ \hbox to\dimen@{}\mathop{\kern-\dimen@\box4\box6}% } +\ifx\leavevmode@ifvmode\@undefined \renewcommand{\smash}[1][tb]{% \def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}% - \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@ \box\z@}% + \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@\box\z@}% \ifmmode \@xp\mathpalette\@xp\mathsm@sh \else \@xp\makesm@sh \fi } +\else +\renewcommand{\smash}[1][tb]{% + \def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}% + \edef\finsm@sh{\csname mb@#1\endcsname\z@\z@ \leavevmode@ifvmode\box\z@}% + \ifmmode \@xp\mathpalette\@xp\mathsm@sh + \else \@xp\makesm@sh + \fi +} +\fi \mathchardef\std@minus\mathcode`\-\relax \mathchardef\std@equal\mathcode`\=\relax \AtBeginDocument{% diff --git a/Master/texmf-dist/tex/latex/base/ansinew.def b/Master/texmf-dist/tex/latex/base/ansinew.def index bc9d78f519e..f3432d9cde5 100644 --- a/Master/texmf-dist/tex/latex/base/ansinew.def +++ b/Master/texmf-dist/tex/latex/base/ansinew.def @@ -44,7 +44,7 @@ \ProvidesFile{ansinew.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -117,8 +117,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} diff --git a/Master/texmf-dist/tex/latex/base/applemac.def b/Master/texmf-dist/tex/latex/base/applemac.def index 8c274677b79..e61082b5520 100644 --- a/Master/texmf-dist/tex/latex/base/applemac.def +++ b/Master/texmf-dist/tex/latex/base/applemac.def @@ -44,7 +44,7 @@ \ProvidesFile{applemac.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textflorin}{\textit{f}} \ProvideTextCommandDefault{\textcent} @@ -126,8 +126,8 @@ \DeclareInputText{196}{\textflorin} \DeclareInputMath{197}{\approx} \DeclareInputMath{198}{\Delta} -\DeclareInputText{199}{\guillemotleft} -\DeclareInputText{200}{\guillemotright} +\DeclareInputText{199}{\guillemetleft} +\DeclareInputText{200}{\guillemetright} \DeclareInputText{201}{\dots} \DeclareInputText{202}{\nobreakspace} \DeclareInputText{203}{\@tabacckludge`A} diff --git a/Master/texmf-dist/tex/latex/base/article.cls b/Master/texmf-dist/tex/latex/base/article.cls index 7cff9455049..a04b69387bb 100644 --- a/Master/texmf-dist/tex/latex/base/article.cls +++ b/Master/texmf-dist/tex/latex/base/article.cls @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{article} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX document class] \newcommand\@ptsize{} \newif\if@restonecol @@ -514,7 +514,9 @@ \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\leavevmode - \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \large \bfseries #1\hfil + \hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}}\par \nobreak \if@compatibility \global\@nobreaktrue @@ -533,7 +535,9 @@ \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + #1\nobreak\hfil + \nobreak\hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}\par \endgroup \fi} \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}} diff --git a/Master/texmf-dist/tex/latex/base/ascii.def b/Master/texmf-dist/tex/latex/base/ascii.def index 1b7cc80c824..d5b6494f1a3 100644 --- a/Master/texmf-dist/tex/latex/base/ascii.def +++ b/Master/texmf-dist/tex/latex/base/ascii.def @@ -44,7 +44,7 @@ \ProvidesFile{ascii.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \@inpenc@test \endinput %% diff --git a/Master/texmf-dist/tex/latex/base/bk10.clo b/Master/texmf-dist/tex/latex/base/bk10.clo index bebfe5240bc..8dc38025722 100644 --- a/Master/texmf-dist/tex/latex/base/bk10.clo +++ b/Master/texmf-dist/tex/latex/base/bk10.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{bk10.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt diff --git a/Master/texmf-dist/tex/latex/base/bk11.clo b/Master/texmf-dist/tex/latex/base/bk11.clo index 57dd4e47f7a..778e3fdd754 100644 --- a/Master/texmf-dist/tex/latex/base/bk11.clo +++ b/Master/texmf-dist/tex/latex/base/bk11.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{bk11.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xipt{13.6}% diff --git a/Master/texmf-dist/tex/latex/base/bk12.clo b/Master/texmf-dist/tex/latex/base/bk12.clo index acced71a2f2..f2e6010b7f9 100644 --- a/Master/texmf-dist/tex/latex/base/bk12.clo +++ b/Master/texmf-dist/tex/latex/base/bk12.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{bk12.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xiipt{14.5}% diff --git a/Master/texmf-dist/tex/latex/base/book.cls b/Master/texmf-dist/tex/latex/base/book.cls index 820ea0de7fe..80b53e1c918 100644 --- a/Master/texmf-dist/tex/latex/base/book.cls +++ b/Master/texmf-dist/tex/latex/base/book.cls @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{book} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX document class] \newcommand\@ptsize{} \newif\if@restonecol @@ -606,7 +606,9 @@ \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\leavevmode - \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \large \bfseries #1\hfil + \hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}}\par \nobreak \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}}% @@ -623,7 +625,9 @@ \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + #1\nobreak\hfil + \nobreak\hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}\par \penalty\@highpenalty \endgroup \fi} diff --git a/Master/texmf-dist/tex/latex/base/cp1250.def b/Master/texmf-dist/tex/latex/base/cp1250.def index 34a013e001c..8279f3a5d32 100644 --- a/Master/texmf-dist/tex/latex/base/cp1250.def +++ b/Master/texmf-dist/tex/latex/base/cp1250.def @@ -44,7 +44,7 @@ \ProvidesFile{cp1250.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textcurrency} {\TextSymbolUnavailable\textcurrency} @@ -90,7 +90,7 @@ \DeclareInputText{168}{\"{}} \DeclareInputText{169}{\copyright} \DeclareInputText{170}{\c S} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-}% soft hyphen \DeclareInputText{174}{\textregistered} @@ -106,7 +106,7 @@ \DeclareInputText{184}{\c\ } \DeclareInputText{185}{\k a} \DeclareInputText{186}{\c s} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\v L}% L caron (L') ? \DeclareInputText{189}{\H{}} \DeclareInputText{190}{\v l}% l caron (l') ? diff --git a/Master/texmf-dist/tex/latex/base/cp1252.def b/Master/texmf-dist/tex/latex/base/cp1252.def index cb940bb2f48..d6c0dbf7cce 100644 --- a/Master/texmf-dist/tex/latex/base/cp1252.def +++ b/Master/texmf-dist/tex/latex/base/cp1252.def @@ -44,7 +44,7 @@ \ProvidesFile{cp1252.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -117,8 +117,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} diff --git a/Master/texmf-dist/tex/latex/base/cp1257.def b/Master/texmf-dist/tex/latex/base/cp1257.def index b22674d1525..9385f83f9fc 100644 --- a/Master/texmf-dist/tex/latex/base/cp1257.def +++ b/Master/texmf-dist/tex/latex/base/cp1257.def @@ -44,7 +44,7 @@ \ProvidesFile{cp1257.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -93,7 +93,7 @@ \DeclareInputText{168}{\O} \DeclareInputText{169}{\copyright} \DeclareInputText{170}{\c R} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} @@ -109,7 +109,7 @@ \DeclareInputText{184}{\o} \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{186}{\c r} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\textonequarter} \DeclareInputText{189}{\textonehalf} \DeclareInputText{190}{\textthreequarters} diff --git a/Master/texmf-dist/tex/latex/base/cp437.def b/Master/texmf-dist/tex/latex/base/cp437.def index 2c4b10dc40e..e255a4d8b9b 100644 --- a/Master/texmf-dist/tex/latex/base/cp437.def +++ b/Master/texmf-dist/tex/latex/base/cp437.def @@ -44,7 +44,7 @@ \ProvidesFile{cp437.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textflorin}{\textit{f}} \ProvideTextCommandDefault{\textpeseta}{Pt} @@ -101,8 +101,8 @@ \DeclareInputText{171}{\textonehalf} \DeclareInputText{172}{\textonequarter} \DeclareInputText{173}{\textexclamdown} -\DeclareInputText{174}{\guillemotleft} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{174}{\guillemetleft} +\DeclareInputText{175}{\guillemetright} \DeclareInputMath{224}{\alpha} \DeclareInputMath{225}{\beta} \DeclareInputMath{226}{\Gamma} diff --git a/Master/texmf-dist/tex/latex/base/cp437de.def b/Master/texmf-dist/tex/latex/base/cp437de.def index bb1d5f27619..fd424b41ef5 100644 --- a/Master/texmf-dist/tex/latex/base/cp437de.def +++ b/Master/texmf-dist/tex/latex/base/cp437de.def @@ -44,7 +44,7 @@ \ProvidesFile{cp437de.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textflorin}{\textit{f}} \ProvideTextCommandDefault{\textpeseta}{Pt} @@ -101,8 +101,8 @@ \DeclareInputText{171}{\textonehalf} \DeclareInputText{172}{\textonequarter} \DeclareInputText{173}{\textexclamdown} -\DeclareInputText{174}{\guillemotleft} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{174}{\guillemetleft} +\DeclareInputText{175}{\guillemetright} \DeclareInputMath{224}{\alpha} \DeclareInputText{225}{\ss} \DeclareInputMath{226}{\Gamma} diff --git a/Master/texmf-dist/tex/latex/base/cp850.def b/Master/texmf-dist/tex/latex/base/cp850.def index f9fa98eb104..0c28d8acef5 100644 --- a/Master/texmf-dist/tex/latex/base/cp850.def +++ b/Master/texmf-dist/tex/latex/base/cp850.def @@ -44,7 +44,7 @@ \ProvidesFile{cp850.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] %% %% If you need a Euro symbol, try cp858 instead. %% @@ -117,9 +117,9 @@ \DeclareInputText{172}{\textonequarter} %% "B9-"BC: DG \DeclareInputText{173}{\textexclamdown} \DeclareInputText{189}{\textcent} -\DeclareInputText{174}{\guillemotleft} +\DeclareInputText{174}{\guillemetleft} \DeclareInputText{190}{\textyen} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{175}{\guillemetright} \DeclareInputText{208}{\dh} \DeclareInputText{209}{\DH} \DeclareInputText{210}{\^E} diff --git a/Master/texmf-dist/tex/latex/base/cp852.def b/Master/texmf-dist/tex/latex/base/cp852.def index 1f3310d0e6f..d814e2d1653 100644 --- a/Master/texmf-dist/tex/latex/base/cp852.def +++ b/Master/texmf-dist/tex/latex/base/cp852.def @@ -44,7 +44,7 @@ \ProvidesFile{cp852.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -101,8 +101,8 @@ \DeclareInputText{171}{\@tabacckludge'z} \DeclareInputText{172}{\v C} \DeclareInputText{173}{\c s} -\DeclareInputText{174}{\guillemotleft} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{174}{\guillemetleft} +\DeclareInputText{175}{\guillemetright} \DeclareInputText{181}{\@tabacckludge'A} \DeclareInputText{182}{\^A} \DeclareInputText{183}{\v E} diff --git a/Master/texmf-dist/tex/latex/base/cp858.def b/Master/texmf-dist/tex/latex/base/cp858.def index bdb839e53ab..302bd44dd22 100644 --- a/Master/texmf-dist/tex/latex/base/cp858.def +++ b/Master/texmf-dist/tex/latex/base/cp858.def @@ -44,7 +44,7 @@ \ProvidesFile{cp858.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -114,9 +114,9 @@ \DeclareInputText{172}{\textonequarter} %% "B9-"BC: DG \DeclareInputText{173}{\textexclamdown} \DeclareInputText{189}{\textcent} -\DeclareInputText{174}{\guillemotleft} +\DeclareInputText{174}{\guillemetleft} \DeclareInputText{190}{\textyen} -\DeclareInputText{175}{\guillemotright} +\DeclareInputText{175}{\guillemetright} \DeclareInputText{208}{\dh} \DeclareInputText{209}{\DH} \DeclareInputText{210}{\^E} diff --git a/Master/texmf-dist/tex/latex/base/cp865.def b/Master/texmf-dist/tex/latex/base/cp865.def index a8104a2f14b..3bbcfc262cd 100644 --- a/Master/texmf-dist/tex/latex/base/cp865.def +++ b/Master/texmf-dist/tex/latex/base/cp865.def @@ -44,7 +44,7 @@ \ProvidesFile{cp865.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textflorin}{\textit{f}} \ProvideTextCommandDefault{\textpeseta}{Pt} @@ -103,7 +103,7 @@ \DeclareInputText{171}{\textonehalf} \DeclareInputText{172}{\textonequarter} \DeclareInputText{173}{\textexclamdown} -\DeclareInputText{174}{\guillemotleft} +\DeclareInputText{174}{\guillemetleft} \DeclareInputText{175}{\textcurrency} \DeclareInputMath{224}{\alpha} \DeclareInputMath{225}{\beta} diff --git a/Master/texmf-dist/tex/latex/base/decmulti.def b/Master/texmf-dist/tex/latex/base/decmulti.def index 5245c275736..fa878bc7353 100644 --- a/Master/texmf-dist/tex/latex/base/decmulti.def +++ b/Master/texmf-dist/tex/latex/base/decmulti.def @@ -44,7 +44,7 @@ \ProvidesFile{decmulti.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -74,8 +74,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\textonequarter} \DeclareInputText{189}{\textonehalf} \DeclareInputText{191}{\textquestiondown} diff --git a/Master/texmf-dist/tex/latex/base/doc.sty b/Master/texmf-dist/tex/latex/base/doc.sty index 15679366c18..5c76a4eecbb 100644 --- a/Master/texmf-dist/tex/latex/base/doc.sty +++ b/Master/texmf-dist/tex/latex/base/doc.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{doc} - [2018/02/01 v2.1h + [2018/09/25 v2.1i Standard LaTeX documentation package (FMi)] %% %% Package `doc' to use with LaTeX 2e @@ -560,8 +560,8 @@ \def\indexspace{\par\vspace{10pt plus 2pt minus 3pt}}% }}{} \def\efill{\hfill\nopagebreak}% -\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill}% -\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}% +\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus 1fill\kern\z@}% +\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil\kern\z@}% \def\pfill{\unskip~\dotfill\penalty500\strut\nobreak \dotfil~\ignorespaces}% \def\*{\leavevmode\lower.8ex\hbox{$\,\widetilde{\ }\,$}} diff --git a/Master/texmf-dist/tex/latex/base/exscale.sty b/Master/texmf-dist/tex/latex/base/exscale.sty index ce059c7b914..8e114ba7a9d 100644 --- a/Master/texmf-dist/tex/latex/base/exscale.sty +++ b/Master/texmf-dist/tex/latex/base/exscale.sty @@ -46,7 +46,7 @@ %% all rights reserved. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{exscale} - [2014/09/29 v2.1h + [2018/09/24 v2.1i Standard LaTeX package exscale] \DeclareFontShape{OMX}{cmex}{m}{n}{% <-8>sfixed * cmex7 @@ -61,8 +61,13 @@ \setbox\z@\vbox{\hbox{$($}\kern\z@}% \global\big@size 1.2\ht\z@ \endgroup} +\ifx\leavevmode@ifvmode\@undefined \def\bBigg@#1#2{% {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} +\else +\def\bBigg@#1#2{\leavevmode@ifvmode + {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} +\fi \def\big{\bBigg@\@ne} \def\Big{\bBigg@{1.5}} \def\bigg{\bBigg@\tw@} diff --git a/Master/texmf-dist/tex/latex/base/flafter.sty b/Master/texmf-dist/tex/latex/base/flafter.sty index 5910efac0f1..fde2f97d2e7 100644 --- a/Master/texmf-dist/tex/latex/base/flafter.sty +++ b/Master/texmf-dist/tex/latex/base/flafter.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutput.dtx \ProvidesPackage{flafter} - [2018/01/08 v1.4c + [2018/11/28 v1.4d Standard LaTeX floats after reference (FMi)] \IncludeInRelease{2015/01/01}% {\@addtocurcol}{float order in 2-column}% diff --git a/Master/texmf-dist/tex/latex/base/fleqn.clo b/Master/texmf-dist/tex/latex/base/fleqn.clo index b6d836e4769..6f7fd55d38e 100644 --- a/Master/texmf-dist/tex/latex/base/fleqn.clo +++ b/Master/texmf-dist/tex/latex/base/fleqn.clo @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltmath.dtx \ProvidesFile{fleqn.clo} - [2016/12/29 v1.2a Standard LaTeX option + [2016/12/29 v1.2b Standard LaTeX option (flush left equations)] \newdimen\mathindent \AtEndOfClass{\mathindent\leftmargini} diff --git a/Master/texmf-dist/tex/latex/base/fltrace.sty b/Master/texmf-dist/tex/latex/base/fltrace.sty index 242c7ab0cb7..8e7d53227a9 100644 --- a/Master/texmf-dist/tex/latex/base/fltrace.sty +++ b/Master/texmf-dist/tex/latex/base/fltrace.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutput.dtx \ProvidesPackage{fltrace} - [2018/01/08 v1.4c + [2018/11/28 v1.4d Tracing LaTeX floats algorithm (FMi)] \def\onecolumn{% \clearpage diff --git a/Master/texmf-dist/tex/latex/base/fontenc.sty b/Master/texmf-dist/tex/latex/base/fontenc.sty index 4e57768f24a..839a3f70a2b 100644 --- a/Master/texmf-dist/tex/latex/base/fontenc.sty +++ b/Master/texmf-dist/tex/latex/base/fontenc.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesPackage{fontenc} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX package] \def\update@uclc@with@cyrillic{% \expandafter\def\expandafter\@uclclist\expandafter diff --git a/Master/texmf-dist/tex/latex/base/fontmath.cfg b/Master/texmf-dist/tex/latex/base/fontmath.cfg index c1f0114602b..229ae63e772 100644 --- a/Master/texmf-dist/tex/latex/base/fontmath.cfg +++ b/Master/texmf-dist/tex/latex/base/fontmath.cfg @@ -37,7 +37,7 @@ %% %%% From File: fontdef.dtx \ProvidesFile{fontmath.cfg} - [2016/12/03 v3.0a LaTeX Kernel + [2018/09/24 v3.0b LaTeX Kernel (Uncustomised math font setup)] %% diff --git a/Master/texmf-dist/tex/latex/base/fontmath.ltx b/Master/texmf-dist/tex/latex/base/fontmath.ltx index 1e946943c9a..4b595a58f04 100644 --- a/Master/texmf-dist/tex/latex/base/fontmath.ltx +++ b/Master/texmf-dist/tex/latex/base/fontmath.ltx @@ -37,7 +37,7 @@ %% %%% From File: fontdef.dtx \ProvidesFile{fontmath.ltx} - [2016/12/03 v3.0a LaTeX Kernel + [2018/09/24 v3.0b LaTeX Kernel (Math font setup)] \typeout{=== Don't modify this file, use a .cfg file instead ===^^J} @@ -506,10 +506,14 @@ \def\mathsterling{\mathit{\mathchar"7024}} \def\mathunderscore{\kern.06em\vbox{\hrule\@width.3em}} \def\mathellipsis{\mathinner{\ldotp\ldotp\ldotp}}% -\def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} -\def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} -\def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} -\def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +\def\big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +\def\Big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +\def\bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +\def\Bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} \def\n@space{\nulldelimiterspace\z@ \m@th} \def\operator@font{\mathgroup\symoperators} \thinmuskip=3mu diff --git a/Master/texmf-dist/tex/latex/base/fonttext.cfg b/Master/texmf-dist/tex/latex/base/fonttext.cfg index 2001a4c515a..7688045b808 100644 --- a/Master/texmf-dist/tex/latex/base/fonttext.cfg +++ b/Master/texmf-dist/tex/latex/base/fonttext.cfg @@ -37,7 +37,7 @@ %% %%% From File: fontdef.dtx \ProvidesFile{fonttext.cfg} - [2016/12/03 v3.0a LaTeX Kernel + [2018/09/24 v3.0b LaTeX Kernel (Uncustomised text font setup)] %% diff --git a/Master/texmf-dist/tex/latex/base/fonttext.ltx b/Master/texmf-dist/tex/latex/base/fonttext.ltx index 78f29a707af..403bf445c89 100644 --- a/Master/texmf-dist/tex/latex/base/fonttext.ltx +++ b/Master/texmf-dist/tex/latex/base/fonttext.ltx @@ -37,7 +37,7 @@ %% %%% From File: fontdef.dtx \ProvidesFile{fonttext.ltx} - [2016/12/03 v3.0a LaTeX Kernel + [2018/09/24 v3.0b LaTeX Kernel (Text font setup)] \typeout{=== Don't modify this file, use a .cfg file instead ===^^J} @@ -80,7 +80,8 @@ \newcommand\ttdefault{cmtt} \else \newcommand\encodingdefault{TU} -\newcommand\rmdefault{lmr}\fontfamily{\rmdefault} +\newcommand\rmdefault{lmr} +\fontfamily{\rmdefault} \newcommand\sfdefault{lmss} \newcommand\ttdefault{lmtt} \fi diff --git a/Master/texmf-dist/tex/latex/base/inputenc.sty b/Master/texmf-dist/tex/latex/base/inputenc.sty index 698a9f31cf0..9a9e87ae3c0 100644 --- a/Master/texmf-dist/tex/latex/base/inputenc.sty +++ b/Master/texmf-dist/tex/latex/base/inputenc.sty @@ -45,7 +45,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{inputenc} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \def\DeclareInputMath#1{% \@inpenc@test \bgroup diff --git a/Master/texmf-dist/tex/latex/base/latex.ltx b/Master/texmf-dist/tex/latex/base/latex.ltx index b3ae3eab45d..23ef93d9f88 100644 --- a/Master/texmf-dist/tex/latex/base/latex.ltx +++ b/Master/texmf-dist/tex/latex/base/latex.ltx @@ -700,8 +700,8 @@ %%% From File: ltvers.dtx \def\fmtname{LaTeX2e} \edef\fmtversion - {2018-04-01} -\def\patch@level{5} + {2018-12-01} +\def\patch@level{0} \iffalse \def\reserved@a#1/#2/#3\@nil{% \count@\year @@ -859,7 +859,7 @@ {#4}}} \long\def\@testopt#1#2{% \kernel@ifnextchar[{#1}{#1[{#2}]}} -\def\@protected@testopt#1{%% +\def\@protected@testopt#1{% \ifx\protect\@typeset@protect \expandafter\@testopt \else @@ -886,7 +886,7 @@ \def\renew@command#1{% \begingroup \escapechar\m@ne\xdef\@gtempa{{\string#1}}\endgroup \expandafter\@ifundefined\@gtempa - {\@latex@error{\noexpand#1undefined}\@ehc}% + {\@latex@error{Command \string#1 undefined}\@ehc}% \relax \let\@ifdefinable\@rc@ifdefinable \new@command#1} @@ -1488,6 +1488,10 @@ Type H <return> for immediate help.}% \fi \ignorespaces \fi + \else + \ifvmode + \if@nobreak\nobreak\else\if@noskipsec\nobreak\fi\fi + \fi \fi}% \def\@Esphack{% \relax @@ -1623,9 +1627,10 @@ Type H <return> for immediate help.}% \newskip\fill \fill = 0pt plus 1fill \def\stretch#1{\z@ \@plus #1fill\relax} -\def\thinspace{\kern .16667em } -\def\negthinspace{\kern-.16667em } -\def\enspace{\kern.5em } +\def\thinspace{\leavevmode@ifvmode\kern .16667em } +\def\negthinspace{\leavevmode@ifvmode\kern-.16667em } +\def\enspace{\leavevmode@ifvmode\kern.5em } +\protected\def\leavevmode@ifvmode{\ifvmode\expandafter\indent\fi} \def\enskip{\hskip.5em\relax} \def\quad{\hskip1em\relax} \def\qquad{\hskip2em\relax} @@ -4243,9 +4248,23 @@ Type H <return> for immediate help.}% \def\@testdef #1#2#3{% \def\reserved@a{#3}\expandafter \ifx \csname #1@#2\endcsname \reserved@a \else \@tempswatrue \fi} +\protected\def\protected@file@percent{} + +\begingroup +\catcode`\%=12 +\catcode`\^^A=9 +\long\gdef\add@percent@to@temptokena + #1\protected@file@percent#2\add@percent@to@temptokena + {\ifx!#2!\@temptokena\expandafter{#1}\else + \@temptokena\expandafter{#1%^^A + }\fi} +\endgroup \long\def\@writefile#1#2{% \@ifundefined{tf@#1}\relax - {\@temptokena{#2}% + {% + \add@percent@to@temptokena + \@empty#2\protected@file@percent + \add@percent@to@temptokena \immediate\write\csname tf@#1\endcsname{\the\@temptokena}% }% } @@ -4321,7 +4340,38 @@ Type H <return> for immediate help.}% \def\verbatim{\@verbatim \frenchspacing\@vobeyspaces \@xverbatim} \def\endverbatim{\if@newlist \leavevmode\fi\endtrivlist} \def\verbatim@font{\normalfont\ttfamily} -\@namedef{verbatim*}{\@verbatim\@sxverbatim} +\DeclareRobustCommand\asciispace{\char 32 } +\ifx\Umathcode\@undefined + \let\verbvisiblespace\asciispace % Pdftex version +\else + \DeclareRobustCommand\verbvisiblespace + {\leavevmode{\usefont{OT1}{cmtt}{m}{n}\asciispace}} % xetex/luatex version +\fi + +\def\@setupverbvisiblespace{% + \ifx\verbvisiblespace\asciispace + \let\@xobeysp\asciispace + \else + \setbox\z@\hbox{x}% + \setbox\@verbvisiblespacebox\hbox to\wd\z@{\hss\verbvisiblespace\hss}% + \def\@xobeysp{\leavevmode\copy\@verbvisiblespacebox}% + \fi +} + +\newbox\@verbvisiblespacebox +\def\@sverb#1{% + \catcode`#1\active + \lccode`\~`#1% + \gdef\verb@balance@group{\verb@egroup + \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% + \aftergroup\verb@balance@group + \lowercase{\let~\verb@egroup}% + \ifnum\catcode`\ =\active + \else \@setupverbvisiblespace \@vobeyspaces \fi +} +\@namedef{verbatim*}{\@verbatim + \@setupverbvisiblespace + \frenchspacing\@vobeyspaces\@sxverbatim} \expandafter\let\csname endverbatim*\endcsname =\endverbatim \def\@makeother#1{\catcode`#112\relax} \let\verb@balance@group\@empty @@ -4338,13 +4388,6 @@ Type H <return> for immediate help.}% \verbatim@font\@noligs \language\l@nohyphenation \@ifstar\@sverb\@verb} -\def\@sverb#1{% - \catcode`#1\active - \lccode`\~`#1% - \gdef\verb@balance@group{\verb@egroup - \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% - \aftergroup\verb@balance@group - \lowercase{\let~\verb@egroup}}% \def\@verb{\@vobeyspaces \frenchspacing \@sverb} \def\verbatim@nolig@list{\do\`\do\<\do\>\do\,\do\'\do\-} \def\do@noligs#1{% @@ -4445,7 +4488,8 @@ Type H <return> for immediate help.}% \def\finph@nt{% \setbox\tw@\null \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi - \ifh@ \wd\tw@\wd\z@\fi \box\tw@} + \ifh@ \wd\tw@\wd\z@\fi + \leavevmode@ifvmode\box\tw@} \def\mathstrut{\vphantom(} \def\smash{% \relax % \relax, in case this comes first in \halign @@ -4458,7 +4502,7 @@ Type H <return> for immediate help.}% \setbox\z@\hbox{\color@begingroup#1\color@endgroup}\finsm@sh} \def\mathsm@sh#1#2{% \setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh} -\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@} +\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \leavevmode@ifvmode\box\z@} \def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}} \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\right.} @@ -6057,7 +6101,8 @@ Type H <return> for immediate help.}% \@nobreakfalse \endgroup} \def\addcontentsline#1#2#3{% - \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} + \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}% + \protected@file@percent}} \long\def\addtocontents#1#2{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% @@ -6077,9 +6122,12 @@ Type H <return> for immediate help.}% \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill \nobreak - \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% + \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5% + \kern-\p@\kern\p@}% \par}% \fi} + +\DeclareRobustCommand\noprotrusion{\leavevmode\kern-\p@\kern\p@} \def\numberline#1{\hb@xt@\@tempdima{#1\hfil}} %%% From File: ltfloat.dtx \message{floats,} @@ -6456,7 +6504,7 @@ Type H <return> for immediate help.}% \let\bibstyle=\@gobble \def\bibliography#1{% \if@filesw - \immediate\write\@auxout{\string\bibdata{#1}}% + \immediate\write\@auxout{\string\bibdata{\zap@space#1 \@empty}}% \fi \@input@{\jobname.bbl}} \def\bibliographystyle#1{% @@ -7065,7 +7113,7 @@ Type H <return> for immediate help.}% \dblfigrule \fi \vskip \dbltextfloatsep - \box\@outputbox + \unvbox\@outputbox }% \fi } @@ -8110,10 +8158,10 @@ Type H <return> for immediate help.}% ^^M}% \catcode`\^^L\active% \let\L\@undefined% - \def^^L{\@ifundefined L^^J^^J^^J}% + \def^^L{\expandafter\ifx\csname L\endcsname\relax\fi ^^J^^J}% \catcode`\^^I\active% \let\I\@undefined% - \def^^I{\@ifundefined I\space\space}% + \def^^I{\expandafter\ifx\csname I\endcsname\relax\fi\space}% \catcode`\^^M\active% \edef^^M##1^^M{% \noexpand\reserved@b##1\E\E\relax}}% diff --git a/Master/texmf-dist/tex/latex/base/latex209.def b/Master/texmf-dist/tex/latex/base/latex209.def index 03be3b3e753..7398e12a3dc 100644 --- a/Master/texmf-dist/tex/latex/base/latex209.def +++ b/Master/texmf-dist/tex/latex/base/latex209.def @@ -44,7 +44,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{latex209.def}[2015/02/22 v0.53 Standard LaTeX file] +\ProvidesFile{latex209.def}[2018/08/11 v0.54 Standard LaTeX file] \if@compatibility \expandafter\endinput \else @@ -117,6 +117,7 @@ \def\@latex@e@commands{% \usepackage\listfiles\ensuremath\LaTeXe\lrbox \th\dh\ng\dj\TH\DH\NG\DJ\k\r\SS + \guillemetleft\guillemetright \guillemotleft\guillemotright\guilsinglleft \guilsinglright\quotedblbase\quotesinglbase } diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty index 29cb5c7df6c..caab7ac2d39 100644 --- a/Master/texmf-dist/tex/latex/base/latexrelease.sty +++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty @@ -35,6 +35,7 @@ %% ltplain.dtx (with options: `latexrelease') %% ltfssdcl.dtx (with options: `latexrelease') %% ltfssini.dtx (with options: `latexrelease') +%% fontdef.dtx (with options: `latexrelease') %% ltfntcmd.dtx (with options: `latexrelease') %% ltfssbas.dtx (with options: `latexrelease') %% ltfsstrc.dtx (with options: `latexrelease') @@ -283,7 +284,7 @@ } %%% From File: ltvers.dtx \edef\latexreleaseversion - {2018-04-01} + {2018-12-01} \newif\if@includeinrelease \@includeinreleasefalse \def\IncludeInRelease#1{% @@ -626,6 +627,29 @@ of this package available from CTAN} \EndIncludeInRelease %%% From File: lttab.dtx %%% From File: ltmath.dtx +\IncludeInRelease{2018/12/01}% + {\finph@nt}{Start LR-mode}% +\def\finph@nt{% + \setbox\tw@\null + \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi + \ifh@ \wd\tw@\wd\z@\fi + \leavevmode@ifvmode\box\tw@} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\finph@nt}{Start LR-mode}% +\def\finph@nt{% + \setbox\tw@\null + \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi + \ifh@ \wd\tw@\wd\z@\fi \box\tw@} +\EndIncludeInRelease +\IncludeInRelease{2018/12/01}% + {\finsm@sh}{Start LR-mode}% +\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \leavevmode@ifvmode\box\z@} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\finsm@sh}{Start LR-mode}% +\def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@} +\EndIncludeInRelease \IncludeInRelease{2015/01/01}{\(}{Make \( robust}% \DeclareRobustCommand\({% \relax\ifmmode\@badmath\else$\fi}% @@ -780,6 +804,62 @@ of this package available from CTAN} \EndIncludeInRelease %%% From File: ltthm.dtx %%% From File: ltsect.dtx +\IncludeInRelease{2018/12/01}% + {\addcontentsline}{Mask line endings}% +\def\addcontentsline#1#2#3{% + \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}% + \protected@file@percent}} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\addcontentsline}{Mask line endings}% +\def\addcontentsline#1#2#3{% + \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} +\EndIncludeInRelease +\IncludeInRelease{2018/12/01}% + {\@dottedtocline}{Prevent protrusion}% +\def\@dottedtocline#1#2#3#4#5{% + \ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip + {#4}\nobreak + \leaders\hbox{$\m@th + \mkern \@dotsep mu\hbox{.}\mkern \@dotsep + mu$}\hfill + \nobreak + \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5% + \kern-\p@\kern\p@}% + \par}% + \fi} + +\DeclareRobustCommand\noprotrusion{\leavevmode\kern-\p@\kern\p@} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\@dottedtocline}{Prevent protrusion}% +\def\@dottedtocline#1#2#3#4#5{% + \ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip + {#4}\nobreak + \leaders\hbox{$\m@th + \mkern \@dotsep mu\hbox{.}\mkern \@dotsep + mu$}\hfill + \nobreak + \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% + \par}% + \fi} + +\let\noprotrusion\@undefined +\EndIncludeInRelease %%% From File: ltfiles.dtx \IncludeInRelease{2017/04/15}% {\document}{Save language for hyphenation}% @@ -2164,7 +2244,7 @@ of this package available from CTAN} \reserved@a} \EndIncludeInRelease \IncludeInRelease{2017/01/01}% - {\@if@pti@ns}{Spaces in \ExecuteOptions}% + {\ExecuteOptions}{Spaces in \ExecuteOptions}% \def\ExecuteOptions#1{% \edef\@fortmp{\zap@space#1 \@empty}% \def\reserved@a##1\@nil{% @@ -2174,7 +2254,7 @@ of this package available from CTAN} \expandafter\reserved@a\CurrentOption\@nil} \EndIncludeInRelease \IncludeInRelease{0000/00/00}% - {\@if@pti@ns}{Spaces in \ExecuteOptions}% + {\ExecuteOptions}{Spaces in \ExecuteOptions}% \def\ExecuteOptions#1{% \def\reserved@a##1\@nil{% \@for\CurrentOption:=#1\do @@ -2238,8 +2318,26 @@ of this package available from CTAN} \reserved@a} \EndIncludeInRelease %%% From File: ltspace.dtx +\IncludeInRelease{2018/10/10}% + {\@esphack}{hyphenation and nobreak after space hack}% +\def\@esphack{% + \relax + \ifhmode + \spacefactor\@savsf + \ifdim\@savsk>\z@ + \ifdim\lastskip=\z@ + \nobreak \hskip\z@skip + \fi + \ignorespaces + \fi + \else + \ifvmode + \if@nobreak\nobreak\else\if@noskipsec\nobreak\fi\fi + \fi + \fi}% +\EndIncludeInRelease \IncludeInRelease{2015/10/01}% - {\@esphack}{hyphenation after space hack}% + {\@esphack}{hyphenation and nobreak after space hack}% \def\@esphack{% \relax \ifhmode @@ -2253,7 +2351,7 @@ of this package available from CTAN} \fi}% \EndIncludeInRelease \IncludeInRelease{2015/01/01}% - {\@esphack}{hyphenation after space hack}% + {\@esphack}{hyphenation and nobreak after space hack}% \def\@esphack{% \relax \ifhmode @@ -2265,7 +2363,7 @@ of this package available from CTAN} \fi}% \EndIncludeInRelease \IncludeInRelease{0000/00/00}% - {\@esphack}{hyphenation after space hack}% + {\@esphack}{hyphenation and nobreak after space hack}% \def\@esphack{% \relax \ifhmode @@ -2364,6 +2462,20 @@ of this package available from CTAN} {\@}{Space after \@}% \def\@{\spacefactor\@m}% \EndIncludeInRelease +\IncludeInRelease{2018/12/01}% + {\thinspace}{Start LR-mode}% +\def\thinspace{\leavevmode@ifvmode\kern .16667em } +\def\negthinspace{\leavevmode@ifvmode\kern-.16667em } +\def\enspace{\leavevmode@ifvmode\kern.5em } +\protected\def\leavevmode@ifvmode{\ifvmode\expandafter\indent\fi} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\thinspace}{Start LR-mode}% +\def\thinspace{\kern .16667em } +\def\negthinspace{\kern-.16667em } +\def\enspace{\kern.5em } +\let\leavevmode@ifvmode\@undefined +\EndIncludeInRelease %%% From File: ltlogos.dtx %%% From File: ltplain.dtx \IncludeInRelease{2015/01/01}% @@ -2809,6 +2921,53 @@ of this package available from CTAN} \upshape \else \itshape \fi}% \let\eminnershape\@undefined \EndIncludeInRelease +%%% From File: fontdef.dtx +\IncludeInRelease{2017/01/01}% + {\encodingdefault}{TU encoding default}% +\ifx\Umathchar\@undefined +\renewcommand\encodingdefault{OT1} +\fontencoding{\encodingdefault} +\renewcommand\rmdefault{cmr} +\fontfamily{\rmdefault} +\renewcommand\sfdefault{cmss} +\renewcommand\ttdefault{cmtt} +\else +\renewcommand\encodingdefault{TU} +%done in everyjob\fontencoding{\encodingdefault} +\renewcommand\rmdefault{lmr} +\fontfamily{\rmdefault} +\renewcommand\sfdefault{lmss} +\renewcommand\ttdefault{lmtt} +\fi +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\encodingdefault}{TU encoding default}% +\fontencoding{OT1} +\renewcommand\encodingdefault{OT1} +\fontencoding{\encodingdefault} +\renewcommand\rmdefault{cmr} +\fontfamily{\rmdefault} +\renewcommand\sfdefault{cmss} +\renewcommand\ttdefault{cmtt} +\EndIncludeInRelease +\IncludeInRelease{2018/12/01}% + {\Big}{Start LR-mode}% +\def\big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +\def\Big#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +\def\bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +\def\Bigg#1{\leavevmode@ifvmode + {\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\Big}{Start LR-mode}% +\def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}} +\def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}} +\def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}} +\def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}} +\EndIncludeInRelease %%% From File: ltfntcmd.dtx %% %%% From File: ltfssbas.dtx @@ -3140,6 +3299,40 @@ of this package available from CTAN} %%% From File: ltpageno.dtx %%% From File: ltxref.dtx %%% From File: ltmiscen.dtx +\IncludeInRelease{2018/12/01}% + {\protected@file@percent}{Mask line endings}% +\protected\def\protected@file@percent{} + +\begingroup +\catcode`\%=12 +\catcode`\^^A=9 +\long\gdef\add@percent@to@temptokena + #1\protected@file@percent#2\add@percent@to@temptokena + {\ifx!#2!\@temptokena\expandafter{#1}\else + \@temptokena\expandafter{#1%^^A + }\fi} +\endgroup +\long\def\@writefile#1#2{% + \@ifundefined{tf@#1}\relax + {% + \add@percent@to@temptokena + \@empty#2\protected@file@percent + \add@percent@to@temptokena + \immediate\write\csname tf@#1\endcsname{\the\@temptokena}% + }% +} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\protected@file@percent}{Mask line endings}% +\let\protected@file@percent\@undefined +\let\add@percent@to@temptokena\@undefined +\long\def\@writefile#1#2{% + \@ifundefined{tf@#1}\relax + {\@temptokena{#2}% + \immediate\write\csname tf@#1\endcsname{\the\@temptokena}% + }% +} +\EndIncludeInRelease \IncludeInRelease{2017-04-15}{\@verbatim}% {Disable hyphenation in verbatim}% \def\@verbatim{\trivlist \item\relax @@ -3182,6 +3375,61 @@ of this package available from CTAN} \everypar \expandafter{\the\everypar \unpenalty}% } \EndIncludeInRelease +\IncludeInRelease{2018/12/01}% + {\verbvisiblespace}{Setup visible space for verb}% +\DeclareRobustCommand\asciispace{\char 32 } +\ifx\Umathcode\@undefined + \let\verbvisiblespace\asciispace % Pdftex version +\else + \DeclareRobustCommand\verbvisiblespace + {\leavevmode{\usefont{OT1}{cmtt}{m}{n}\asciispace}} % xetex/luatex version +\fi + +\def\@setupverbvisiblespace{% + \ifx\verbvisiblespace\asciispace + \let\@xobeysp\asciispace + \else + \setbox\z@\hbox{x}% + \setbox\@verbvisiblespacebox\hbox to\wd\z@{\hss\verbvisiblespace\hss}% + \def\@xobeysp{\leavevmode\copy\@verbvisiblespacebox}% + \fi +} + +\newbox\@verbvisiblespacebox +\def\@sverb#1{% + \catcode`#1\active + \lccode`\~`#1% + \gdef\verb@balance@group{\verb@egroup + \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% + \aftergroup\verb@balance@group + \lowercase{\let~\verb@egroup}% + \ifnum\catcode`\ =\active + \else \@setupverbvisiblespace \@vobeyspaces \fi +} +\@namedef{verbatim*}{\@verbatim + \@setupverbvisiblespace + \frenchspacing\@vobeyspaces\@sxverbatim} +\expandafter\let\csname endverbatim*\endcsname =\endverbatim +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\verbvisiblespace}{Setup visible space for verb}% + +\@namedef{verbatim*}{\@verbatim\@sxverbatim} + +\let\asciispace \@undefined +\let\verbvisiblespace \@undefined +\let\@setupverbvisiblespace\@undefined +\let\@verbvisiblespacebox \@undefined + +\def\@sverb#1{% + \catcode`#1\active + \lccode`\~`#1% + \gdef\verb@balance@group{\verb@egroup + \@latex@error{\noexpand\verb illegal in command argument}\@ehc}% + \aftergroup\verb@balance@group + \lowercase{\let~\verb@egroup}}% + +\EndIncludeInRelease \IncludeInRelease{2017-04-15}{\verb}% {Disable hyphenation in verb}% \def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi @@ -3524,6 +3772,14 @@ of this package available from CTAN} \global\XeTeXinterchartoks 3 3 = {\nobreak\xtxHanGlue} \fi \EndIncludeInRelease +\IncludeInRelease{2017/04/15}% + {\document@default@language}{Save language for hyphenation}% +\let\document@default@language\m@ne +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\document@default@language}{Save language for hyphenation}% +\let\document@default@language\@undefined +\EndIncludeInRelease \IncludeInRelease{2018/04/01}% {\UTFviii@invalid}{UTF-8 default}% \ifnum0% diff --git a/Master/texmf-dist/tex/latex/base/latin1.def b/Master/texmf-dist/tex/latex/base/latin1.def index b0c8353044a..241ddbe61ec 100644 --- a/Master/texmf-dist/tex/latex/base/latin1.def +++ b/Master/texmf-dist/tex/latex/base/latin1.def @@ -44,7 +44,7 @@ \ProvidesFile{latin1.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -85,8 +85,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} diff --git a/Master/texmf-dist/tex/latex/base/latin10.def b/Master/texmf-dist/tex/latex/base/latin10.def index a15b9701465..908407fb8d3 100644 --- a/Master/texmf-dist/tex/latex/base/latin10.def +++ b/Master/texmf-dist/tex/latex/base/latin10.def @@ -44,7 +44,7 @@ \ProvidesFile{latin10.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\texteuro} {\TextSymbolUnavailable\texteuro} @@ -65,7 +65,7 @@ \DeclareInputText{168}{\v s} \DeclareInputText{169}{\textcopyright} \DeclareInputText{170}{\textcommabelow S} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputText{172}{\@tabacckludge'Z} \DeclareInputText{173}{\-} \DeclareInputText{174}{\@tabacckludge'z} @@ -81,7 +81,7 @@ \DeclareInputText{184}{\v z} \DeclareInputText{185}{\v c} \DeclareInputText{186}{\textcommabelow s} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\OE} \DeclareInputText{189}{\oe} \DeclareInputText{190}{\"Y} diff --git a/Master/texmf-dist/tex/latex/base/latin2.def b/Master/texmf-dist/tex/latex/base/latin2.def index 5141ecc4914..3a226f1ade2 100644 --- a/Master/texmf-dist/tex/latex/base/latin2.def +++ b/Master/texmf-dist/tex/latex/base/latin2.def @@ -44,7 +44,7 @@ \ProvidesFile{latin2.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textcurrency} {\TextSymbolUnavailable\textcurrency} diff --git a/Master/texmf-dist/tex/latex/base/latin3.def b/Master/texmf-dist/tex/latex/base/latin3.def index 45572476eb6..84319b1e4b9 100644 --- a/Master/texmf-dist/tex/latex/base/latin3.def +++ b/Master/texmf-dist/tex/latex/base/latin3.def @@ -44,7 +44,7 @@ \ProvidesFile{latin3.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textcurrency} diff --git a/Master/texmf-dist/tex/latex/base/latin4.def b/Master/texmf-dist/tex/latex/base/latin4.def index a4ed51b596b..94c0b7c343c 100644 --- a/Master/texmf-dist/tex/latex/base/latin4.def +++ b/Master/texmf-dist/tex/latex/base/latin4.def @@ -44,7 +44,7 @@ \ProvidesFile{latin4.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textcurrency} {\TextSymbolUnavailable\textcurrency} diff --git a/Master/texmf-dist/tex/latex/base/latin5.def b/Master/texmf-dist/tex/latex/base/latin5.def index d168b4994ce..586d72dd8b8 100644 --- a/Master/texmf-dist/tex/latex/base/latin5.def +++ b/Master/texmf-dist/tex/latex/base/latin5.def @@ -44,7 +44,7 @@ \ProvidesFile{latin5.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -82,8 +82,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{188}{\textonequarter} \DeclareInputText{173}{\-} diff --git a/Master/texmf-dist/tex/latex/base/latin9.def b/Master/texmf-dist/tex/latex/base/latin9.def index a14c6bba13f..3254f49cedc 100644 --- a/Master/texmf-dist/tex/latex/base/latin9.def +++ b/Master/texmf-dist/tex/latex/base/latin9.def @@ -44,7 +44,7 @@ \ProvidesFile{latin9.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textcent} {\TextSymbolUnavailable\textcent} @@ -80,8 +80,8 @@ \DeclareInputMath{185}{\mathonesuperior} \DeclareInputText{170}{\textordfeminine} \DeclareInputText{186}{\textordmasculine} -\DeclareInputText{171}{\guillemotleft} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{171}{\guillemetleft} +\DeclareInputText{187}{\guillemetright} \DeclareInputMath{172}{\lnot} \DeclareInputText{173}{\-} \DeclareInputText{174}{\textregistered} diff --git a/Master/texmf-dist/tex/latex/base/lcyenc.dfu b/Master/texmf-dist/tex/latex/base/lcyenc.dfu index 7d2d350816b..f6830db48db 100644 --- a/Master/texmf-dist/tex/latex/base/lcyenc.dfu +++ b/Master/texmf-dist/tex/latex/base/lcyenc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{lcyenc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A4}{\textcurrency} \DeclareUnicodeCharacter{00AB}{\guillemotleft} \DeclareUnicodeCharacter{00BB}{\guillemotright} @@ -54,6 +54,7 @@ \DeclareUnicodeCharacter{0131}{\i} \DeclareUnicodeCharacter{0152}{\OE} \DeclareUnicodeCharacter{0153}{\oe} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} \DeclareUnicodeCharacter{0403}{\@tabacckludge'\CYRG} diff --git a/Master/texmf-dist/tex/latex/base/leqno.clo b/Master/texmf-dist/tex/latex/base/leqno.clo index ecc3650784d..fe9e938cf8e 100644 --- a/Master/texmf-dist/tex/latex/base/leqno.clo +++ b/Master/texmf-dist/tex/latex/base/leqno.clo @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltmath.dtx \ProvidesFile{leqno.clo} - [2016/12/29 v1.2a Standard LaTeX option + [2016/12/29 v1.2b Standard LaTeX option (left equation numbers)] \renewcommand\@eqnnum{\hb@xt@.01\p@{}% \rlap{\normalfont\normalcolor diff --git a/Master/texmf-dist/tex/latex/base/ltluatex.lua b/Master/texmf-dist/tex/latex/base/ltluatex.lua index 1f88541c5f8..14922f0a540 100644 --- a/Master/texmf-dist/tex/latex/base/ltluatex.lua +++ b/Master/texmf-dist/tex/latex/base/ltluatex.lua @@ -226,6 +226,19 @@ local function new_chunkname(name) return chunkname_count end luatexbase.new_chunkname = new_chunkname +local luafunction_count_name = + luafunction_count_name or "e@alloc@luafunction@count" +local function new_luafunction(name) + tex_setcount("global", luafunction_count_name, + tex_count[luafunction_count_name] + 1) + if tex_count[luafunction_count_name] > 65534 then + luatexbase_error("No room for a new luafunction register") + end + luatexbase_log("Lua function " .. (name or "") .. " = " .. + tex_count[luafunction_count_name]) + return tex_count[luafunction_count_name] +end +luatexbase.new_luafunction = new_luafunction local callbacklist = callbacklist or { } local list, data, exclusive, simple = 1, 2, 3, 4 local types = { @@ -269,7 +282,7 @@ local callbacktypes = callbacktypes or { build_page_insert = exclusive, pre_linebreak_filter = list, linebreak_filter = list, - append_to_vlist_filter = list, + append_to_vlist_filter = exclusive, post_linebreak_filter = list, hpack_filter = list, vpack_filter = list, diff --git a/Master/texmf-dist/tex/latex/base/ltluatex.tex b/Master/texmf-dist/tex/latex/base/ltluatex.tex index eda191ab532..ab167e40ade 100644 --- a/Master/texmf-dist/tex/latex/base/ltluatex.tex +++ b/Master/texmf-dist/tex/latex/base/ltluatex.tex @@ -47,7 +47,7 @@ #1#2[#3]{\endgroup\immediate\write-1{File: #1 #3}} \fi \ProvidesFile{ltluatex.tex} -[2018/05/02 v1.1g +[2018/10/21 v1.1i LuaTeX support for plain TeX (core) ] \edef\etatcatcode{\the\catcode`\@} diff --git a/Master/texmf-dist/tex/latex/base/ly1enc.dfu b/Master/texmf-dist/tex/latex/base/ly1enc.dfu index f7d84447859..510370239bb 100644 --- a/Master/texmf-dist/tex/latex/base/ly1enc.dfu +++ b/Master/texmf-dist/tex/latex/base/ly1enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{ly1enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A0}{\nobreakspace} \DeclareUnicodeCharacter{00A1}{\textexclamdown} \DeclareUnicodeCharacter{00A2}{\textcent} @@ -146,6 +146,7 @@ \DeclareUnicodeCharacter{0219}{\textcommabelow s} \DeclareUnicodeCharacter{021A}{\textcommabelow T} \DeclareUnicodeCharacter{021B}{\textcommabelow t} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{02C6}{\textasciicircum} \DeclareUnicodeCharacter{02DC}{\textasciitilde} \DeclareUnicodeCharacter{2013}{\textendash} diff --git a/Master/texmf-dist/tex/latex/base/macce.def b/Master/texmf-dist/tex/latex/base/macce.def index 0d47ccdef81..cd51322aedb 100644 --- a/Master/texmf-dist/tex/latex/base/macce.def +++ b/Master/texmf-dist/tex/latex/base/macce.def @@ -44,7 +44,7 @@ \ProvidesFile{macce.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textdiv} {\TextSymbolUnavailable\textdiv} @@ -81,8 +81,8 @@ \DeclareInputText{169}{\copyright} \DeclareInputText{184}{\l} \DeclareInputText{196}{\@tabacckludge'n} -\DeclareInputText{199}{\guillemotleft} -\DeclareInputText{200}{\guillemotright} +\DeclareInputText{199}{\guillemetleft} +\DeclareInputText{200}{\guillemetright} \DeclareInputText{201}{\dots} \DeclareInputText{202}{\nobreakspace} \DeclareInputText{208}{\textendash} diff --git a/Master/texmf-dist/tex/latex/base/next.def b/Master/texmf-dist/tex/latex/base/next.def index 3198e00a4fe..a9c3443855c 100644 --- a/Master/texmf-dist/tex/latex/base/next.def +++ b/Master/texmf-dist/tex/latex/base/next.def @@ -44,7 +44,7 @@ \ProvidesFile{next.def} - [2018/04/06 v1.3b Input encoding file] + [2018/08/11 v1.3c Input encoding file] \ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} \ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} \ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} @@ -104,7 +104,7 @@ \DeclareInputText{168}{\textcurrency} \DeclareInputText{169}{\textquoteright} \DeclareInputText{170}{\textquotedblleft} -\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{171}{\guillemetleft} \DeclareInputText{172}{\guilsinglleft} \DeclareInputText{173}{\guilsinglright} \DeclareInputText{174}{fi} @@ -120,7 +120,7 @@ \DeclareInputText{184}{\quotesinglbase} \DeclareInputText{185}{\quotedblbase} \DeclareInputText{186}{\textquotedblright} -\DeclareInputText{187}{\guillemotright} +\DeclareInputText{187}{\guillemetright} \DeclareInputText{188}{\dots} \DeclareInputText{189}{\textperthousand} \DeclareInputMath{190}{\lnot} diff --git a/Master/texmf-dist/tex/latex/base/omlenc.def b/Master/texmf-dist/tex/latex/base/omlenc.def index 048ebfe472d..be81a80cc57 100644 --- a/Master/texmf-dist/tex/latex/base/omlenc.def +++ b/Master/texmf-dist/tex/latex/base/omlenc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{omlenc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \DeclareFontEncoding{OML}{}{} \DeclareTextSymbol{\textless}{OML}{`\<} diff --git a/Master/texmf-dist/tex/latex/base/omsenc.def b/Master/texmf-dist/tex/latex/base/omsenc.def index 18d8ed28d6a..8dbc1dc38c3 100644 --- a/Master/texmf-dist/tex/latex/base/omsenc.def +++ b/Master/texmf-dist/tex/latex/base/omsenc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{omsenc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \DeclareFontEncoding{OMS}{}{} \DeclareTextSymbol{\textasteriskcentered}{OMS}{3} % "03 diff --git a/Master/texmf-dist/tex/latex/base/omsenc.dfu b/Master/texmf-dist/tex/latex/base/omsenc.dfu index dd57e0a39f6..5f158ca4569 100644 --- a/Master/texmf-dist/tex/latex/base/omsenc.dfu +++ b/Master/texmf-dist/tex/latex/base/omsenc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{omsenc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A7}{\textsection} \DeclareUnicodeCharacter{00B6}{\textparagraph} \DeclareUnicodeCharacter{00B7}{\textperiodcentered} diff --git a/Master/texmf-dist/tex/latex/base/ot1enc.def b/Master/texmf-dist/tex/latex/base/ot1enc.def index ffb5d14912b..7456219b62e 100644 --- a/Master/texmf-dist/tex/latex/base/ot1enc.def +++ b/Master/texmf-dist/tex/latex/base/ot1enc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{ot1enc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \DeclareFontEncoding{OT1}{}{} \DeclareTextAccent{\"}{OT1}{127} diff --git a/Master/texmf-dist/tex/latex/base/ot1enc.dfu b/Master/texmf-dist/tex/latex/base/ot1enc.dfu index 323aefb21a2..e7753b1462d 100644 --- a/Master/texmf-dist/tex/latex/base/ot1enc.dfu +++ b/Master/texmf-dist/tex/latex/base/ot1enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{ot1enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A0}{\nobreakspace} \DeclareUnicodeCharacter{00A1}{\textexclamdown} \DeclareUnicodeCharacter{00A3}{\textsterling} @@ -72,6 +72,7 @@ \DeclareUnicodeCharacter{0219}{\textcommabelow s} \DeclareUnicodeCharacter{021A}{\textcommabelow T} \DeclareUnicodeCharacter{021B}{\textcommabelow t} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{2013}{\textendash} \DeclareUnicodeCharacter{2014}{\textemdash} \DeclareUnicodeCharacter{2018}{\textquoteleft} diff --git a/Master/texmf-dist/tex/latex/base/ot2enc.dfu b/Master/texmf-dist/tex/latex/base/ot2enc.dfu index 563380eacec..fb5870aacd5 100644 --- a/Master/texmf-dist/tex/latex/base/ot2enc.dfu +++ b/Master/texmf-dist/tex/latex/base/ot2enc.dfu @@ -42,10 +42,11 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{ot2enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00AB}{\guillemotleft} \DeclareUnicodeCharacter{00BB}{\guillemotright} \DeclareUnicodeCharacter{0131}{\i} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} \DeclareUnicodeCharacter{0402}{\CYRDJE} diff --git a/Master/texmf-dist/tex/latex/base/ot4enc.def b/Master/texmf-dist/tex/latex/base/ot4enc.def index 10f0892733a..d46d737c569 100644 --- a/Master/texmf-dist/tex/latex/base/ot4enc.def +++ b/Master/texmf-dist/tex/latex/base/ot4enc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{ot4enc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \DeclareFontEncoding{OT4}{}{} \DeclareFontSubstitution{OT4}{cmr}{m}{n} @@ -74,6 +74,8 @@ \DeclareTextSymbol{\O}{OT4}{31} \DeclareTextSymbol{\L}{OT4}{138} \DeclareTextSymbol{\ae}{OT4}{26} +\DeclareTextSymbol{\guillemetleft}{OT4}{174} +\DeclareTextSymbol{\guillemetright}{OT4}{175} \DeclareTextSymbol{\guillemotleft}{OT4}{174} \DeclareTextSymbol{\guillemotright}{OT4}{175} \DeclareTextSymbol{\i}{OT4}{16} diff --git a/Master/texmf-dist/tex/latex/base/preload.cfg b/Master/texmf-dist/tex/latex/base/preload.cfg index b8872a6fa57..44b5dfc1aa2 100644 --- a/Master/texmf-dist/tex/latex/base/preload.cfg +++ b/Master/texmf-dist/tex/latex/base/preload.cfg @@ -37,7 +37,7 @@ %% %%% From File: fontdef.dtx \ProvidesFile{preload.cfg} - [2016/12/03 v3.0a LaTeX Kernel + [2018/09/24 v3.0b LaTeX Kernel (Uncustomised preload font setup)] %% diff --git a/Master/texmf-dist/tex/latex/base/report.cls b/Master/texmf-dist/tex/latex/base/report.cls index d079d1bff6b..15dafdf81cb 100644 --- a/Master/texmf-dist/tex/latex/base/report.cls +++ b/Master/texmf-dist/tex/latex/base/report.cls @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{report} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX document class] \newcommand\@ptsize{} \newif\if@restonecol @@ -600,7 +600,9 @@ \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\leavevmode - \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \large \bfseries #1\hfil + \hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}}\par \nobreak \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}}% @@ -617,7 +619,9 @@ \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + #1\nobreak\hfil + \nobreak\hb@xt@\@pnumwidth{\hss #2% + \kern-\p@\kern\p@}\par \penalty\@highpenalty \endgroup \fi} diff --git a/Master/texmf-dist/tex/latex/base/shortvrb.sty b/Master/texmf-dist/tex/latex/base/shortvrb.sty index f5be53d8252..58de64b1f59 100644 --- a/Master/texmf-dist/tex/latex/base/shortvrb.sty +++ b/Master/texmf-dist/tex/latex/base/shortvrb.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{shortvrb} - [2018/02/01 v2.1h + [2018/09/25 v2.1i Standard LaTeX documentation package (FMi)] %% %% Package `doc' to use with LaTeX 2e diff --git a/Master/texmf-dist/tex/latex/base/size10.clo b/Master/texmf-dist/tex/latex/base/size10.clo index 3c804e8fff1..2f7cd58f31f 100644 --- a/Master/texmf-dist/tex/latex/base/size10.clo +++ b/Master/texmf-dist/tex/latex/base/size10.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{size10.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt diff --git a/Master/texmf-dist/tex/latex/base/size11.clo b/Master/texmf-dist/tex/latex/base/size11.clo index 047ebe28159..7ebbd7c5d91 100644 --- a/Master/texmf-dist/tex/latex/base/size11.clo +++ b/Master/texmf-dist/tex/latex/base/size11.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{size11.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xipt{13.6}% diff --git a/Master/texmf-dist/tex/latex/base/size12.clo b/Master/texmf-dist/tex/latex/base/size12.clo index c923cb95bb6..a81a9cd8fe3 100644 --- a/Master/texmf-dist/tex/latex/base/size12.clo +++ b/Master/texmf-dist/tex/latex/base/size12.clo @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{size12.clo} - [2014/09/29 v1.4h + [2018/09/03 v1.4i Standard LaTeX file (size option)] \renewcommand\normalsize{% \@setfontsize\normalsize\@xiipt{14.5}% diff --git a/Master/texmf-dist/tex/latex/base/t1enc.def b/Master/texmf-dist/tex/latex/base/t1enc.def index 6e7e7c6a014..c29801edda7 100644 --- a/Master/texmf-dist/tex/latex/base/t1enc.def +++ b/Master/texmf-dist/tex/latex/base/t1enc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{t1enc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \DeclareFontEncoding{T1}{}{} \DeclareTextAccent{\`}{T1}{0} @@ -76,6 +76,38 @@ {\%\char 24 } % space or `relax as delimiter? \DeclareTextCommand{\textpertenthousand}{T1} {\%\char 24\char 24 } % space or `relax as delimiter? +\DeclareTextCommand{\Hwithstroke}{T1} + {% + \hmode@bgroup + \vphantom{H}% + \sbox\z@{H}% + \ooalign{% + H\cr + \hidewidth + \vrule + height \dimexpr 0.7\ht\z@+0.1ex\relax + depth -0.7\ht\z@ + width 0.8\wd\z@ + \hidewidth\cr + }% + \egroup + } +\DeclareTextCommand{\hwithstroke}{T1} + {% + \hmode@bgroup + \vphantom{h}% + \sbox\z@{h}% + \ooalign{% + h\cr + \kern0.075\wd\z@ + \vrule + height \dimexpr 0.7\ht\z@+0.1ex\relax + depth -0.7\ht\z@ + width 0.4\wd\z@ + \hidewidth\cr + }% + \egroup + } \DeclareTextSymbol{\AE}{T1}{198} \DeclareTextSymbol{\DH}{T1}{208} \DeclareTextSymbol{\DJ}{T1}{208} @@ -88,6 +120,8 @@ \DeclareTextSymbol{\ae}{T1}{230} \DeclareTextSymbol{\dh}{T1}{240} \DeclareTextSymbol{\dj}{T1}{158} +\DeclareTextSymbol{\guillemetleft}{T1}{19} +\DeclareTextSymbol{\guillemetright}{T1}{20} \DeclareTextSymbol{\guillemotleft}{T1}{19} \DeclareTextSymbol{\guillemotright}{T1}{20} \DeclareTextSymbol{\guilsinglleft}{T1}{14} diff --git a/Master/texmf-dist/tex/latex/base/t1enc.dfu b/Master/texmf-dist/tex/latex/base/t1enc.dfu index 79f4b2a39f9..c4c517d4b67 100644 --- a/Master/texmf-dist/tex/latex/base/t1enc.dfu +++ b/Master/texmf-dist/tex/latex/base/t1enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{t1enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A0}{\nobreakspace} \DeclareUnicodeCharacter{00A1}{\textexclamdown} \DeclareUnicodeCharacter{00A3}{\textsterling} @@ -256,8 +256,12 @@ \DeclareUnicodeCharacter{021B}{\textcommabelow t} \DeclareUnicodeCharacter{0232}{\@tabacckludge=Y} \DeclareUnicodeCharacter{0233}{\@tabacckludge=y} +\DeclareUnicodeCharacter{0237}{\j} +\DeclareUnicodeCharacter{02D9}{\.{}} +\DeclareUnicodeCharacter{02DB}{\k{}} \DeclareUnicodeCharacter{1E02}{\.B} \DeclareUnicodeCharacter{1E03}{\.b} +\DeclareUnicodeCharacter{1E9E}{\SS} \DeclareUnicodeCharacter{200C}{\textcompwordmark} \DeclareUnicodeCharacter{2010}{-} \DeclareUnicodeCharacter{2011}{\mbox{-}} diff --git a/Master/texmf-dist/tex/latex/base/t2aenc.dfu b/Master/texmf-dist/tex/latex/base/t2aenc.dfu index 8390444387d..fb296c8f15a 100644 --- a/Master/texmf-dist/tex/latex/base/t2aenc.dfu +++ b/Master/texmf-dist/tex/latex/base/t2aenc.dfu @@ -42,12 +42,13 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{t2aenc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A4}{\textcurrency} \DeclareUnicodeCharacter{00A7}{\textsection} \DeclareUnicodeCharacter{00AB}{\guillemotleft} \DeclareUnicodeCharacter{00BB}{\guillemotright} \DeclareUnicodeCharacter{0131}{\i} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} \DeclareUnicodeCharacter{0402}{\CYRDJE} diff --git a/Master/texmf-dist/tex/latex/base/t2benc.dfu b/Master/texmf-dist/tex/latex/base/t2benc.dfu index 70618e1cd9c..213ed3053ae 100644 --- a/Master/texmf-dist/tex/latex/base/t2benc.dfu +++ b/Master/texmf-dist/tex/latex/base/t2benc.dfu @@ -42,12 +42,13 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{t2benc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A4}{\textcurrency} \DeclareUnicodeCharacter{00A7}{\textsection} \DeclareUnicodeCharacter{00AB}{\guillemotleft} \DeclareUnicodeCharacter{00BB}{\guillemotright} \DeclareUnicodeCharacter{0131}{\i} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} \DeclareUnicodeCharacter{0403}{\@tabacckludge'\CYRG} diff --git a/Master/texmf-dist/tex/latex/base/t2cenc.dfu b/Master/texmf-dist/tex/latex/base/t2cenc.dfu index 69a71344ddc..bab0a2844b7 100644 --- a/Master/texmf-dist/tex/latex/base/t2cenc.dfu +++ b/Master/texmf-dist/tex/latex/base/t2cenc.dfu @@ -42,12 +42,13 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{t2cenc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A4}{\textcurrency} \DeclareUnicodeCharacter{00A7}{\textsection} \DeclareUnicodeCharacter{00AB}{\guillemotleft} \DeclareUnicodeCharacter{00BB}{\guillemotright} \DeclareUnicodeCharacter{0131}{\i} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} \DeclareUnicodeCharacter{0403}{\@tabacckludge'\CYRG} diff --git a/Master/texmf-dist/tex/latex/base/textcomp.sty b/Master/texmf-dist/tex/latex/base/textcomp.sty index ce6fd3d637e..0ebce83c5d3 100644 --- a/Master/texmf-dist/tex/latex/base/textcomp.sty +++ b/Master/texmf-dist/tex/latex/base/textcomp.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesPackage{textcomp} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX package] \PackageInfo{textcomp}{Sub-encoding information:\MessageBreak diff --git a/Master/texmf-dist/tex/latex/base/ts1enc.dfu b/Master/texmf-dist/tex/latex/base/ts1enc.dfu index c236055d48b..042b0fd49a0 100644 --- a/Master/texmf-dist/tex/latex/base/ts1enc.dfu +++ b/Master/texmf-dist/tex/latex/base/ts1enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{ts1enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A2}{\textcent} \DeclareUnicodeCharacter{00A3}{\textsterling} \DeclareUnicodeCharacter{00A4}{\textcurrency} diff --git a/Master/texmf-dist/tex/latex/base/tuenc.def b/Master/texmf-dist/tex/latex/base/tuenc.def index a1bd2c517c7..33ec8381d42 100644 --- a/Master/texmf-dist/tex/latex/base/tuenc.def +++ b/Master/texmf-dist/tex/latex/base/tuenc.def @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutenc.dtx \ProvidesFile{tuenc.def} - [2017/04/05 v2.0i + [2018/08/11 v2.0j Standard LaTeX file] \providecommand\UnicodeEncodingName{TU} \begingroup\expandafter\expandafter\expandafter\endgroup @@ -136,6 +136,7 @@ \DeclareTextSymbol{\textasciidieresis} \UnicodeEncodingName{"00A8} \DeclareTextSymbol{\textcopyright} \UnicodeEncodingName{"00A9} \DeclareTextSymbol{\textordfeminine} \UnicodeEncodingName{"00AA} +\DeclareTextSymbol{\guillemetleft} \UnicodeEncodingName{"00AB} \DeclareTextSymbol{\guillemotleft} \UnicodeEncodingName{"00AB} \DeclareTextSymbol{\textlnot} \UnicodeEncodingName{"00AC} \DeclareTextSymbol{\textregistered} \UnicodeEncodingName{"00AE} @@ -150,6 +151,7 @@ \DeclareTextSymbol{\textperiodcentered} \UnicodeEncodingName{"00B7} \DeclareTextSymbol{\textonesuperior} \UnicodeEncodingName{"00B9} \DeclareTextSymbol{\textordmasculine} \UnicodeEncodingName{"00BA} +\DeclareTextSymbol{\guillemetright} \UnicodeEncodingName{"00BB} \DeclareTextSymbol{\guillemotright} \UnicodeEncodingName{"00BB} \DeclareTextSymbol{\textonequarter} \UnicodeEncodingName{"00BC} \DeclareTextSymbol{\textonehalf} \UnicodeEncodingName{"00BD} @@ -231,6 +233,9 @@ \DeclareTextSymbol{\textrightarrow} \UnicodeEncodingName{"2192} \DeclareTextSymbol{\textdownarrow} \UnicodeEncodingName{"2193} \DeclareTextSymbol{\textminus} \UnicodeEncodingName{"2212} + +\DeclareTextSymbol{\Hwithstroke} \UnicodeEncodingName{"0126} +\DeclareTextSymbol{\hwithstroke} \UnicodeEncodingName{"0127} \DeclareTextCommand{\textasteriskcentered}\UnicodeEncodingName{% \iffontchar\font"2217 \char"2217 \else \begingroup diff --git a/Master/texmf-dist/tex/latex/base/utf8.def b/Master/texmf-dist/tex/latex/base/utf8.def index 715d81bceb3..c7efc7d1861 100644 --- a/Master/texmf-dist/tex/latex/base/utf8.def +++ b/Master/texmf-dist/tex/latex/base/utf8.def @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{utf8.def} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \makeatletter \catcode`\ \saved@space@catcode \long\def\UTFviii@two@octets#1#2{\expandafter @@ -64,7 +64,7 @@ \fi } \def\UTFviii@invalid@err#1{% - \PackageError{inputenc}{Invalid UTF-8 byte \number`#1}% + \PackageError{inputenc}{Invalid UTF-8 byte "\UTFviii@hexnumber{`#1}}% \UTFviii@invalid@help} \def\UTFviii@invalid@help{% The document does not appear to be in UTF-8 encoding.\MessageBreak @@ -131,10 +131,10 @@ \def\UTFviii@tmp{\xdef~{\noexpand\UTFviii@three@octets\string~}} \UTFviii@loop \count@"F0 - \@tempcnta"F4 + \@tempcnta"F5 \def\UTFviii@tmp{\xdef~{\noexpand\UTFviii@four@octets\string~}} \UTFviii@loop - \count@"F4 + \count@"F5 \@tempcnta"100 \def\UTFviii@tmp{\xdef~{\noexpand\UTFviii@invalid@err\string~}} \UTFviii@loop @@ -185,6 +185,11 @@ \parse@UTFviii@a,% \parse@UTFviii@b E\UTFviii@three@octets.{,;}% \else + \ifnum\count@>"10FFFF\relax + \PackageError{inputenc}% + {\UTFviii@hexnumber\count@\space too large for Unicode}% + {Values between 0 and 10FFFF are permitted}% + \fi \parse@UTFviii@a;% \parse@UTFviii@a,% \parse@UTFviii@a!% @@ -250,14 +255,16 @@ 0\or1\or2\or3\or4\or5\or6\or7\or8\or9\or A\or B\or C\or D\or E\or F\fi} \fi -\ifx\numexpr\@undefined -\gdef\UTFviii@splitcsname#1:#2\relax{#2}} -\else +\gdef\UTFviii@hexcodepoint#1{U+% + \ifnum#1<16 0\fi + \ifnum#1<256 0\fi + \ifnum#1<4096 0\fi + \UTFviii@hexnumber{#1}% +}% \gdef\UTFviii@splitcsname#1:#2\relax{% -#2 (U+\expandafter\UTFviii@hexnumber\expandafter{% +#2 (\expandafter\UTFviii@hexcodepoint\expandafter{% \the\numexpr\decode@UTFviii#2\relax})% } -\fi \endgroup \@onlypreamble\DeclareUnicodeCharacter \@onlypreamble\parse@XML@charref diff --git a/Master/texmf-dist/tex/latex/base/utf8enc.dfu b/Master/texmf-dist/tex/latex/base/utf8enc.dfu index 38f6040e468..30bb4c7010b 100644 --- a/Master/texmf-dist/tex/latex/base/utf8enc.dfu +++ b/Master/texmf-dist/tex/latex/base/utf8enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{utf8enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A0}{\nobreakspace} \DeclareUnicodeCharacter{00A1}{\textexclamdown} \DeclareUnicodeCharacter{00A2}{\textcent} @@ -284,10 +284,13 @@ \DeclareUnicodeCharacter{021B}{\textcommabelow t} \DeclareUnicodeCharacter{0232}{\@tabacckludge=Y} \DeclareUnicodeCharacter{0233}{\@tabacckludge=y} +\DeclareUnicodeCharacter{0237}{\j} \DeclareUnicodeCharacter{02C6}{\textasciicircum} \DeclareUnicodeCharacter{02C7}{\textasciicaron} \DeclareUnicodeCharacter{02DC}{\textasciitilde} \DeclareUnicodeCharacter{02D8}{\textasciibreve} +\DeclareUnicodeCharacter{02D9}{\.{}} +\DeclareUnicodeCharacter{02DB}{\k{}} \DeclareUnicodeCharacter{02DD}{\textacutedbl} \DeclareUnicodeCharacter{0400}{\@tabacckludge`\CYRE} \DeclareUnicodeCharacter{0401}{\CYRYO} @@ -509,6 +512,7 @@ \DeclareUnicodeCharacter{0E3F}{\textbaht} \DeclareUnicodeCharacter{1E02}{\.B} \DeclareUnicodeCharacter{1E03}{\.b} +\DeclareUnicodeCharacter{1E9E}{\SS} \DeclareUnicodeCharacter{200C}{\textcompwordmark} \DeclareUnicodeCharacter{2010}{-} \DeclareUnicodeCharacter{2011}{\mbox{-}} diff --git a/Master/texmf-dist/tex/latex/base/x2enc.dfu b/Master/texmf-dist/tex/latex/base/x2enc.dfu index baf6989c2b1..8c07f423d47 100644 --- a/Master/texmf-dist/tex/latex/base/x2enc.dfu +++ b/Master/texmf-dist/tex/latex/base/x2enc.dfu @@ -42,7 +42,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesFile{x2enc.dfu} - [2018/04/05 v1.2c UTF-8 support for inputenc] + [2018/10/05 v1.2f UTF-8 support for inputenc] \DeclareUnicodeCharacter{00A4}{\textcurrency} \DeclareUnicodeCharacter{00A7}{\textsection} \DeclareUnicodeCharacter{00AB}{\guillemotleft} diff --git a/Master/texmf-dist/tex/latex/tools/array.sty b/Master/texmf-dist/tex/latex/tools/array.sty index f60e38cd37f..01af6d80549 100644 --- a/Master/texmf-dist/tex/latex/tools/array.sty +++ b/Master/texmf-dist/tex/latex/tools/array.sty @@ -45,7 +45,7 @@ \DeclareCurrentRelease{}{2018-04-30} \ProvidesPackage{array} - [2018/04/30 v2.4h Tabular extension package (FMi)] + [2018/11/13 v2.4j Tabular extension package (FMi)] %% \def\@addtopreamble#1{\xdef\@preamble{\@preamble #1}} @@ -95,31 +95,6 @@ \the@toks \the \count@ \relax} \newdimen\col@sep \def\@acol{\@addtopreamble{\hskip\col@sep}} -\def\@mkpream#1{\gdef\@preamble{}\@lastchclass 4 \@firstamptrue - \let\@sharp\relax \let\@startpbox\relax \let\@endpbox\relax - \let\do@row@strut\relax - \let\ar@align@mcell\relax - \@xexpast #1*0x\@@ - \count@\m@ne - \let\the@toks\relax - \prepnext@tok - \expandafter \@tfor \expandafter \@nextchar - \expandafter :\expandafter =\@tempa \do - {\@testpach - \ifcase \@chclass \@classz \or \@classi \or \@classii - \or \save@decl \or \or \@classv \or \@classvi - \or \@classvii \or \@classviii \or \@classix - \or \@classx \fi - \@lastchclass\@chclass}% - \ifcase\@lastchclass - \@acol \or - \or - \@acol \or - \@preamerr \thr@@ \or - \@preamerr \tw@ \@addtopreamble\@sharp \or - \or - \else \@preamerr \@ne \fi - \def\the@toks{\the\toks}} \def\@classx{% \ifcase \@lastchclass \@acolampacol \or @@ -140,7 +115,7 @@ \hskip1sp\d@llarbegin \insert@column \d@llarend \do@row@strut \hfil \or \hfil\hskip1sp\d@llarbegin \insert@column \d@llarend \do@row@strut \or \setbox\ar@mcellbox\vbox - \@startpbox{\@nextchar}\insert@column \@endpbox + \@startpbox{\@nextchar}\insert@column \@endpbox \ar@align@mcell \do@row@strut \or \vtop \@startpbox{\@nextchar}\insert@column \@endpbox\do@row@strut \or @@ -160,11 +135,6 @@ \box\ar@mcellbox \fi} -\def\@classix{\ifnum \@lastchclass = \thr@@ - \@preamerr \thr@@ \fi - \@classx} -\def\@classviii{\ifnum \@lastchclass >\z@ - \@preamerr 4\@chclass 6 \@classvi \fi} \def\@arrayrule{\@addtopreamble \vline} \def\@classvii{\ifnum \@lastchclass = \thr@@ \@preamerr \thr@@ \fi} @@ -176,19 +146,17 @@ \fi} \def\@classii{\advance \count@ \m@ne \save@decl\prepnext@tok} -\def\@classv{\save@decl - \@addtopreamble{\d@llarbegin\the@toks\the\count@\relax\d@llarend}% - \prepnext@tok} \def\@classi{\@classvi \ifcase \@chnum \@arrayrule \or \@classv \fi} \def\@startpbox#1{\bgroup + \color@begingroup \setlength\hsize{#1}\@arrayparboxrestore \everypar{% \vrule \@height \ht\@arstrutbox \@width \z@ \everypar{}}% } -\def\@endpbox{\@finalstrut\@arstrutbox \egroup\hfil} +\def\@endpbox{\@finalstrut\@arstrutbox \color@endgroup \egroup\hfil} \def\@array[#1]#2{% \@tempdima \ht \strutbox \advance \@tempdima by\extrarowheight @@ -244,7 +212,6 @@ \def\array{\col@sep\arraycolsep \def\d@llarbegin{$}\let\d@llarend\d@llarbegin\def\@halignto{}% \@tabarray} -\def\@tabarray{\@ifnextchar[{\@array}{\@array[c]}} \def\tabular{\def\@halignto{}\@tabular} \expandafter\def\csname tabular*\endcsname#1{% \setlength\dimen@{#1}% @@ -254,7 +221,6 @@ \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup \let\d@llarend\endgroup \@tabarray} -\def\endarray{\crcr \egroup \egroup \gdef\@preamble{}} \def\endtabular{\endarray $\egroup} \expandafter\let\csname endtabular*\endcsname=\endtabular \let\@ampacol=\relax \let\@expast=\relax @@ -315,7 +281,9 @@ \def\save@decl{\toks \count@ = \expandafter\expandafter\expandafter {\expandafter\@nextchar\the\toks\count@}} \def\@mkpream#1{\gdef\@preamble{}\@lastchclass 4 \@firstamptrue - \let\@sharp\relax \let\@startpbox\relax \let\@endpbox\relax + \let\@sharp\relax + \def\@startpbox##1{\unexpanded\expandafter{\expandafter + \@startpbox\expandafter{##1}}}\let\@endpbox\relax \let\do@row@strut\relax \let\ar@align@mcell\relax \@temptokena{#1}\@tempswatrue diff --git a/Master/texmf-dist/tex/latex/tools/multicol.sty b/Master/texmf-dist/tex/latex/tools/multicol.sty index af85baa4a4a..a8548dc89ea 100644 --- a/Master/texmf-dist/tex/latex/tools/multicol.sty +++ b/Master/texmf-dist/tex/latex/tools/multicol.sty @@ -107,7 +107,7 @@ \DeclareCurrentRelease{}{2018-04-01} \ProvidesPackage{multicol} - [2018/04/20 v1.8s multicolumn formatting (FMi)] + [2018/11/09 v1.8u multicolumn formatting (FMi)] %% \DeclareOption{twocolumn} {\PackageWarning{multicol}{May not work @@ -941,8 +941,8 @@ not make sense.\MessageBreak Going to balance anyway}% \else - \let\balance@columns@out - \multi@column@out + \def\balance@columns@out + {\multi@column@out \penalty-\@Mvi }% \fi \begin{multicols} } @@ -1022,7 +1022,7 @@ \LRmulticolcolumns \newcount\mc@col@check@num -\newcommand\docolaction[4][1]{% +\newcommand\docolaction{% \ifx\mc@col@status@write\relax \PackageError{multicol}% {Option 'colaction' not selected}% @@ -1037,7 +1037,17 @@ 0\else \csname mc@col-\the\mc@col@check@num \endcsname - \fi}% + \fi}% + \@ifstar + {\@docolactionstartrue \@docolaction}% + {\@docolactionstarfalse\@docolaction}% +} +\newcommand\@docolaction[4][1]{% + \edef\@docolactioncheck{\write\@auxout + {\string\mc@set@col@status + {mc@col-\the\mc@col@check@num}% + {\mc@col@type}}}% + \if@docolactionstar \@docolactioncheck \fi \ifcase \mc@col@type\relax \ifcase #1\or #2\or#3\or#4\fi \or @@ -1047,14 +1057,11 @@ \or #4% % 3 last col \else - \ERROR + \ERRORwrongdefaultgiven \fi - \edef\next{\write\@auxout - {\string\mc@set@col@status - {mc@col-\the\mc@col@check@num}% - {\mc@col@type}}}% - \next + \if@docolactionstar \else \@docolactioncheck \fi } +\newif\if@docolactionstar \def\mc@col@status#1{% \gdef\mc@curr@col@status{#1}} \def\mc@set@col@status#1#2{% diff --git a/Master/texmf-dist/tex/latex/tools/trace.sty b/Master/texmf-dist/tex/latex/tools/trace.sty index 2f0eb0b3ef2..e97fc31d741 100644 --- a/Master/texmf-dist/tex/latex/tools/trace.sty +++ b/Master/texmf-dist/tex/latex/tools/trace.sty @@ -36,12 +36,12 @@ %% given in the file `manifest.txt'. %% %% -%% (C) Copyright 1999-2014 Frank Mittelbach +%% (C) Copyright 1999-2018 Frank Mittelbach %% All rights reserved. %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{trace} - [2014/10/28 v1.1d trace LaTeX code] + [2018/10/13 v1.1e trace LaTeX code] \NeedsTeXFormat{LaTeX2e}[1998/12/01] \DeclareOption{logonly} {\let\tracingonline@p\z@} @@ -56,7 +56,7 @@ \def\traceon{\let\conditionally@traceoff\unconditionally@traceoff \tr@ce@n} -\ifx\tracinggroups\undefined +%% \tracinglostchars\z@ \def\tr@ce@n{% \@tracingtrue \tracingstats\tw@ @@ -64,37 +64,12 @@ \tracinglostchars\@ne \tracingparagraphs\@ne \errorcontextlines\maxdimen - \tracingoutput\@ne - \showboxbreadth\maxdimen - \showboxdepth\maxdimen - \errorstopmode - \tracingmacros\tw@ - \tracingrestores\@ne - \tracingcommands\tw@ - \tracingonline\tracingonline@p - } - \def\conditionally@traceoff{% - \tracingrestores\z@ - \tracingcommands\z@ - \tracingpages\z@ - \tracingmacros\z@ - \tracingparagraphs\z@ - \tracingoutput\z@ - \showboxbreadth\m@ne - \showboxdepth\m@ne - \tracingstats\@ne - } -\else - \def\tr@ce@n{% - \@tracingtrue - \tracingstats\tw@ - \tracingpages\@ne - \tracinglostchars\@ne - \tracingparagraphs\@ne - \errorcontextlines\maxdimen - \tracingoutput\@ne - \showboxbreadth\maxdimen - \showboxdepth\maxdimen + \ifnum\tracingoutput=\@ne + \else + \tracingoutput\tw@ + \showboxbreadth\maxdimen + \showboxdepth\maxdimen + \fi \errorstopmode \tracingmacros\tw@ \tracinggroups\@ne @@ -109,14 +84,15 @@ \tracingcommands\z@ \tracingpages\z@ \tracingmacros\z@ - \tracingoutput\z@ - \showboxbreadth\m@ne - \showboxdepth\m@ne + \ifnum\tracingoutput=\tw@ + \tracingoutput\z@ + \showboxbreadth\m@ne + \showboxdepth\m@ne + \fi \tracingstats\@ne \tracingparagraphs\z@ \tracinggroups\z@ } -\fi \let\unconditionally@traceoff\conditionally@traceoff \def\tracingall{\let\conditionally@traceoff\@empty \let\tracingonline@p\@ne diff --git a/Master/texmf-dist/tex/latex/tools/xr.sty b/Master/texmf-dist/tex/latex/tools/xr.sty index 2a288dacafc..6fad3d0c7db 100644 --- a/Master/texmf-dist/tex/latex/tools/xr.sty +++ b/Master/texmf-dist/tex/latex/tools/xr.sty @@ -35,10 +35,10 @@ %% The list of all files belonging to the LaTeX `Tools Bundle' is %% given in the file `manifest.txt'. %% -%% File: xr.dtx Copyright (C) 1994-1994 David Carlisle +%% File: xr.dtx Copyright (C) 1994-1994 2018 David Carlisle \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xr} - [1994/05/28 v5.02 eXternal References (DPC)] + [2018/10/01 v5.03 eXternal References (DPC)] \def\externaldocument{\@ifnextchar[\XR@{\XR@[]}} \def\XR@[#1]#2{{% \makeatletter @@ -62,11 +62,13 @@ \read\@inputcheck to\XR@line \expandafter\XR@test\XR@line...\XR@} \long\def\XR@test#1#2#3#4\XR@{% + \let\XR@next\@gobbletwo \ifx#1\newlabel - \newlabel{\XR@prefix#2}{#3}% + \let\XR@next\@firstoftwo% \else\ifx#1\@input - \edef\XR@list{\XR@list#2\relax}% + \let\XR@next\@secondoftwo \fi\fi + \XR@next{\newlabel{\XR@prefix#2}{#3}}{\edef\XR@list{\XR@list#2\relax}}% \ifeof\@inputcheck\expandafter\XR@aux \else\expandafter\XR@read\fi} |