This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Page size
- From: Giuseppe Greco <giuseppe dot greco at agamura dot com>
- To: Bob Stayton <bobs at sagehill dot net>
- Cc: DocBook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 12 Mar 2004 22:01:26 +0100
- Subject: Re: [docbook-apps] Page size
- Organization: Agamura, Inc.
- References: <1079119303.13376.10.camel@gonzo> <0ab901c40872$edfc37c0$6501a8c0@toshiro>
On Fri, 2004-03-12 at 21:45, Bob Stayton wrote:
> Works for me. When I process a file with your customization, I get a
> finished page size (according to Acrobat's document properties dialog box)
> of 8.27in x 11.69in. The FO output includes these properties in the
> page-masters: page-width="210mm" and page-height="297mm", which are the
> values for A4. What did you get?
Well, the FO output seems to be OK...
but when I print the PDF document produced
by FOP, page contents aren't center as they
should. Try to print the following document:
http://http://developer.agamura.com/technotes/building-projects-with-nant-0.5.pdf
Do you see the problem?
j3d.
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Giuseppe Greco" <giuseppe.greco@agamura.com>
> To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
> Sent: Friday, March 12, 2004 11:21 AM
> Subject: [docbook-apps] Page size
>
>
> > Hi all,
> >
> > To modify the default page size, fond size, etc.,
> > I use a custom stylesheet like this:
> >
> > <xsl:stylesheet version="1.0">
> > <xsl:import href="http://docbook.sourceforge.net/release/xsl/
> > current/fo/docbook.xsl"/>
> > <xsl:param name="paper.type" select="'A4'"/>
> > <xsl:param name="preferred.mediaobject.role" select="fo"/>
> > <xsl:param name="body.font.master">12</xsl:param>
> > </xsl:stylesheet
> >
> > Well, it does not work anymore... the page size is
> > always US letter. Could you tell me what I need to
> > change?
> >
> > Thanks,
> > j3d.
> >
> > --
> > ----------------------------------------
> > Giuseppe Greco
> >
> > ::agamura::
> >
> > phone: +41 91 604 67 65
> > mobile: +41 76 390 60 32
> > email: giuseppe.greco@agamura.com
> > web: www.agamura.com
> > ----------------------------------------
> >
> >
> > To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit
> http://www.oasis-open.org/mlmanage/.
> >
> >
> >
>
>
>
> To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.
--
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 91 604 67 65
mobile: +41 76 390 60 32
email: giuseppe.greco@agamura.com
web: www.agamura.com
----------------------------------------
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.