bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 80d1ff22738906c8574853fce3aad4a7a9badb1e
parent 02d8332600dfdd96f89162cced95f378c62ea340
Author: Matthew Flatt <mflatt@racket-lang.org>
Date:   Thu,  6 Oct 2011 07:47:38 -0600

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.

original commit: 0f5b53d3498f857920ff7fa438269727553dc058

Diffstat:
Mcollects/scribble/latex-render.rkt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/collects/scribble/latex-render.rkt b/collects/scribble/latex-render.rkt @@ -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))