[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] semantics of "replaceable" element.
For now, I would suggest that you Bob Stayton Sagehill Enterprises bobs@sagehill.net -------------------------------------------------- From: "Stefan Seefeld" <stefan@seefeld.name> Sent: Monday, November 05, 2012 4:05 PM To: "Richard Hamilton" <hamilton@xmlpress.net> Cc: "DocBook Apps Mailing List" <docbook-apps@lists.oasis-open.org> Subject: Re: [docbook-apps] semantics of "replaceable" element.
On 11/05/2012 06:50 PM, Richard Hamilton wrote:Hi Stefan,I suspect the problem is in your customization. I just tried this with 1.77.1 (PDF and HTML), and there were no commas inserted in the output.Hi Richard, thanks for following up so quickly. I don't yet use a customization for this. Please have a look at either the fo/inline.xsl or html/inline.xsl stylesheets and look for the template matching "d:function/d:replaceable". It does indeed add a comma if there is more content after the replaceable element: <xsl:template match="d:function/d:replaceable" priority="2"> <xsl:call-template name="inline.italicmonoseq"/> <xsl:if test="following-sibling::*"> <xsl:text>, </xsl:text> </xsl:if> </xsl:template> (In my docs I have things like <function>vsip_<replaceable>d</replaceable>clip</function>, such that the comma would be inserted between the 'd' and the 'clip'. Stefan -- ...ich hab' noch einen Koffer in Berlin... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]