Commit 7ddff505 authored by Robert Ricci's avatar Robert Ricci

Force screenshot scale to float

Letting rational numbers through to LaTeX makes it unhappy
parent 9140400d
......@@ -81,7 +81,7 @@
(cdr (cons (displayln (string-append "WARNING: CloudLab missing screenshot " path)) aptpath))))]
[b (make-object bitmap% fullpath)]
[width (send b get-width)]
[scale-factor (/ screenshot-width width)])
[scale-factor (* 1.0 (/ screenshot-width width))])
(list (image #:scale scale-factor fullpath fullpath) (linebreak))))
(define (instructionstep step #:screenshot [screenshot-path #f] . body)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment