summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/base/latexrelease.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/latexrelease.sty')
-rw-r--r--Master/texmf-dist/tex/latex/base/latexrelease.sty604
1 files changed, 587 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty
index aa674d456a8..25de5431147 100644
--- a/Master/texmf-dist/tex/latex/base/latexrelease.sty
+++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty
@@ -4,38 +4,55 @@
%%
%% The original source files were:
%%
-%% ltclass.dtx (with options: `isodate')
+%% ltclass.dtx (with options: `latexreleasefirst,tracerollback')
%% ltvers.dtx (with options: `latexrelease')
%% latexrelease.dtx (with options: `latexrelease')
%% ltdirchk.dtx (with options: `latexrelease')
%% ltdefns.dtx (with options: `latexrelease')
+%% ltalloc.dtx (with options: `latexrelease')
+%% ltcntrl.dtx (with options: `latexrelease')
+%% lterror.dtx (with options: `latexrelease')
+%% ltpar.dtx (with options: `latexrelease')
+%% ltlists.dtx (with options: `latexrelease')
%% ltboxes.dtx (with options: `latexrelease')
+%% lttab.dtx (with options: `latexrelease')
%% ltmath.dtx (with options: `latexrelease')
%% ltpictur.dtx (with options: `latexrelease')
+%% ltthm.dtx (with options: `latexrelease')
+%% ltsect.dtx (with options: `latexrelease')
%% ltfiles.dtx (with options: `latexrelease')
%% ltoutenc.dtx (with options: `latexrelease')
%% ltcounts.dtx (with options: `latexrelease')
%% ltlength.dtx (with options: `latexrelease')
%% ltfloat.dtx (with options: `latexrelease')
+%% ltidxglo.dtx (with options: `latexrelease')
+%% ltbibl.dtx (with options: `latexrelease')
+%% ltpage.dtx (with options: `latexrelease')
%% ltoutput.dtx (with options: `latexrelease')
-%% ltclass.dtx (with options: `latexrelease')
+%% ltclass.dtx (with options: `latexrelease,tracerollback')
%% ltspace.dtx (with options: `latexrelease')
+%% ltlogos.dtx (with options: `latexrelease')
%% ltplain.dtx (with options: `latexrelease')
%% ltfssdcl.dtx (with options: `latexrelease')
%% ltfssini.dtx (with options: `latexrelease')
+%% ltfntcmd.dtx (with options: `latexrelease')
%% ltfssbas.dtx (with options: `latexrelease')
+%% ltfsstrc.dtx (with options: `latexrelease')
%% ltfsscmp.dtx (with options: `latexrelease')
+%% ltpageno.dtx (with options: `latexrelease')
+%% ltxref.dtx (with options: `latexrelease')
+%% ltmiscen.dtx (with options: `latexrelease')
%% ltluatex.dtx (with options: `latexrelease')
%% ltfinal.dtx (with options: `latexrelease')
%%
%% This is a generated file.
%%
%% The source is maintained by the LaTeX Project team and bug
-%% reports for it can be opened at http://latex-project.org/bugs.html
+%% 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.
%%
@@ -46,7 +63,7 @@
%% 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
+%% https://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.
%%
@@ -69,10 +86,209 @@
}
\def\@parse@version@dash#1-#2-#3#4#5\@nil{%
\if\relax#2\relax\else#1\fi#2#3#4 }
+\let\pkgcls@debug\@gobble
+\def\requestedLaTeXdate{0}
+\ifx\pkgcls@targetdate\@undefined
+ \newcount\pkgcls@targetdate
+\fi
+\let\pkgcls@targetlabel\@empty
+\def\pkgcls@innerdate{\maxdimen}
+
+\let\pkgcls@candidate\@empty
+\let\pkgcls@releasedate\@empty
+\ifx\load@onefilewithoptions\@undefined
+ \let\load@onefilewithoptions\@onefilewithoptions
+ \def\@onefilewithoptions#1[#2][#3]#4{%
+ \pkgcls@debug{--- File loaded request (\noexpand\usepackage or ...)}%
+ \pkgcls@debug{\@spaces 1: #1}%
+ \pkgcls@debug{\@spaces 2: #2}%
+ \pkgcls@debug{\@spaces 3: #3}%
+ \pkgcls@debug{\@spaces 4: #4}%
+ \def\pkgcls@name{#1}% % for info message
+ \def\pkgcls@arg {#3}% % for info message
+ \pkgcls@parse@date@arg{#3}%
+ \let\pkgcls@candidate\@empty
+ \load@onefilewithoptions#1[#2][\pkgcls@mindate]#4%
+ }
+\fi
+\def\pkgcls@parse@date@arg #1{%
+ \ifx\@nil#1\@nil
+ \pkgcls@targetdate\requestedLaTeXdate\relax
+ \let\pkgcls@targetlabel\@empty
+ \let\pkgcls@mindate\@empty
+ \else
+ \pkgcls@parse@date@arg@#1=\@nil\relax
+ \fi
+ }
+\def\pkgcls@parse@date@arg@#1=#2\@nil{%
+ \pkgcls@targetdate
+ \ifx\@nil#1\@nil
+ \@parse@version0#2//00\@nil\relax
+ \ifnum \pkgcls@targetdate=\z@
+ \pkgcls@targetdate\@ne
+ \def\pkgcls@innerdate{\maxdimen}%
+ \pkgcls@parse@date@arg@version#2%
+ \else
+ \edef\pkgcls@innerdate{\the\pkgcls@targetdate}%
+ \fi
+ \let\pkgcls@mindate\@empty
+ \else
+ \requestedLaTeXdate\relax
+ \let\pkgcls@targetlabel\@empty
+ \def\pkgcls@innerdate{\maxdimen}%
+ \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
+ 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.}%
+ \fi
+ \fi
+ \fi
+}
+\def\pkgcls@parse@date@arg@version#1={%
+ \def\pkgcls@targetlabel{#1}}
+
+\def\DeclareRelease#1#2#3{%
+ \ifnum\pkgcls@targetdate>\z@ % some sort of rollback request
+ \pkgcls@debug{---\string\DeclareRelease:}%
+ \pkgcls@debug{\@spaces 1: #1}%
+ \pkgcls@debug{\@spaces 2: #2}%
+ \pkgcls@debug{\@spaces 3: #3}%
+ \ifx\@nil#2\@nil
+ \ifnum\pkgcls@targetdate=\@ne % named request
+ \def\reserved@a{#1}%
+ \ifx\pkgcls@targetlabel\reserved@a
+ \pkgcls@use@this@release{#3}{}%
+ \else
+ \pkgcls@debug{Label doesn't match}%
+ \fi
+ \else
+ \pkgcls@debug{Date request: ignored}%
+ \fi
+ \else
+ \ifnum\pkgcls@targetdate>\@ne % a real request
+ \ifnum\@parse@version#2//00\@nil
+ >\pkgcls@targetdate
+ \ifx\pkgcls@candidate\@empty
+ \pkgcls@rollbackdate@error{#2}%
+ \pkgcls@use@this@release{#3}{#2}%
+ \else
+ \pkgcls@use@this@release\pkgcls@candidate
+ \pkgcls@releasedate
+ \fi
+ \else
+ \def\pkgcls@candidate{#3}%
+ \def\pkgcls@releasedate{#2}%
+ \pkgcls@debug{New candidate: #3}%
+ \fi
+ \else
+ \def\reserved@a{#1}%
+ \ifx\pkgcls@targetlabel\reserved@a
+ \pkgcls@use@this@release{#3}{#2}%
+ \else
+ \pkgcls@debug{Label doesn't match}%
+ \fi
+ \fi
+ \fi
+ \fi
+}
+
+\def\pkgcls@use@this@release#1#2{%
+ \pkgcls@show@selection{#1}{#2}%
+ \pkgcls@targetdate\z@
+ \@@input #1\relax
+ \endinput
+}
+
+\def\pkgcls@show@selection#1#2{%
+ \pkgcls@debug{Result: use #1}%
+ \GenericInfo
+ {\@spaces\@spaces\space}{Rollback for
+ \@cls@pkg\space'\@currname' requested ->
+ \ifnum\pkgcls@targetdate>\@ne
+ date
+ \ifnum\requestedLaTeXdate=\pkgcls@targetdate
+ \requestedpatchdate
+ \else
+ \expandafter\@gobble\pkgcls@arg
+ \fi.\MessageBreak
+ Best approximation is
+ \else
+ version '\pkgcls@targetlabel'.\MessageBreak
+ This corresponds to
+ \fi
+ \ifx\@nil#2\@nil
+ a special release%
+ \else
+ the release introduced on #2%
+ \fi
+ \@gobble}%
+}
+
+\def\pkgcls@rollbackdate@error#1{%
+ \@latex@error{Suspicious rollback date given}%
+ {The \@cls@pkg\space'\@currname' claims that it
+ came into existence on #1 which\MessageBreak
+ is after your requested rollback date --- so
+ something is wrong here.\MessageBreak
+ Continue and we use the earliest known release.}}
+\def\DeclareCurrentRelease#1#2{%
+ \ifnum\pkgcls@targetdate>\z@ % some sort of rollback request
+ \pkgcls@debug{---DeclareCurrentRelease}%
+ \pkgcls@debug{ 1: #1}%
+ \pkgcls@debug{ 2: #2}%
+ \ifnum\pkgcls@targetdate>\@ne % a date request
+ \ifnum\@parse@version#2//00\@nil
+ >\pkgcls@targetdate
+
+ \ifx\pkgcls@candidate\@empty
+ \pkgcls@rollbackdate@error{#2}%
+ \else
+ \pkgcls@use@this@release\pkgcls@candidate
+ \pkgcls@releasedate
+ \fi
+ \else
+ \pkgcls@show@selection{current version}{#2}%
+ \fi
+ \else % a label request
+ \def\reserved@a{#1}%
+ \ifx\pkgcls@targetlabel\reserved@a
+ \pkgcls@show@selection{current version}{#2}%
+ \else
+ \@latex@error{Requested version '\pkgcls@targetlabel' for
+ \@cls@pkg\space'\@currname' is unknown}\@ehc
+ \fi
+ \fi
+ \fi
+}
+
+\long\def\IfTargetDateBefore#1{%
+ \ifnum\pkgcls@innerdate <%
+ \expandafter\@parse@version\expandafter0#1//00\@nil
+ \typeout{Exclude code introduced on #1}%
+ \expandafter\@firstoftwo
+ \else
+ \typeout{Include code introduced on #1}%
+ \expandafter\@secondoftwo
+ \fi
+}
%%% From File: ltvers.dtx
\edef\latexreleaseversion
- {2017-04-15}
-\def\IncludeInRelease#1{\kernel@ifnextchar[%
+ {2018-04-01}
+\newif\if@includeinrelease
+\@includeinreleasefalse
+\def\IncludeInRelease#1{%
+ \if@includeinrelease
+ \PackageError{latexrelease}{mis-matched IncludeInRelease}{}%
+ \@includeinreleasefalse
+ \fi
+ \kernel@ifnextchar[%
{\@IncludeInRelease{#1}}
{\@IncludeInRelease{#1}[#1]}}
\def\@IncludeInRelease#1[#2]{\@IncludeInRele@se{#2}}
@@ -85,6 +301,7 @@
\expandafter\expandafter\expandafter\@gobble@IncludeInRelease
\else
\GenericInfo{}{Applying: \the\toks@}%
+ \@includeinreleasetrue
\expandafter\let\csname\string#2+\@currname+IIR\endcsname\@empty
\fi
\else
@@ -92,10 +309,24 @@
\expandafter\@gobble@IncludeInRelease
\fi
}
-\long\def\@gobble@IncludeInRelease#1\EndIncludeInRelease{}
-\let\EndIncludeInRelease\relax
+\def\EndIncludeInRelease{%
+\if@includeinrelease
+ \@includeinreleasefalse
+\else
+ \PackageError{latexrelease}{mis-matched EndIncludeInRelease}{}%
+\fi}
+\long\def\@gobble@IncludeInRelease#1\EndIncludeInRelease{%
+ \@includeinreleasefalse
+ \@check@IncludeInRelease#1\IncludeInRelease\@check@IncludeInRelease
+ \@end@check@IncludeInRelease}
+\long\def\@check@IncludeInRelease#1\IncludeInRelease
+ #2#3\@end@check@IncludeInRelease{%
+ \ifx\@check@IncludeInRelease#2\else
+ \PackageError{latexrelease}{skipped IncludeInRelease}{}%
+ \fi}
\ProvidesPackage{latexrelease}
- [2016/12/29 v1.0h LaTeX release emulation and tests]
+ [2018/02/18 v1.0j LaTeX release emulation and tests
+ (including releases up to \latexreleaseversion)]
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\DeclareOption*{%
\def\@IncludeInRelease#1[#2]{\@IncludeInRele@se{#1}}%
@@ -114,7 +345,7 @@
\ifx\reserved@b\@empty\else
\PackageError{latexrelease}%
{Unexpected option \requestedpatchdate}%
- {The option must be of the form yyyy/mm/dd}%
+ {The option must be of the form yyyy/mm/dd or yyyy-mm-dd}%
\fi}
\afterassignment\reserved@a
\count@\expandafter
@@ -123,7 +354,7 @@
\expandafter\@parse@version\fmtversion//00\@nil}
\ifnum\requestedLaTeXdate=\currentLaTeXdate
\PackageWarningNoLine{latexrelease}{%
- Current format date selected, no patches applied.}
+ Current format date selected, no patches applied}
\expandafter\endinput
\fi
\ifnum\currentLaTeXdate
@@ -211,6 +442,43 @@ of this package available from CTAN}
\IncludeInRelease{0000/00/00}{\MakeRobust}{\MakeRobust}%
\let\MakeRobust\@undefined
\EndIncludeInRelease
+\IncludeInRelease{2018-04-01}{\@ifundefined}
+{Leave commands undefined in \@ifundefined}%
+\def\@ifundefined#1{%
+ \ifcsname#1\endcsname\@ifundefin@d@i\else\@ifundefin@d@ii\fi{#1}}
+\long\def\@ifundefin@d@i#1\fi#2{\fi
+ \expandafter\ifx\csname #2\endcsname\relax
+ \@ifundefin@d@ii
+ \fi
+ \@secondoftwo}
+\long\def\@ifundefin@d@ii\fi#1#2#3{\fi #2}
+\ifx\numexpr\@undefined
+\def\@ifundefined#1{%
+ \expandafter\ifx\csname#1\endcsname\relax
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\else\ifx\directlua\@undefined
+\else
+\def\@ifundefined#1{%
+ \ifcsname#1\endcsname
+ \expandafter\ifx\lastnamedcs\relax\else\@ifundefin@d@i\fi
+ \fi
+ \@firstoftwo}
+\long\def\@ifundefin@d@i#1#2#3#4#5{#1#2#5}
+\fi
+\fi
+\EndIncludeInRelease
+\IncludeInRelease{0000-00-00}{\@ifundefined}
+{Leave commands undefined in \@ifundefined}%
+\def\@ifundefined#1{%
+ \expandafter\ifx\csname#1\endcsname\relax
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\EndIncludeInRelease
\IncludeInRelease{2017/04/15}{\-}{Use \hyphenchar in \-}%
\DeclareRobustCommand{\-}{%
\discretionary{%
@@ -227,6 +495,11 @@ of this package available from CTAN}
\def\-{\discretionary{-}{}{}}
\let\@dischyph=\-
\EndIncludeInRelease
+%%% From File: ltalloc.dtx
+%%% From File: ltcntrl.dtx
+%%% From File: lterror.dtx
+%%% From File: ltpar.dtx
+%%% From File: ltlists.dtx
%%% From File: ltboxes.dtx
\IncludeInRelease{2015/01/01}%
{\makebox}{Make \makebox robust}%
@@ -346,6 +619,7 @@ of this package available from CTAN}
\@ifnextchar[{\@rsbox{#1}}{\@irsbox{#1}[]}}
\expandafter\let\csname raisebox \endcsname\@undefined
\EndIncludeInRelease
+%%% From File: lttab.dtx
%%% From File: ltmath.dtx
\IncludeInRelease{2015/01/01}{\(}{Make \( robust}%
\DeclareRobustCommand\({%
@@ -499,8 +773,10 @@ of this package available from CTAN}
\if@ovl \else \kern \@ovdx \fi
\kern \@ovri}}
\EndIncludeInRelease
+%%% From File: ltthm.dtx
+%%% From File: ltsect.dtx
%%% From File: ltfiles.dtx
-\IncludeInRelease{2017/03/10}%
+\IncludeInRelease{2017/04/15}%
{\document}{Save language for hyphenation}%
\def\document{\endgroup
\ifx\@unusedoptionlist\@empty\else
@@ -609,6 +885,7 @@ of this package available from CTAN}
\global\let \@nodocument \relax
\global\let\do\noexpand
\ignorespaces}
+\EndIncludeInRelease
%%% From File: ltoutenc.dtx
\IncludeInRelease{2017/04/15}{\DeclareTextCompositeCommand}
{test for undeclared accent}%
@@ -704,6 +981,7 @@ of this package available from CTAN}
\let\csname\string\T1\string\c-g\endcsname\@undefined
\EndIncludeInRelease
%%% From File: ltcounts.dtx
+
\IncludeInRelease{2015/01/01}{\@stpelt}
{Reset nested counters}%
\def\@stpelt#1{\global\csname c@#1\endcsname \m@ne\stepcounter{#1}}%
@@ -712,6 +990,62 @@ of this package available from CTAN}
{Reset nested counters}%%
\def\@stpelt#1{\global\csname c@#1\endcsname \z@}%
\EndIncludeInRelease
+\IncludeInRelease{2018-04-01}
+ {\@removefromreset}{Add interfaces}%
+\def\@removefromreset#1#2{%
+ \@ifundefined{c@#2}\relax
+ {\begingroup
+ \expandafter\let\csname c@#1\endcsname\@removefromreset
+ \def\@elt##1{%
+ \expandafter\ifx\csname c@##1\endcsname\@removefromreset
+ \else
+ \noexpand\@elt{##1}%
+ \fi}%
+ \expandafter\xdef\csname cl@#2\endcsname
+ {\csname cl@#2\endcsname}%
+ \endgroup}}
+
+\def\@ifbothcounters#1#2#3{%
+ \@ifundefined{c@#1}{\@nocounterr{#1}}%
+ {% else counter is defined
+ \@ifundefined{c@#2}{\@nocounterr{#2}}%
+ {% else both counter and within are defined
+ #3}}}
+
+\def\counterwithout {\@ifstar\counterwithout@s\counterwithout@x}
+\def\counterwithout@s#1#2{%
+ \@ifbothcounters{#1}{#2}{\@removefromreset{#1}{#2}}}
+\def\counterwithout@x#1#2{%
+ \@ifbothcounters{#1}{#2}%
+ {\@removefromreset{#1}{#2}%
+ \expandafter
+ \gdef\csname the#1\expandafter\endcsname\expandafter
+ {\expandafter
+ \@arabic\csname c@#1\endcsname}}}
+
+\def\counterwithin{\@ifstar\counterwithin@s\counterwithin@x}
+\def\counterwithin@s#1#2{%
+ \@ifbothcounters{#1}{#2}{\@addtoreset{#1}{#2}}}
+\def\counterwithin@x#1#2{%
+ \@ifbothcounters{#1}{#2}%
+ {\@addtoreset{#1}{#2}%
+ \expandafter
+ \gdef\csname the#1\expandafter\endcsname\expandafter
+ {\csname the#2\expandafter\endcsname\expandafter
+ \@arabic\csname c@#1\endcsname}}}
+
+\EndIncludeInRelease
+\IncludeInRelease{0000-00-00}
+ {\@removefromreset}{Add interfaces}%
+\let \@removefromreset \undefined
+\let \@ifbothcounters \undefined
+\let \counterwithout \undefined
+\let \counterwithout@s \undefined
+\let \counterwithout@x \undefined
+\let \counterwithin \undefined
+\let \counterwithin@s \undefined
+\let \counterwithin@x \undefined
+\EndIncludeInRelease
\IncludeInRelease{2015/01/01}{\@fnsymbol}{Use \TexOrMath}%
\def\@fnsymbol#1{%
\ifcase#1\or \TextOrMath\textasteriskcentered *\or
@@ -966,13 +1300,16 @@ of this package available from CTAN}
\DeclareRobustCommand*\textsubscript[1]{%
\@textsubscript{\selectfont#1}}%
\def\@textsubscript#1{%
- {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}%
+ {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
\EndIncludeInRelease
\IncludeInRelease{0000/00/00}%
{\textsubscript}{\textsubscript}%
\let\textsubscript\@undefined
\let\@textsubscript\@undefined
\EndIncludeInRelease
+%%% From File: ltidxglo.dtx
+%%% From File: ltbibl.dtx
+%%% From File: ltpage.dtx
%%% From File: ltoutput.dtx
\IncludeInRelease{2015/10/01}%
{\bx@ZZ}{Extended float list}%
@@ -1147,7 +1484,7 @@ of this package available from CTAN}
\fi
}%
\EndIncludeInRelease
-\IncludeInRelease{2017/03/10}%
+\IncludeInRelease{2017/04/15}%
{\@outputpage}{Reset language for hyphenation}%
\def\@outputpage{%
\begingroup
@@ -1262,6 +1599,7 @@ of this package available from CTAN}
\stepcounter{page}%
\let\firstmark\botmark
}
+\EndIncludeInRelease
\IncludeInRelease{2015/01/01}%
{\@startdblcolumn}{float order in 2-column}%
\def \@startdblcolumn {%
@@ -1512,6 +1850,36 @@ of this package available from CTAN}
\EndIncludeInRelease
\IncludeInRelease{2015/01/01}
{\@addtonextcol}{float order in 2-column}%
+\def\@addtonextcol{%
+ \begingroup
+ \@insertfalse
+ \@setfloattypecounts
+ \ifnum \@fpstype=8
+ \else
+ \ifnum \@fpstype=24
+ \else
+ \@flsettextmin
+ \@reqcolroom \ht\@currbox
+ \advance \@reqcolroom \@textmin
+ \ifdim \@colroom>\@reqcolroom
+ \@flsetnum \@colnum
+ \ifnum\@colnum>\z@
+ \@bitor\@currtype\@deferlist
+ \@testwrongwidth\@currbox
+ \if@test
+ \else
+ \@addtotoporbot
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \if@insert
+ \else
+ \@cons\@deferlist\@currbox
+ \fi
+ \endgroup
+}%
\EndIncludeInRelease
\IncludeInRelease{0000/00/00}%
{\@addtonextcol}{float order in 2-column}%
@@ -1733,6 +2101,26 @@ of this package available from CTAN}
}%
\EndIncludeInRelease
%%% From File: ltclass.dtx
+\IncludeInRelease{2018/04/01}%
+ {\@ifl@t@r}{Guard against bad input}%
+\def\@ifl@t@r#1#2{%
+ \ifnum\expandafter\@parse@version\expandafter0#1//00\@nil<%
+ \expandafter\@parse@version\expandafter0#2//00\@nil
+ \expandafter\@secondoftwo
+ \else
+ \expandafter\@firstoftwo
+ \fi}
+\EndIncludeInRelease
+\IncludeInRelease{0000/00/00}%
+ {\@ifl@t@r}{Guard against bad input}%
+\def\@ifl@t@r#1#2{%
+ \ifnum\expandafter\@parse@version#1//00\@nil<%
+ \expandafter\@parse@version#2//00\@nil
+ \expandafter\@secondoftwo
+ \else
+ \expandafter\@firstoftwo
+ \fi}
+\EndIncludeInRelease
\IncludeInRelease{2017/01/01}%
{\@if@pti@ns}{Spaces in option clash check}%
\def\@if@pti@ns#1#2{%
@@ -1766,6 +2154,7 @@ of this package available from CTAN}
\fi
}%
\reserved@a}
+\EndIncludeInRelease
\IncludeInRelease{2017/01/01}%
{\@if@pti@ns}{Spaces in \ExecuteOptions}%
\def\ExecuteOptions#1{%
@@ -1784,6 +2173,7 @@ of this package available from CTAN}
{\csname ds@\CurrentOption\endcsname}%
\edef\CurrentOption{##1}}%
\expandafter\reserved@a\CurrentOption\@nil}
+\EndIncludeInRelease
\IncludeInRelease{2017/01/01}%
{\@fileswith@pti@ns}{ifx tests in \@fileswith@pti@ns}%
\def\@fileswith@pti@ns#1[#2]#3[#4]{%
@@ -1838,6 +2228,7 @@ of this package available from CTAN}
\expandafter\reserved@b\reserved@a,\@nil,}%
\fi
\reserved@a}
+\EndIncludeInRelease
%%% From File: ltspace.dtx
\IncludeInRelease{2015/10/01}%
{\@esphack}{hyphenation after space hack}%
@@ -1965,6 +2356,7 @@ of this package available from CTAN}
{\@}{Space after \@}%
\def\@{\spacefactor\@m}%
\EndIncludeInRelease
+%%% From File: ltlogos.dtx
%%% From File: ltplain.dtx
\IncludeInRelease{2015/01/01}%
{\newcount}{Extended Allocation}%
@@ -2187,7 +2579,7 @@ of this package available from CTAN}
\global\chardef#1\allocationnumber
\wlog{\string#1=\string\insert\the\allocationnumber}}
\EndIncludeInRelease
-\IncludeInRelease{2015/01/20}{\loggingall}{etex tracing}%
+\IncludeInRelease{2015/01/01}{\loggingall}{etex tracing}%
\ifx\tracingscantokens\@undefined
\gdef\loggingall{%
\tracingstats\tw@
@@ -2227,7 +2619,7 @@ of this package available from CTAN}
\errorcontextlines\maxdimen\loggingoutput}
\gdef\tracingall{\loggingall\showoverfull}
\EndIncludeInRelease
-\IncludeInRelease{2015/01/20}{\tracingnone}%
+\IncludeInRelease{2015/01/01}{\tracingnone}%
{turn off etex tracing}%
\ifx\tracingscantokens\@undefined
\def\tracingnone{%
@@ -2409,6 +2801,8 @@ of this package available from CTAN}
\upshape \else \itshape \fi}%
\let\eminnershape\@undefined
\EndIncludeInRelease
+%%% From File: ltfntcmd.dtx
+%%
%%% From File: ltfssbas.dtx
%% Copyright (C) 1989-2002 Frank Mittelbach and Rainer Sch\"opf
\IncludeInRelease{2015/01/01}{\@DeclareMathSizes}%
@@ -2587,6 +2981,9 @@ of this package available from CTAN}
\hbadness\z@\showboxdepth\z@\ #1%
\color@endgroup}}
\EndIncludeInRelease
+%%% From File: ltfsstrc.dtx
+%% Copyright (C) 1989-97 by Frank Mittelbach and Rainer Sch\"opf.
+%% Copyright (C) 1994-97 by LaTeX3 project. All rights reserved.
%%% From File: ltfsscmp.dtx
%% Copyright (C) 1989-1995 Frank Mittelbach and Rainer Sch\"opf,
%% all rights reserved.
@@ -2732,6 +3129,68 @@ of this package available from CTAN}
\SetMathAlphabet#2{#1}{U}}%
\@onlypreamble\addtoversion
\EndIncludeInRelease
+%%% From File: ltpageno.dtx
+%%% From File: ltxref.dtx
+%%% From File: ltmiscen.dtx
+\IncludeInRelease{2017-04-15}{\@verbatim}%
+ {Disable hyphenation in verbatim}%
+\def\@verbatim{\trivlist \item\relax
+ \if@minipage\else\vskip\parskip\fi
+ \leftskip\@totalleftmargin\rightskip\z@skip
+ \parindent\z@\parfillskip\@flushglue\parskip\z@skip
+ \@@par
+ \language\l@nohyphenation
+ \@tempswafalse
+ \def\par{%
+ \if@tempswa
+ \leavevmode \null \@@par\penalty\interlinepenalty
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi
+ \fi}%
+ \let\do\@makeother \dospecials
+ \obeylines \verbatim@font \@noligs
+ \everypar \expandafter{\the\everypar \unpenalty}%
+}
+\EndIncludeInRelease
+\IncludeInRelease{0000-00-00}{\@verbatim}%
+ {Disable hyphenation in verbatim}%
+\def\@verbatim{\trivlist \item\relax
+ \if@minipage\else\vskip\parskip\fi
+ \leftskip\@totalleftmargin\rightskip\z@skip
+ \parindent\z@\parfillskip\@flushglue\parskip\z@skip
+ \@@par
+ \@tempswafalse
+ \def\par{%
+ \if@tempswa
+ \leavevmode \null \@@par\penalty\interlinepenalty
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi
+ \fi}%
+ \let\do\@makeother \dospecials
+ \obeylines \verbatim@font \@noligs
+ \hyphenchar\font\m@ne
+ \everypar \expandafter{\the\everypar \unpenalty}%
+}
+\EndIncludeInRelease
+\IncludeInRelease{2017-04-15}{\verb}%
+ {Disable hyphenation in verb}%
+\def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi
+ \bgroup
+ \verb@eol@error \let\do\@makeother \dospecials
+ \verbatim@font\@noligs
+ \language\l@nohyphenation
+ \@ifstar\@sverb\@verb}
+\EndIncludeInRelease
+\IncludeInRelease{0000-00-00}{\verb}%
+ {Disable hyphenation in verb}%
+\def\verb{\relax\ifmmode\hbox\else\leavevmode\null\fi
+ \bgroup
+ \verb@eol@error \let\do\@makeother \dospecials
+ \verbatim@font\@noligs
+ \@ifstar\@sverb\@verb}
+\EndIncludeInRelease
\ifx\directlua\@undefined\else
\IncludeInRelease{2015/10/01}
{\newluafunction}{LuaTeX}%
@@ -3057,6 +3516,117 @@ of this package available from CTAN}
\global\XeTeXinterchartoks 3 3 = {\nobreak\xtxHanGlue}
\fi
\EndIncludeInRelease
+\IncludeInRelease{2018/04/01}%
+ {\UTFviii@invalid}{UTF-8 default}%
+\ifnum0%
+ \ifx\Umathchar\@undefined\else 1\fi
+ \ifx\mubyte\@undefined\else 1\fi
+ \ifx\charsubdef\@undefined\else 1\fi
+ =\z@
+\def\saved@space@catcode{10}
+\let\@inpenc@test\relax
+\def\IeC{%
+ \ifx\protect\@typeset@protect
+ \expandafter\@firstofone
+ \else
+ \noexpand\IeC
+ \fi
+}
+\@tempcnta=1
+\loop
+ \catcode\@tempcnta=13 %
+ \advance\@tempcnta\@ne %
+\ifnum\@tempcnta<32 %
+\repeat %
+\catcode0=15 % null
+\catcode9=10 % tab
+\catcode10=12 % ctrl J
+\catcode12=13 % ctrl L
+\catcode13=5 % newline
+\@tempcnta=128
+\loop
+ \catcode\@tempcnta=13
+ \advance\@tempcnta\@ne
+\ifnum\@tempcnta<256
+\repeat
+\def\UseRawInputEncoding{%
+\let\DeclareFontEncoding@\DeclareFontEncoding@saved % revert
+\let\DeclareUnicodeCharacter\@undefined % revert
+\@tempcnta=1
+\loop
+ \catcode\@tempcnta=15 %
+ \advance\@tempcnta\@ne %
+\ifnum\@tempcnta<32 %
+\repeat %
+\catcode0=15 % null
+\catcode9=10 % tab
+\catcode10=12 % ctrl J
+\catcode12=13 % ctrl L
+\catcode13=5 % newline
+\@tempcnta=128
+\loop
+ \catcode\@tempcnta=12
+ \advance\@tempcnta\@ne
+\ifnum\@tempcnta<256
+\repeat
+}
+\let\DeclareFontEncoding@saved\DeclareFontEncoding@
+\edef\inputencodingname{utf8}%
+\input{utf8.def}
+\let\@inpenc@test\@undefined
+\let\saved@space@catcode\@undefined
+\else
+\@tempcnta=0
+\loop
+ \catcode\@tempcnta=15 %
+ \advance\@tempcnta\@ne %
+\ifnum\@tempcnta<32 %
+\repeat %
+\catcode0=15 % null
+\catcode9=10 % tab
+\catcode10=12 % ctrl J
+\catcode12=13 % ctrl L
+\catcode13=5 % newline
+\let\UseRawInputEncoding\relax
+\fi
+\EndIncludeInRelease
+\IncludeInRelease{0000/00/00}%
+ {\UTFviii@invalid}{UTF-8 default}%
+\@tempcnta=0
+\loop
+ \catcode\@tempcnta=15
+ \advance\@tempcnta\@ne
+\ifnum\@tempcnta<32
+\repeat %
+\catcode9=10 % tab
+\catcode10=12 % ctrl J
+\catcode12=13 % ctrl L
+\catcode13=5 % newline
+\@tempcnta=128
+\loop
+\catcode\@tempcnta=12
+\advance\@tempcnta\@ne
+\ifnum\@tempcnta<256
+\repeat
+\let\IeC\@undefined
+\def\DeclareFontEncoding@#1#2#3{%
+ \expandafter
+ \ifx\csname T@#1\endcsname\relax
+ \def\cdp@elt{\noexpand\cdp@elt}%
+ \xdef\cdp@list{\cdp@list\cdp@elt{#1}%
+ {\default@family}{\default@series}%
+ {\default@shape}}%
+ \expandafter\let\csname#1-cmd\endcsname\@changed@cmd
+ \else
+ \@font@info{Redeclaring font encoding #1}%
+ \fi
+ \global\@namedef{T@#1}{#2}%
+ \global\@namedef{M@#1}{\default@M#3}%
+ \xdef\LastDeclaredEncoding{#1}%
+ }
+ \let\UseRawInputEncoding\@undefined
+ \let\DeclareFontEncoding@saved\@undefined
+\EndIncludeInRelease
\endinput
%%
%% End of file `latexrelease.sty'.