From d04d8cfd20c2f7cc9d6c44a5e28d7e8f4e56796b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Jan 2006 00:05:17 +0000 Subject: regcount git-svn-id: svn://tug.org/texlive/trunk@1273 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/regcount/regcount.sty | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/regcount/regcount.sty (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/regcount/regcount.sty b/Master/texmf-dist/tex/latex/regcount/regcount.sty new file mode 100644 index 00000000000..d31e503cd20 --- /dev/null +++ b/Master/texmf-dist/tex/latex/regcount/regcount.sty @@ -0,0 +1,86 @@ +%% +%% This is file `regcount.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% regcount.dtx (with options: `package') +%% +%% IMPORTANT NOTICE: +%% This file is a stripped version of `regcount.dtx', +%% copyright (c) 1997, 1998, 1999 by Jean-Pierre Drucbert (drucbert@onecert.fr) +%% +%% +%% You are not allowed to distribute this file. +%% For distribution of the original source see +%% the copyright notice in the source file. +%% +%% Package `regcount' to use with LaTeX 2e +%% Copyright (C) 1997, 1998, 1999 Jean-Pierre F. Drucbert, all rights reserved +%% +%% You may use and distribute this file freely, provided that +%% you don't pretend that you wrote it. +\NeedsTeXFormat{LaTeX2e}[1999/06/01] +\ProvidesPackage{regcount} + [1999/08/03 v1.0 Register counting (JPFD)] +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\rgc@counters{\GenericInfo{}{% + (regcount)\@spaces Allocated counter registers= \the\count10\@spaces}} +\def\rgc@dimens{\GenericInfo{}{% + (regcount)\@spaces Allocated dimen registers= \the\count11\@spaces}} +\def\rgc@skips{\GenericInfo{}{% + (regcount)\@spaces Allocated skip registers= \the\count12\@spaces}} +\def\rgc@muskips{\GenericInfo{}{% + (regcount)\@spaces Allocated muskip registers= \the\count13\@spaces}} +\def\rgc@boxes{\GenericInfo{}{% + (regcount)\@spaces Allocated box registers= \the\count14\@spaces}} +\def\rgc@tokens{\GenericInfo{}{% + (regcount)\@spaces Allocated token registers= \the\count15\@spaces}} +\def\rgc@inputs{\GenericInfo{}{% + (regcount)\@spaces Allocated input channels= \the\count16\@spaces}} +\def\rgc@outputs{\GenericInfo{}{% + (regcount)\@spaces Allocated output channels= \the\count17\@spaces}} +\def\rgc@mathfamilies{\GenericInfo{}{% + (regcount)\@spaces Allocated math families= \the\count18\@spaces}} +\def\rgc@languages{\GenericInfo{}{% + (regcount)\@spaces Allocated languages= \the\count19\@spaces}} +\def\rgc@insertions{\GenericInfo{}{% + (regcount)\@spaces Allocated insertions= \the\count20\@spaces}} + +\def\rgcounts{% +\GenericInfo{}{(regcount)\@spaces===========ALLOCATIONS===================\@spaces}% +\rgc@counters +\rgc@dimens +\rgc@skips +\rgc@muskips +\rgc@boxes +\rgc@tokens +\rgc@inputs +\rgc@outputs +\rgc@mathfamilies +\rgc@languages +\rgc@insertions +\GenericInfo{}{(regcount)\@spaces=========================================\@spaces}% +\ignorespaces} + +\AtBeginDocument{\rgcounts} +\AtEndDocument{\rgcounts} +\endinput +%% +%% End of file `regcount.sty'. -- cgit v1.2.3