diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-01 22:00:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-01 22:00:12 +0000 |
commit | b0a27fa1b235b8769c32d6a4af90697503bc5f7f (patch) | |
tree | 8d46da006822aaf3f3637823712a86f545512feb /Master/texmf-dist/tex/latex/base/latexrelease.sty | |
parent | dc8208998ecb52e2206b7943b322681502dd0ced (diff) |
latex 2015/10/01
git-svn-id: svn://tug.org/texlive/trunk@38512 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/latexrelease.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/base/latexrelease.sty | 311 |
1 files changed, 296 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty index 76bf06342e4..7447ff48828 100644 --- a/Master/texmf-dist/tex/latex/base/latexrelease.sty +++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty @@ -6,9 +6,11 @@ %% %% ltvers.dtx (with options: `latexrelease') %% latexrelease.dtx (with options: `latexrelease') +%% ltdirchk.dtx (with options: `latexrelease') %% ltdefns.dtx (with options: `latexrelease') %% ltboxes.dtx (with options: `latexrelease') %% ltmath.dtx (with options: `latexrelease') +%% ltoutenc.dtx (with options: `latexrelease') %% ltcounts.dtx (with options: `latexrelease') %% ltlength.dtx (with options: `latexrelease') %% ltfloat.dtx (with options: `latexrelease') @@ -19,6 +21,7 @@ %% ltfssini.dtx (with options: `latexrelease') %% ltfssbas.dtx (with options: `latexrelease') %% ltfsscmp.dtx (with options: `latexrelease') +%% ltluatex.dtx (with options: `latexrelease') %% ltfinal.dtx (with options: `latexrelease') %% %% This is a generated file. @@ -58,7 +61,7 @@ %% extension .ins) which are part of the distribution. %%% From File: ltvers.dtx \edef\latexreleaseversion - {2015/01/01} + {2015/10/01} \def\IncludeInRelease#1{\kernel@ifnextchar[% {\@IncludeInRelease{#1}} {\@IncludeInRelease{#1}[#1]}} @@ -132,6 +135,23 @@ of this package available from CTAN} \fi \let\fmtversion\requestedpatchdate \let\currentLaTeXdate\requestedLaTeXdate +%%% From File: ltdirchk.dtx +\ifx\directlua\undefined\else +\IncludeInRelease{2015/10/01}{\luatexluafunction} + {LuaTeX (prefixed names)}% + \directlua{tex.enableprimitives("",% + tex.extraprimitives("omega", "aleph", "luatex"))} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}{\luatexluafunction} + {LuaTeX (prefixed names)}% +\directlua{ + tex.enableprimitives( + "luatex", + tex.extraprimitives("core","omega", "aleph", "luatex") + ) +} +\EndIncludeInRelease +\fi %%% From File: ltdefns.dtx \IncludeInRelease{2015/01/01}{\MakeRobust}{\MakeRobust}% \def\MakeRobust#1{% @@ -300,11 +320,23 @@ of this package available from CTAN} \ignorespaces }% \EndIncludeInRelease +%%% From File: ltoutenc.dtx +\IncludeInRelease{2015/10/01}{\textcommabelow}{comma accent}% +\DeclareTextCommandDefault\textcommabelow[1] + {\hmode@bgroup\ooalign{\null#1\crcr\hidewidth\raise-.31ex + \hbox{\check@mathfonts\fontsize\ssf@size\z@ + \math@fontsfalse\selectfont,}\hidewidth}\egroup} +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}{\textcommabelow}{comma accent}% +\let\textcommabelow\@undefined +\EndIncludeInRelease %%% From File: ltcounts.dtx -\IncludeInRelease{2015/01/01}{\@stpelt}{Reset nested counters}% +\IncludeInRelease{2015/01/01}{\@stpelt} + {Reset nested counters}% \def\@stpelt#1{\global\csname c@#1\endcsname \m@ne\stepcounter{#1}}% \EndIncludeInRelease -\IncludeInRelease{0000/00/00}{\@stpelt}{Reset nested counters}%% +\IncludeInRelease{0000/00/00}{\@stpelt} + {Reset nested counters}%% \def\@stpelt#1{\global\csname c@#1\endcsname \z@}% \EndIncludeInRelease \IncludeInRelease{2015/01/01}{\@fnsymbol}{Use \TexOrMath}% @@ -569,6 +601,35 @@ of this package available from CTAN} \let\@textsubscript\@undefined \EndIncludeInRelease %%% From File: ltoutput.dtx +\IncludeInRelease{2015/10/01}% + {\bx@ZZ}{Extended float list}% +\let\@elt\newinsert +\ifx\numexpr\@undefined\else +\def\reserved@a{% + \@elt\bx@S\@elt\bx@T\@elt\bx@U\@elt\bx@V + \@elt\bx@W\@elt\bx@X\@elt\bx@Y\@elt\bx@Z + \@elt\bx@AA\@elt\bx@BB\@elt\bx@CC\@elt\bx@DD\@elt\bx@EE + \@elt\bx@FF\@elt\bx@GG\@elt\bx@HH\@elt\bx@II\@elt\bx@JJ + \@elt\bx@KK\@elt\bx@LL\@elt\bx@MM\@elt\bx@NN + \@elt\bx@OO\@elt\bx@PP\@elt\bx@QQ\@elt\bx@RR + \@elt\bx@SS\@elt\bx@TT\@elt\bx@UU\@elt\bx@VV + \@elt\bx@WW\@elt\bx@XX\@elt\bx@YY\@elt\bx@ZZ} +\reserved@a +\def\@elt{\noexpand\@elt\noexpand} +\edef\@freelist{\@freelist\reserved@a} +\fi +\let\reserved@a\relax +\let\@elt\relax +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\bx@ZZ}{Extended float list}% +\def\@freelist{% + \@elt\bx@A\@elt\bx@B\@elt\bx@C\@elt\bx@D\@elt\bx@E + \@elt\bx@F\@elt\bx@G\@elt\bx@H\@elt\bx@I\@elt\bx@J + \@elt\bx@K\@elt\bx@L\@elt\bx@M\@elt\bx@N + \@elt\bx@O\@elt\bx@P\@elt\bx@Q\@elt\bx@R} + \insc@unt=234 +\EndIncludeInRelease \IncludeInRelease{2015/01/01}% {\@testwrongwidth}{float order in 2-column}% \def\@testwrongwidth #1{% @@ -1312,7 +1373,22 @@ of this package available from CTAN} \IncludeInRelease{0000/00/00}{\e@alloc}{Extended Allocation}% \let\e@alloc\@undefined \EndIncludeInRelease -\IncludeInRelease{2015/01/01}{\e@ch@ck}{Extended Allocation}% +\IncludeInRelease{2015/10/01} + {\e@ch@ck}{Extended Allocation (checking)}% +\gdef\e@ch@ck#1#2#3#4{% + \ifnum#1<#2\else + \ifnum#1=#2\relax + #1\@cclvi + \ifx\count#4\advance#1 10 \fi + \fi + \ifnum#1<#3\relax + \else + \errmessage{No room for a new \string#4}% + \fi + \fi}% +\EndIncludeInRelease +\IncludeInRelease{2015/01/01}% + {\e@ch@ck}{Extended Allocation (checking)}% \gdef\e@ch@ck#1#2#3#4{% \ifnum#1<#2\else \ifnum#1=#2\relax @@ -1324,7 +1400,13 @@ of this package available from CTAN} \errmessage{No room for a new #4}% \fi \fi}% - +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\e@ch@ck}{Extended Allocation (checking)}% +\let\e@ch@ck\@undefined +\EndIncludeInRelease +\IncludeInRelease{2015/01/01}% + {\extrafloats}{Extra floats}% \let\float@count\e@alloc@top \ifx\numexpr\@undefined \def\extrafloats#1{% @@ -1357,11 +1439,65 @@ of this package available from CTAN} \fi \EndIncludeInRelease \IncludeInRelease{0000/00/00}% - {\e@ch@ck}{Extended Allocation}% -\let\e@ch@ck\@undefined + {\extrafloats}{Extra floats}% \let\float@count\@undefined \let\extrafloats\@undefined \EndIncludeInRelease +\IncludeInRelease{2015/10/01} + {\newinsert}{Extended \newinsert}% +\ifx\numexpr\@undefined +\def\newinsert#1{\global\advance\insc@unt \m@ne + \ch@ck0\insc@unt\count + \ch@ck1\insc@unt\dimen + \ch@ck2\insc@unt\skip + \ch@ck4\insc@unt\box + \allocationnumber\insc@unt + \global\chardef#1\allocationnumber + \wlog{\string#1=\string\insert\the\allocationnumber}} +\else +\ifx\directlua\@undefined + \chardef\e@insert@top255 +\else + \chardef\e@insert@top\e@alloc@top +\fi +\def\newinsert#1{% +\@tempswafalse +\ifnum\count10<\insc@unt +\ifnum\count11<\insc@unt +\ifnum\count12<\insc@unt +\ifnum\count14<\insc@unt + \@tempswatrue +\fi\fi\fi\fi +\if@tempswa +\global\advance\insc@unt\m@ne +\allocationnumber\insc@unt +\else + \extrafloats\@ne + \@next\@currbox\@freelist + {\ifnum\@currbox<\e@insert@top + \allocationnumber\@currbox + \else + \ch@ck0\m@ne\insert + \fi}% + {\ch@ck0\m@ne\insert}% +\fi +\global\chardef#1\allocationnumber +\wlog{\string#1=\string\insert\the\allocationnumber}% +} +\fi +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}% + {\newinsert}{Extended \newinsert}% +\let\e@insert@top\@undefined +\def\newinsert#1{\global\advance\insc@unt \m@ne + \ch@ck0\insc@unt\count + \ch@ck1\insc@unt\dimen + \ch@ck2\insc@unt\skip + \ch@ck4\insc@unt\box + \allocationnumber\insc@unt + \global\chardef#1\allocationnumber + \wlog{\string#1=\string\insert\the\allocationnumber}} +\EndIncludeInRelease \IncludeInRelease{2015/01/20}{\loggingall}{etex tracing}% \ifx\tracingscantokens\@undefined \gdef\loggingall{% @@ -1626,7 +1762,7 @@ of this package available from CTAN} \IncludeInRelease{2015/01/01}{\wrong@fontshape}% {Font substituation in preamble}% \def\wrong@fontshape{% - \csname D@\f@encoding\endcsname % install defaults if in math + \csname D@\f@encoding\endcsname % install defaults if in math \edef\reserved@a{\csname\curr@fontshape\endcsname}% \ifx\last@fontshape\reserved@a \errmessage{Corrupted NFSS tables}% @@ -1660,7 +1796,7 @@ of this package available from CTAN} \IncludeInRelease{0000/00/00}{\wrong@fontshape}% {Font substituation in preamble}% \def\wrong@fontshape{% - \csname D@\f@encoding\endcsname % install defaults if in math + \csname D@\f@encoding\endcsname \edef\reserved@a{\csname\curr@fontshape\endcsname}% \ifx\last@fontshape\reserved@a \errmessage{Corrupted NFSS tables}% @@ -1674,13 +1810,15 @@ of this package available from CTAN} \let\f@family\default@family \fi \fi \fi - \@font@warning{Font shape `\expandafter\string\reserved@a' - \expandafter\@gobble\string\@undefined\MessageBreak - using `\curr@fontshape' instead\@wrong@font@char}% + \@font@warning{Font shape + `\expandafter\string\reserved@a' + \expandafter\@gobble\string\@undefined + \MessageBreak + using `\curr@fontshape' instead\@wrong@font@char}% \global\let\last@fontshape\reserved@a \gdef\@defaultsubs{% - \@font@warning{Some font shapes were not available, defaults - substituted.\@gobbletwo}}% + \@font@warning{Some font shapes were not available, + defaults substituted.\@gobbletwo}}% \global\expandafter\expandafter\expandafter\let \expandafter\reserved@a \csname\curr@fontshape\endcsname @@ -1833,6 +1971,148 @@ of this package available from CTAN} \SetMathAlphabet#2{#1}{U}}% \@onlypreamble\addtoversion \EndIncludeInRelease +\ifx\directlua\@undefined\else +\IncludeInRelease{2015/10/01} + {\newluafunction}{LuaTeX}% +\ifnum\luatexversion<60 % + \wlog{***************************************************} + \wlog{* LuaTeX version too old for ltluatex support *} + \wlog{***************************************************} + \expandafter\endinput +\fi +\ifx\e@alloc@attribute@count\@undefined + \countdef\e@alloc@attribute@count=258 +\fi +\def\newattribute#1{% + \e@alloc\attribute\attributedef + \e@alloc@attribute@count\m@ne\e@alloc@top#1% +} +\e@alloc@attribute@count=\z@ +\def\setattribute#1#2{#1=\numexpr#2\relax} +\def\unsetattribute#1{#1=-"7FFFFFFF\relax} +\ifx\e@alloc@ccodetable@count\@undefined + \countdef\e@alloc@ccodetable@count=259 +\fi +\def\newcatcodetable#1{% + \e@alloc\catcodetable\chardef + \e@alloc@ccodetable@count\m@ne{"8000}#1% + \initcatcodetable\allocationnumber +} +\e@alloc@ccodetable@count=\z@ +\newcatcodetable\catcodetable@initex +\newcatcodetable\catcodetable@string +\begingroup + \def\setrangecatcode#1#2#3{% + \ifnum#1>#2 % + \expandafter\@gobble + \else + \expandafter\@firstofone + \fi + {% + \catcode#1=#3 % + \expandafter\setrangecatcode\expandafter + {\number\numexpr#1 + 1\relax}{#2}{#3} + }% + } + \@firstofone{% + \catcodetable\catcodetable@initex + \catcode0=12 % + \catcode13=12 % + \catcode37=12 % + \setrangecatcode{65}{90}{12}% + \setrangecatcode{97}{122}{12}% + \catcode92=12 % + \catcode127=12 % + \savecatcodetable\catcodetable@string + \endgroup + }% +\newcatcodetable\catcodetable@latex +\newcatcodetable\catcodetable@atletter +\begingroup + \let\ENDGROUP\endgroup + \let\begingroup\relax + \let\endgroup\relax + \let\global\relax + \let\gdef\def + \input{unicode-letters.def}% + \let\endgroup\ENDGROUP + \@firstofone{% + \catcode64=12 % + \savecatcodetable\catcodetable@latex + \catcode64=11 % + \savecatcodetable\catcodetable@atletter + } +\endgroup +\ifx\e@alloc@luafunction@count\@undefined + \countdef\e@alloc@luafunction@count=260 +\fi +\def\newluafunction{% + \e@alloc\luafunction\e@alloc@chardef + \e@alloc@luafunction@count\m@ne\e@alloc@top +} +\e@alloc@luafunction@count=\z@ +\ifx\e@alloc@whatsit@count\@undefined + \countdef\e@alloc@whatsit@count=261 +\fi +\def\newwhatsit#1{% + \e@alloc\whatsit\e@alloc@chardef + \e@alloc@whatsit@count\m@ne\e@alloc@top#1% +} +\e@alloc@whatsit@count=\z@ +\ifx\e@alloc@bytecode@count\@undefined + \countdef\e@alloc@bytecode@count=262 +\fi +\def\newluabytecode#1{% + \e@alloc\luabytecode\e@alloc@chardef + \e@alloc@bytecode@count\m@ne\e@alloc@top#1% +} +\e@alloc@bytecode@count=\z@ + +\ifx\e@alloc@luachunk@count\@undefined + \countdef\e@alloc@luachunk@count=263 +\fi +\def\newluachunkname#1{% + \e@alloc\luachunk\e@alloc@chardef + \e@alloc@luachunk@count\m@ne\e@alloc@top#1% + {\escapechar\m@ne + \directlua{lua.name[\the\allocationnumber]="\string#1"}}% +} +\e@alloc@luachunk@count=\z@ + \begingroup + \attributedef\attributezero=0 % + \chardef \charzero =0 % + \countdef \CountZero =0 % + \dimendef \dimenzero =0 % + \mathchardef \mathcharzero =0 % + \muskipdef \muskipzero =0 % + \skipdef \skipzero =0 % + \toksdef \tokszero =0 % + \directlua{require("ltluatex")} + \endgroup +\EndIncludeInRelease +\IncludeInRelease{2015/09/24} + {\newluafunction}{LuaTeX}% +\let\e@alloc@attribute@count\@undefined +\let\newattribute\@undefined +\let\setattribute\@undefined +\let\unsetattribute\@undefined +\let\e@alloc@ccodetable@count\@undefined +\let\newcatcodetable\@undefined +\let\catcodetable@initex\@undefined +\let\catcodetable@string\@undefined +\let\catcodetable@latex\@undefined +\let\catcodetable@atletter\@undefined +\let\e@alloc@luafunction@count\@undefined +\let\newluafunction\@undefined +\let\e@alloc@luafunction@count\@undefined +\let\newwhatsit\@undefined +\let\e@alloc@whatsit@count\@undefined +\let\newluabytecode\@undefined +\let\e@alloc@bytecode@count\@undefined +\let\newluachunkname\@undefined +\let\e@alloc@luachunk@count\@undefined +\EndIncludeInRelease +\fi %%% From File: ltfinal.dtx \IncludeInRelease{2015/01/01}% {\newmarks}{Extended Allocation}% @@ -1871,7 +2151,8 @@ of this package available from CTAN} \errmessage{No room for a new #3}% \fi} \def\newXeTeXintercharclass{% - \xe@alloc@\xe@alloc@intercharclass\XeTeXcharclass\chardef\@cclv} + \xe@alloc@\xe@alloc@intercharclass + \XeTeXcharclass\chardef\@cclv} \fi \EndIncludeInRelease \endinput |