Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4

This commit is contained in:
Matthew Flatt 2011-03-29 08:31:10 -06:00
parent 9245f4b19a
commit ba70e05ae2

View File

@ -259,8 +259,9 @@
(let* ([bstr (list-ref (list-ref bstr+info+suffix 0) 0)] (let* ([bstr (list-ref (list-ref bstr+info+suffix 0) 0)]
[suffix (list-ref bstr+info+suffix 1)] [suffix (list-ref bstr+info+suffix 1)]
[height (list-ref (list-ref bstr+info+suffix 0) 2)] [height (list-ref (list-ref bstr+info+suffix 0) 2)]
[descent (+ (list-ref (list-ref bstr+info+suffix 0) 3) [descent (and height
(- (ceiling height) height))] (+ (list-ref (list-ref bstr+info+suffix 0) 3)
(- (ceiling height) height)))]
[fn (install-file (format "pict~a" suffix) bstr)]) [fn (install-file (format "pict~a" suffix) bstr)])
(if descent (if descent
(printf "\\raisebox{-~apx}{\\includegraphics{~a}}" descent fn) (printf "\\raisebox{-~apx}{\\includegraphics{~a}}" descent fn)