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.
@@ -136,11 +136,11 @@ done | grep . && exit 1
136
136
# to fix: sed -i 's/placeholder\({[-A-Za-z]*}@\?(\)/placeholdernc\1/g' *.tex
137
137
138
138
# \placeholdernc before <
139
- # egrep 'placeholdernc{[-A-Za-z]*}@?<' *.tex
140
- # to fix: sed -i 's/placeholdernc\({[-A-Za-z]*}@\?<\)/placeholder\1/g' *.tex
139
+ # egrep 'placeholdernc{[-A-Za-z]*}@?<' *.tex
140
+ # to fix: sed -i 's/placeholdernc\({[-A-Za-z]*}@\?<\)/placeholder\1/g' *.tex
141
141
142
142
# \placeholder before . or ,
143
- # egrep 'placeholder{[-A-Za-z]*}@?[,.]' *.tex
143
+ # egrep 'placeholder{[-A-Za-z]*}@?[,.]' *.tex
144
144
# to fix: sed -i 's/placeholder\({[-A-Za-z]*}@\?[.,]\)/placeholdernc\1/g' *.tex
145
145
146
146
# 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