This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Page orientation: Portrait X Landscape
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Page orientation: Portrait X Landscape
- From: Michael Wiedmann <mw at miwie dot in-berlin dot de>
- Date: Thu, 24 Feb 2000 18:22:48 +0100
- References: <20000224101111.K24290@conectiva.com.br>
- Reply-To: docbook at lists dot oasis-open dot org
Jorge Godoy (godoy@conectiva.com.br) 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īt 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/