scribble: fix Latex renderer treatment of table cell/column styles
The renderer was using symbol style names as command names, but only strings should be treated that way.
This commit is contained in:
parent
79a6981684
commit
0f5b53d349
|
@ -544,7 +544,7 @@
|
|||
[center? (and (not bottom?)
|
||||
(not top?))]
|
||||
[as-box? (and can-box? (boxable? p))])
|
||||
(when (style-name vstyle)
|
||||
(when (string? (style-name vstyle))
|
||||
(printf "\\~a{" (style-name vstyle)))
|
||||
(let ([minipage? (and can-box? (not as-box?))])
|
||||
(when minipage?
|
||||
|
@ -569,7 +569,7 @@
|
|||
(render-block p part ri #f)])
|
||||
(when minipage?
|
||||
(printf " \\end{minipage}\n")))
|
||||
(when (style-name vstyle)
|
||||
(when (string? (style-name vstyle))
|
||||
(printf "}"))
|
||||
null))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user