On Thu, May 06, 2021 at 11:21:36PM +0900, Akira Yokosawa wrote: > 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 Nice!!! And sounds like a good plan. Queued and pushed, thank you! Thanx, Paul > 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 > > -- > 2.17.1 >