blob: d90ad19647fbb107a6860f2355581d3e8c653d33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%%
%% This is file `perpage.drv',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% perpage.dtx (with options: `driver')
%%
%% IMPORTANT NOTICE:
%%
%% For the copyright see the source file.
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from perpage.drv.
%%
%% For distribution of the original source see the terms
%% for copying and modification in the file perpage.dtx.
%%
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%
%% perpage is part of the bigfoot bundle for critical typesetting
%% Copyright 2002, 03, 04, 05, 06 David Kastrup <dak@gnu.org>
%%
\documentclass{ltxdoc}
\usepackage{perpage}
\MakePerPage{footnote}
\begin{document}
\OnlyDescription
\AlsoImplementation
\DocInput{perpage.dtx}
\end{document}
\def\pp@ppagectr#1#2#3#4{\@ifundefined{c@pp@a@#1}{}{%
\def\next{#3}%
\expandafter\ifx\csname pp@page@#1\endcsname\next
\addtocounter{pp@a@#1}\@ne
\else
\setcounter{pp@a@#1}{\value{pp@r@#1}}%
\fi
\global\expandafter\let\csname pp@page@#1\endcsname\next
\edef\next{\noexpand
\@newl@bel{pp@r@#1}{#2}{{\number\value{pp@a@#1}}{#3}%
{#4}}}\next}}
\endinput
%%
%% End of file `perpage.drv'.
|