Debian Codegraph @

texmf-dist/doc/generic/memoize/memoize-clean.1.md

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