Debian Codegraph @

texmf-dist/source/latex/lastpage/lastpage.drv

raw
1 %%
2 %% This is file `lastpage.drv',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lastpage.dtx (with options: `driver')
8 %%
9 %% This is a generated file.
10 %%
11 %% Project: lastpage
12 %% Version: 2025-08-14 v2.1h
13 %% Info: Refers to last page's name
14 %%
15 %% Copyright (C) 2010 - 2025 by
16 %% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
17 %% Portions of code copyrighted by other people as marked.
18 %%
19 %% This work may be distributed and/or modified under the
20 %% conditions of the LaTeX Project Public License, either
21 %% version 1.3c of this license or (at your option) any later
22 %% version. This version of this license is in
23 %% https://www.latex-project.org/lppl/lppl-1-3c.txt
24 %% and the latest version of this license is in
25 %% https://www.latex-project.org/lppl.txt
26 %% and version 1.3c or later is part of all distributions of
27 %% LaTeX version 2005-12-01 or later.
28 %%
29 %% This work has the LPPL maintenance status "maintained".
30 %%
31 %% The Current Maintainer of this work is H.-Martin Muench.
32 %%
33 %% This package was invented by Jeffrey P. Goldberg.
34 %% I thought that an enhancement was needed and therefore created the pageslts package,
35 %% https://ctan.org/pkg/pageslts. Nevertheless, for compatibility with existing
36 %% documents/packages as well as for the low amount of resources needed by the
37 %% lastpage package (no new counter!), I updated this package.
38 %% Thanks go to Jeffrey P. Goldberg for allowing me to do this.
39 %%
40 %% While this package allows for things like "Page slash thepage{} of slash pageref{LastPage}"
41 %% to get "Page 7 of 9" or "Page VII of IX",
42 %% the NUMBER of pages is nowadays available from the kernel
43 %% (slash @abspage@last, slash thetotalpages, slash PreviousTotalPages),
44 %% but with pages for example I to X and then 1 to 10, the number of pages would be "20",
45 %% while the name of the last page is "10". Decide what you need/want!
46 %%
47 %% This work consists of the main source file lastpage.dtx,
48 %% the README, and the derived files
49 %% lastpage.sty, lastpage209.sty, lastpage2e.sty,
50 %% lastpageclassic.sty, lastpagemodern.sty,
51 %% lastpage.pdf, lastpage.ins, lastpage.drv,
52 %% lastpage-example.tex, lastpage-example.pdf.
53 %%
54 %% In memoriam
55 %% Claudia Simone Barth + 1996-01-30
56 %% Tommy Muench + 2014-01-02
57 %% Hans-Klaus Muench + 2014-08-24
58 %%
59 \NeedsTeXFormat{LaTeX2e}[2024-11-01]
60 \ProvidesFile{lastpage.drv}[2025-08-14 v2.1h Refers to last page's name (HMM)]
61 \documentclass{ltxdoc}[2024/02/08]% v2.1j Standard LaTeX documentation class
62 \usepackage{holtxdoc}[2019/12/09]% v0.30 Private additional ltxdoc support (HO)
63 \hypersetup{%
64 pdfsubject={Refers to last page's name (HMM; JPG)},%
65 pdfkeywords={LaTeX, lastpage, last page, page number, page name},%
66 pdfencoding=auto,%
67 pdflang={en},%
68 breaklinks=true,%
69 linktoc=all,%
70 pdfstartview=FitH,%
71 pdfpagelayout=OneColumn,%
72 bookmarksnumbered=true,%
73 bookmarksopen=true,%
74 bookmarksopenlevel=2,%
75 pdfmenubar=true,%
76 pdftoolbar=true,%
77 pdfwindowui=true,%
78 pdfnewwindow=true%
79 }
80 \CodelineIndex
81 \hyphenation{every-thing}
82 \begin{document}
83 \DocInput{lastpage.dtx}%
84 \end{document}
85 \endinput
86 %%
87 %% End of file `lastpage.drv'.