File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ grep -ne '\\pnum.\+$' $texfiles && exit 1
29
29
30
30
# Two consecutive \pnum
31
31
for f in $texfiles ; do
32
- awk ' prev == $0 && /^\\pnum/ { print FILENAME ":" FNR ": duplicate \pnum on consecutive lines" } { prev = $0 }' $f
32
+ awk ' prev == $0 && /^\\pnum/ { print FILENAME ":" FNR ": duplicate \\ pnum on consecutive lines" } { prev = $0 }' $f
33
33
done | grep . && exit 1
34
34
35
35
# \opt used incorrectly.
@@ -103,11 +103,11 @@ done | grep . && exit 1
103
103
# to fix: sed -i 's/placeholder\({[-A-Za-z]*}@\?(\)/placeholdernc\1/g' *.tex
104
104
105
105
# \placeholdernc before <
106
- # egrep 'placeholdernc{[-A-Za-z]*}@?<' *.tex
107
- # to fix: sed -i 's/placeholdernc\({[-A-Za-z]*}@\?<\)/placeholder\1/g' *.tex
106
+ # egrep 'placeholdernc{[-A-Za-z]*}@?<' *.tex
107
+ # to fix: sed -i 's/placeholdernc\({[-A-Za-z]*}@\?<\)/placeholder\1/g' *.tex
108
108
109
109
# \placeholder before . or ,
110
- # egrep 'placeholder{[-A-Za-z]*}@?[,.]' *.tex
110
+ # egrep 'placeholder{[-A-Za-z]*}@?[,.]' *.tex
111
111
# to fix: sed -i 's/placeholder\({[-A-Za-z]*}@\?[.,]\)/placeholdernc\1/g' *.tex
112
112
113
113
# We can't reliably check if the PDF is up to date, because we don't have a
You can’t perform that action at this time.
0 commit comments