summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-28 22:28:24 +0000
committerKarl Berry <karl@freefriends.org>2018-05-28 22:28:24 +0000
commit137220c3442927290385d230913b8cb7d6eff71b (patch)
treed30f0622a64b8b7dab7dc8fb85149c0160c679a4
parentca9120d93c497003e1ae261a1b9f1b33b568386c (diff)
latex(2e) (28may18)
git-svn-id: svn://tug.org/texlive/trunk@47860 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/base/alltt.pdfbin173057 -> 173057 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/cfgguide.pdfbin220023 -> 220023 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/changes.txt23
-rw-r--r--Master/texmf-dist/doc/latex/base/classes.pdfbin520045 -> 520045 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/clsguide.pdfbin373292 -> 373292 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/cmfonts.pdfbin271330 -> 271330 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/cyrguide.pdfbin223781 -> 223781 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/doc.pdfbin634210 -> 634149 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/docstrip.pdfbin472255 -> 472191 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/encguide.pdfbin1248528 -> 1248528 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/exscale.pdfbin194439 -> 194439 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/fix-cm.pdfbin262103 -> 262103 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/fntguide.pdfbin353865 -> 353865 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/graphpap.pdfbin156423 -> 156423 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/ifthen.pdfbin205571 -> 205571 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/inputenc.pdfbin295325 -> 295325 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/latexchanges.pdfbin380974 -> 382986 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/latexchanges.tex37
-rw-r--r--Master/texmf-dist/doc/latex/base/latexrelease.pdfbin244717 -> 246242 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/latexsym.pdfbin192456 -> 192456 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/lb2.pdfbin238449 -> 238449 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/letter.pdfbin307446 -> 307374 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/lgc2.pdfbin203048 -> 203048 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/lppl.pdfbin126066 -> 126066 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/ltluatex.pdfbin302184 -> 302184 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/ltnews.pdfbin769783 -> 769783 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/ltx3info.pdfbin197978 -> 197978 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/ltxdoc.pdfbin215825 -> 215825 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/makeindx.pdfbin160831 -> 160831 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/manual.pdfbin150366 -> 150366 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/modguide.pdfbin226964 -> 226964 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/nfssfont.pdfbin201966 -> 201966 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/proc.pdfbin217156 -> 217156 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/slides.pdfbin352550 -> 352550 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/slifonts.pdfbin213996 -> 213996 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/source2e.pdfbin2801915 -> 2803434 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/syntonly.pdfbin181959 -> 181894 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/tlc2.pdfbin274044 -> 274044 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/tulm.pdfbin156599 -> 156599 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/usrguide.pdfbin398326 -> 398326 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/utf8ienc.pdfbin318856 -> 318783 bytes
-rw-r--r--Master/texmf-dist/doc/latex/base/webcomp.pdfbin136240 -> 136240 bytes
-rw-r--r--Master/texmf-dist/source/latex/base/latexrelease.dtx28
-rw-r--r--Master/texmf-dist/source/latex/base/ltclass.dtx19
-rw-r--r--Master/texmf-dist/source/latex/base/ltfinal.dtx15
-rw-r--r--Master/texmf-dist/source/latex/base/ltvers.dtx2
-rw-r--r--Master/texmf-dist/tex/latex/base/latex.ltx25
-rw-r--r--Master/texmf-dist/tex/latex/base/latexrelease.sty23
48 files changed, 123 insertions, 49 deletions
diff --git a/Master/texmf-dist/doc/latex/base/alltt.pdf b/Master/texmf-dist/doc/latex/base/alltt.pdf
index 54cc4bc2ab6..3bdf7284925 100644
--- a/Master/texmf-dist/doc/latex/base/alltt.pdf
+++ b/Master/texmf-dist/doc/latex/base/alltt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/cfgguide.pdf b/Master/texmf-dist/doc/latex/base/cfgguide.pdf
index 297c76a2a75..890a9ca6dac 100644
--- a/Master/texmf-dist/doc/latex/base/cfgguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/cfgguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/changes.txt b/Master/texmf-dist/doc/latex/base/changes.txt
index 51741d1d200..b7851d82389 100644
--- a/Master/texmf-dist/doc/latex/base/changes.txt
+++ b/Master/texmf-dist/doc/latex/base/changes.txt
@@ -5,6 +5,26 @@ are not part of the distribution.
=======================================================================
#########################
+# 2018-04-01 PL 5 Release
+#########################
+
+2018-05-11 David Carlisle <David.Carlisle@latex-project.org>
+
+ * 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:
+ Update to suspicious rollback code for issue #43
+
+ Make the suspicious rollback message a warning not error.
+
+ Make the current and latest options to latexrelease set the
+ default rollback request to 0 so package rollback is disabled.
+
+#########################
# 2018-04-01 PL 4 Release
#########################
@@ -114,7 +134,8 @@ are not part of the distribution.
* ltvers.dtx: possible 2018-02-01 release
-* ltdefns.dtx: new \@ifundefined definitions to avoit setting csname to \relax
+ * ltdefns.dtx: new \@ifundefined definitions to avoid setting
+ csname to \relax
2017-12-17 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
diff --git a/Master/texmf-dist/doc/latex/base/classes.pdf b/Master/texmf-dist/doc/latex/base/classes.pdf
index 1b30852e824..99e2a6fb95e 100644
--- a/Master/texmf-dist/doc/latex/base/classes.pdf
+++ b/Master/texmf-dist/doc/latex/base/classes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/clsguide.pdf b/Master/texmf-dist/doc/latex/base/clsguide.pdf
index eea315777e2..f99dac374cb 100644
--- a/Master/texmf-dist/doc/latex/base/clsguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/clsguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/cmfonts.pdf b/Master/texmf-dist/doc/latex/base/cmfonts.pdf
index dcbfb2f316c..2f96657ee86 100644
--- a/Master/texmf-dist/doc/latex/base/cmfonts.pdf
+++ b/Master/texmf-dist/doc/latex/base/cmfonts.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/cyrguide.pdf b/Master/texmf-dist/doc/latex/base/cyrguide.pdf
index a526e21054f..1711cd1c497 100644
--- a/Master/texmf-dist/doc/latex/base/cyrguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/cyrguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/doc.pdf b/Master/texmf-dist/doc/latex/base/doc.pdf
index 03ff3608772..2ed7c28f244 100644
--- a/Master/texmf-dist/doc/latex/base/doc.pdf
+++ b/Master/texmf-dist/doc/latex/base/doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/docstrip.pdf b/Master/texmf-dist/doc/latex/base/docstrip.pdf
index 6825d9fc650..7b28b757105 100644
--- a/Master/texmf-dist/doc/latex/base/docstrip.pdf
+++ b/Master/texmf-dist/doc/latex/base/docstrip.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/encguide.pdf b/Master/texmf-dist/doc/latex/base/encguide.pdf
index 0a03fda2701..025c3fdbf52 100644
--- a/Master/texmf-dist/doc/latex/base/encguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/encguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/exscale.pdf b/Master/texmf-dist/doc/latex/base/exscale.pdf
index dd0ed24ebca..d03ba2d0195 100644
--- a/Master/texmf-dist/doc/latex/base/exscale.pdf
+++ b/Master/texmf-dist/doc/latex/base/exscale.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/fix-cm.pdf b/Master/texmf-dist/doc/latex/base/fix-cm.pdf
index e30c8209d4a..3f84761911d 100644
--- a/Master/texmf-dist/doc/latex/base/fix-cm.pdf
+++ b/Master/texmf-dist/doc/latex/base/fix-cm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/fntguide.pdf b/Master/texmf-dist/doc/latex/base/fntguide.pdf
index 8cc46ad0a5d..2c05d19c23e 100644
--- a/Master/texmf-dist/doc/latex/base/fntguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/fntguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/graphpap.pdf b/Master/texmf-dist/doc/latex/base/graphpap.pdf
index bc21fdc7cfe..1e1c1459548 100644
--- a/Master/texmf-dist/doc/latex/base/graphpap.pdf
+++ b/Master/texmf-dist/doc/latex/base/graphpap.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/ifthen.pdf b/Master/texmf-dist/doc/latex/base/ifthen.pdf
index 5d680d0590f..8517a59efc5 100644
--- a/Master/texmf-dist/doc/latex/base/ifthen.pdf
+++ b/Master/texmf-dist/doc/latex/base/ifthen.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/inputenc.pdf b/Master/texmf-dist/doc/latex/base/inputenc.pdf
index abc7b2bc46d..40841067d52 100644
--- a/Master/texmf-dist/doc/latex/base/inputenc.pdf
+++ b/Master/texmf-dist/doc/latex/base/inputenc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/latexchanges.pdf b/Master/texmf-dist/doc/latex/base/latexchanges.pdf
index 318b179db8f..f0b41aa4bdf 100644
--- a/Master/texmf-dist/doc/latex/base/latexchanges.pdf
+++ b/Master/texmf-dist/doc/latex/base/latexchanges.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/latexchanges.tex b/Master/texmf-dist/doc/latex/base/latexchanges.tex
index b41d98aa8b8..f91b00f5e06 100644
--- a/Master/texmf-dist/doc/latex/base/latexchanges.tex
+++ b/Master/texmf-dist/doc/latex/base/latexchanges.tex
@@ -54,6 +54,22 @@
\math@fontsfalse\selectfont,}\hidewidth}\egroup}
\makeatother
+\ifx\href\undefined
+ \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}
+\else
+ \newcommand\ghissue[1]{%
+ \href{https://github.com/latex3/latex2e/issues/#1}{#1}}
+ \newcommand\gnatsissue[1]{%
+ \href{https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/#1}{#1}}
+ \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}}
+\fi
+
\begin{document}
\maketitle
@@ -67,31 +83,38 @@
This document describes changes that have been made to the \LaTeX\ format since the 2014/05/01 \LaTeX\ release.
%This document details all the changes to documented functions since the 2014/05/01 \LaTeX\ release.
-As announced in \LaTeX\ News~22, the 2015 \LaTeX{} release adopts a new
+As announced in \ltnewsissue{22}, the 2015 \LaTeX{} release adopts a new
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-04-01 patch~5}
+Improved support for non ASCII filenames on the commandline on
+filesystems using legacy encodings.
+
+Adjusted the new package rollback code so that some edge cases where rollback
+can not be guaranteed become a warning not an error.
+
\section{Changes introduced in 2018-04-01 patch~4}
No changes to the format, but \texttt{docstrip} adjusted so that non-ASCII
\texttt{.ins} files work with the new UTF-8 defaults.
\section{Changes introduced in 2018-04-01 patch~3}
-Additional adjustments for GitHub issues 34 and 38, adjustment to the
+Additional adjustments for GitHub issues \ghissue{34} and \ghissue{38}, adjustment to the
location of some documentation files, such as \texttt{source2e.tex} to
be installed in the documentation sources not the default \TeX\ input
tree.
\section{Changes introduced in 2018-04-01 patch~2}
-Additional adjustments for GitHub issues 32 and 33.
+Additional adjustments for GitHub issues \ghissue{32} and \ghissue{33}.
\section{Changes introduced in 2018-04-01 patch~1}
Make \verb|\UseRawInputEncoding| and \Lpack{latexrelease} reset \verb|\inputencodingname|
when disabling the UTF-8 input handling.
\section{Changes introduced in 2018-04-01}
-Further details of changes at this release are given in \LaTeX~News~28, but in brief
+Further details of changes at this release are given in \ltnewsissue{28}, but in brief
the main changes are as listed below.
The default encoding for files has been changed to UTF-8.
@@ -119,11 +142,11 @@ accent (or an accent declared later) gave no error, but did nothing useful.
as an error, allowing the declared composite to work as intended.
The definition of \verb|\-| is adjusted to match the comments in
-PR/3855 to accomodate non standard settings of \verb|\hyphenchar|.
+\gnatsissue{3855} to accomodate non standard settings of \verb|\hyphenchar|.
In parboxes and similar settings, \verb|\lineskiplimit| is now
reset (to the existing default value, \verb|\normallineskiplimit|).
-See http://tex.stackexchange.com\slash a\slash 359934.
+See \sxanswer{359934}.
The code for verb|\newpage| has been adjusted to add a test on the value of
\verb|\prevdepth| so that the depth of the last line is preserved in
@@ -193,7 +216,7 @@ adding a method to disable callback management entirely.
\subsection{LuaTeX allocation}
Almost all changes at this release relate to incorporating allocation macros for luatex into the format
-as done for etex and xetex in 2015/01/01. For details see |ltluatex.dtx| or \LaTeX\ News 22.
+as done for etex and xetex in 2015/01/01. For details see |ltluatex.dtx| or \ltnewsissue{22}.
|ltluatex.dtx| now forms a new chapter (N) in the documented sources, |source2e.tex|.
diff --git a/Master/texmf-dist/doc/latex/base/latexrelease.pdf b/Master/texmf-dist/doc/latex/base/latexrelease.pdf
index f80d2b4c6f5..83dec9c51b5 100644
--- a/Master/texmf-dist/doc/latex/base/latexrelease.pdf
+++ b/Master/texmf-dist/doc/latex/base/latexrelease.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/latexsym.pdf b/Master/texmf-dist/doc/latex/base/latexsym.pdf
index 050821f4c51..bcd8e02bd42 100644
--- a/Master/texmf-dist/doc/latex/base/latexsym.pdf
+++ b/Master/texmf-dist/doc/latex/base/latexsym.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/lb2.pdf b/Master/texmf-dist/doc/latex/base/lb2.pdf
index 798d4d9dff6..151a09d6985 100644
--- a/Master/texmf-dist/doc/latex/base/lb2.pdf
+++ b/Master/texmf-dist/doc/latex/base/lb2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/letter.pdf b/Master/texmf-dist/doc/latex/base/letter.pdf
index 85b073ee2b6..8f3a4becf49 100644
--- a/Master/texmf-dist/doc/latex/base/letter.pdf
+++ b/Master/texmf-dist/doc/latex/base/letter.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/lgc2.pdf b/Master/texmf-dist/doc/latex/base/lgc2.pdf
index 3fe21164e2c..583b31b45b9 100644
--- a/Master/texmf-dist/doc/latex/base/lgc2.pdf
+++ b/Master/texmf-dist/doc/latex/base/lgc2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/lppl.pdf b/Master/texmf-dist/doc/latex/base/lppl.pdf
index 6259dfa5df4..c1ce02791ac 100644
--- a/Master/texmf-dist/doc/latex/base/lppl.pdf
+++ b/Master/texmf-dist/doc/latex/base/lppl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/ltluatex.pdf b/Master/texmf-dist/doc/latex/base/ltluatex.pdf
index fcb128e4324..972b5769990 100644
--- a/Master/texmf-dist/doc/latex/base/ltluatex.pdf
+++ b/Master/texmf-dist/doc/latex/base/ltluatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/ltnews.pdf b/Master/texmf-dist/doc/latex/base/ltnews.pdf
index 0226df70996..e2c71ad6b3e 100644
--- a/Master/texmf-dist/doc/latex/base/ltnews.pdf
+++ b/Master/texmf-dist/doc/latex/base/ltnews.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/ltx3info.pdf b/Master/texmf-dist/doc/latex/base/ltx3info.pdf
index 414ff2c2d1d..7e7725c6b1c 100644
--- a/Master/texmf-dist/doc/latex/base/ltx3info.pdf
+++ b/Master/texmf-dist/doc/latex/base/ltx3info.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/ltxdoc.pdf b/Master/texmf-dist/doc/latex/base/ltxdoc.pdf
index 77e84c11c6c..dfd8ff63d6c 100644
--- a/Master/texmf-dist/doc/latex/base/ltxdoc.pdf
+++ b/Master/texmf-dist/doc/latex/base/ltxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/makeindx.pdf b/Master/texmf-dist/doc/latex/base/makeindx.pdf
index d4b146ab5d7..93e14cddc95 100644
--- a/Master/texmf-dist/doc/latex/base/makeindx.pdf
+++ b/Master/texmf-dist/doc/latex/base/makeindx.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/manual.pdf b/Master/texmf-dist/doc/latex/base/manual.pdf
index 814fabe12ba..abb92c4bc38 100644
--- a/Master/texmf-dist/doc/latex/base/manual.pdf
+++ b/Master/texmf-dist/doc/latex/base/manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/modguide.pdf b/Master/texmf-dist/doc/latex/base/modguide.pdf
index b3f1559b24d..619f04509b1 100644
--- a/Master/texmf-dist/doc/latex/base/modguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/modguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/nfssfont.pdf b/Master/texmf-dist/doc/latex/base/nfssfont.pdf
index 4c5f147804b..d1a86420a61 100644
--- a/Master/texmf-dist/doc/latex/base/nfssfont.pdf
+++ b/Master/texmf-dist/doc/latex/base/nfssfont.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/proc.pdf b/Master/texmf-dist/doc/latex/base/proc.pdf
index d8d6a74438d..ccc9a668bf0 100644
--- a/Master/texmf-dist/doc/latex/base/proc.pdf
+++ b/Master/texmf-dist/doc/latex/base/proc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/slides.pdf b/Master/texmf-dist/doc/latex/base/slides.pdf
index 2c563e2005f..e5a62d02068 100644
--- a/Master/texmf-dist/doc/latex/base/slides.pdf
+++ b/Master/texmf-dist/doc/latex/base/slides.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/slifonts.pdf b/Master/texmf-dist/doc/latex/base/slifonts.pdf
index f2ce3abcfe0..7967ced3cb6 100644
--- a/Master/texmf-dist/doc/latex/base/slifonts.pdf
+++ b/Master/texmf-dist/doc/latex/base/slifonts.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/source2e.pdf b/Master/texmf-dist/doc/latex/base/source2e.pdf
index 21c8a6699fe..6806c8fcc13 100644
--- a/Master/texmf-dist/doc/latex/base/source2e.pdf
+++ b/Master/texmf-dist/doc/latex/base/source2e.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/syntonly.pdf b/Master/texmf-dist/doc/latex/base/syntonly.pdf
index c6b5e1c1c5c..87c7b9e9ce8 100644
--- a/Master/texmf-dist/doc/latex/base/syntonly.pdf
+++ b/Master/texmf-dist/doc/latex/base/syntonly.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/tlc2.pdf b/Master/texmf-dist/doc/latex/base/tlc2.pdf
index 3fedd7f7a64..f8e2ff655b0 100644
--- a/Master/texmf-dist/doc/latex/base/tlc2.pdf
+++ b/Master/texmf-dist/doc/latex/base/tlc2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/tulm.pdf b/Master/texmf-dist/doc/latex/base/tulm.pdf
index 9ded6858551..3f695c4804f 100644
--- a/Master/texmf-dist/doc/latex/base/tulm.pdf
+++ b/Master/texmf-dist/doc/latex/base/tulm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/usrguide.pdf b/Master/texmf-dist/doc/latex/base/usrguide.pdf
index 6f767888c69..c81b24118cc 100644
--- a/Master/texmf-dist/doc/latex/base/usrguide.pdf
+++ b/Master/texmf-dist/doc/latex/base/usrguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/utf8ienc.pdf b/Master/texmf-dist/doc/latex/base/utf8ienc.pdf
index 358f0abce1a..a722bc38de8 100644
--- a/Master/texmf-dist/doc/latex/base/utf8ienc.pdf
+++ b/Master/texmf-dist/doc/latex/base/utf8ienc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/base/webcomp.pdf b/Master/texmf-dist/doc/latex/base/webcomp.pdf
index b95e6335805..858a145b382 100644
--- a/Master/texmf-dist/doc/latex/base/webcomp.pdf
+++ b/Master/texmf-dist/doc/latex/base/webcomp.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/base/latexrelease.dtx b/Master/texmf-dist/source/latex/base/latexrelease.dtx
index 3a129e981b2..02194cee116 100644
--- a/Master/texmf-dist/source/latex/base/latexrelease.dtx
+++ b/Master/texmf-dist/source/latex/base/latexrelease.dtx
@@ -40,7 +40,7 @@
%<*!fixltx2e>
% \fi
% \ProvidesFile{latexrelease.dtx}
- [2018/02/18 v1.0j LaTeX release emulation and tests
+ [2018/05/08 v1.0k LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
% \iffalse
%</!fixltx2e>
@@ -108,6 +108,12 @@
% the commands defined here to adjust their definitions to the
% specified date as described below.
%
+% Note that the \Lpack{latexrelease} package is intended for use
+% at the start of a \emph{document}. Package and class code should not
+% include this package as loading a package should not normally globally
+% reset the effective version of \LaTeX\ that is in force, so affecting all
+% other packages used in the document.
+%
%
% The bulk of this package, after some initial setup and option
% handling consists of a series of |\IncludeInRelease| commands
@@ -123,16 +129,27 @@
% package has no information will generate a warning. Dates
% earlier than 2015 will work but will roll back to some point in 2015
% when the method was introduced.
+% |\IncludeInRelease| command is defined.
+% The |\requestedLaTeXdate| is set to the normalized date argument
+% so that package rollback defaults to the specified date.
%
% \item%
% |current| This is the default behaviour, it does not change the
% effective date of the format but does ensure that the
% |\IncludeInRelease| command is defined.
+% the |\requestedLaTeXdate| is reset to 0 so that package rollback
+% does not use the implicit date.
+% |\IncludeInRelease| command is defined.
+% The |\requestedLaTeXdate| macro is reset to 0 so that package rollback
+% does not use the implicit date.
%
% \item
% |latest| sets the effective date of the format to the release date
% of this file, so in an older format applies all patches currently
% available.
+% |\IncludeInRelease| command is defined.
+% The |\requestedLaTeXdate| macro is reset to 0 so that package rollback
+% does not use the implicit date.
% \end{itemize}
%
%
@@ -379,18 +396,21 @@
% \end{macro}
%
% \changes{v1.0c}{2015/02/19}{Swap argument order}
+% \changes{v1.0k}{2018/05/08}{reset \cs{\requestedLaTeXdate} for current and latest options, gitub issue 43}
% \begin{macrocode}
\DeclareOption*{%
\def\@IncludeInRelease#1[#2]{\@IncludeInRele@se{#1}}%
\let\requestedpatchdate\CurrentOption}
\DeclareOption{latest}{%
- \let\requestedpatchdate\latexreleaseversion}
+ \let\requestedpatchdate\latexreleaseversion
+ \AtEndOfPackage{\def\requestedLaTeXdate{0}}}
\DeclareOption{current}{%
- \let\requestedpatchdate\fmtversion}
+ \let\requestedpatchdate\fmtversion
+ \AtEndOfPackage{\def\requestedLaTeXdate{0}}}
% \end{macrocode}
%
% \begin{macrocode}
-\ExecuteOptions{current}
+\let\requestedpatchdate\fmtversion
\ProcessOptions\relax
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/base/ltclass.dtx b/Master/texmf-dist/source/latex/base/ltclass.dtx
index 63c66a16b32..199d839ed47 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/04/10 v1.2h LaTeX Kernel (Class & Package Interface)]
+ [2018/05/08 v1.2i LaTeX Kernel (Class & Package Interface)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltclass.dtx}
@@ -2144,18 +2144,17 @@
% \end{macrocode}
% If the min-date is after the requested rollback date (if there is
% any, i.e., if it is not zero) then we have a conflict and
-% therefore issue an error.
+% therefore issue a warning.
+% \changes{v1.2i}{2018/05/08}
+% {Make suspicious rollback a warning not error: github issue 43}
% \begin{macrocode}
\ifnum \pkgcls@targetdate > \z@
\ifnum \@parse@version0#1//00\@nil > \pkgcls@targetdate
- \@latex@error{Suspicious rollback/min-date date given}%
- {There is a minimal date of #1 specified for
- \@cls@pkg\space'\pkgcls@name'.\MessageBreak
+ \@latex@warning@no@line{Suspicious rollback/min-date date given\MessageBreak
+ A minimal date of #1 has been specified for
+ \@cls@pkg\MessageBreak '\pkgcls@name'.\MessageBreak
But this is in conflict
- with a rollback request to \requestedpatchdate,
- so something\MessageBreak
- is wrong here. Continue and I
- ignore the minimal date request.}%
+ with a rollback request to \requestedpatchdate}
\fi
\fi
\fi
@@ -2295,7 +2294,7 @@
% We then set the |\pkgcls@targetdate| to zero so that any
% |\DeclareRelease| or |\DeclareCurrentRelease| in the file we
% now load are bypassed\footnote{The older release may also have
-% such declarations inside if it was a simply copy od the
+% such declarations inside if it was a simply copy of the
% \texttt{.sty} or \texttt{.cls} file current at that
% date. Removing these declarations would make the file load a tiny
% bit faster, but this way it works in any case.} and then we
diff --git a/Master/texmf-dist/source/latex/base/ltfinal.dtx b/Master/texmf-dist/source/latex/base/ltfinal.dtx
index 01ea82cdb94..0cc4e69bfd4 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/04/08 v2.1d LaTeX Kernel (Final Settings)]
+ [2018/05/11 v2.1e LaTeX Kernel (Final Settings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfinal.dtx}
@@ -650,16 +650,23 @@
% \end{macro}
%
% \changes{v2.1d}{2018/04/08}{Delay full UTF-8 handling to \cs{everyjob}}
+% \changes{v2.18}{2018/05/11}{Make invalit UTF-8 also safe, for legacy filesystem encodings}
% \begin{macrocode}
\edef\inputencodingname{utf8}%
\input{utf8.def}
+\let\UTFviii@undefined@err@@\UTFviii@undefined@err
+\let\UTFviii@invalid@err@@\UTFviii@invalid@err
\let\UTFviii@two@octets@@\UTFviii@two@octets
\let\UTFviii@three@octets@@\UTFviii@three@octets
\let\UTFviii@four@octets@@\UTFviii@four@octets
-%<2ekernel>\long\def\UTFviii@two@octets#1#2{\string#1\string#2}
-%<2ekernel>\long\def\UTFviii@three@octets#1#2#3{\string#1\string#2\string#3}
-%<2ekernel>\long\def\UTFviii@four@octets#1#2#3#4{\string#1\string#2\string#3\string#4}
+%<2ekernel>\def\UTFviii@undefined@err#1{\@gobble#1}%
+%<2ekernel>\let\UTFviii@invalid@err\string
+%<2ekernel>\let\UTFviii@two@octets\string
+%<2ekernel>\let\UTFviii@three@octets\string
+%<2ekernel>\let\UTFviii@four@octets\string
%<2ekernel>\everyjob\expandafter{\the\everyjob
+%<2ekernel>\let\UTFviii@undefined@err\UTFviii@undefined@err@@
+%<2ekernel>\let\UTFviii@invalid@err\UTFviii@invalid@err@@
%<2ekernel>\let\UTFviii@two@octets\UTFviii@two@octets@@
%<2ekernel>\let\UTFviii@three@octets\UTFviii@three@octets@@
%<2ekernel>\let\UTFviii@four@octets\UTFviii@four@octets@@
diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx
index 05f2361b026..cb207695efa 100644
--- a/Master/texmf-dist/source/latex/base/ltvers.dtx
+++ b/Master/texmf-dist/source/latex/base/ltvers.dtx
@@ -115,7 +115,7 @@
{2018-04-01}
%</2ekernel|latexrelease>
%<*2ekernel>
-\def\patch@level{4}
+\def\patch@level{5}
% \end{macrocode}
% \end{macro}
% \end{macro}
diff --git a/Master/texmf-dist/tex/latex/base/latex.ltx b/Master/texmf-dist/tex/latex/base/latex.ltx
index df97702703f..b3ae3eab45d 100644
--- a/Master/texmf-dist/tex/latex/base/latex.ltx
+++ b/Master/texmf-dist/tex/latex/base/latex.ltx
@@ -701,7 +701,7 @@
\def\fmtname{LaTeX2e}
\edef\fmtversion
{2018-04-01}
-\def\patch@level{4}
+\def\patch@level{5}
\iffalse
\def\reserved@a#1/#2/#3\@nil{%
\count@\year
@@ -8198,14 +8198,11 @@ Type H <return> for immediate help.}%
\def\pkgcls@mindate{#1}%
\ifnum \pkgcls@targetdate > \z@
\ifnum \@parse@version0#1//00\@nil > \pkgcls@targetdate
- \@latex@error{Suspicious rollback/min-date date given}%
- {There is a minimal date of #1 specified for
- \@cls@pkg\space'\pkgcls@name'.\MessageBreak
+ \@latex@warning@no@line{Suspicious rollback/min-date date given\MessageBreak
+ A minimal date of #1 has been specified for
+ \@cls@pkg\MessageBreak '\pkgcls@name'.\MessageBreak
But this is in conflict
- with a rollback request to \requestedpatchdate,
- so something\MessageBreak
- is wrong here. Continue and I
- ignore the minimal date request.}%
+ with a rollback request to \requestedpatchdate}
\fi
\fi
\fi
@@ -8680,13 +8677,19 @@ Type H <return> for immediate help.}%
\let\DeclareFontEncoding@saved\DeclareFontEncoding@
\edef\inputencodingname{utf8}%
\input{utf8.def}
+\let\UTFviii@undefined@err@@\UTFviii@undefined@err
+\let\UTFviii@invalid@err@@\UTFviii@invalid@err
\let\UTFviii@two@octets@@\UTFviii@two@octets
\let\UTFviii@three@octets@@\UTFviii@three@octets
\let\UTFviii@four@octets@@\UTFviii@four@octets
-\long\def\UTFviii@two@octets#1#2{\string#1\string#2}
-\long\def\UTFviii@three@octets#1#2#3{\string#1\string#2\string#3}
-\long\def\UTFviii@four@octets#1#2#3#4{\string#1\string#2\string#3\string#4}
+\def\UTFviii@undefined@err#1{\@gobble#1}%
+\let\UTFviii@invalid@err\string
+\let\UTFviii@two@octets\string
+\let\UTFviii@three@octets\string
+\let\UTFviii@four@octets\string
\everyjob\expandafter{\the\everyjob
+\let\UTFviii@undefined@err\UTFviii@undefined@err@@
+\let\UTFviii@invalid@err\UTFviii@invalid@err@@
\let\UTFviii@two@octets\UTFviii@two@octets@@
\let\UTFviii@three@octets\UTFviii@three@octets@@
\let\UTFviii@four@octets\UTFviii@four@octets@@
diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty
index 27e82353a26..29cb5c7df6c 100644
--- a/Master/texmf-dist/tex/latex/base/latexrelease.sty
+++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty
@@ -145,14 +145,11 @@
\def\pkgcls@mindate{#1}%
\ifnum \pkgcls@targetdate > \z@
\ifnum \@parse@version0#1//00\@nil > \pkgcls@targetdate
- \@latex@error{Suspicious rollback/min-date date given}%
- {There is a minimal date of #1 specified for
- \@cls@pkg\space'\pkgcls@name'.\MessageBreak
+ \@latex@warning@no@line{Suspicious rollback/min-date date given\MessageBreak
+ A minimal date of #1 has been specified for
+ \@cls@pkg\MessageBreak '\pkgcls@name'.\MessageBreak
But this is in conflict
- with a rollback request to \requestedpatchdate,
- so something\MessageBreak
- is wrong here. Continue and I
- ignore the minimal date request.}%
+ with a rollback request to \requestedpatchdate}
\fi
\fi
\fi
@@ -331,17 +328,19 @@
\PackageError{latexrelease}{skipped IncludeInRelease}{}%
\fi}
\ProvidesPackage{latexrelease}
- [2018/02/18 v1.0j LaTeX release emulation and tests
+ [2018/05/08 v1.0k LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\DeclareOption*{%
\def\@IncludeInRelease#1[#2]{\@IncludeInRele@se{#1}}%
\let\requestedpatchdate\CurrentOption}
\DeclareOption{latest}{%
- \let\requestedpatchdate\latexreleaseversion}
+ \let\requestedpatchdate\latexreleaseversion
+ \AtEndOfPackage{\def\requestedLaTeXdate{0}}}
\DeclareOption{current}{%
- \let\requestedpatchdate\fmtversion}
-\ExecuteOptions{current}
+ \let\requestedpatchdate\fmtversion
+ \AtEndOfPackage{\def\requestedLaTeXdate{0}}}
+\let\requestedpatchdate\fmtversion
\ProcessOptions\relax
\def\reserved@a{%
\edef\requestedLaTeXdate{\the\count@}%
@@ -3583,6 +3582,8 @@ of this package available from CTAN}
\let\DeclareFontEncoding@saved\DeclareFontEncoding@
\edef\inputencodingname{utf8}%
\input{utf8.def}
+\let\UTFviii@undefined@err@@\UTFviii@undefined@err
+\let\UTFviii@invalid@err@@\UTFviii@invalid@err
\let\UTFviii@two@octets@@\UTFviii@two@octets
\let\UTFviii@three@octets@@\UTFviii@three@octets
\let\UTFviii@four@octets@@\UTFviii@four@octets