commit d327ca11903562cf32fad0eb495019dfb23980d8
parent e2879581850d2630576a59408b0e4d7dbff25666
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Wed, 4 Apr 2012 19:54:26 -0600
scribble: add 'block style for `table'
original commit: 20256a3f1504f44ccb10c128910b4d822bd857cf
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/collects/scribble/latex-render.rkt b/collects/scribble/latex-render.rkt
@@ -433,6 +433,7 @@
[index? (eq? 'index s-name)]
[tableform
(cond [index? "list"]
+ [(eq? 'block s-name) "tabular"]
[(not (current-table-mode)) "bigtabular"]
[else "tabular"])]
[opt (cond [(equal? tableform "bigtabular") ""]
diff --git a/collects/scribblings/scribble/core.scrbl b/collects/scribblings/scribble/core.scrbl
@@ -477,6 +477,8 @@ recognized:
@item{@racket['centered] --- Centers HTML output horizontally.}
+ @item{@racket['block] --- Prevents pages breaks in Latex output.}
+
]
The following @tech{style properties} are currently recognized: