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] | [List Home]


Subject: Re: [docbook-apps] <guilabel> output in PDF


Hello David,

thanks a lot, works perfectly. I had to remove the namespace as I use
Docbook 4.5 but after this tiny change it worked very well.

	<xsl:template match="guilabel">
		<fo:inline font-style="italic">
			<xsl:apply-imports />
		</fo:inline>
	</xsl:template>

Thanks again, Lars



2012/5/8 David Goss <dgoss@mueller-inc.com>:
> In your customization layer, try something like this:
>
> <xsl:template match="d:guilabel">
>        <fo:inline font-style="italic">
>                <xsl:apply-imports />
>        </fo:inline>
> </xsl:template>
>
> For more information, see the section on customization layers in Bob Sayton's Docbook XSL Guide:
> http://www.sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization
>
> -David
> <dgoss@mueller-inc.com>
>
>
> -----Original Message-----
> From: Lars Vogel [mailto:lars.vogel@googlemail.com]
> Sent: Tuesday, May 08, 2012 3:37 PM
> To: DocBook Apps
> Subject: [docbook-apps] <guilabel> output in PDF
>
> Hi,
>
> I started using <guilabel> in my Docbook sources but it seems that the PDF output is just normal text. Is their a way to change it, e.g. to Italic?
>
> Best regards, Lars
>
> --
> Lars
> http://www.vogella.com - Eclipse, Android and Java Tutorials http://www.twitter.com/vogella - Lars on Twitter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>



-- 
Lars
http://www.vogella.com - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter


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