Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed May 10, 2015
1 parent 7ad5988 commit 84d8b16
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions localloc/README → elocalloc/README
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
localloc package
elocalloc package

Local allocation macros, with names taken from etex.sty
but with implementation based on the LaTeX 2015 allocation macros.

To produce typeset documentation:
pdflatex localloc.dtx
pdflatex elocalloc.dtx

To extract the localloc.sty package:
tex localloc.ins
To extract the elocalloc.sty package:
tex elocalloc.ins

David Carlisle
LPPL licenced (status: maintained)
34 changes: 17 additions & 17 deletions localloc/elocalloc.dtx → elocalloc/elocalloc.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
%% See README for details.
%
%<*dtx>
\ProvidesFile{localloc.dtx}
\ProvidesFile{elocalloc.dtx}
%</dtx>
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{localloc}
%<driver> \ProvidesFile{localloc.drv}
%<package>\ProvidesPackage{elocalloc}
%<driver> \ProvidesFile{elocalloc.drv}
% \fi
% \ProvidesFile{localloc.dtx}
% \ProvidesFile{elocalloc.dtx}
[2015/05/09 v0.01 local allocation for LaTeX 2015+ (DPC)]
%
% \iffalse
%<*driver>
\documentclass{ltxdoc}
\begin{document}
\DocInput{localloc.dtx}
\DocInput{elocalloc.dtx}
\end{document}
%</driver>
% \fi
%
% \GetFileInfo{localloc.dtx}
% \GetFileInfo{elocalloc.dtx}
%
% \title{The \textsf{localloc} Package\thanks{This file
% \title{The \textsf{elocalloc} Package\thanks{This file
% has version number \fileversion, last
% revised \filedate.}}
% \author{David Carlisle}
Expand Down Expand Up @@ -78,7 +78,7 @@
%
% \begin{macrocode}
\ifx\locbox\@undefined\else
\PackageWarning{localloc}{%
\PackageWarning{elocalloc}{%
\string\locbox\space already defined, stopping}
\expandafter\endinput
\fi
Expand All @@ -98,9 +98,9 @@
% separate values ofr each type, and would make it harder to make
% |\extrafloats| work, should such an extension ever be needed.
% \begin{macrocode}
\def\localloc@#1#2#3#4#5{%
\def\eloc@lloc#1#2#3#4#5{%
\def\extrafloats##1{%
\PackageWarning{localloc}{\string\extrafloats\space ignored}}
\PackageWarning{elocalloc}{\string\extrafloats\space ignored}}
\e@ch@ck{#1}#2\z@#3%
\expandafter\e@alloc@chardef\expandafter#2%
\the\numexpr#2-1\relax
Expand All @@ -110,13 +110,13 @@
%
% The top level local allocation commands.
% \begin{macrocode}
\def\loccount {\localloc@{\count 10}\float@count\countdef\count}
\def\locdimen {\localloc@{\count 11}\float@count\dimendef\dimen}
\def\locskip {\localloc@{\count 12}\float@count\skipdef\skip}
\def\locmuskip{\localloc@{\count 13}\e@alloc@top\muskipdef\muskip}
\def\locbox {\localloc@{\count 14}\float@count\e@alloc@chardef\box}
\def\loctoks {\localloc@{\count 15}\e@alloc@top\toksdef\toks}
\def\locmarks {\localloc@{\count256}\e@alloc@topt\e@alloc@chardef\marks}
\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}
% \end{macrocode}
%
% \begin{macrocode}
Expand Down
2 changes: 1 addition & 1 deletion localloc/elocalloc.ins → elocalloc/elocalloc.ins
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

\askforoverwritefalse

\generate{\file{localloc.sty}{\from{localloc.dtx}{package}}}
\generate{\file{elocalloc.sty}{\from{elocalloc.dtx}{package}}}

\endbatchfile
6 changes: 6 additions & 0 deletions elocalloc/mkctan
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tex elocalloc.ins
pdflatex elocalloc.dtx
pdflatex elocalloc.dtx
cd ..
rm -rf elocalloc.zip
zip elocalloc.zip elocalloc/README elocalloc/elocalloc.{dtx,ins,pdf}
6 changes: 0 additions & 6 deletions localloc/mkctan

This file was deleted.

0 comments on commit 84d8b16

Please sign in to comment.