Alexander ten Bruggencate wrote: > > On Wed, 2002-10-09 at 11:04, Hussein Shafie wrote: > > Alexander ten Bruggencate wrote: > > > is there a way to set margins of a docbook document? > > > If you print with XXE, you can specify the margins in the Page Setup > > dialog box. > > i tried that, but it's not working at all! i can give a top margin of 5 > (where it defaults to 1) and pages come out exactly the same! any idea > why?
Using XXE V2 and Java 1.4, it works perfectly. XXE M1.3 is no longer supported. However, I suggest that you upgrade your Java runtime from 1.3 to 1.4 because I suspect it is a Java problem (Printing in M1.3 and in V2 works exactly the same). > > If you print using Norman Walsh's XSLT style sheets, use the following > > stylesheet parameters: > > I'm confused, is there a difference between the docbook stylesheet you > supply with xxe (M1.3) and "the original NW stylesheets"? > > > page.margin.top - The top margin of the page > > Can i use the page.margin.top in xxe + docbook stylesheet? and if so can > you give a small example? Sorry, it is my fault. Few people print docbook documents using XXE. Most people use NW XSLT style sheets with a XSLT engine such as saxon and a FO processor such as FOP (which can output PostScript or PDF). I was talking about the parameters of these XSLT style sheets. Printing in XXE is just intended to be used to print drafts. See also http://www.xmlmind.com/foconverter/xslutility.html

