summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-24 00:05:47 +0000
committerKarl Berry <karl@freefriends.org>2011-08-24 00:05:47 +0000
commitbe52161d176ec8b83077d89810997f588fa7e62e (patch)
tree770bd5d505dfea2672a27a55633e6c6f508c868e /Master
parent3d1639d263d3315ae55d789b527ff12499ed8549 (diff)
regstats (23aug11)
git-svn-id: svn://tug.org/texlive/trunk@23662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/regstats/README23
-rw-r--r--Master/texmf-dist/doc/latex/regstats/regstats-example.log267
-rw-r--r--Master/texmf-dist/doc/latex/regstats/regstats-example.pdfbin68454 -> 68469 bytes
-rw-r--r--Master/texmf-dist/doc/latex/regstats/regstats-example.tex11
-rw-r--r--Master/texmf-dist/doc/latex/regstats/regstats.pdfbin310220 -> 320162 bytes
-rw-r--r--Master/texmf-dist/source/latex/regstats/regstats.drv6
-rw-r--r--Master/texmf-dist/source/latex/regstats/regstats.dtx528
-rw-r--r--Master/texmf-dist/source/latex/regstats/regstats.ins6
-rw-r--r--Master/texmf-dist/tex/latex/regstats/regstats.sty398
9 files changed, 688 insertions, 551 deletions
diff --git a/Master/texmf-dist/doc/latex/regstats/README b/Master/texmf-dist/doc/latex/regstats/README
index 7837e5d0e20..aeed9c3b4ee 100644
--- a/Master/texmf-dist/doc/latex/regstats/README
+++ b/Master/texmf-dist/doc/latex/regstats/README
@@ -1,4 +1,4 @@
-README for regstats package, 2011/06/18, v1.0d
+README for regstats package, 2011/08/23, v1.0f
TABLE OF CONTENTS
@@ -8,11 +8,10 @@ TABLE OF CONTENTS
2 Download
3 Installation
4 Additional Packages
-5 New Features
-6 Package Compatibility
-7 Authors/Maintainers
-8 Bug Reports
-9 Known Problems
+5 Package Compatibility
+6 Authors/Maintainers
+7 Bug Reports
+8 Known Problems
1 INTRODUCTION
@@ -30,6 +29,9 @@ compared to the maximum available number of the respective register
With option |left| additionally the number of remaining registers of each
type is given, and with option |timer| the time needed for the compilation
run.
+This material is subject to the LaTeX Project Public License
+(LPPL). See http://www.ctan.org/tex-archive/help/Catalogue/
+licenses.lppl.html for the details of that license.
2 DOWNLOAD
@@ -119,13 +121,13 @@ A bug report should contain:
* Comprehensive problem description. This includes error or
warning messages.
* \errorcontextlines=\maxdimen can be added in the
- TeX code to get more informations in TeX error messages.
+ TeX code to get more information in TeX error messages.
* Minimal test file that shows the problem, but does not
contain any unnecessary packages and code.
* Used drivers/programs.
* Version information about used packages and programs.
* If you are using LaTeX, then add "\listfiles". Then
- a list of version informations is printed at the end
+ a list of version information is printed at the end
of the LaTeX run.
* Please no other files than the minimal test file.
The other files .log, .dvi, .ps, .pdf are seldom
@@ -142,4 +144,7 @@ Bug reports can be send to the maintainer:
8 KNOWN PROBLEMS
=================
-* as yet: none... \ No newline at end of file
+Regstats uses the atveryend package, which is not compatible
+with the seminar class nor the slidesec package.
+"\let\AtVeryVeryEnd\AtEndAfterFileList" in the preamble
+*could* help. Feedback is welcome.
diff --git a/Master/texmf-dist/doc/latex/regstats/regstats-example.log b/Master/texmf-dist/doc/latex/regstats/regstats-example.log
index c68e345d6bd..a2100af3ee5 100644
--- a/Master/texmf-dist/doc/latex/regstats/regstats-example.log
+++ b/Master/texmf-dist/doc/latex/regstats/regstats-example.log
@@ -1,23 +1,24 @@
-This is pdfTeX, Version 3.1415926-1.40.11 (Web2C 2010) (format=pdflatex 2011.5.11) 18 JUN 2011 17:43
+This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011) (format=pdflatex 2011.8.22) 23 AUG 2011 12:34
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**regstats-example.tex
(./regstats-example.tex
-LaTeX2e <2009/09/24>
-Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
-rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
+LaTeX2e <2011/06/27>
+Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
+rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
-ish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spani
-sh, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
-(s:/TeXlive2010/texmf-dist/tex/latex/base/article.cls
+ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
+ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
+.
+(s:/TeXlive2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
-(s:/TeXlive2010/texmf-dist/tex/latex/base/size10.clo
+(s:/TeXlive2011/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
@@ -32,99 +33,100 @@ File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
-(s:/TeXlive2010/texmf-dist/tex/latex/hyperref/hyperref.sty
-Package: hyperref 2011/04/17 v6.82g Hypertext links for LaTeX
-
-(s:/TeXlive2010/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
-Package: hobsub-hyperref 2011/04/23 v1.4 Bundle oberdiek, subset hyperref (HO)
-
-(s:/TeXlive2010/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
-Package: hobsub-generic 2011/04/23 v1.4 Bundle oberdiek, subset generic (HO)
-Package: hobsub 2011/04/23 v1.4 Subsetting bundle oberdiek (HO)
-Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
+(s:/TeXlive2011/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2011/08/19 v6.82h Hypertext links for LaTeX
+
+(./hobsub-hyperref.sty
+Package: hobsub-hyperref 2011/07/28 v1.8 Bundle oberdiek, subset hyperref (HO)
+ (./hobsub-generic.sty
+Package: hobsub-generic 2011/07/28 v1.8 Bundle oberdiek, subset generic (HO)
+Package: hobsub 2011/07/28 v1.8 Construct package bundles (HO)
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
-Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
+Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
-Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
+Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
-Package: etexcmds 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
+Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
-Package: kvsetkeys 2011/04/07 v1.13 Key value parser (HO)
-Package: kvdefinekeys 2011/04/07 v1.3 Defining keys (HO)
-Package: pdftexcmds 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
+Package: kvsetkeys 2011/06/15 v1.14 Key value parser (HO)
+Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
+Package: pdftexcmds 2011/07/28 v0.19 Utility functions of pdfTeX for LuaTeX (HO
+)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
-Package: pdfescape 2011/04/04 v1.12 Provides string conversions (HO)
-Package: bigintcalc 2011/01/30 v1.2 Expandable big integer calculations (HO)
-Package: bitset 2011/01/30 v1.1 Data type bit set (HO)
-Package: uniquecounter 2011/01/30 v1.2 Provides unlimited unique counter (HO)
+Package: pdfescape 2011/04/04 v1.12 Implements pdfTeX's escape features (HO)
+Package: bigintcalc 2011/01/30 v1.2 Expandable calculations on big integers (HO
+)
+Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
+Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
-Package: hopatch 2011/01/30 v1.0 Wrapper for package hooks (HO)
+Package: hopatch 2011/06/24 v1.1 Wrapper for package hooks (HO)
Package: xcolor-patch 2011/01/30 xcolor patch
-Package: atveryend 2011/04/23 v1.7 Hooks at very end of document (HO)
-Package atveryend Info: \enddocument detected (standard).
+Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
+Package atveryend Info: \enddocument detected (standard20110627).
Package: atbegshi 2011/01/30 v1.15 At begin shipout hook (HO)
-Package: refcount 2010/12/01 v3.2 Data extraction from references (HO)
-Package: hycolor 2011/01/30 v1.7 Color options of hyperref/bookmark (HO)
+Package: refcount 2011/06/22 v3.3 Data extraction from label references (HO)
+Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
)
-(s:/TeXlive2010/texmf-dist/tex/latex/graphics/keyval.sty
+(s:/TeXlive2011/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
-(s:/TeXlive2010/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+(s:/TeXlive2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
-(s:/TeXlive2010/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+(s:/TeXlive2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
)
\@linkdim=\dimen103
\Hy@linkcounter=\count87
\Hy@pagecounter=\count88
-(s:/TeXlive2010/texmf-dist/tex/latex/hyperref/pd1enc.def
-File: pd1enc.def 2011/04/17 v6.82g Hyperref: PDFDocEncoding definition (HO)
+(s:/TeXlive2011/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2011/08/19 v6.82h Hyperref: PDFDocEncoding definition (HO)
)
\Hy@SavedSpaceFactor=\count89
-(s:/TeXlive2010/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+(s:/TeXlive2011/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
-Package hyperref Info: Hyper figures OFF on input line 4026.
-Package hyperref Info: Link nesting OFF on input line 4031.
-Package hyperref Info: Hyper index ON on input line 4034.
-Package hyperref Info: Plain pages OFF on input line 4041.
-Package hyperref Info: Backreferencing OFF on input line 4046.
+Package hyperref Info: Hyper figures OFF on input line 4053.
+Package hyperref Info: Link nesting OFF on input line 4058.
+Package hyperref Info: Hyper index ON on input line 4061.
+Package hyperref Info: Plain pages OFF on input line 4068.
+Package hyperref Info: Backreferencing OFF on input line 4073.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
-Package hyperref Info: Bookmarks ON on input line 4264.
+Package hyperref Info: Bookmarks ON on input line 4291.
\c@Hy@tempcnt=\count90
-(s:/TeXlive2010/texmf-dist/tex/latex/url/url.sty
+(s:/TeXlive2011/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2006/04/12 v3.3 Verb mode for urls, etc.
)
-LaTeX Info: Redefining \url on input line 4617.
+LaTeX Info: Redefining \url on input line 4644.
\Fld@menulength=\count91
\Field@Width=\dimen104
\Fld@charsize=\dimen105
-Package hyperref Info: Hyper figures OFF on input line 5701.
-Package hyperref Info: Link nesting OFF on input line 5706.
-Package hyperref Info: Hyper index ON on input line 5709.
-Package hyperref Info: backreferencing OFF on input line 5716.
-Package hyperref Info: Link coloring OFF on input line 5721.
-Package hyperref Info: Link coloring with OCG OFF on input line 5726.
-Package hyperref Info: PDF/A mode OFF on input line 5731.
-LaTeX Info: Redefining \ref on input line 5771.
-LaTeX Info: Redefining \pageref on input line 5775.
+Package hyperref Info: Hyper figures OFF on input line 5730.
+Package hyperref Info: Link nesting OFF on input line 5735.
+Package hyperref Info: Hyper index ON on input line 5738.
+Package hyperref Info: backreferencing OFF on input line 5745.
+Package hyperref Info: Link coloring OFF on input line 5750.
+Package hyperref Info: Link coloring with OCG OFF on input line 5755.
+Package hyperref Info: PDF/A mode OFF on input line 5760.
+LaTeX Info: Redefining \ref on input line 5800.
+LaTeX Info: Redefining \pageref on input line 5804.
\Hy@abspage=\count92
\c@Item=\count93
\c@Hfootnote=\count94
@@ -132,30 +134,30 @@ LaTeX Info: Redefining \pageref on input line 5775.
Package hyperref Message: Driver (autodetected): hpdftex.
-(s:/TeXlive2010/texmf-dist/tex/latex/hyperref/hpdftex.def
-File: hpdftex.def 2011/04/17 v6.82g Hyperref driver for pdfTeX
+(s:/TeXlive2011/texmf-dist/tex/latex/hyperref/hpdftex.def
+File: hpdftex.def 2011/08/19 v6.82h Hyperref driver for pdfTeX
\Fld@listcount=\count95
\c@bookmark@seq@number=\count96
-(s:/TeXlive2010/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+(s:/TeXlive2011/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
82.
)
\Hy@SectionHShift=\skip43
)
-Package hyperref Info: Option `plainpages' set `false' on input line 58.
+Package hyperref Info: Option `plainpages' set `false' on input line 59.
Package hyperref Warning: Option `pdfpagelabels' has already been used,
-(hyperref) setting the option has no effect on input line 58.
+(hyperref) setting the option has no effect on input line 59.
Package hyperref Warning: Option `hyperindex' has already been used,
-(hyperref) setting the option has no effect on input line 58.
+(hyperref) setting the option has no effect on input line 59.
(./regstats.sty
-Package: regstats 2011/06/18 v1.0d Counting used registers (HMM)
+Package: regstats 2011/08/23 v1.0f Counting used registers (HMM)
Package regstats Info: This package will use one counter itself!
(regstats) (And other packages used by this package
(regstats) probably use additional resources,
@@ -164,34 +166,34 @@ Package regstats Info: This package will use one counter itself!
) (./regstats-example.aux)
\openout1 = `regstats-example.aux'.
-LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
-LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 62.
-LaTeX Font Info: ... okay on input line 62.
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 63.
+LaTeX Font Info: ... okay on input line 63.
\AtBeginShipoutBox=\box26
-Package hyperref Info: Link coloring OFF on input line 62.
+Package hyperref Info: Link coloring OFF on input line 63.
-(s:/TeXlive2010/texmf-dist/tex/latex/hyperref/nameref.sty
+(s:/TeXlive2011/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section
-(s:/TeXlive2010/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+(s:/TeXlive2011/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
)
\c@section@level=\count97
)
-LaTeX Info: Redefining \ref on input line 62.
-LaTeX Info: Redefining \pageref on input line 62.
-LaTeX Info: Redefining \nameref on input line 62.
+LaTeX Info: Redefining \ref on input line 63.
+LaTeX Info: Redefining \pageref on input line 63.
+LaTeX Info: Redefining \nameref on input line 63.
(./regstats-example.out) (./regstats-example.out)
\@outlinefile=\write3
@@ -206,89 +208,89 @@ Package regstats Warning: Could not find e-TeX.
(regstats) in the preamble of regstats-example.tex.
(regstats) Some packages will not work without e-TeX,
(regstats) but should give according messages.
-(regstats) on input line 62.
+(regstats) on input line 63.
-Underfull \hbox (badness 10000) in paragraph at lines 66--72
+Underfull \hbox (badness 10000) in paragraph at lines 67--73
[]
LaTeX Font Info: External font `cmex10' loaded for size
-(Font) <7> on input line 73.
+(Font) <7> on input line 74.
LaTeX Font Info: External font `cmex10' loaded for size
-(Font) <5> on input line 73.
+(Font) <5> on input line 74.
-Underfull \hbox (badness 10000) in paragraph at lines 73--79
+Underfull \hbox (badness 10000) in paragraph at lines 74--80
[]
-Underfull \hbox (badness 10000) in paragraph at lines 80--81
+Underfull \hbox (badness 10000) in paragraph at lines 81--82
[]
-Underfull \hbox (badness 10000) in paragraph at lines 82--85
+Underfull \hbox (badness 10000) in paragraph at lines 83--86
[]
-Package atveryend Info: Empty hook `BeforeClearDocument' on input line 92.
+Package atveryend Info: Executing hook `BeforeClearDocument' on input line 93.
[1
-{s:/TeXlive2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
-Package atveryend Info: Empty hook `AfterLastShipout' on input line 92.
+{s:/TeXlive2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
+Package atveryend Info: Executing hook `AfterLastShipout' on input line 93.
(./regstats-example.aux)
-Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 92.
+Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 93.
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
-hyperref.sty 2011/04/17 v6.82g Hypertext links for LaTeX
-hobsub-hyperref.sty 2011/04/23 v1.4 Bundle oberdiek, subset hyperref (HO)
-hobsub-generic.sty 2011/04/23 v1.4 Bundle oberdiek, subset generic (HO)
- hobsub.sty 2011/04/23 v1.4 Subsetting bundle oberdiek (HO)
-infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
+hyperref.sty 2011/08/19 v6.82h Hypertext links for LaTeX
+hobsub-hyperref.sty 2011/07/28 v1.8 Bundle oberdiek, subset hyperref (HO)
+hobsub-generic.sty 2011/07/28 v1.8 Bundle oberdiek, subset generic (HO)
+ hobsub.sty 2011/07/28 v1.8 Construct package bundles (HO)
+infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
- ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
- intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
+ ifvtex.sty 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
+ intcalc.sty 2007/09/27 v1.1 Expandable calculations with integers (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
-etexcmds.sty 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
-kvsetkeys.sty 2011/04/07 v1.13 Key value parser (HO)
-kvdefinekeys.sty 2011/04/07 v1.3 Defining keys (HO)
-pdftexcmds.sty 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
-pdfescape.sty 2011/04/04 v1.12 Provides string conversions (HO)
-bigintcalc.sty 2011/01/30 v1.2 Expandable big integer calculations (HO)
- bitset.sty 2011/01/30 v1.1 Data type bit set (HO)
-uniquecounter.sty 2011/01/30 v1.2 Provides unlimited unique counter (HO)
+etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
+kvsetkeys.sty 2011/06/15 v1.14 Key value parser (HO)
+kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
+pdftexcmds.sty 2011/07/28 v0.19 Utility functions of pdfTeX for LuaTeX (HO)
+pdfescape.sty 2011/04/04 v1.12 Implements pdfTeX's escape features (HO)
+bigintcalc.sty 2011/01/30 v1.2 Expandable calculations on big integers (HO)
+ bitset.sty 2011/01/30 v1.1 Handle bit-vector datatype (HO)
+uniquecounter.sty 2011/01/30 v1.2 Provide unlimited unique counter (HO)
letltxmacro.sty 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
- hopatch.sty 2011/01/30 v1.0 Wrapper for package hooks (HO)
+ hopatch.sty 2011/06/24 v1.1 Wrapper for package hooks (HO)
xcolor-patch.sty 2011/01/30 xcolor patch
-atveryend.sty 2011/04/23 v1.7 Hooks at very end of document (HO)
+atveryend.sty 2011/06/30 v1.8 Hooks at the very end of document (HO)
atbegshi.sty 2011/01/30 v1.15 At begin shipout hook (HO)
-refcount.sty 2010/12/01 v3.2 Data extraction from references (HO)
- hycolor.sty 2011/01/30 v1.7 Color options of hyperref/bookmark (HO)
+refcount.sty 2011/06/22 v3.3 Data extraction from label references (HO)
+ hycolor.sty 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
kvoptions.sty 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
- pd1enc.def 2011/04/17 v6.82g Hyperref: PDFDocEncoding definition (HO)
+ pd1enc.def 2011/08/19 v6.82h Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
url.sty 2006/04/12 v3.3 Verb mode for urls, etc.
- hpdftex.def 2011/04/17 v6.82g Hyperref driver for pdfTeX
+ hpdftex.def 2011/08/19 v6.82h Hyperref driver for pdfTeX
rerunfilecheck.sty 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
-regstats.sty 2011/06/18 v1.0d Counting used registers (HMM)
+regstats.sty 2011/08/23 v1.0f Counting used registers (HMM)
nameref.sty 2010/04/30 v2.40 Cross-referencing by name of section
gettitlestring.sty 2010/12/03 v1.4 Cleanup title references (HO)
regstats-example.out
regstats-example.out
***********
-Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 92.
+Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 93.
Package rerunfilecheck Info: File `regstats-example.out' has not changed.
(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
-Package atveryend Info: Executing hook `AtVeryVeryEnd' on input line 92.
+Package atveryend Info: Executing hook `AtVeryVeryEnd' on input line 93.
\c@regstatscount=\count98
Here is how much of TeX's registers you used
@@ -302,26 +304,27 @@ Here is how much of TeX's registers you used
0 input streams (read) out of 15, left: 15
3 output streams (write) out of 15, left: 12
3 math families (fam) out of 15, left: 12
- 73 language codes out of 255, left: 182
+ 74 language codes out of 255, left: 181
0 insertions out of 101, left: 101
-Time elapsed: about 0:00 (m:ss; 24576/65536 s).
+Time elapsed for the last compiler run:
+about 0:00 (m:ss; 25559/65536 s).
)
Here is how much of TeX's memory you used:
- 4143 strings out of 493763
- 62174 string characters out of 3148677
- 140970 words of memory out of 3000000
- 7469 multiletter control sequences out of 15000+200000
+ 4149 strings out of 493629
+ 62139 string characters out of 3147109
+ 142956 words of memory out of 3000000
+ 7480 multiletter control sequences out of 15000+200000
4718 words of font info for 18 fonts, out of 3000000 for 9000
- 715 hyphenation exceptions out of 8191
- 29i,4n,23p,216b,313s stack positions out of 5000i,500n,10000p,200000b,50000s
-<s:/TeXlive2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb><s:/TeXl
-ive2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><s:/TeXlive2010/te
-xmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><s:/TeXlive2010/texmf-dist/fo
-nts/type1/public/amsfonts/cm/cmr7.pfb><s:/TeXlive2010/texmf-dist/fonts/type1/pu
-blic/amsfonts/cm/cmss10.pfb><s:/TeXlive2010/texmf-dist/fonts/type1/public/amsfo
+ 831 hyphenation exceptions out of 8191
+ 29i,4n,23p,218b,313s stack positions out of 5000i,500n,10000p,200000b,50000s
+<s:/TeXlive2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb><s:/TeXl
+ive2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><s:/TeXlive2011/te
+xmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><s:/TeXlive2011/texmf-dist/fo
+nts/type1/public/amsfonts/cm/cmr7.pfb><s:/TeXlive2011/texmf-dist/fonts/type1/pu
+blic/amsfonts/cm/cmss10.pfb><s:/TeXlive2011/texmf-dist/fonts/type1/public/amsfo
nts/cm/cmtt10.pfb>
-Output written on regstats-example.pdf (1 page, 68454 bytes).
+Output written on regstats-example.pdf (1 page, 68469 bytes).
PDF statistics:
38 PDF objects out of 1000 (max. 8388607)
28 compressed objects within 1 object stream
diff --git a/Master/texmf-dist/doc/latex/regstats/regstats-example.pdf b/Master/texmf-dist/doc/latex/regstats/regstats-example.pdf
index 8eec1d5da6c..4421c1e83f3 100644
--- a/Master/texmf-dist/doc/latex/regstats/regstats-example.pdf
+++ b/Master/texmf-dist/doc/latex/regstats/regstats-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/regstats/regstats-example.tex b/Master/texmf-dist/doc/latex/regstats/regstats-example.tex
index 9f1ae0c42eb..abf80e0de3d 100644
--- a/Master/texmf-dist/doc/latex/regstats/regstats-example.tex
+++ b/Master/texmf-dist/doc/latex/regstats/regstats-example.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: regstats
-%% Version: 2011/06/18 v1.0d
+%% Version: 2011/08/23 v1.0f
%%
%% Copyright (C) 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -41,8 +41,9 @@
\documentclass[british]{article}[2007/10/19]% v1.4h
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \usepackage{etex}[1998/03/26]% v2.0
-%% Uncomment the preceding line, if you want to use eTeX.
-\usepackage{hyperref}[2011/04/17]% v6.82g
+%% Uncomment the preceding line, if you want to use the eTeX-package
+%% (which requires eTeX, of course).
+\usepackage{hyperref}[2011/08/19]% v6.82h
\hypersetup{extension=pdf,%
plainpages=false,%
pdfpagelabels=true,%
@@ -56,7 +57,7 @@
pdfview=Fit,pdfstartview=Fit,%
pdfpagelayout=SinglePage%
}
-\usepackage[proof=false,left=true,timer=true]{regstats}[2011/06/18]% v1.0d
+\usepackage[proof=false,left=true,timer=true]{regstats}[2011/08/23]% v1.0f
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
\listfiles
\begin{document}
@@ -64,7 +65,7 @@
\section*{Example for regstats}
This example demonstrates the use of package\newline
-\textsf{regstats}, v1.0d as of 2011/06/18 (HMM).\newline
+\textsf{regstats}, v1.0f as of 2011/08/23 (HMM).\newline
The used options were \texttt{proof=false,left=true,timer=true}.\newline
\texttt{proof=false} is the default, but neither \texttt{left=true}
nor \texttt{timer=true} are defaults (\texttt{left=false,timer=false}
diff --git a/Master/texmf-dist/doc/latex/regstats/regstats.pdf b/Master/texmf-dist/doc/latex/regstats/regstats.pdf
index 94c0cdde1ff..1becf600ec5 100644
--- a/Master/texmf-dist/doc/latex/regstats/regstats.pdf
+++ b/Master/texmf-dist/doc/latex/regstats/regstats.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/regstats/regstats.drv b/Master/texmf-dist/source/latex/regstats/regstats.drv
index d849144ecfe..25b0f58547f 100644
--- a/Master/texmf-dist/source/latex/regstats/regstats.drv
+++ b/Master/texmf-dist/source/latex/regstats/regstats.drv
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: regstats
-%% Version: 2011/06/18 v1.0d
+%% Version: 2011/08/23 v1.0f
%%
%% Copyright (C) 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -38,9 +38,9 @@
%% regstats.sty, regstats.pdf, regstats.ins, regstats.drv,
%% regstats-example.tex.
%%
-\NeedsTeXFormat{LaTeX2e}[2009/09/24]
+\NeedsTeXFormat{LaTeX2e}[2011/06/24]%
\ProvidesFile{regstats.drv}%
- [2011/06/18 v1.0d Counting used registers (HMM)]%
+ [2011/08/23 v1.0f Counting used registers (HMM)]%
\documentclass{ltxdoc}[2007/11/11]% v2.0u
\usepackage{pdflscape}[2008/08/11]% v0.10
\usepackage{holtxdoc}[2011/02/04]% v0.21
diff --git a/Master/texmf-dist/source/latex/regstats/regstats.dtx b/Master/texmf-dist/source/latex/regstats/regstats.dtx
index b05dcda2c73..bef7805d12d 100644
--- a/Master/texmf-dist/source/latex/regstats/regstats.dtx
+++ b/Master/texmf-dist/source/latex/regstats/regstats.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: regstats.dtx
-% Version: 2011/06/18 v1.0d
+% Version: 2011/08/23 v1.0f
%
% Copyright (C) 2011 by
% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -80,7 +80,7 @@
\input docstrip.tex
\Msg{******************************************************************}
\Msg{* Installation}
-\Msg{* Package: regstats 2011/06/18 v1.0d Counting used registers (HMM)}
+\Msg{* Package: regstats 2011/08/23 v1.0f Counting used registers (HMM)}
\Msg{******************************************************************}
\keepsilent
@@ -92,7 +92,7 @@
This is a generated file.
Project: regstats
-Version: 2011/06/18 v1.0d
+Version: 2011/08/23 v1.0f
Copyright (C) 2011 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -174,9 +174,9 @@ and the derived files
%
% \begin{macrocode}
%<*driver>
-\NeedsTeXFormat{LaTeX2e}[2009/09/24]
+\NeedsTeXFormat{LaTeX2e}[2011/06/24]%
\ProvidesFile{regstats.drv}%
- [2011/06/18 v1.0d Counting used registers (HMM)]%
+ [2011/08/23 v1.0f Counting used registers (HMM)]%
\documentclass{ltxdoc}[2007/11/11]% v2.0u
\usepackage{pdflscape}[2008/08/11]% v0.10
\usepackage{holtxdoc}[2011/02/04]% v0.21
@@ -213,7 +213,7 @@ and the derived files
%
% \fi
%
-% \CheckSum{511}
+% \CheckSum{541}
%
% \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
@@ -263,7 +263,7 @@ and the derived files
% \DoNotIndex{\value,\setcounter,\addtocounter,\arabic,\csname,\endscname}
%
% \title{The \xpackage{regstats} package}
-% \date{2011/06/18 v1.0d}
+% \date{2011/08/23 v1.0f}
% \author{H.-Martin M\"{u}nch\\\xemail{Martin.Muench at Uni-Bonn.de}}
%
% \maketitle
@@ -273,7 +273,7 @@ and the derived files
% (counter, dimen, skip, muskip, box, token, input, output,
% math families, languages, insertions)
% and compare these to the maximum available number of such registers.
-% The time needed for a compilation run can be anounced.
+% The time needed for a compilation run can be announced.
% \end{abstract}
%
% \bigskip
@@ -384,8 +384,9 @@ and the derived files
\documentclass[british]{article}[2007/10/19]% v1.4h
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \usepackage{etex}[1998/03/26]% v2.0
-%% Uncomment the preceding line, if you want to use eTeX.
-\usepackage{hyperref}[2011/04/17]% v6.82g
+%% Uncomment the preceding line, if you want to use the eTeX-package
+%% (which requires eTeX, of course).
+\usepackage{hyperref}[2011/08/19]% v6.82h
\hypersetup{extension=pdf,%
plainpages=false,%
pdfpagelabels=true,%
@@ -399,7 +400,7 @@ and the derived files
pdfview=Fit,pdfstartview=Fit,%
pdfpagelayout=SinglePage%
}
-\usepackage[proof=false,left=true,timer=true]{regstats}[2011/06/18]% v1.0d
+\usepackage[proof=false,left=true,timer=true]{regstats}[2011/08/23]% v1.0f
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
\listfiles
\begin{document}
@@ -407,7 +408,7 @@ and the derived files
\section*{Example for regstats}
This example demonstrates the use of package\newline
-\textsf{regstats}, v1.0d as of 2011/06/18 (HMM).\newline
+\textsf{regstats}, v1.0f as of 2011/08/23 (HMM).\newline
The used options were \texttt{proof=false,left=true,timer=true}.\newline
\texttt{proof=false} is the default, but neither \texttt{left=true}
nor \texttt{timer=true} are defaults (\texttt{left=false,timer=false}
@@ -450,8 +451,8 @@ option \texttt{timer} is not demonstrated very spectacular.
% \end{macrocode}
%
% \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\ProvidesPackage{regstats}[2011/06/18 v1.0d
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesPackage{regstats}[2011/08/23 v1.0f
Counting used registers (HMM)]
% \end{macrocode}
@@ -471,7 +472,7 @@ option \texttt{timer} is not demonstrated very spectacular.
%
% \begin{macrocode}
\RequirePackage{kvoptions}[2010/12/23]% v3.10
-\RequirePackage{atveryend}[2011/04/23]% v1.7
+\RequirePackage{atveryend}[2011/06/30]% v1.8
% \end{macrocode}
%
@@ -527,12 +528,58 @@ option \texttt{timer} is not demonstrated very spectacular.
% \end{macrocode}
%
-% We try to determine, whether \eTeX\ is available in the
-% \LaTeX\ distribution used to compile the document
+% \LaTeXe{} 2011/06/27 changed the |\enddocument| command and thus
+% broke the \xpackage{atveryend} package, which was then fixed.
+% If new \LaTeXe{} and old \xpackage{atveryend} are combined,
+% |\AtVeryVeryEnd| will never be called. Therefore we\\
+% |\let\AtVeryVeryEnd\AtEndAfterFileList| and give an error message.
+% It is no problem at all for the \xpackage{regstats} package,
+% but other packages might really need |\AtVeryVeryEnd|,
+% and the user might lose code and never get to know it
+% (and just run into problems of unknown origin).\\
+% |\@ifl@t@r\fmtversion| is from |\@needsf@rmat| as in\\
+% \texttt{File L: ltclass.dtx Date: 2007/08/05 Version v1.1h}, line~259,\\
+% of The \LaTeXe{} Sources\\
+% by \textsc{Johannes Braams, David Carlisle, Alan Jeffrey, Leslie Lamport,%
+% Frank Mittelbach, Chris Rowley, and Rainer Sch\"{o}pf},\\
+% as of 2009/09/24.
+%
+% \begin{macrocode}
+\@ifl@t@r\fmtversion{2011/06/27}%
+ {\@ifpackagelater{atveryend}{2011/06/29}%
+ {% 2011/06/30, v1.8, or even more recent
+ }{% older version
+ \PackageError{regstats}{Outdated atveryend package}%
+ {You use \fmtname \space <\fmtversion>, but only \MessageBreak%
+ `\csname ver@atveryend.\@currext\endcsname',\MessageBreak%
+ which is incompatibel with \fmtname \space <\fmtversion>.\MessageBreak%
+ Please update your atveryend package!\MessageBreak%
+ The regstats package now replaces \string\AtVeryVeryEnd \MessageBreak%
+ by \string\AtEndAfterFileList.\MessageBreak%
+ }%
+ \let\AtVeryVeryEnd\AtEndAfterFileList%
+ }%
+ }{%
+% \end{macrocode}
+%
+% In this case the used \TeX{} format is outdated, but when\\
+% |\NeedsTeXFormat{LaTeX2e}[2011/06/27]|\\
+% is executed at the beginning of \xpackage{regstats} package,
+% the appropriate warning message is issued automatically.
+% (And \xpackage{regstats} should also work with older versions,
+% I~used it with a 2003/12/01 version myself.)
+%
+% \begin{macrocode}
+ }
+
+% \end{macrocode}
+%
+% We try to determine, whether $\varepsilon$-\TeX{} is available in the
+% \LaTeX{} distribution used to compile the document
% and really loaded by the user. Because it is possible to
% load packages |\AtBeginDocument|, but |\@ifpackageloaded|
% cannot be used after |\AtBeginDocument|, we check for
-% \eTeX\ |\AtBeginDocument| (and herewith ask the user
+% $\varepsilon$-\TeX{} |\AtBeginDocument| (and herewith ask the user
% to please load \xpackage{regstats} as very last package,
% at least after the \xpackage{etex} package):
%
@@ -557,7 +604,6 @@ option \texttt{timer} is not demonstrated very spectacular.
but should give according messages.\MessageBreak%
}
\fi
- }
% \end{macrocode}
%
@@ -568,48 +614,53 @@ option \texttt{timer} is not demonstrated very spectacular.
% the number of remaining registers of that type.
%
% \begin{macrocode}
-\AtVeryEndDocument{%
- \AtVeryVeryEnd{%
- \def\regstats@lft{}%
- \newcommand{\regstats@regstat}[5]{%
+ \AtEndDocument{%
+ \BeforeClearDocument{%
+ \AfterLastShipout{%
+ \AtVeryEndDocument{%
+ \AtEndAfterFileList{%
+ \AtVeryVeryEnd{%
+ \def\regstats@lft{}%
+ \newcommand{\regstats@regstat}[5]{%
% \end{macrocode}
%
% The five parameters are: number of used registers of that type,
-% singular ending, plural ending, number of available registers without \eTeX{},
-% number of availabe registers with \eTeX\ (in this order).
+% singular ending, plural ending, number of available registers without
+% $\varepsilon$-\TeX{}, number of availabe registers with $\varepsilon$-\TeX{}
+% (in this order).
%
% \begin{macrocode}
- \setcounter{regstatscount}{#1}
- \ifnum \value{regstatscount}=0
- \setcounter{regstatscount}{2}
- \fi
- \ifnum \value{regstatscount}>1
- \gdef\regstats@pl{#3}
- \else
- \gdef\regstats@pl{#2}
- \fi
- \ifetex\edef\regstats@max{#5}\else\edef\regstats@max{#4}\fi
- \ifregstats@left
- \setcounter{regstatscount}{\regstats@max}
- \addtocounter{regstatscount}{-#1}
- \ifnum \value{regstatscount}>0
- \edef\regstats@lft{, left: \arabic{regstatscount}}
+ \setcounter{regstatscount}{#1}
+ \ifnum \value{regstatscount}=0
+ \setcounter{regstatscount}{2}
+ \fi
+ \ifnum \value{regstatscount}>1
+ \gdef\regstats@pl{#3}
\else
- \ifnum \value{regstatscount}=0
- \edef\regstats@lft{, left: \arabic{regstatscount} !!!}
- \else% \value{regstatscount}<0
- \edef\regstats@lft{, left: \arabic{regstatscount} **********}
- \fi
+ \gdef\regstats@pl{#2}
\fi
+ \ifetex\edef\regstats@max{#5}\else\edef\regstats@max{#4}\fi
+ \ifregstats@left
+ \setcounter{regstatscount}{\regstats@max}
+ \addtocounter{regstatscount}{-#1}
+ \ifnum \value{regstatscount}>0
+ \edef\regstats@lft{, left: \arabic{regstatscount}}
+ \else
+ \ifnum \value{regstatscount}=0
+ \edef\regstats@lft{, left: \arabic{regstatscount} !!!}
+ \else% \value{regstatscount}<0
+ \edef\regstats@lft{, left: \arabic{regstatscount} **********}
+ \fi
+ \fi
% \end{macrocode}
%
% | \else| |\regstats@lft| will stay |\empty|.
%
% \begin{macrocode}
- \fi
- }
- \newcounter{regstatscount}
- \edef\regstats@counter{\the\allocationnumber}
+ \fi
+ }
+ \newcounter{regstatscount}
+ \edef\regstats@counter{\the\allocationnumber}
% \end{macrocode}
%
% When option |proof| was chosen, a new register of the named types is used
@@ -617,127 +668,136 @@ option \texttt{timer} is not demonstrated very spectacular.
% We give a warning about the use of additional registers.
%
% \begin{macrocode}
- \ifregstats@proof
- \PackageWarning{regstats}{%
- Package regstats loaded with option 'proof'.\MessageBreak%
- This package itself will now use\MessageBreak%
- one of each register for testing!%
- }%
- \def\regstats@proof{1}
- \edef\regstats@test{\the\count10}
- \ifx\regstats@counter\regstats@test
- \else \message{Discrepancy when counting count registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newdimen{\regstatsdimen}
- \edef\regstats@dimen{\the\allocationnumber}
- \edef\regstats@test{\the\count11}
- \ifx\regstats@dimen\regstats@test
- \else \message{Discrepancy when counting dimen registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newskip\regstatsskip
- \edef\regstats@skip{\the\allocationnumber}
- \edef\regstats@test{\the\count12}
- \ifx\regstats@skip\regstats@test
- \else \message{Discrepancy when counting skip registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newmuskip\regstatsmuskip
- \edef\regstats@muskip{\the\allocationnumber}
- \edef\regstats@test{\the\count13}
- \ifx\regstats@muskip\regstats@test
- \else \message{Discrepancy when counting muskip registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newbox\regstatsbox
- \edef\regstats@box{\the\allocationnumber}
- \edef\regstats@test{\the\count14}
- \ifx\regstats@box\regstats@test
- \else \message{Discrepancy when counting box registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newtoks\regstatstoks
- \edef\regstats@toks{\the\allocationnumber}
- \edef\regstats@test{\the\count15}
- \ifx\regstats@toks\regstats@test
- \else \message{Discrepancy when counting toks registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newread\regstatsread
- \edef\regstats@read{\the\allocationnumber}
- \edef\regstats@test{\the\count16}
- \ifx\regstats@read\regstats@test
- \else \message{Discrepancy when counting read registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newwrite\regstatswrite
- \edef\regstats@write{\the\allocationnumber}
- \edef\regstats@test{\the\count17}
- \ifx\regstats@write\regstats@test
- \else \message{Discrepancy when counting write registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newfam\regstatsfam
- \edef\regstats@fam{\the\allocationnumber}
- \edef\regstats@test{\the\count18}
- \ifx\regstats@fam\regstats@test
- \else \message{Discrepancy when counting fam registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newlanguage\regstatslanguage
- \edef\regstats@language{\the\allocationnumber}
- \edef\regstats@test{\the\count19}
- \ifx\regstats@language\regstats@test
- \else \message{Discrepancy when counting language registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newinsert\regstatsinsert
- \edef\regstats@insert{\the\allocationnumber}
- \edef\regstats@test{\the\count20}
- \ifx\regstats@insert\regstats@test
- \else \message{Discrepancy when counting insert registers.^^J}
- \def\regstats@proof{0}
- \fi
+ \ifregstats@proof
+ \PackageWarning{regstats}{%
+ Package regstats loaded with option 'proof'.\MessageBreak%
+ This package itself will now use\MessageBreak%
+ one of each register for testing!%
+ }%
+ \def\regstats@proof{1}
+ \edef\regstats@test{\the\count10}
+ \ifx\regstats@counter\regstats@test
+ \else
+ \message{Discrepancy when counting count registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newdimen{\regstatsdimen}
+ \edef\regstats@dimen{\the\allocationnumber}
+ \edef\regstats@test{\the\count11}
+ \ifx\regstats@dimen\regstats@test
+ \else
+ \message{Discrepancy when counting dimen registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newskip\regstatsskip
+ \edef\regstats@skip{\the\allocationnumber}
+ \edef\regstats@test{\the\count12}
+ \ifx\regstats@skip\regstats@test
+ \else
+ \message{Discrepancy when counting skip registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newmuskip\regstatsmuskip
+ \edef\regstats@muskip{\the\allocationnumber}
+ \edef\regstats@test{\the\count13}
+ \ifx\regstats@muskip\regstats@test
+ \else
+ \message{Discrepancy when counting muskip registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newbox\regstatsbox
+ \edef\regstats@box{\the\allocationnumber}
+ \edef\regstats@test{\the\count14}
+ \ifx\regstats@box\regstats@test
+ \else
+ \message{Discrepancy when counting box registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newtoks\regstatstoks
+ \edef\regstats@toks{\the\allocationnumber}
+ \edef\regstats@test{\the\count15}
+ \ifx\regstats@toks\regstats@test
+ \else
+ \message{Discrepancy when counting toks registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newread\regstatsread
+ \edef\regstats@read{\the\allocationnumber}
+ \edef\regstats@test{\the\count16}
+ \ifx\regstats@read\regstats@test
+ \else
+ \message{Discrepancy when counting read registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newwrite\regstatswrite
+ \edef\regstats@write{\the\allocationnumber}
+ \edef\regstats@test{\the\count17}
+ \ifx\regstats@write\regstats@test
+ \else
+ \message{Discrepancy when counting write registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newfam\regstatsfam
+ \edef\regstats@fam{\the\allocationnumber}
+ \edef\regstats@test{\the\count18}
+ \ifx\regstats@fam\regstats@test
+ \else
+ \message{Discrepancy when counting fam registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newlanguage\regstatslanguage
+ \edef\regstats@language{\the\allocationnumber}
+ \edef\regstats@test{\the\count19}
+ \ifx\regstats@language\regstats@test
+ \else
+ \message{Discrepancy when counting language registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newinsert\regstatsinsert
+ \edef\regstats@insert{\the\allocationnumber}
+ \edef\regstats@test{\the\count20}
+ \ifx\regstats@insert\regstats@test
+ \else
+ \message{Discrepancy when counting insert registers.^^J}
+ \def\regstats@proof{0}
+ \fi
% \end{macrocode}
%
% When there was a discrepancy somewhere, we give the according message.
%
% \begin{macrocode}
- \edef\regstats@test{0}
- \ifx\regstats@proof\regstats@test
- \message{Regstats test for register numbers failed.^^J}
- \message{Therefore option 'proof' is necessary to get the %
- right numbers.^^J}
- \fi
- \else
+ \edef\regstats@test{0}
+ \ifx\regstats@proof\regstats@test
+ \message{Regstats test for register numbers failed.^^J}
+ \message{Therefore option 'proof' is necessary to get the %
+ right numbers.^^J}
+ \fi
+ \else
% \end{macrocode}
%
-% \pagebreak
-%
% Without option |proof|, we just take the values of the various |count|s.
%
% \begin{macrocode}
- \edef\regstats@dimen{\the\count11}
- \edef\regstats@skip{\the\count12}
- \edef\regstats@muskip{\the\count13}
- \edef\regstats@box{\the\count14}
- \edef\regstats@toks{\the\count15}
- \edef\regstats@read{\the\count16}
- \edef\regstats@write{\the\count17}
- \edef\regstats@fam{\the\count18}
- \edef\regstats@language{\the\count19}
- \edef\regstats@insert{\the\count20}
- \fi
+ \edef\regstats@dimen{\the\count11}
+ \edef\regstats@skip{\the\count12}
+ \edef\regstats@muskip{\the\count13}
+ \edef\regstats@box{\the\count14}
+ \edef\regstats@toks{\the\count15}
+ \edef\regstats@read{\the\count16}
+ \edef\regstats@write{\the\count17}
+ \edef\regstats@fam{\the\count18}
+ \edef\regstats@language{\the\count19}
+ \edef\regstats@insert{\the\count20}
+ \fi
% \end{macrocode}
%
% |insert|s are used starting with a high number and moving downward.
%
% \begin{macrocode}
- \setcounter{regstatscount}{233}
- \addtocounter{regstatscount}{-\regstats@insert}
- \addtocounter{regstatscount}{+1}
- \edef\regstats@insert{\arabic{regstatscount}}
+ \setcounter{regstatscount}{233}
+ \addtocounter{regstatscount}{-\regstats@insert}
+ \addtocounter{regstatscount}{+1}
+ \edef\regstats@insert{\arabic{regstatscount}}
% \end{macrocode}
%
% \newpage
@@ -745,44 +805,46 @@ option \texttt{timer} is not demonstrated very spectacular.
%
% The number of used registers of each type and the number of available ones
% (estimated, probably dependent on distribution and its version, here just
-% distinguished according to availability of \eTeX{}) is written to screen
-% and \xfile{log} file. (Additional spaces are just for increased ease of
-% readability of the code and will appear neither at the scree output nor
+% distinguished according to availability of $\varepsilon$-\TeX{}) is written
+% to screen and \xfile{log} file. (Additional spaces are just for increased ease
+% of readability of the code and will appear neither at the scree output nor
% in the \xfile{log}~file.)
%
% \begin{macrocode}
- \message{^^J}
- \message{Here is how much of TeX's registers you used^^J}%
- \message{\space (numbers of available registers are estimated!):^^J}%
- \regstats@regstat{\regstats@counter}{}{s}{233}{32767}
- \message{ \regstats@counter\space counter register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@dimen}{}{s}{233}{32767}
- \message{ \regstats@dimen\space dimen register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@skip}{}{s}{233}{32767}
- \message{ \regstats@skip\space skip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@muskip}{}{s}{255}{32767}
- \message{ \regstats@muskip\space muskip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@box}{}{s}{233}{32767}
- \message{ \regstats@box\space box register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@toks}{}{s}{255}{32767}
- \message{ \regstats@toks\space toks register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@read}{}{s}{15}{15}
- \message{ \regstats@read\space input stream\regstats@pl\space (read) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@write}{}{s}{15}{15}
- \message{ \regstats@write\space output stream\regstats@pl\space (write) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@fam}{y}{ies}{15}{15}
- \message{ \regstats@fam\space math famil\regstats@pl\space (fam) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@language}{}{s}{255}{255}
- \message{ \regstats@language\space language code\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@insert}{}{s}{101}{124}
- \message{ \regstats@insert\space insertion\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \message{^^J}
+ \message{Here is how much of TeX's registers you used^^J}%
+ \message{\space (numbers of available registers are estimated!):^^J}%
+ \regstats@regstat{\regstats@counter}{}{s}{233}{32767}
+ \message{ \regstats@counter\space counter register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@dimen}{}{s}{233}{32767}
+ \message{ \regstats@dimen\space dimen register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@skip}{}{s}{233}{32767}
+ \message{ \regstats@skip\space skip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@muskip}{}{s}{255}{32767}
+ \message{ \regstats@muskip\space muskip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@box}{}{s}{233}{32767}
+ \message{ \regstats@box\space box register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@toks}{}{s}{255}{32767}
+ \message{ \regstats@toks\space toks register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@read}{}{s}{15}{15}
+ \message{ \regstats@read\space input stream\regstats@pl\space (read) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@write}{}{s}{15}{15}
+ \message{ \regstats@write\space output stream\regstats@pl\space (write) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@fam}{y}{ies}{15}{15}
+ \message{ \regstats@fam\space math famil\regstats@pl\space (fam) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@language}{}{s}{255}{255}
+ \message{ \regstats@language\space language code\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@insert}{}{s}{101}{124}
+ \message{ \regstats@insert\space insertion\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
% \end{macrocode}
%
% \pagebreak
% \end{landscape}
%
% When option |timer| (or |timer=true|) was used, the \xpackage{regstats} package
-% additionally gives the time, which was needed for the compilation.
+% additionally gives the time, which was needed for the (last) compilation (run).
+% When more than one compilation run are necessary to compile the document,
+% the individual times have to be added up manually.
% If~|\pdfelapsedtime| was reset by another package, the result is not correct,
% of course, but unfortunately it is not possible to check for this. You could say
% |\def\pdfresettimer{\relax}| immediately after |\documentclass[...]{...}|
@@ -792,32 +854,39 @@ option \texttt{timer} is not demonstrated very spectacular.
% to be notified thereof. This redefinition could be implemented in this
% \xpackage{regstats} package, but this would have no effect for the use of
% |\pdfresettimer| before this package is called. Because this package
-% should be called immediately before |\begin{document}|, this would mean
+% should be called as late as immediately before |\begin{document}|, this would mean
% that resetting would be possible during the whole loading of all packages.
%
% \begin{macrocode}
- \ifregstats@timer
- \message{^^J}
- \setcounter{regstatscount}{\the\pdfelapsedtime}
- \edef\regstatselapsedtime{\arabic{regstatscount}}
- \divide \value{regstatscount} by 65536% scaledseconds -> seconds
- \edef\regstatsseconds{\arabic{regstatscount}}
- \ifnum \value{regstatscount} > 59
- \edef\regstatsseconds{\intcalcMod{\value{regstatscount}}{60}}
- \divide \value{regstatscount} by 60% seconds -> minutes
- \else
- \setcounter{regstatscount}{0}% minutes = 0
- \fi
- \ifnum \regstatsseconds < 10
- \message{Time elapsed: about \arabic{regstatscount}:0\regstatsseconds%
- \space (m:ss; \regstatselapsedtime /65536 s).^^J}
- \else
- \message{Time elapsed: about \arabic{regstatscount}:\regstatsseconds %
- \space (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \ifregstats@timer
+ \message{^^J}
+ \setcounter{regstatscount}{\the\pdfelapsedtime}
+ \edef\regstatselapsedtime{\arabic{regstatscount}}
+ \divide \value{regstatscount} by 65536% scaledseconds -> seconds
+ \edef\regstatsseconds{\arabic{regstatscount}}
+ \ifnum \value{regstatscount} > 59
+ \edef\regstatsseconds{\intcalcMod{\value{regstatscount}}{60}}
+ \divide \value{regstatscount} by 60% seconds -> minutes
+ \else
+ \setcounter{regstatscount}{0}% minutes = 0
+ \fi
+ \ifnum \regstatsseconds < 10
+ \message{Time elapsed for the last compiler run:^^J%
+ about \arabic{regstatscount}:0\regstatsseconds\space%
+ (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \else
+ \message{Time elapsed for the last compiler run:^^J%
+ about \arabic{regstatscount}:\regstatsseconds \space%
+ (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \fi
\fi
- \fi
- }
- }
+ }%
+ }%
+ }%
+ }%
+ }%
+ }%
+}
% \end{macrocode}
%
@@ -833,18 +902,18 @@ option \texttt{timer} is not demonstrated very spectacular.
%
% \subsection{Downloads\label{ss:Downloads}}
%
-% Everything is available at \CTAN{}, \url{http://www.ctan.org/tex-archive/},
+% Everything will become available at \CTAN{}, \url{http://www.ctan.org/tex-archive/},
% but may need additional packages themselves.\\
%
% \DescribeMacro{regstats.dtx}
% For unpacking the |regstats.dtx| file and constructing the documentation it is required:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe: \url{http://www.CTAN.org/}
+% \item[-] \TeX Format \LaTeXe{}: \url{http://www.CTAN.org/}
%
% \item[-] document class \xpackage{ltxdoc}, 2007/11/11, v2.0u,\\
% \CTAN{macros/latex/base/ltxdoc.dtx}
%
-% \item[-] package \textsf{pdflscape}, 2008/08/11, v0.10,\\
+% \item[-] package \xpackage{pdflscape}, 2008/08/11, v0.10,\\
% \CTAN{macros/latex/contrib/oberdiek/pdflscape.dtx}
%
% \item[-] package \xpackage{holtxdoc}, 2011/02/04, v0.21,\\
@@ -855,14 +924,15 @@ option \texttt{timer} is not demonstrated very spectacular.
% \end{description}
%
% \DescribeMacro{regstats.sty}
-% The \texttt{regstats.sty} for \LaTeXe\ (i.\,e. all documents using
+% The \texttt{regstats.sty} for \LaTeXe\ (i.\,e. each document using
% the \xpackage{regstats} package) requires:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe, \url{http://www.CTAN.org/}
+% \item[-] \TeX Format \LaTeXe{}, \url{http://www.CTAN.org/}
%
% \item[-] package \xpackage{kvoptions}, 2010/12/23, v3.10,\\
% \CTAN{macros/latex/contrib/oberdiek/kvoptions.dtx}
-% \item[-] package \xpackage{atveryend}, 2011/04/23, v1.7,\\
+%
+% \item[-] package \xpackage{atveryend}, 2011/06/30, v1.8,\\
% \CTAN{macros/latex/contrib/oberdiek/atveryend.dtx}
% \end{description}
%
@@ -881,7 +951,7 @@ option \texttt{timer} is not demonstrated very spectacular.
% \item[-] class \xpackage{article}, 2007/10/19, v1.4h, from \xpackage{classes.dtx}:\\
% \CTAN{macros/latex/base/classes.dtx}
%
-% \item[-] package \xpackage{regstats}, 2011/06/18, v1.0d,\\
+% \item[-] package \xpackage{regstats}, 2011/08/23, v1.0f,\\
% \CTAN{macros/latex/contrib/regstats/regstats.dtx}\\
% (Well, it is the example file for this package, and because you are reading the
% documentation for the \xpackage{regstats} package, it can be assumed that you already
@@ -1085,9 +1155,9 @@ option \texttt{timer} is not demonstrated very spectacular.
% \section{Acknowledgements}
%
% I would like to thank \textsc{Heiko Oberdiek} for providing
-% the \xpackage{hyperref} as well as a~lot~(!) of other useful packages
-% (from which I also got everything I know about creating a file in
-% \xext{dtx} format, ok, say it: copying),
+% the \xpackage{hyperref} and \xpackage{atveryend} as well as
+% a~lot~(!) of other useful packages (from which I also got everything
+% I know about creating a file in \xext{dtx} format, ok, say it: copying),
% \textsc{Jean-Pierre F. Drucbert} for his \xpackage{regcount} package,
% \textsc{Robin Fairbairns} for pointing me to the \xpackage{regcount} package,
% and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex}
@@ -1110,8 +1180,8 @@ option \texttt{timer} is not demonstrated very spectacular.
% \item Diverse details.
% \end{Version}
% \begin{Version}{2011/06/08 v1.0c}
-% \item Bug Fix: Number of available |\skip| registers with \eTeX.
-% \item Change in \eTeX -detection.
+% \item Bug Fix: Number of available |\skip| registers with $\varepsilon$-\TeX{}.
+% \item Change in $\varepsilon$-\TeX{}-detection.
% \item New option |left|.
% \item Minor details.
% \end{Version}
@@ -1120,6 +1190,26 @@ option \texttt{timer} is not demonstrated very spectacular.
% \item New option |timer|.
% \item Some details.
% \end{Version}
+% \begin{Version}{2011/08/22 v1.0e}
+% \item The information about the used registers is now presented even later.
+% \item Quite some details in the documentation.
+% \item Updated to \TeX live2011.
+% \item Hot fix: \TeX{} 2011/06/27 has changed |\enddocument| and
+% thus broken the |\AtVeryVeryEnd| command/hooking
+% of \xpackage{atveryend} package as of 2011/04/23, v1.7.
+% Until it is fixed, |\AtEndAfterFileList| is used.
+% \end{Version}
+% \begin{Version}{2011/08/23 v1.0f}
+% \item The \xpackage{atveryend} package was fixed (2011/06/30, v.1.8).
+% Now \xpackage{regstats} differentiates according to \TeX{} format
+% and \xpackage{atveryend} package version. 2011/06/30, v.1.8
+% will become available at CTAN soon. \xpackage{regstats} also
+% works with the old version, the information is just presented
+% a little bit earlier during compilation, thus theoretically
+% there could be missed some register use after that information,
+% which would be obviouse in the \xfile{log}-file.
+% \item New \xpackage{hyperref} package used for the documentation.
+% \end{Version}
% \end{History}
%
% \bigskip
@@ -1127,7 +1217,7 @@ option \texttt{timer} is not demonstrated very spectacular.
% When you find a mistake or have a suggestion for an improvement of this package,
% please send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.)
%
-% \pagebreak
+% \bigskip
%
% \PrintIndex
%
diff --git a/Master/texmf-dist/source/latex/regstats/regstats.ins b/Master/texmf-dist/source/latex/regstats/regstats.ins
index 889344ac39b..e0134f4bc25 100644
--- a/Master/texmf-dist/source/latex/regstats/regstats.ins
+++ b/Master/texmf-dist/source/latex/regstats/regstats.ins
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: regstats
-%% Version: 2011/06/18 v1.0d
+%% Version: 2011/08/23 v1.0f
%%
%% Copyright (C) 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -41,7 +41,7 @@
\input docstrip.tex
\Msg{******************************************************************}
\Msg{* Installation}
-\Msg{* Package: regstats 2011/06/18 v1.0d Counting used registers (HMM)}
+\Msg{* Package: regstats 2011/08/23 v1.0f Counting used registers (HMM)}
\Msg{******************************************************************}
\keepsilent
@@ -53,7 +53,7 @@
This is a generated file.
Project: regstats
-Version: 2011/06/18 v1.0d
+Version: 2011/08/23 v1.0f
Copyright (C) 2011 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
diff --git a/Master/texmf-dist/tex/latex/regstats/regstats.sty b/Master/texmf-dist/tex/latex/regstats/regstats.sty
index f175cdb2258..7dcfb48e24f 100644
--- a/Master/texmf-dist/tex/latex/regstats/regstats.sty
+++ b/Master/texmf-dist/tex/latex/regstats/regstats.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: regstats
-%% Version: 2011/06/18 v1.0d
+%% Version: 2011/08/23 v1.0f
%%
%% Copyright (C) 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -38,8 +38,8 @@
%% regstats.sty, regstats.pdf, regstats.ins, regstats.drv,
%% regstats-example.tex.
%%
-\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\ProvidesPackage{regstats}[2011/06/18 v1.0d
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesPackage{regstats}[2011/08/23 v1.0f
Counting used registers (HMM)]
%% Allows to count the number of used registers
@@ -48,7 +48,7 @@
%% and compare these to the maximum available number of such registers.
\RequirePackage{kvoptions}[2010/12/23]% v3.10
-\RequirePackage{atveryend}[2011/04/23]% v1.7
+\RequirePackage{atveryend}[2011/06/30]% v1.8
%% regstats may work with earlier versions of LaTeX and these
%% packages, but this was not tested. Please consider updating
@@ -82,6 +82,23 @@
\RequirePackage{intcalc}[2007/09/27]% v1.1
\fi
+\@ifl@t@r\fmtversion{2011/06/27}%
+ {\@ifpackagelater{atveryend}{2011/06/29}%
+ {% 2011/06/30, v1.8, or even more recent
+ }{% older version
+ \PackageError{regstats}{Outdated atveryend package}%
+ {You use \fmtname \space <\fmtversion>, but only \MessageBreak%
+ `\csname ver@atveryend.\@currext\endcsname',\MessageBreak%
+ which is incompatibel with \fmtname \space <\fmtversion>.\MessageBreak%
+ Please update your atveryend package!\MessageBreak%
+ The regstats package now replaces \string\AtVeryVeryEnd \MessageBreak%
+ by \string\AtEndAfterFileList.\MessageBreak%
+ }%
+ \let\AtVeryVeryEnd\AtEndAfterFileList%
+ }%
+ }{%
+ }
+
\AtBeginDocument{%
\newif\ifetex
\begingroup\expandafter\expandafter\expandafter\endgroup
@@ -102,189 +119,210 @@
but should give according messages.\MessageBreak%
}
\fi
- }
-\AtVeryEndDocument{%
- \AtVeryVeryEnd{%
- \def\regstats@lft{}%
- \newcommand{\regstats@regstat}[5]{%
- \setcounter{regstatscount}{#1}
- \ifnum \value{regstatscount}=0
- \setcounter{regstatscount}{2}
- \fi
- \ifnum \value{regstatscount}>1
- \gdef\regstats@pl{#3}
- \else
- \gdef\regstats@pl{#2}
- \fi
- \ifetex\edef\regstats@max{#5}\else\edef\regstats@max{#4}\fi
- \ifregstats@left
- \setcounter{regstatscount}{\regstats@max}
- \addtocounter{regstatscount}{-#1}
- \ifnum \value{regstatscount}>0
- \edef\regstats@lft{, left: \arabic{regstatscount}}
+ \AtEndDocument{%
+ \BeforeClearDocument{%
+ \AfterLastShipout{%
+ \AtVeryEndDocument{%
+ \AtEndAfterFileList{%
+ \AtVeryVeryEnd{%
+ \def\regstats@lft{}%
+ \newcommand{\regstats@regstat}[5]{%
+ \setcounter{regstatscount}{#1}
+ \ifnum \value{regstatscount}=0
+ \setcounter{regstatscount}{2}
+ \fi
+ \ifnum \value{regstatscount}>1
+ \gdef\regstats@pl{#3}
\else
- \ifnum \value{regstatscount}=0
- \edef\regstats@lft{, left: \arabic{regstatscount} !!!}
- \else% \value{regstatscount}<0
- \edef\regstats@lft{, left: \arabic{regstatscount} **********}
+ \gdef\regstats@pl{#2}
+ \fi
+ \ifetex\edef\regstats@max{#5}\else\edef\regstats@max{#4}\fi
+ \ifregstats@left
+ \setcounter{regstatscount}{\regstats@max}
+ \addtocounter{regstatscount}{-#1}
+ \ifnum \value{regstatscount}>0
+ \edef\regstats@lft{, left: \arabic{regstatscount}}
+ \else
+ \ifnum \value{regstatscount}=0
+ \edef\regstats@lft{, left: \arabic{regstatscount} !!!}
+ \else% \value{regstatscount}<0
+ \edef\regstats@lft{, left: \arabic{regstatscount} **********}
+ \fi
\fi
\fi
- \fi
- }
- \newcounter{regstatscount}
- \edef\regstats@counter{\the\allocationnumber}
- \ifregstats@proof
- \PackageWarning{regstats}{%
- Package regstats loaded with option 'proof'.\MessageBreak%
- This package itself will now use\MessageBreak%
- one of each register for testing!%
- }%
- \def\regstats@proof{1}
- \edef\regstats@test{\the\count10}
- \ifx\regstats@counter\regstats@test
- \else \message{Discrepancy when counting count registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newdimen{\regstatsdimen}
- \edef\regstats@dimen{\the\allocationnumber}
- \edef\regstats@test{\the\count11}
- \ifx\regstats@dimen\regstats@test
- \else \message{Discrepancy when counting dimen registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newskip\regstatsskip
- \edef\regstats@skip{\the\allocationnumber}
- \edef\regstats@test{\the\count12}
- \ifx\regstats@skip\regstats@test
- \else \message{Discrepancy when counting skip registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newmuskip\regstatsmuskip
- \edef\regstats@muskip{\the\allocationnumber}
- \edef\regstats@test{\the\count13}
- \ifx\regstats@muskip\regstats@test
- \else \message{Discrepancy when counting muskip registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newbox\regstatsbox
- \edef\regstats@box{\the\allocationnumber}
- \edef\regstats@test{\the\count14}
- \ifx\regstats@box\regstats@test
- \else \message{Discrepancy when counting box registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newtoks\regstatstoks
- \edef\regstats@toks{\the\allocationnumber}
- \edef\regstats@test{\the\count15}
- \ifx\regstats@toks\regstats@test
- \else \message{Discrepancy when counting toks registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newread\regstatsread
- \edef\regstats@read{\the\allocationnumber}
- \edef\regstats@test{\the\count16}
- \ifx\regstats@read\regstats@test
- \else \message{Discrepancy when counting read registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newwrite\regstatswrite
- \edef\regstats@write{\the\allocationnumber}
- \edef\regstats@test{\the\count17}
- \ifx\regstats@write\regstats@test
- \else \message{Discrepancy when counting write registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newfam\regstatsfam
- \edef\regstats@fam{\the\allocationnumber}
- \edef\regstats@test{\the\count18}
- \ifx\regstats@fam\regstats@test
- \else \message{Discrepancy when counting fam registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newlanguage\regstatslanguage
- \edef\regstats@language{\the\allocationnumber}
- \edef\regstats@test{\the\count19}
- \ifx\regstats@language\regstats@test
- \else \message{Discrepancy when counting language registers.^^J}
- \def\regstats@proof{0}
- \fi
- \newinsert\regstatsinsert
- \edef\regstats@insert{\the\allocationnumber}
- \edef\regstats@test{\the\count20}
- \ifx\regstats@insert\regstats@test
- \else \message{Discrepancy when counting insert registers.^^J}
- \def\regstats@proof{0}
- \fi
- \edef\regstats@test{0}
- \ifx\regstats@proof\regstats@test
- \message{Regstats test for register numbers failed.^^J}
- \message{Therefore option 'proof' is necessary to get the %
- right numbers.^^J}
- \fi
- \else
- \edef\regstats@dimen{\the\count11}
- \edef\regstats@skip{\the\count12}
- \edef\regstats@muskip{\the\count13}
- \edef\regstats@box{\the\count14}
- \edef\regstats@toks{\the\count15}
- \edef\regstats@read{\the\count16}
- \edef\regstats@write{\the\count17}
- \edef\regstats@fam{\the\count18}
- \edef\regstats@language{\the\count19}
- \edef\regstats@insert{\the\count20}
- \fi
- \setcounter{regstatscount}{233}
- \addtocounter{regstatscount}{-\regstats@insert}
- \addtocounter{regstatscount}{+1}
- \edef\regstats@insert{\arabic{regstatscount}}
- \message{^^J}
- \message{Here is how much of TeX's registers you used^^J}%
- \message{\space (numbers of available registers are estimated!):^^J}%
- \regstats@regstat{\regstats@counter}{}{s}{233}{32767}
- \message{ \regstats@counter\space counter register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@dimen}{}{s}{233}{32767}
- \message{ \regstats@dimen\space dimen register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@skip}{}{s}{233}{32767}
- \message{ \regstats@skip\space skip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@muskip}{}{s}{255}{32767}
- \message{ \regstats@muskip\space muskip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@box}{}{s}{233}{32767}
- \message{ \regstats@box\space box register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@toks}{}{s}{255}{32767}
- \message{ \regstats@toks\space toks register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@read}{}{s}{15}{15}
- \message{ \regstats@read\space input stream\regstats@pl\space (read) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@write}{}{s}{15}{15}
- \message{ \regstats@write\space output stream\regstats@pl\space (write) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@fam}{y}{ies}{15}{15}
- \message{ \regstats@fam\space math famil\regstats@pl\space (fam) out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@language}{}{s}{255}{255}
- \message{ \regstats@language\space language code\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \regstats@regstat{\regstats@insert}{}{s}{101}{124}
- \message{ \regstats@insert\space insertion\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
- \ifregstats@timer
- \message{^^J}
- \setcounter{regstatscount}{\the\pdfelapsedtime}
- \edef\regstatselapsedtime{\arabic{regstatscount}}
- \divide \value{regstatscount} by 65536% scaledseconds -> seconds
- \edef\regstatsseconds{\arabic{regstatscount}}
- \ifnum \value{regstatscount} > 59
- \edef\regstatsseconds{\intcalcMod{\value{regstatscount}}{60}}
- \divide \value{regstatscount} by 60% seconds -> minutes
+ }
+ \newcounter{regstatscount}
+ \edef\regstats@counter{\the\allocationnumber}
+ \ifregstats@proof
+ \PackageWarning{regstats}{%
+ Package regstats loaded with option 'proof'.\MessageBreak%
+ This package itself will now use\MessageBreak%
+ one of each register for testing!%
+ }%
+ \def\regstats@proof{1}
+ \edef\regstats@test{\the\count10}
+ \ifx\regstats@counter\regstats@test
+ \else
+ \message{Discrepancy when counting count registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newdimen{\regstatsdimen}
+ \edef\regstats@dimen{\the\allocationnumber}
+ \edef\regstats@test{\the\count11}
+ \ifx\regstats@dimen\regstats@test
+ \else
+ \message{Discrepancy when counting dimen registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newskip\regstatsskip
+ \edef\regstats@skip{\the\allocationnumber}
+ \edef\regstats@test{\the\count12}
+ \ifx\regstats@skip\regstats@test
+ \else
+ \message{Discrepancy when counting skip registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newmuskip\regstatsmuskip
+ \edef\regstats@muskip{\the\allocationnumber}
+ \edef\regstats@test{\the\count13}
+ \ifx\regstats@muskip\regstats@test
+ \else
+ \message{Discrepancy when counting muskip registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newbox\regstatsbox
+ \edef\regstats@box{\the\allocationnumber}
+ \edef\regstats@test{\the\count14}
+ \ifx\regstats@box\regstats@test
+ \else
+ \message{Discrepancy when counting box registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newtoks\regstatstoks
+ \edef\regstats@toks{\the\allocationnumber}
+ \edef\regstats@test{\the\count15}
+ \ifx\regstats@toks\regstats@test
+ \else
+ \message{Discrepancy when counting toks registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newread\regstatsread
+ \edef\regstats@read{\the\allocationnumber}
+ \edef\regstats@test{\the\count16}
+ \ifx\regstats@read\regstats@test
+ \else
+ \message{Discrepancy when counting read registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newwrite\regstatswrite
+ \edef\regstats@write{\the\allocationnumber}
+ \edef\regstats@test{\the\count17}
+ \ifx\regstats@write\regstats@test
+ \else
+ \message{Discrepancy when counting write registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newfam\regstatsfam
+ \edef\regstats@fam{\the\allocationnumber}
+ \edef\regstats@test{\the\count18}
+ \ifx\regstats@fam\regstats@test
+ \else
+ \message{Discrepancy when counting fam registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newlanguage\regstatslanguage
+ \edef\regstats@language{\the\allocationnumber}
+ \edef\regstats@test{\the\count19}
+ \ifx\regstats@language\regstats@test
+ \else
+ \message{Discrepancy when counting language registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \newinsert\regstatsinsert
+ \edef\regstats@insert{\the\allocationnumber}
+ \edef\regstats@test{\the\count20}
+ \ifx\regstats@insert\regstats@test
+ \else
+ \message{Discrepancy when counting insert registers.^^J}
+ \def\regstats@proof{0}
+ \fi
+ \edef\regstats@test{0}
+ \ifx\regstats@proof\regstats@test
+ \message{Regstats test for register numbers failed.^^J}
+ \message{Therefore option 'proof' is necessary to get the %
+ right numbers.^^J}
+ \fi
\else
- \setcounter{regstatscount}{0}% minutes = 0
+ \edef\regstats@dimen{\the\count11}
+ \edef\regstats@skip{\the\count12}
+ \edef\regstats@muskip{\the\count13}
+ \edef\regstats@box{\the\count14}
+ \edef\regstats@toks{\the\count15}
+ \edef\regstats@read{\the\count16}
+ \edef\regstats@write{\the\count17}
+ \edef\regstats@fam{\the\count18}
+ \edef\regstats@language{\the\count19}
+ \edef\regstats@insert{\the\count20}
\fi
- \ifnum \regstatsseconds < 10
- \message{Time elapsed: about \arabic{regstatscount}:0\regstatsseconds%
- \space (m:ss; \regstatselapsedtime /65536 s).^^J}
- \else
- \message{Time elapsed: about \arabic{regstatscount}:\regstatsseconds %
- \space (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \setcounter{regstatscount}{233}
+ \addtocounter{regstatscount}{-\regstats@insert}
+ \addtocounter{regstatscount}{+1}
+ \edef\regstats@insert{\arabic{regstatscount}}
+ \message{^^J}
+ \message{Here is how much of TeX's registers you used^^J}%
+ \message{\space (numbers of available registers are estimated!):^^J}%
+ \regstats@regstat{\regstats@counter}{}{s}{233}{32767}
+ \message{ \regstats@counter\space counter register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@dimen}{}{s}{233}{32767}
+ \message{ \regstats@dimen\space dimen register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@skip}{}{s}{233}{32767}
+ \message{ \regstats@skip\space skip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@muskip}{}{s}{255}{32767}
+ \message{ \regstats@muskip\space muskip register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@box}{}{s}{233}{32767}
+ \message{ \regstats@box\space box register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@toks}{}{s}{255}{32767}
+ \message{ \regstats@toks\space toks register\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@read}{}{s}{15}{15}
+ \message{ \regstats@read\space input stream\regstats@pl\space (read) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@write}{}{s}{15}{15}
+ \message{ \regstats@write\space output stream\regstats@pl\space (write) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@fam}{y}{ies}{15}{15}
+ \message{ \regstats@fam\space math famil\regstats@pl\space (fam) out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@language}{}{s}{255}{255}
+ \message{ \regstats@language\space language code\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \regstats@regstat{\regstats@insert}{}{s}{101}{124}
+ \message{ \regstats@insert\space insertion\regstats@pl\space out of \regstats@max \regstats@lft ^^J}
+ \ifregstats@timer
+ \message{^^J}
+ \setcounter{regstatscount}{\the\pdfelapsedtime}
+ \edef\regstatselapsedtime{\arabic{regstatscount}}
+ \divide \value{regstatscount} by 65536% scaledseconds -> seconds
+ \edef\regstatsseconds{\arabic{regstatscount}}
+ \ifnum \value{regstatscount} > 59
+ \edef\regstatsseconds{\intcalcMod{\value{regstatscount}}{60}}
+ \divide \value{regstatscount} by 60% seconds -> minutes
+ \else
+ \setcounter{regstatscount}{0}% minutes = 0
+ \fi
+ \ifnum \regstatsseconds < 10
+ \message{Time elapsed for the last compiler run:^^J%
+ about \arabic{regstatscount}:0\regstatsseconds\space%
+ (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \else
+ \message{Time elapsed for the last compiler run:^^J%
+ about \arabic{regstatscount}:\regstatsseconds \space%
+ (m:ss; \regstatselapsedtime /65536 s).^^J}
+ \fi
\fi
- \fi
- }
- }
+ }%
+ }%
+ }%
+ }%
+ }%
+ }%
+}
\endinput
%%