Re: page breaks?

Francis Norton wrote:
> Hello,
> I would be very interested to know how SVG documents intended for
> print-only agents should indicate preferred page-breaks.

<?xml-stylesheet href="foo.css" media="print" ?>
  <svg /><!-- first page svg goes here
  <svg /><!-- second page svg goes here
 <!-- and so forth -->

foo.css contains the one line CSS stylesheet

page { page-break-before: always }

or, if you want to get real fancy, add a second line

page > svg {width: 100% !important; height: 100% !important }

just to ensure that all the pictures fit onto the page. Obviously you can
specify page margins, etc as usual.


Received on Tuesday, 19 September 2000 12:11:07 UTC