Debian Codegraph @

texmf-dist/doc/latex/regstats/README

raw
1 README for regstats package, 2025-01-28, v1.1b
2
3
4 TABLE OF CONTENTS
5 =================
6
7 1 Introduction
8 2 Download
9 3 Installation
10 4 Additional Packages
11 5 Package Compatibility
12 6 Author/Maintainer
13 7 Bug Reports
14 8 Known Problems
15
16
17 1 INTRODUCTION
18 ==============
19
20 This LaTeX package allows to count the number of used registers (counter,
21 dimen, skip, muskip, box, token, input, output, math families, languages,
22 insertions). Therefore the according \count is read. While \count10 should
23 be the number of the counters, \count11 the one of the dimens, and so on,
24 if there is enough room for another register of that type, then a new one
25 of that register is used and looked at \the\allocationnumber. The result
26 for each register is compared to the maximum available number of the
27 respective register.
28 With option "left" additionally the number of remaining registers of each
29 type is given, and with option "timer" the time needed for the compilation
30 run (when either LuaLaTeX with
31 \directlua{starttime = os.clock()}
32 before \documentclass or pdf(la)tex is used).
33
34 This material is published under the LPPL 1.3c: This work may be
35 distributed and/or modified under the conditions of the LaTeX Project
36 Public License, either version 1.3c of this license or (at your option)
37 any later version. This version of this license is in
38 https://www.latex-project.org/lppl/lppl-1-3c.txt
39 and the latest version of this license is in
40 https://www.latex-project.org/lppl.txt
41 and version 1.3c or later is part of all distributions of
42 LaTeX version 2005-12-01 or later.
43
44
45 2 DOWNLOAD
46 ==========
47
48 "regstats" is available on CTAN:
49 https://ctan.org/pkg/regstats
50
51 Also a ZIP file is provided that contains the files:
52 the manual (regstats.pdf), the example (regstats-example.tex),
53 the compiled example (regstats-example.pdf),
54 the according log file (regstats-example.log)
55 driver (regstats.drv), regstats.dtx,
56 installation file (regstats.ins),
57 the style file (regstats.sty),
58 and this README, already sorted in a TDS tree:
59 https://mirror.ctan.org/install/macros/latex/contrib/regstats.tds.zip
60
61
62 3 INSTALLATION
63 ==============
64
65 Installation with ZIP file in TDS format
66 ----------------------------------------
67 The ZIP file "regstats.tds.zip" contains the files
68 sorted in a TDS tree. Thus you can directly unpack the
69 ZIP file inside a TDS tree.
70 See https://ctan.org/TDS-guidelines for an explanation
71 of TDS.
72 Example:
73 cd /...somewhere.../texmf
74 unzip /...downloadpath.../regstats.tds.zip
75 Do not forget to refresh the file name database of this
76 TDS tree.
77 Example:
78 texhash /...somewhere.../texmf
79
80 Manual installation
81 -------------------
82 a) Download the regstats files from CTAN.
83 If necessary, unpack them.
84 b) Generate the package and driver files:
85 tex regstats.dtx
86 c) Install the file "regstats.sty" in your TDS tree:
87 cp regstats.sty TDS:tex/latex/regstats/
88 Replace "TDS:" by the prefix of your TDS tree
89 (texmf directory).
90 d) Create the documentation, if necessary, e.g.
91 pdflatex regstats.dtx
92 makeindex -s gind.ist regstats.idx
93 pdflatex regstats.dtx
94 makeindex -s gind.ist regstats.idx
95 pdflatex regstats.dtx
96 e) Update the databases if necessary, e.g. for TeXLive:
97 texhash or mktexlsr.
98 f) Create the regstats-example.pdf, if necessary, e.g.
99 pdflatex regstats-example.tex
100 pdflatex regstats-example.tex
101 or remove the "%% " before "\directlua{starttime = os.clock()}"
102 in the regstats-example.tex and use
103 lualatex regstats-example.tex
104 lualatex regstats-example.tex
105 lualatex regstats-example.tex
106 g) Copy the documentation files to
107 "TDS:doc/latex/regstats/":
108 README, regstats.pdf, regstats-example.tex,
109 regstats-example.log, regstats-example.pdf.
110
111
112 4 ADDITIONAL PACKAGES
113 =====================
114
115 regstats loads other packages:
116 - kvoptions, https://ctan.org/pkg/kvoptions
117 - iftex, https://ctan.org/pkg/iftex
118 with option timer additionally:
119 - intcalc, https://ctan.org/pkg/intcalc
120 which again load other packages
121 (see the result of the \listfiles command in the log-file
122 of the example).
123
124
125 5 PACKAGE COMPATIBILITY
126 =======================
127
128 regstats should be loaded very last (but can be loaded earlier).
129 The timer option does not work with e.g. XeTeX, only with
130 (pdf)(la)tex or (lua)(la)tex. (Otherwise just do not use the option.)
131
132 6 AUTHOR/MAINTAINER
133 ===================
134
135 * H.-Martin Münch
136
137
138 7 BUG REPORTS
139 =============
140
141 A bug report should contain:
142 * Comprehensive problem description. This includes error or
143 warning messages.
144 * \errorcontextlines=\maxdimen can be added in the
145 TeX code to get more information in TeX error messages.
146 * Minimal test file that shows the problem,
147 but does not contain any unnecessary packages and code.
148 * Used drivers/programs.
149 * Version information about used packages and programs.
150 * If you are using LaTeX, then add "\listfiles" to the document.
151 Then a list of version information is printed at the end
152 of the LaTeX run.
153 * Please no other files than the minimal test file.
154 The other files .log, .dvi, .ps, .pdf are seldom
155 necessary, so send them only on request.
156 * Please .zip or .tar.gz your file(s) before sending them!
157
158 Bug address
159 -----------
160 Bug reports can be send to the maintainer:
161 H.-Martin Münch
162 <Martin [dot] Muench [at] Uni-Bonn [dot] de>
163
164
165 8 KNOWN PROBLEMS
166 ================
167
168 * Counting the used inserts is an issue.