[racket] Scribble: Page break in LaTeX output

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Oct 31 07:28:45 EDT 2010

At Sun, 31 Oct 2010 11:05:14 +0100, Jens Axel Søgaard wrote:
> What is the simplest way to generate a page break in the LaTeX output?

I don't think we have anything built in, but you can use `element' to
construct an element using "newpage" as the style, which will generate
a `\newpage{}' in the Latex output while using the "newpage" style
(effectively ignored) for HTML.

----------------------------------------

#lang scribble/doc
@(require scribble/core)

Page 1

@element["newpage" ""]

Page 2




Posted on the users mailing list.