Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4e54
original commit: ba70e05ae24728a30e85618657b52c8da8d08b4a
This commit is contained in:
parent
32be99330c
commit
1f7cb9b151
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user