punctcheck.pl: Expand hint message on mid-line punctuation
PATCH 1/2 punctcheck.pl: Expand hint message on mid-line punctuation
Cover mid-sentence punctuation.
Signed-off-by Akira Yokosawa <[email protected]>
--- utilities/punctcheck.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utilities/punctcheck.pl +1 -1
@@ -83,7 +83,7 @@ sub check_line { $line =~ /^(?=[\s]*+[^%])[^%]*.*[\.:][\)\}\']*\s+\\\\/ ) { $ng -= 1; } else { - print "vvv Hint: end of sentence needs new line vvv\n"; + print "Hint: Break at end of sentence or mark mid-sentence punct as such (xxx.\\@).\n"; } } if ($line =~ /^(?=[\s]*+[^%])[^%]*[^~]\\cite/) {
base-commit: 4c0bf4331a91401672dda6d45a91e17f2a6ac944
Signature · 1 line
2.34.1
PATCH 2/2 glossary: Fix warning from "make punctcheck"
"make checkpunct" says:
Hint: Break at end of sentence or mark mid-sentece punct as such (xxx.\@).
./glossary.tex:158: overlapping categories, for example, read misses vs. write misses
Fix it.
Signed-off-by Akira Yokosawa <[email protected]>
--- glossary.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
glossary.tex +1 -1
@@ -155,7 +155,7 @@ in other CPUs' caches (``write'' miss). \end{enumerate*} Note that cache misses can be split into multiple partially - overlapping categories, for example, read misses vs. write misses + overlapping categories, for example, read misses vs.\@ write misses as opposed to the above categorization. \item[\IXGalth{Capacity Miss}{capacity}{cache miss}:] A cache miss incurred because the corresponding CPU has recently
Signature · 1 line
2.34.1
Quoted 3 lines · Akira Yokosawa
Cover mid-sentence punctuation.
Signed-off-by Akira Yokosawa <[email protected]>
Applied and pushed both, thank you!!!
Thanx, Paul
Quoted 22 lines
--- utilities/punctcheck.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)utilities/punctcheck.pl +1
-1@@ -83,7 +83,7 @@ sub check_line { $line =~ /^(?=[\s]*+[^%])[^%]*.*[\.:][\)\}\']*\s+\\\\/ ) { $ng -= 1; } else { - print "vvv Hint: end of sentence needs new line vvv\n"; + print "Hint: Break at end of sentence or mark mid-sentence punct as such (xxx.\\@).\n"; } } if ($line =~ /^(?=[\s]*+[^%])[^%]*[^~]\\cite/) {base-commit:
4c0bf4331a91401672dda6d45a91e17f2a6ac944Signature · 1 line
2.34.1