Debian Codegraph @

texmf-dist/doc/generic/memoize/memoize-code.tex

raw
1 \documentclass[a4paper,11pt]{ltxdoc}
2
3 \usepackage[left=1cm,right=1cm,top=1cm,bottom=1cm,
4 marginparwidth=0cm,marginparsep=0pt,
5 nohead,includefoot
6 ]{geometry}
7 \settowidth\marginparsep{\ }
8
9 % There is a \mmzset in memoize-doc-common.
10 \usepackage{nomemoize}
11
12 % Hypdoc (which loads hyperref) must be loaded before memoize-code.
13 \usepackage{hypdoc}
14 \hypersetup{colorlinks=true, allcolors=blue}
15
16 \usepackage{memoize-code} % Also loads memoize-doc-common
17
18 %\pdfsystem{makeindex -s gind.ist \jobname.idx}
19
20 \CodelineIndex
21 \EnableCrossrefs
22
23 \title{The documented source of Memoize, Advice and CollArgs}
24 \author{Sašo Živanović\\[2mm]
25 \emailsymbol~\url(mailto:){[email protected]}\\
26 \homepagesymbol~\url(http://){spj.ff.uni-lj.si/zivanovic}\\
27 \faGithub~\url(https://){github.com/sasozivanovic}}
28 \packageversion{%
29 \ParseProvidesPackage
30 \ProvidesPackage{memoize}[2024/12/02 v1.4.1 Fast and flexible externalization]
31 \begin{tabular}{c}
32 Memoize v\packagever\\
33 \csuse{@date}
34 \end{tabular}
35 \ParseProvidesPackage
36 \ProvidesPackage{advice}[2024/03/15 v1.1.1 Extend commands and environments]
37 \begin{tabular}{c}
38 Advice v\packagever\\
39 \csuse{@date}
40 \end{tabular}
41 \ParseProvidesPackage
42 \ProvidesPackage{collargs}[2024/03/15 v1.2.0 Collect arguments of any command]
43 \begin{tabular}{c}
44 Collargs v\packagever\\
45 \csuse{@date}
46 \end{tabular}
47 }
48
49 \hypersetup{
50 % pdftitle={Memoize},
51 pdfauthor={Sašo Živanović},
52 pdfsubject={externalization},
53 pdfkeywords={LaTeX, externalization, memoization}
54 }
55
56 \begin{document}
57
58 \maketitle
59
60 \def\docdir{..}
61 \DocInput{\docdir/memoize.dtx}
62
63 \section{Auxiliary packages}
64 \label{sec:code:utils}
65
66 \subsection{Extending commands and environments with Advice}
67 \label{sec:code:auto}
68
69 \DocInput{\docdir/advice.dtx}
70
71 \subsection{Argument collection with CollArgs}
72 \label{sec:code:collargs}
73
74 \DocInput{\docdir/collargs.dtx}
75
76 \section{The scripts}
77 \label{sec:code:scripts}
78
79 \subsection{The Perl extraction script \texttt{memoize-extract.pl}}
80 \DocInput{\docdir/memoize-extract.pl.dtx}
81
82 \subsection{The Python extraction script \texttt{memoize-extract.py}}
83 \DocInput{\docdir/memoize-extract.py.dtx}
84
85 \subsection{The Perl clean-up script \texttt{memoize-clean.pl}}
86 \DocInput{\docdir/memoize-clean.pl.dtx}
87
88 \subsection{The Python clean-up script \texttt{memoize-clean.py}}
89 \DocInput{\docdir/memoize-clean.py.dtx}
90
91 \clearpage
92 \restoregeometry
93
94 \IndexPrologue{\section*{Index}Numbers written in red refer to the code line
95 where the corresponding entry is defined; numbers in blue refer to the code
96 lines where the entry is used.}
97
98 \setcounter{IndexColumns}{2}
99 \def\main#1{\begingroup\hypercolor{link}{red}#1\endgroup}
100 \PrintIndex
101
102 \end{document}
103
104 %%% Local Variables:
105 %%% mode: latex
106 %%% TeX-engine: luatex
107 %%% TeX-master: t
108 %%% End: