Next in thread → Next in month →

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

From
Lars Vogel <>
Date
2012-05-08T21:53:20+00:00
ID
Thread
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 <>:
> 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
> <>
>
>
> -----Original Message-----
> From: Lars Vogel [mailto:]
> 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: 
> For additional commands, e-mail: 
>



-- 
Lars
http://www.vogella.com - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
Next in thread → Next in month →