Re: DOCBOOK: Page orientation: Portrait X Landscape

From
[ichael Viedmann
Date
2000-02-24T17:51:38+00:00
ID
Thread
Re: DOCBOOK: Page orientation: Portrait X Landscape
Jorge Godoy () wrote:
> Is there any way I can specify page orientation on my stylesheet? 

Say in your custom-stylesheet (if you use USletter":

(define %paper-type%
  "USlandscape")

If you need another papertype copy from "print/dbparam.dsl" the
following parts to your custom stylesheets and add the appropriate
definitions for your paper type (and don愒 forget to forward them to
Norm):

(define %page-width%
   (case %paper-type%
      (("A4") 210mm)
      (("USletter") 8.5in)
      (("USlandscape") 11in)))  

(define %page-height%
   (case %paper-type%
      (("A4") 297mm)
      (("USletter") 11in)
      (("USlandscape") 8.5in)))  

Michael
-- 
          Looking for an X11 based PalmPilot Address Manager?
        Have a look at http://www.in-berlin.de/User/miwie/pia/