| 1 |
.\" Automatically generated by Pandoc 3.1.11.1 |
| 2 |
.\" |
| 3 |
.TH "memoize\-clean" "1" "December 02, 2024" "memoize\-clean of Memoize v1.4.1" "User Manual" |
| 4 |
.SH NAME |
| 5 |
memoize\-clean.pl, memoize\-clean.py \- Remove (stale) memo and extern |
| 6 |
files |
| 7 |
.SH SYNOPSIS |
| 8 |
\f[B]memoize\-clean.pl\f[R] [\f[I]OPTIONS\f[R]] [\f[I]document1.mmz\f[R] |
| 9 |
\&...] |
| 10 |
.PP |
| 11 |
\f[B]memoize\-clean.py\f[R] [\f[I]OPTIONS\f[R]] [\f[I]document1.mmz\f[R] |
| 12 |
\&...] |
| 13 |
.SH DESCRIPTION |
| 14 |
\f[B]memoize\-clean\f[R] is a script accompanying Memoize, a TeX package |
| 15 |
which allows the author to reuse the results of compilation\-intensive |
| 16 |
code such as TikZ pictures. |
| 17 |
.PP |
| 18 |
By default, this script removes stale memo and extern files. |
| 19 |
A stale memo or extern is an extern produced during a compilation of a |
| 20 |
previous version of the document which was neither used nor produced |
| 21 |
during the last compilation of the document. |
| 22 |
Typically, stale files arise when we change the memoized code (or its |
| 23 |
context). |
| 24 |
.PP |
| 25 |
\f[B]memoize\-clean.pl\f[R] removes all memo and extern files with |
| 26 |
prefixes mentioned in the listed \f[B].mmz\f[R] files and by options |
| 27 |
\f[B]\-\-prefix\f[R] which are not explicitly mentioned in the |
| 28 |
\f[B].mmz\f[R] files. |
| 29 |
.PP |
| 30 |
Before deleting anything, \f[B]memoize\-clean.pl\f[R] lists all the |
| 31 |
files it would delete and asks for confirmation. |
| 32 |
.SH OPTIONS |
| 33 |
.TP |
| 34 |
\f[B]\-p, \-\-prefix\f[R] |
| 35 |
Add a memo/extern prefix for cleaning. |
| 36 |
This option may be given multiple times. |
| 37 |
.TP |
| 38 |
\f[B]\-a, \-\-all\f[R] |
| 39 |
Remove all memos and externs, rather than only the stale ones. |
| 40 |
.TP |
| 41 |
\f[B]\-y, \-\-yes\f[R] |
| 42 |
Do not ask for confirmation. |
| 43 |
.TP |
| 44 |
\f[B]\-q, \-\-quiet\f[R] |
| 45 |
Don\[cq]t describe what\[cq]s happening. |
| 46 |
.TP |
| 47 |
\f[B]\-h, \-\-help\f[R] |
| 48 |
Show help. |
| 49 |
.TP |
| 50 |
\f[B]\-V, \-\-version\f[R] |
| 51 |
Show the Memoize version number and exit. |
| 52 |
.SH SEE ALSO |
| 53 |
\c |
| 54 |
.UR https://ctan.org/pkg/memoize |
| 55 |
Memoize manual |
| 56 |
.UE \c |
| 57 |
, section 6.6.3. |