Thank you for your support. I found that this XSLT modification did work on
my Windows XP machine, but not my Mac. I did notice there are multiple
instances of inline.xsl, and have modified the right one. I now suspect it
has something to do with fonts. I have tried using other docbook elements
that are suppose to render bold according to the xsl stylesheet and they do
not.

For now I can work around the issue by building the documents on my XP
machine. If you have any ideas on how I can use bold font in my pdf, I
would appreciate it.

Thanks,
Brendan

On Tue, Jul 10, 2012 at 3:33 AM, Hussein Shafie <[email protected]> wrote:

> Brendan Taylor wrote:
>
>>
>> I am using XXE and I'm trying to customize my PDF output so that the
>> guibutton element renders with bold text. I'm using the Apache FOP. Under
>> Customize Document Conversion Stylesheet, I don't see an attribute set or
>> parameter in the list that seems to apply to guibutton. I also tried
>> modifying inline.xls like this:
>>
>>
> I confirm that there is no XSLT stylesheet parameter nor attribute set
> which would allow to make this customization using XXE's "Customize
> Document Conversion Stylesheet".
>
> You indeed need to customize the XSLT stylesheet by hand.
>
>
>  Changed:
>> <xsl:template match="d:guibutton">
>>   <xsl:call-template name="inline.charseq"/>
>> </xsl:template>
>>
>> to:
>> <xsl:template match="d:guibutton">
>>   <xsl:call-template name="inline.boldseq"/>
>> </xsl:template>
>>
>> This did not produce the result I am looking for. Any help is
>> appreciated.\
>>
>
> What you did is fine (I've tested it) but may be you have modified the
> wrong inline.xsl file. Please make sure that you have modified:
>
> <XXE_install_dir>/addon/**config/docbook5/xsl/fo/inline.**xsl
>
> Notice docbook5/ and not docbook/.
>
>
>
>
>
>
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to