diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltplain.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltplain.dtx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltplain.dtx b/Master/texmf-dist/source/latex/base/ltplain.dtx index f4eda258a3d..afe2fead63d 100644 --- a/Master/texmf-dist/source/latex/base/ltplain.dtx +++ b/Master/texmf-dist/source/latex/base/ltplain.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltplain.dtx} - [2015/11/18 v2.2b LaTeX Kernel (Plain TeX)] + [2016/07/29 v2.2c LaTeX Kernel (Plain TeX)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltplain.dtx} @@ -613,6 +613,7 @@ % \end{macrocode} % % \begin{macro}{\extrafloats} +% \changes{v2.2c}{2016/07/29}{use \cs{global} \cs{chardef}} % \begin{macrocode} \ifx\numexpr\@undefined % \end{macrocode} @@ -622,7 +623,7 @@ \count@#1\relax \ifnum\count@>\z@ \newinsert\reserved@a -\expandafter\chardef +\global\expandafter\chardef \csname bx@\the\allocationnumber\endcsname\allocationnumber \@cons\@freelist{\csname bx@\the\allocationnumber\endcsname}% \advance\count@\m@ne @@ -644,8 +645,8 @@ \ch@ck1\count@\dimen \ch@ck2\count@\skip \ch@ck4\count@\box -\e@alloc@chardef\float@count\count@ -\expandafter\e@alloc@chardef +\global\e@alloc@chardef\float@count\count@ +\global\expandafter\e@alloc@chardef \csname bx@\the\float@count\endcsname\float@count \@cons\@freelist{\csname bx@\the\float@count\endcsname}% \expandafter @@ -716,9 +717,11 @@ % \end{macrocode} % If the classic registers are exausted, take an insert from the free float list % and use |\extrafloats| to add a new float to that list. +% \changes{v2.2c}{2016/07/29}{fix for tlb-newinsert-001} % \begin{macrocode} \def\newinsert#1{% \@tempswafalse +\global\advance\insc@unt\m@ne \ifnum\count10<\insc@unt \ifnum\count11<\insc@unt \ifnum\count12<\insc@unt @@ -726,9 +729,9 @@ \@tempswatrue \fi\fi\fi\fi \if@tempswa -\global\advance\insc@unt\m@ne \allocationnumber\insc@unt \else +\global\advance\insc@unt\@ne \extrafloats\@ne \@next\@currbox\@freelist {\ifnum\@currbox<\e@insert@top |