fix nit: "running 2nd time" instead of "re-running 2nd time"

because "re-running 2nd time" should mean the 3rd run
This commit is contained in:
Matthew Flatt 2011-04-14 13:20:23 -06:00
parent e655e1e6fe
commit 1c60499923
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,9 @@
(err "didn't get a stable result after ~a runs" n)) (err "didn't get a stable result after ~a runs" n))
(if (zero? n) (if (zero? n)
(notify "running pdflatex on ~a" file) (notify "running pdflatex on ~a" file)
(notify " re-running ~a~a time" (notify " running ~a~a time"
(add1 n) (case (add1 n) [(2) 'nd] [(3) 'rd] [else 'th]))) (add1 n)
(case (add1 n) [(2) 'nd] [(3) 'rd] [else 'th])))
(run) (run)
;; see if we get a "Rerun" note, these seem to come in two flavors ;; see if we get a "Rerun" note, these seem to come in two flavors
;; * Label(s) may have changed. Rerun to get cross-references right. ;; * Label(s) may have changed. Rerun to get cross-references right.

View File

@ -25,8 +25,7 @@
(provide setup-scribblings (provide setup-scribblings
verbose verbose
run-pdflatex run-pdflatex)
)
(define verbose (make-parameter #t)) (define verbose (make-parameter #t))