[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Body Font Size
... yes, the stylesheet correctly selects A4... and I confirm there is no font.size parameters in other included files. Anyway, I can also survive with 10pt fonts :-) Thank you for your hints. j3d On Mon, 2011-12-19 at 10:23 -0800, Richard Hamilton wrote: > Giuseppe, > > In the file you point to, I notice that you also include two other stylesheets. I'd take a look at those and see if they set body.font.size. > > Also, make sure that the style sheet is actually being run (i.e., check that the other changes, like setting the page size to A4, are occurring). > > Good Luck > > Dick > On Dec 19, 2011, at 2:06 AM, Giuseppe Greco wrote: > > > Hi Dick, > > > > My customization layer is trivial and looks fine - if you want you can give a look at http://www.agamura.com/docbook/xsl/current/fo/docbook.xsl > > > > I don't set the body.font.size parameter anywhere... I'll try what you suggest here below as soon as I get home this evening. > > > > Talk 2 u soon, > > j3d > > > > > > On 19.12.2011 02:59, Richard Hamilton wrote: > >> Giuseppe, > >> > >> Here are a couple of things to check out: > >> > >> 1) Are you sure your customization is being called correctly and that > >> this parameter isn't in a comment or otherwise not seen? > >> > >> 2) body.font.master is indirectly used to set the body.font.size > >> parameter, which actually sets the body font point size. So, make sure > >> you're not setting body.font.size somewhere else in your > >> customization. It is already set as follows in the standard param.xsl > >> file: > >> > >> <xsl:param name="body.font.size"> > >> <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text> > >> </xsl:param> > >> > >> If you have set it to some other value in your customization, that > >> could be the problem. > >> > >> If that doesn't fix the problem, you might try to put the three lines > >> above in your customization and see if that makes a difference. > >> > >> HTH > >> > >> Best Regards, > >> Dick Hamilton > >> ------- > >> XML Press > >> XML for Technical Communicators > >> http://xmlpress.net > >> hamilton@xmlpress.net > >> > >> On Dec 18, 2011, at 1:52 PM, Giuseppe Greco wrote: > >> > >>> Dear all, > >>> > >>> I added the following statement to my customization layer to set the > >>> default font size to 12: > >>> > >>> <xsl:param name="body.font.master">12</xsl:param> > >>> > >>> ... but when I generate the PDF I always get the default size (10). > >>> > >>> Am I missing something? > >>> > >>> Tx, > >>> j3d > >>> > >>> -- > >>> ---------------------------------------- > >>> Giuseppe Greco > >>> 6949 Comano > >>> Switzerland > >>> > >>> call giuseppe.greco via Skype > >>> phone: +41 (0)91 234 51 09 > >>> mobile: +41 (0)79 590 33 06 > >>> email: giuseppe.greco@agamura.com > >>> ---------------------------------------- > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > >>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > -- > > GIUSEPPE GRECO > > Chief Technology Officer > > > > Agamura, Inc. > > 6900 Lugano - Switzerland > > Phone +41 (0)91 234 51 09 ● Mobile +41 (0)79 590 33 06 ● Skype > > giuseppe.greco > > giuseppe.greco@agamura.com - www.agamura.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > -- ---------------------------------------- Giuseppe Greco 6949 Comano Switzerland call giuseppe.greco via Skype phone: +41 (0)91 234 51 09 mobile: +41 (0)79 590 33 06 email: giuseppe.greco@agamura.com ----------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]