summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-07 22:15:04 +0000
committerKarl Berry <karl@freefriends.org>2015-07-07 22:15:04 +0000
commit5d9209ba9e2cb67ce414ee626cddac1918d62d6e (patch)
treee3d984ef5e973a62ac4131021e7c20af79c0d3b2 /Master
parent64477c1c821825c100812119c2364bbc602568fd (diff)
etex-pkg (7jul15)
git-svn-id: svn://tug.org/texlive/trunk@37791 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/etex-pkg/etex.sty30
1 files changed, 29 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/etex-pkg/etex.sty b/Master/texmf-dist/tex/latex/etex-pkg/etex.sty
index 19c24b6ad8f..4558369d7bc 100644
--- a/Master/texmf-dist/tex/latex/etex-pkg/etex.sty
+++ b/Master/texmf-dist/tex/latex/etex-pkg/etex.sty
@@ -19,7 +19,8 @@
\ProvidesPackage{etex}
% [1997/08/12 v0.1 eTeX basic definition package (DPC)]
% [1998/03/26 v2.0 eTeX basic definition package (PEB)]
- [2015/03/02 v2.1 eTeX basic definition package (PEB,DPC)]
+% [2015/03/02 v2.1 eTeX basic definition package (PEB,DPC)]
+ [2015/07/06 v2.2 eTeX basic definition package (PEB,DPC)]
\DeclareOption{grouptypes}{\catcode`\G=9}
\DeclareOption{interactionmodes}{\catcode`\I=9}
@@ -95,6 +96,33 @@
}
\fi
+% 2.2
+% Check if the new latex 2015/01/01 allocation is already using
+% extended reisters. If so it is too late to change allocation scheme.
+% Older versions of LaTeX would have given an error when the classic
+% TeX registers were all allocated, but newer formats allocate from
+% the extended range, so usually this package is not needed.
+\@tempswafalse
+\ifnum\count10>\@cclv\@tempswatrue\else
+\ifnum\count11>\@cclv\@tempswatrue\else
+\ifnum\count12>\@cclv\@tempswatrue\else
+\ifnum\count13>\@cclv\@tempswatrue\else
+\ifnum\count14>\@cclv\@tempswatrue\else
+\ifnum\count15>\@cclv\@tempswatrue
+\fi\fi\fi\fi\fi\fi
+
+\if@tempswa
+\PackageWarningNoLine{etex}{%
+Extended allocation already in use.\MessageBreak
+Aborting etex.sty.\MessageBreak
+To force etex package to load, add\MessageBreak
+\string\RequirePackage{etex}\MessageBreak
+at the start of the document}
+\expandafter\endinput\fi
+
+% End of 2.2 addition.
+
+
\def\eTeX{%
$\m@th\varepsilon$-\TeX}