diff options
author | Karl Berry <karl@freefriends.org> | 2015-05-11 21:08:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-05-11 21:08:51 +0000 |
commit | beed4b3fbec0e5363230a8e402b0c374a414c093 (patch) | |
tree | 134a792d761a452cfc03ab6e54e8d1477b92040e /Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty | |
parent | 40dd5938ded99176abd37cee3b6271722fe30f24 (diff) |
elocalloc (10may15)
git-svn-id: svn://tug.org/texlive/trunk@37339 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty b/Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty new file mode 100644 index 00000000000..dd273773039 --- /dev/null +++ b/Master/texmf-dist/tex/latex/elocalloc/elocalloc.sty @@ -0,0 +1,43 @@ +%% +%% This is file `elocalloc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% elocalloc.dtx (with options: `package') +%% +%% Source File: textcase.dtx +%% Copyright 2015 David Carlisle +%% +%% This file may be distributed under the terms of the LPPL. +%% See README for details. +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elocalloc} + [2015/05/09 v0.01 local allocation for LaTeX 2015+ (DPC)] +\ifx\e@alloc\@undefined +\RequirePackage{etex} +\expandafter\endinput +\fi +\ifx\locbox\@undefined\else +\PackageWarning{elocalloc}{% + \string\locbox\space already defined, stopping} +\expandafter\endinput +\fi +\def\eloc@lloc#1#2#3#4#5{% + \def\extrafloats##1{% + \PackageWarning{elocalloc}{\string\extrafloats\space ignored}} + \e@ch@ck{#1}#2\z@#3% + \expandafter\e@alloc@chardef\expandafter#2% + \the\numexpr#2-1\relax + \allocationnumber=#2% + #3#5#2} +\def\loccount {\eloc@lloc{\count 10}\float@count\countdef\count} +\def\locdimen {\eloc@lloc{\count 11}\float@count\dimendef\dimen} +\def\locskip {\eloc@lloc{\count 12}\float@count\skipdef\skip} +\def\locmuskip{\eloc@lloc{\count 13}\e@alloc@top\muskipdef\muskip} +\def\locbox {\eloc@lloc{\count 14}\float@count\e@alloc@chardef\box} +\def\loctoks {\eloc@lloc{\count 15}\e@alloc@top\toksdef\toks} +\def\locmarks {\eloc@lloc{\count256}\e@alloc@topt\e@alloc@chardef\marks} +\endinput +%% +%% End of file `elocalloc.sty'. |