2010/10/31 Matthew Flatt <mfl...@cs.utah.edu>:
> 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

Thanks, works as a charm.

--
Jens Axel Søgaard
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to