This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: print on A4 paper
- To: "A.R. (Tom) Peters" <tpeters at xs4all dot nl>
- Subject: Re: DOCBOOK-APPS: print on A4 paper
- From: Dan York <dyork at e-smith dot com>
- Date: Mon, 02 Apr 2001 12:37:43 -0400
- Cc: docbook-apps at lists dot oasis-open dot org
- Organization: e-smith, Inc.
- References: <Pine.LNX.4.21.0104011226270.6912-100000@tompth.localdomain>
Tom,
> When I create printable documents from DocBook/SGML using sgmltools or
> jade, with the usual stylesheets (Nwalsh's, or ldp.dsl), I get the
> impression that they are created for US Legal paper: too wide and too
> short.
>
> How do I get these tools to format for A4?
Hey, funny we should run into each other here, too! (Tom and I both
sit on the board of the Linux Professional Institute, http://www.lpi.org)
(Cue in theme song for "It's a Small World...")
If you look in 'print/dbparam.dsl' inside of Norm's distributed
style sheets, you'll see an entry for 'paper-type'. Probably 'A4' is
commented out and "USletter" is the current choice. If you do a
search on 'page-width' in the same file, you'll see a long list of
all the different sizes supported by the stylesheets.
You *could* modify the setting for 'paper-type' right there in
dbparam.dsl but that doesn't allow for easy updating later. Better
to just add a line defining 'paper-type' to a customization layer
like the 'ldp.dsl' that you mention above.
See DocBook:TDG for more info at:
http://docbook.org/tdg/html/ch04.html#AEN5447
Hope that helps,
Dan
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org