33

Possible Duplicate:
Automatically increase PDF page height

Is it possible to have LaTeX use a single infinite page?

I don't know if the PDF file format even supports this, but I see "Screen formatted" PDFs all the time, which use a layout more pleasing to read on a monitor, but for some reason they still have pages. I don't see much point in a screen-based PDF having pages, at least when Letter and A4 options are also offered. Is there a way to make pageless documents with LaTeX?

Canageek
  • 17,935

1 Answers1

20

We did experiment with a single, long page as well. We use the geometry package and defined

\geometry{paperwidth=170mm, paperheight=16383pt, left=40pt, top=40pt, textwidth=280pt, marginparsep=20pt, marginparwidth=100pt, textheight=16263pt, footskip=40pt}

Adjust the widths and the other parameters to your liking. Please note that a page height of more than 16383pt leads to an error. (There is an internal number somewhere that must be smaller than 2^14-1.)

Then, we got confused when floats where still breaking onto a new page. You also need

    \setcounter{totalnumber}{100}

to increase the number of floats allowed on one page. With a lot of floats, you might have to use the morefloats package as well.

Seamus
  • 73,242
Andy
  • 6,269
  • How well did your experiment work? I'm worried that PDF readers load a page at a time, so a giant page would lead to problems. – Canageek Nov 24 '11 at 23:32
  • We did get some good results while using it as some kind of draft mode. Before, we ran into problems with \marginpars running out of the bottom page. This was adjusted only in the last version to avoid work at in-between stages of the book-project. But then, it was rendered obsolete with the marginfix package, the package automatically adjusts the marginpars. – Andy Nov 25 '11 at 07:24
  • Did you have any memory use problems or such? – Canageek Nov 26 '11 at 00:08