Re: rotating pages?

Subject: Re: rotating pages?
From: James Clark <jjc@xxxxxxxxxx>
Date: Tue, 15 Jul 1997 14:24:43 +0000
At 08:45 15/07/97 -0400, Norman Walsh wrote:
>> >Ah, well, for the particular application that I have in mind,
>> >that would be sufficient.  Basically I'm working on a style
>> >sheet for a class of documents, each instance of which includes
>> >a wide, multi-page table.  I'd like to be able to make the pages
>> >of that section print in landscape.
>> You can make a complete simple-page-sequence print in landscape with the RTF
>> backend simply by swapping the values of page-width and page-height.
>I tried this in 0.8, without success.  Did you mean that this would work
>within a document containing other pages that were in portrait orientation,

Yes, but remember that you can't nest simple-page-sequences.

Try this:

<!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">

(declare-initial-value page-width 211mm)
(declare-initial-value page-height 297mm)
(declare-initial-value top-margin 1in)
(declare-initial-value bottom-margin 1in)
(declare-initial-value left-margin 1in)
(declare-initial-value right-margin 1in)

  (make simple-page-sequence
        (make paragraph
	      (literal "First page.")))
  (make simple-page-sequence
	page-width: 297mm
	page-height: 211mm
	(make paragraph
	      (literal "Second page.")))
  (make simple-page-sequence
	(make paragraph
	      (literal "Third page.")))))

 DSSSList info and archive:

Current Thread