Debian Codegraph @

texmf-dist/source/latex/etaremune/etaremune.dtx

raw
1 % \iffalse meta-comment
2 %
3 % etaremune package by Hendri Adriaens.
4 %
5 % Extract package files and examples and create documentation:
6 % latex etaremune.dtx
7 % latex etaremune.dtx
8 % bibtex etaremune
9 % makeindex -s gglo.ist -o etaremune.gls etaremune.glo
10 % makeindex -s gind.ist -o etaremune.ind etaremune.idx
11 % latex etaremune.dtx
12 % latex etaremune.dtx
13 %
14 % To finish the installation you have to move the following
15 % file into a directory searched by LaTeX:
16 % etaremune.sty
17 %
18 %% ----------------------------------
19 %% Copyright (C) 2005 Hendri Adriaens
20 %% ----------------------------------
21 %%
22 %% This work may be distributed and/or modified under the
23 %% conditions of the LaTeX Project Public License, either version 1.3
24 %% of this license or (at your option) any later version.
25 %% The latest version of this license is in
26 %% http://www.latex-project.org/lppl.txt
27 %% and version 1.3 or later is part of all distributions of LaTeX
28 %% version 2003/12/01 or later.
29 %%
30 %% This work has the LPPL maintenance status "maintained".
31 %%
32 %% This Current Maintainer of this work is Hendri Adriaens.
33 %%
34 %% This work consists of the file etaremune.dtx and the
35 %% derived file etaremune.sty.
36 %%
37 %% The following files constitute the etaremune package and must be
38 %% distributed as a whole: readme, etaremune.dtx, etaremune.pdf and
39 %% etaremune.sty.
40 %%
41 % \fi
42 %
43 % \iffalse
44 %<*batchfile>
45 \begingroup
46 \input docstrip
47 \keepsilent
48 \preamble
49 \endpreamble
50 \askforoverwritefalse
51 \generate{
52 \file{etaremune.sty}{\from{etaremune.dtx}{etaremune}}
53 \file{empream.ble}{\from{etaremune.dtx}{preamble}}
54 \file{etaremune.bib}{\from{etaremune.dtx}{bib}}
55 }
56 \endgroup
57 %</batchfile>
58 %<*driver>
59 \documentclass[a4paper]{ltxdoc}
60 \input{empream.ble}
61 \begin{document}
62 \DocInput{etaremune.dtx}
63 \let\Section\section\def\section*#1{\Section*{#1}\addcontentsline{toc}{section}{#1}}
64 \bibliographystyle{plain}
65 \bibliography{etaremune}
66 \PrintChangesX\PrintIndexX
67 \end{document}
68 %</driver>
69 % \fi
70 %
71 % \changes{v1.0}{2005/03/12}{Initial release}
72 % \changes{v1.1}{2005/04/15}{Simplified}
73 % \changes{v1.1}{2005/04/15}{Added check on negative labels}
74 % \changes{v1.2}{2005/06/01}{Added global and local style control for lists}
75 %
76 % \GetFileInfo{etaremune.sty}
77 %
78 % \CheckSum{141}
79 %
80 %\DoNotIndex{\@auxout,\@currentlabel,\@enumctr,\@enumdepth,\@ifundefined,
81 %\@latex@warning@no@line,\@ne,\@spaces,\@toodeep,\addtocounter,\advance,
82 %\AtEndDocument,\csname,\def,\edef,\else,\endcsname,\endlist,\expandafter,
83 %\fi,\gdef,\hss,\ifnum,\immediate,\let,\list,\llap,\makelabel,\NeedsTeXFormat,
84 %\newcounter,\newenvironment,\ProvidesPackage,\relax,\romannumeral,\setcounter,
85 %\space,\stepcounter,\string,\the,\thr@@,\write,\xdef,\z@,\m@ne,
86 %\define@key,\define@cmdkey,\ProcessOptionsX,\presetkeys,\DeclareOptionX,
87 %\@tempa,\@tempb,\CurrentOption,\noexpand,\PackageWarning,\RequirePackage,
88 %\setkeys,\setlength,\setrmkeys,\XKV@for@n,\c@EM@etaremunectr,\c@EM@itemctr}
89 %
90 % \CharacterTable
91 % {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
92 % 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
93 % Digits \0\1\2\3\4\5\6\7\8\9
94 % Exclamation \! Double quote \" Hash (number) \#
95 % Dollar \$ Percent \% Ampersand \&
96 % Acute accent \' Left paren \( Right paren \)
97 % Asterisk \* Plus \+ Comma \,
98 % Minus \- Point \. Solidus \/
99 % Colon \: Semicolon \; Less than \<
100 % Equals \= Greater than \> Question mark \?
101 % Commercial at \@ Left bracket \[ Backslash \\
102 % Right bracket \] Circumflex \^ Underscore \_
103 % Grave accent \` Left brace \{ Vertical bar \|
104 % Right brace \} Tilde \~}
105 %
106 %\title{The \pf{etaremune} package
107 %\thanks{This package can be downloaded from CTAN mirrors:
108 %\texttt{/macros/latex/contrib/etaremune}. See \texttt{etaremune.dtx} for
109 %information on installing \pf{etaremune} into your \LaTeX\
110 %distribution and for the license of this package.}}
111 %\author{Hendri Adriaens\\\url{http://stuwww.uvt.nl/~hendri}}
112 %\date{\fileversion\ (\filedate)}
113 %\maketitle
114 %
115 %\begin{abstract}\noindent
116 %This package implements the |etaremune| environment which is similar
117 %to the |enumerate| environment, except that labels are decreasing
118 %instead of increasing. This package provides an alternative to the
119 %\pf{revnum} package which uses a lot of counters. The style of lists
120 %can be controlled locally and globally.
121 %\end{abstract}
122 %
123 %\begin{multicols}{2}
124 %[\section*{Contents}
125 %\setlength{\columnseprule}{.4pt}
126 %\setlength{\columnsep}{18pt}]
127 %\tableofcontents
128 %\end{multicols}
129 %
130 %\section{Introduction}
131 %This package implements the |etaremune| environment which labels
132 %items with decreasing numbers, starting from the number of items
133 %in the environment. Since this number is not known at the start of
134 %the environment, we use a two step procedure. On the first \LaTeX\
135 %run, we determine the number of items in each |etaremune|
136 %environment and number the items in a default way and on the second
137 %run, we number all items correctly.
138 %
139 %The \pf{revnum} package \cite{revnum} already implements this
140 %environment. It provides the |revnumerate| environment which labels
141 %the items with decreasing numbers. This package has as main drawback
142 %that it consumes numerous counters. It uses 4 counters plus 1 for
143 %every |revnumerate| environment in the document. In big documents,
144 %this can cause problems. The package at hand uses only 2 counters,
145 %irrespective of the number of |etaremune| environments used in the
146 %document.
147 %
148 %I created the first version of the main code of this package to solve
149 %a question on the
150 %\TeX-NL mailing list. I figured that it might be a good idea to put
151 %my code in a small package on CTAN as an alternative for \pf{revnum}.
152 %
153 %\section{The \texttt{etaremune} environment}
154 %\DescribeEnv{etaremune}
155 %The |etaremune| environment works just as the |enumerate| environment
156 %and has the same control possibilities using macros like |\labelenumi|,
157 %|\theenumi| and |\@listi|. See for a detailed description of customizing
158 %|enumerate| and |etaremune| environments a \LaTeX\ manual, for instance
159 %\cite{companion}, pages 128--131 and 144--151.
160 %
161 %The |etaremune| environment is different from the |enumerate| environment
162 %in labeling the items. This environment labels items with decreasing
163 %numbers.
164 %\begin{command}
165 % `\cs{begin\char`\{etaremune\char`\}}\oarg{options}'
166 % `\meta{items}'
167 % `\cs{end\char`\{etaremune\char`\}}'
168 %\end{command}
169 %
170 %As \LaTeX\ cannot know at the beginning of the environment how many
171 %items it will have to typeset, this environment computes the
172 %starting point of the list in two \LaTeX\ runs, using the auxiliary
173 %file. On the first run, the number of items is counted and the items
174 %will be numbered with increasing numbers (as in the |enumerate|
175 %environment) and on the second run, the item labels will be set
176 %correctly. See an example below.
177 %
178 %\vspace*{.2cm}\noindent
179 %\begin{minipage}{.33\linewidth}
180 %\begin{etaremune}
181 %\item Not important.
182 %\item Quite relevant.
183 %\item Paramount.
184 %\end{etaremune}
185 %\end{minipage}
186 %\begin{minipage}{.666\linewidth}
187 %\begin{example}
188 % \begin{etaremune}
189 % \item Not important.
190 % \item Quite relevant.
191 % \item Paramount.
192 % \end{etaremune}
193 %\end{example}
194 %\end{minipage}
195 %\vspace*{.2cm}
196 %
197 %The |etaremune| environment will avoid creating labels with negative
198 %numbers as this can cause problems when using alphabets for
199 %labels.\footnote{Positions -1, -2,\dots\ in an alphabet are not
200 %defined by the \LaTeX\ macro \cs{@alph} and friends.} So when
201 %adding items to an existing list, these will be numbered with 0 on
202 %the next run. Another \LaTeX\ run will settle the item labels again.
203 %
204 %The optional argument \meta{options} can be used to control the
205 %style of the environment (see below) and the starting point (if one
206 %wants to replace the starting point computed by \pf{etaremune}).
207 %
208 %\vspace*{.2cm}\noindent
209 %\begin{minipage}{.33\linewidth}
210 %\begin{etaremune}[start=5]
211 %\item First.
212 %\item Second.
213 %\item Third.
214 %\end{etaremune}
215 %\end{minipage}
216 %\begin{minipage}{.666\linewidth}
217 %\begin{example}
218 % \begin{etaremune}[start=5]
219 % \item First.
220 % \item Second.
221 % \item Third.
222 % \end{etaremune}
223 %\end{example}
224 %\end{minipage}
225 %\vspace*{.2cm}
226 %
227 %The |etaremune| environment can be nested up to four levels deep,
228 %like the standard |enumerate| environment. The example below also
229 %shows an example of customizing item labels and referring to items.
230 %Notice that it takes three \LaTeX\ runs for references to items in
231 %the |etaremune| environment to settle.
232 %
233 %\vspace*{.2cm}\noindent
234 %\begin{minipage}{.33\linewidth}
235 %\renewcommand{\labelenumi}{\theenumi)}
236 %\renewcommand{\theenumii}{\roman{enumii}}
237 %\begin{enumerate}
238 %\item First.
239 %\begin{etaremune}
240 %\item third.\label{notice}
241 %\item second.
242 %\item first.
243 %\end{etaremune}
244 %\item Second.
245 %\item Third.
246 %\end{enumerate}
247 %Notice item~\ref{notice}.
248 %\end{minipage}
249 %\begin{minipage}{.666\linewidth}
250 %\begin{example}
251 % \renewcommand{\labelenumi}{\theenumi)}
252 % \renewcommand{\theenumii}{\roman{enumii}}
253 % \begin{enumerate}
254 % \item First.
255 % \begin{etaremune}
256 % \item third.\label{notice}
257 % \item second.
258 % \item first.
259 % \end{etaremune}
260 % \item Second.
261 % \item Third.
262 % \end{enumerate}
263 % Notice item~\ref{notice}.
264 %\end{example}
265 %\end{minipage}
266 %\vspace*{.2cm}
267 %
268 %\DescribeOptions{topsep,partopsep,itemsep,parsep,leftmargin,rightmargin,%
269 % listparindent,itemindent,labelwidth,labelsep}
270 %The \pf{etaremune} package allows for specifying some style
271 %parameters to control the markup of lists. These are the vertical
272 %lengths |\topsep|, |\partopsep|, |\itemsep| and |\parsep| and the
273 %horizontal lengths |\leftmargin|, |\rightmargin|, |\listparindent|,
274 %|\itemindent|, |\labelwidth| and |\labelsep|.\footnote{See for
275 %instance \cite{companion}, pages 144--151, for more information.}
276 %When set through the optional argument \meta{options}, these lengths
277 %are set locally (so holding only for the environment at hand).
278 %
279 %\vspace*{.2cm}\noindent
280 %\begin{minipage}{.33\linewidth}
281 %\begin{etaremune}[itemsep=0pt,parsep=0pt]
282 %\item third.
283 %\item second.
284 %\begin{etaremune}
285 %\item second.
286 %\item first.
287 %\end{etaremune}
288 %\item first.
289 %\end{etaremune}
290 %\end{minipage}
291 %\begin{minipage}{.666\linewidth}
292 %\begin{example}
293 % \begin{etaremune}[itemsep=0pt,parsep=0pt]
294 % \item third.
295 % \item second.
296 % \begin{etaremune}
297 % \item second.
298 % \item first.
299 % \end{etaremune}
300 % \item first.
301 % \end{etaremune}
302 %\end{example}
303 %\end{minipage}
304 %\vspace*{.2cm}
305 %
306 %One can also change the style of all |etaremune| environments
307 %throughout the document by specifying these options in the
308 %|\usepackage| command.
309 %
310 %\vspace*{.2cm}\noindent
311 %\begin{minipage}{.33\linewidth}
312 %\begin{etaremune}[leftmargin=0pt,labelsep=20pt]
313 %\item third.
314 %\item second.
315 %\begin{etaremune}[leftmargin=0pt,labelsep=20pt]
316 %\item second.
317 %\item first.
318 %\end{etaremune}
319 %\item first.
320 %\end{etaremune}
321 %\end{minipage}
322 %\begin{minipage}{.666\linewidth}
323 %\begin{example}
324 % \usepackage[leftmargin=0pt,labelsep=20pt]{etaremune}
325 % ...
326 % \begin{etaremune}
327 % \item third.
328 % \item second.
329 % \begin{etaremune}
330 % \item second.
331 % \item first.
332 % \end{etaremune}
333 % \item first.
334 % \end{etaremune}
335 %\end{example}
336 %\end{minipage}
337 %\vspace*{.2cm}
338 %
339 %\StopEventually{}
340 %
341 % \section{Implementation}
342 % \begin{macrocode}
343 %<*etaremune>
344 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
345 \ProvidesPackage{etaremune}[2005/06/01 v1.2 Reversed enumerate (HA)]
346 % \end{macrocode}
347 % Build global and local options. We need some delicate work with
348 % presets here as \LaTeX\ resets dimens locally in each environment.
349 % So setting lengths globally couldn't be done without presets.
350 % \begin{macrocode}
351 \RequirePackage{xkeyval}
352 \def\@tempa#1#2{%
353 \DeclareOptionX{#1}{\presetkeys[EM]{template}{#1=##1}{}}%
354 \define@key[EM]{template}{#1}{\setlength#2{##1}}%
355 }
356 \XKV@for@n{topsep,partopsep,itemsep,parsep,leftmargin,rightmargin,%
357 listparindent,itemindent,labelwidth,labelsep}\@tempb{%
358 \edef\@tempb{%
359 {\@tempb}\expandafter\noexpand\csname\@tempb\endcsname
360 }%
361 \expandafter\@tempa\@tempb
362 }
363 \DeclareOptionX*{%
364 \PackageWarning{etaremune}{Unknown option `\CurrentOption'}%
365 }
366 \ProcessOptionsX
367 \define@cmdkey[EM]{etaremune}[EM@]{start}{}
368 \presetkeys[EM]{etaremune}{start=-1}{}
369 % \end{macrocode}
370 % Two counters needed in the package.
371 % \begin{macrocode}
372 \newcounter{EM@itemctr}
373 \newcounter{EM@etaremunectr}
374 % \end{macrocode}
375 % \begin{environment}{etaremune}
376 % The main code.
377 % \begin{macrocode}
378 \newenvironment{etaremune}[1][]{%
379 % \end{macrocode}
380 % There is a (usual) maximum to nesting.
381 % \begin{macrocode}
382 \ifnum\@enumdepth>\thr@@\@toodeep\else
383 \setkeys*[EM]{etaremune}{#1}%
384 \advance\@enumdepth\@ne
385 % \end{macrocode}
386 % Count the environments. Each environment gets a unique identification
387 % to be used to define macros containing the number of items and
388 % to set starting points on the second run.
389 % \begin{macrocode}
390 \stepcounter{EM@etaremunectr}%
391 % \end{macrocode}
392 % Backup the number of items that we have seen so far in a higher
393 % level. We reinitialize the items counter when we get back from
394 % the nested environment. Unfortunately, locally counting items is
395 % not possible as \LaTeX\ uses a box to typeset the item label.
396 % Otherwise, this macros would not be necessary.
397 % \begin{macrocode}
398 \edef\EM@currnum{\the\c@EM@itemctr}%
399 % \end{macrocode}
400 % This is a backup of the current level list number. This is used to
401 % be able to identify the current list at the end of the list taking
402 % into account possibly nested lists in this list.
403 % \begin{macrocode}
404 \edef\EM@currlist{\romannumeral\c@EM@etaremunectr}%
405 % \end{macrocode}
406 % Define the current level list counter.
407 % \begin{macrocode}
408 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
409 % \end{macrocode}
410 % Start counting items.
411 % \begin{macrocode}
412 \setcounter{EM@itemctr}\z@
413 % \end{macrocode}
414 % Initialize the step size to count backwards.
415 % \begin{macrocode}
416 \let\EM@step\m@ne
417 \ifnum\EM@start<\z@
418 % \end{macrocode}
419 % If we have no optional input, check whether the macro for the
420 % current list has been defined.
421 % \begin{macrocode}
422 \@ifundefined{etaremune@\EM@currlist}{%
423 % \end{macrocode}
424 % If the macro is not defined, we count forwards (like |enumerate|).
425 % Define the macro to produce a warning. This warning will
426 % be issued |\AtEndDocument| to notify the user that the document
427 % should be rerun.
428 % \begin{macrocode}
429 \let\EM@step\@ne
430 \setcounter\@enumctr\m@ne
431 \gdef\EM@rerun{%
432 \@latex@warning@no@line{Etaremune labels have changed.^^J
433 \@spaces\@spaces\@spaces\space\space Rerun to get them right}%
434 }%
435 }{%
436 % \end{macrocode}
437 % If the macro is defined, it contains the number of items of the
438 % current list at this depth. Use that to initiate the label counter.
439 % \begin{macrocode}
440 \setcounter\@enumctr{\csname etaremune@\EM@currlist\endcsname}%
441 }%
442 % \end{macrocode}
443 % If there was input, use that to set the starting point.
444 % \begin{macrocode}
445 \else\setcounter\@enumctr\EM@start\fi
446 \stepcounter\@enumctr
447 % \end{macrocode}
448 % Start the list.
449 % \begin{macrocode}
450 \list{%
451 % \end{macrocode}
452 % At every item, step the label counter, check whether it is smaller
453 % than 0, increase the items
454 % counter by 1 and define the current label for referring to items.
455 % \begin{macrocode}
456 \addtocounter\@enumctr\EM@step
457 \ifnum\csname c@\@enumctr\endcsname<\z@\setcounter\@enumctr\z@\fi
458 \stepcounter{EM@itemctr}%
459 \xdef\@currentlabel{%
460 \csname p@\@enumctr\endcsname\csname the\@enumctr\endcsname
461 }%
462 % \end{macrocode}
463 % Typesets the item label.
464 % \begin{macrocode}
465 \csname label\@enumctr\endcsname
466 % \end{macrocode}
467 % Define how to align the label. This is the same as for the |enumerate|
468 % environment.
469 % \begin{macrocode}
470 }{\def\makelabel##1{\hss\llap{##1}}\setrmkeys[EM]{template}}%
471 \fi
472 }{%
473 % \end{macrocode}
474 % The end of the environment. End the list.
475 % \begin{macrocode}
476 \endlist
477 % \end{macrocode}
478 % Write the number of items of the current list to the auxiliary file.
479 % \begin{macrocode}
480 \immediate\write\@auxout{\string\gdef\expandafter\string
481 \csname etaremune@\EM@currlist\endcsname{\the\c@EM@itemctr}%
482 }%
483 % \end{macrocode}
484 % Restore the items counter to continue counting the number of items
485 % in the environment at this level. This is needed when lists were
486 % nested.
487 % \begin{macrocode}
488 \setcounter{EM@itemctr}\EM@currnum
489 }
490 % \end{macrocode}
491 % \end{environment}
492 % Issue a warning when item labels haven't settled yet.
493 % \begin{macrocode}
494 \AtEndDocument{\EM@rerun}
495 \let\EM@rerun\relax
496 %</etaremune>
497 % \end{macrocode}
498 % \Finale
499 % \endinput
500 % \iffalse
501 %<*preamble>
502 \usepackage{url}
503 \usepackage{footmisc}
504 \usepackage{filecontents}
505 \usepackage{fourier}
506 \usepackage{etaremune}
507 \usepackage{xkeyval}
508 \usepackage{xcolor}
509 \usepackage{listings}
510 \lstnewenvironment{command}{%
511 \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},
512 xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
513 \lstnewenvironment{example}{%
514 \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,
515 backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,
516 xrightmargin=\fboxsep,gobble=1}}{}
517 \makeatletter
518 \def\tableofcontents{\@starttoc{toc}}
519 \def\changes@#1#2#3{%
520 \protected@edef\@tempa{%
521 \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}%
522 \levelchar
523 \ifx\saved@macroname\@empty
524 \space\actualchar\generalname
525 \else
526 \expandafter\@gobble\saved@macroname
527 \actualchar\string\verb\quotechar*%
528 \verbatimchar\saved@macroname\verbatimchar
529 \fi
530 :\levelchar #3}%
531 }%
532 \@tempa\endgroup\@esphack
533 }
534 \def\eTeX{$\m@th\varepsilon$-\TeX}
535 \renewenvironment{theglossary}{%
536 \section*{Version history}%
537 \GlossaryParms \let\item\@idxitem \ignorespaces
538 }{}%
539 \def\DescribeEnv#1{\leavevmode\@bsphack
540 \marginpar{\raggedleft\PrintDescribeEnv{#1}}%
541 \SpecialEnvIndex{#1}\@esphack\ignorespaces}
542 \def\PrintDescribeEnv#1{\strut\emph{environment}\\\MacroFont #1\ }
543 \def\SpecialEnvIndex#1{\@bsphack
544 \index{#1\actualchar{\protect\ttfamily#1}
545 (environment)\encapchar usage}%
546 \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
547 usage}\@esphack}
548 \def\SpecialMainEnvIndex#1{\@bsphack\special@index{%
549 #1\actualchar
550 {\string\ttfamily\space#1}
551 \encapchar main}%
552 \special@index{environments:\levelchar#1\actualchar{%
553 \string\ttfamily\space#1}\encapchar
554 main}\@esphack}
555 \def\SpecialOptionIndex#1{\@bsphack
556 \index{#1\actualchar{\protect\ttfamily#1}
557 (option)\encapchar usage}%
558 \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
559 usage}\@esphack}
560 \def\DescribeOptions#1{\leavevmode\@bsphack
561 \marginpar{\raggedleft\strut\emph{options}%
562 \@for\@tempa:=#1\do{%
563 \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
564 }}\@esphack\ignorespaces}
565 \makeatother
566 \def\PrintChangesX{%
567 \begingroup
568 \let\efill\relax
569 \PrintChanges
570 \endgroup
571 }
572 \def\PrintIndexX{%
573 \begingroup
574 \setcounter{IndexColumns}{2}
575 \setlength{\columnsep}{18pt}%
576 \setlength{\columnseprule}{.4pt}%
577 \PrintIndex
578 \endgroup
579 }
580 \def\larg#1{{\ttfamily\char`\<}\meta{#1}{\ttfamily\char`\>}}
581 \def\pf#1{\textsf{#1}}
582 \EnableCrossrefs
583 \RecordChanges
584 \CodelineIndex
585 %</preamble>
586 %
587 %<*bib>
588 @BOOK{companion,
589 author = {Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley},
590 title = {The {\LaTeX} {C}ompanion, {S}econd {E}dition},
591 year = {2004},
592 publisher = {{Addison-Wesley}}
593 }
594
595 @MISC{revnum,
596 author = {J\"orn Wilms},
597 title = {\pf{revnum} package, v1.0, 1997/05/10},
598 howpublished = {\url{CTAN:/macros/latex/contrib/revnum}}
599 }
600 %</bib>
601 %
602 % \fi