[PATCH -perfbook 0/4] Add script to check cleveref macro uses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux