bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs
original commit: e97414b7bfc5182702c946dc7fcd024a19f7b191
This commit is contained in:
parent
77e9dca243
commit
90ded4003f
|
@ -253,6 +253,12 @@
|
|||
=> (lambda (bstr)
|
||||
(let ([fn (install-file "pict.pdf" bstr)])
|
||||
(printf "\\includegraphics{~a}" fn)))]
|
||||
[(and (convertible? e)
|
||||
(not (disable-images))
|
||||
(convert e 'png-bytes))
|
||||
=> (lambda (bstr)
|
||||
(let ([fn (install-file "pict.png" bstr)])
|
||||
(printf "\\includegraphics{~a}" fn)))]
|
||||
[else
|
||||
(parameterize ([rendering-tt (or tt? (rendering-tt))])
|
||||
(super render-content e part ri))]))]
|
||||
|
|
|
@ -1099,7 +1099,9 @@
|
|||
(vector? v)
|
||||
(and (struct? v)
|
||||
(or (and qq
|
||||
;; Watch out for partially transparent subtypes of `element':
|
||||
;; Watch out for partially transparent subtypes of `element'
|
||||
;; or convertible values:
|
||||
(not (convertible? v))
|
||||
(not (element? v)))
|
||||
(prefab-struct-key v))))
|
||||
(let ([orig-ht (unbox ht)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user