OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: print on A4 paper


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC