From d327ca11903562cf32fad0eb495019dfb23980d8 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 4 Apr 2012 19:54:26 -0600 Subject: [PATCH] scribble: add 'block style for `table' original commit: 20256a3f1504f44ccb10c128910b4d822bd857cf --- collects/scribble/latex-render.rkt | 1 + collects/scribblings/scribble/core.scrbl | 2 ++ 2 files changed, 3 insertions(+) diff --git a/collects/scribble/latex-render.rkt b/collects/scribble/latex-render.rkt index caccf925..dd3f8ecb 100644 --- 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 index 7f808313..1286cf12 100644 --- 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: