texlive[41784] Master/texmf-dist: etex-pkg (1aug16)

commits+karl at tug.org commits+karl at tug.org
Mon Aug 1 23:47:22 CEST 2016


Revision: 41784
          http://tug.org/svn/texlive?view=revision&revision=41784
Author:   karl
Date:     2016-08-01 23:47:21 +0200 (Mon, 01 Aug 2016)
Log Message:
-----------
etex-pkg (1aug16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/etex-pkg/README
    trunk/Master/texmf-dist/tex/latex/etex-pkg/etex.sty

Modified: trunk/Master/texmf-dist/doc/latex/etex-pkg/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etex-pkg/README	2016-08-01 21:41:12 UTC (rev 41783)
+++ trunk/Master/texmf-dist/doc/latex/etex-pkg/README	2016-08-01 21:47:21 UTC (rev 41784)
@@ -5,4 +5,13 @@
 Note that for LaTeX releases from 2015 onwards, this package
 is not required to use the extended register range.
 
+Maintained by David Carlisle, with sources at
 
+https://github.com/davidcarlisle/dpctex/tree/master/etex-pkg
+
+Please report issues at
+
+https://github.com/davidcarlisle/dpctex/issues
+
+
+

Modified: trunk/Master/texmf-dist/tex/latex/etex-pkg/etex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etex-pkg/etex.sty	2016-08-01 21:41:12 UTC (rev 41783)
+++ trunk/Master/texmf-dist/tex/latex/etex-pkg/etex.sty	2016-08-01 21:47:21 UTC (rev 41784)
@@ -13,6 +13,7 @@
 % This work has the LPPL maintenance status "maintained".
 % 
 % The Current Maintainer of this work is David Carlisle.
+% https://github.com/davidcarlisle/dpctex/issues
 % \fi
 
 \NeedsTeXFormat{LaTeX2e}
@@ -24,7 +25,8 @@
 %        [2015/07/08 v2.3 eTeX basic definition package (PEB,DPC)]
 %        [2015/09/02 v2.4 eTeX basic definition package (PEB,DPC)]
 %        [2016/01/07 v2.5 eTeX basic definition package (PEB,DPC)]
-         [2016/01/11 v2.6 eTeX basic definition package (PEB,DPC)]
+%        [2016/01/11 v2.6 eTeX basic definition package (PEB,DPC)]
+         [2016/08/01 v2.7 eTeX basic definition package (PEB,DPC)]
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -148,6 +150,25 @@
 \DeclareOption{localallocshow}{\let\et at xwlog\typeout} % debugging
 % End of 2.3 addition.
 
+% v2.7
+% \extrafloats does not work with this package
+% but make it give a sensible error, not mis-parse \ifnum.
+%
+% Note that using \extrafloats earlier might not be safe as
+% it could in principle clash with registers used for local allocation.
+% However it probably works (as local allocation is used locally...).
+% A better fix would be not to load this package with current LaTeX.
+% This current etex package is just provided to force the old behaviour
+% and such documents should not be using new features such as \extrafloats).
+\ifdefined\extrafloats
+\def\extrafloats#1{%
+  \PackageError{etex}{%
+    \noexpand\extrafloats is incompatible with etex.sty allocation.\MessageBreak
+    Try using \noexpand\extrafloats before loading etex}%
+    \@ehc}
+\fi
+% end of v2.7 change
+
 \def\eTeX{%
   $\m at th\varepsilon$-\TeX}
 



More information about the tex-live-commits mailing list