Next in thread → Next in month →

Re: [docbook-apps] db5: What stylesheets use + admon graphics ?

From
"Cob Rtayton"
Date
2006-11-15T19:03:25+00:00
ID
01fd01c708e8$b3eb84e0$6400a8c0@totoro
Thread
Re: [docbook-apps] db5: What stylesheets use + admon graphics ?
Hi,
You should be able to use either, but the docbook5ns-xsl-1.71.0 set is 
labeled experimental so they should not be used in a production capacity. 
They simply haven't been tested enough yet.

One fix is needed.  Replace:

<xsl:param name="admon.graphics.path" select="generated.graphics.path"/>

with:

<xsl:param name="admon.graphics.path" select="$generated.graphics.path"/>

After you generate your FO, take a peek in the fo file and see what path is 
used for note.png.  That might help you figure out what is going wrong.

I should also mention that the .png graphics are bitmap, and don't look 
sharp in PDF output.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Bruno GUEGAN" <>
To: "DocBook Apps Mailing List" <>
Sent: Wednesday, November 15, 2006 6:55 AM
Subject: [docbook-apps] db5: What stylesheets use + admon graphics ?

Hello,

1] For docbook 5.09b what must stylesheets i use ?
docbook-xsl-1.71.1
or
docbook5ns-xsl-1.71.0

2] I think that admon graphics dont work, in my stylesheets :
<xsl:param name="paper.type" select="'A4'"/>
<xsl:param name="page.orientation" select="'portrait'"/>
<xsl:param name="double.sided" select="'1'"/>
<xsl:param name="l10n.gentext.default.language" select="'fr'"/>
<xsl:param name="draft.mode" select="no"/>
<xsl:param name="admon.graphics" select="'1'"/>
<xsl:param name="admon.graphics.extension">png</xsl:param>

<xsl:param name="generated.graphics.path">../admon/</xsl:param>
<xsl:param name="admon.graphics.path" select="generated.graphics.path"/>

<xsl:template match="*" mode="admon.graphic.width">
  <xsl:text>24pt</xsl:text>
</xsl:template>

Correct or not ?

Best regards,
Bruno

-- 
Celui qui trouve sans chercher est celui qui a longtemps cherché sans 
trouver.
Gaston Bachelard

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 
Next in thread → Next in month →