Add script to check cleveref macro uses
Status from this message: Queued and pushed, thank you!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cleverefcheck: Add check script of cleveref macro usageutilities/ utilities/ | +119 | 0 replies | |
| 2/4 | intro: Employ \cref{} and its variantsintro/ | +12 | 0 replies | |
| 3/4 | cpu: Employ \cref{} and its variantscpu/ cpu/ cpu/ +2 more | +45 | 0 replies | |
| 4/4 | toolsoftrade: Employ \cref{} and its variantsperfbook-lt.tex toolsoftrade/ | +226 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -perfbook 0/4] Add script to check cleveref macro uses
Hi Paul,
Now that end-of-sentence periods are at the end of input lines, wrong uses of \Cref{}, \cref{}, and their variants can be detected by a not-that-intelligent script.
Patch 1/4 adds the set of scripts.
They also detect raw \ref{} and \lnref{} commands.
Patches 2/4--4/4 are updates of intro, cpu, and toolsoftrade to satisfy the scripts.
Remaining updates of the other chapters will follow when they are ready.
My plan is to add the check as a make target once the other updates are finished.
In the meantime, you can run the check of each file by:
./utilities/cleverefcheck.pl count/count.tex
, or tree-wide:
./utilities/cleverefcheck.sh
Thanks, Akira
--
Akira Yokosawa (4):
cleverefcheck: Add check script of cleveref macro usage
intro: Employ \cref{} and its variants
cpu: Employ \cref{} and its variants
toolsoftrade: Employ \cref{} and its variants
cpu/cpu.tex | 6 +- cpu/hwfreelunch.tex | 12 +- cpu/overheads.tex | 26 +-- cpu/overview.tex | 32 +-- cpu/swdesign.tex | 18 +- intro/intro.tex | 24 +- perfbook-lt.tex | 21 ++ toolsoftrade/toolsoftrade.tex | 412 +++++++++++++++++----------------- utilities/cleverefcheck.pl | 96 ++++++++ utilities/cleverefcheck.sh | 23 ++ 10 files changed, 402 insertions(+), 268 deletions(-) create mode 100755 utilities/cleverefcheck.pl create mode 100755 utilities/cleverefcheck.sh
Signature · 1 line
2.17.1