[xep-support] Replace straight apostrophe with curly apostrophe (again)

Jacques Foucry jacques at foucry.net
Sun Sep 26 14:47:05 PDT 2010


Hello,

About 9 month ago we discuss about changing in the custome stylesheet straight apostrophe with curly one.

Ken Holman gave us a solution which worked:

<xsl:param name="singlequote">
		<xsl:text>'</xsl:text>
	</xsl:param>
	<xsl:param name="curlyquote">
		<xsl:text>’</xsl:text>
	</xsl:param>

	<xsl:template match="d:para//text() | d:title//text()">
		<xsl:value-of select="translate(.,$singlequote,$curlyquote)"/>
	</xsl:template>

But today I've just saw that it does not work any more.

In fact it still working for figure title :

				<figure xml:id="AFP_SP_Permissions">
					<title>Partage de fichiers — Positionnement des droits d'accès</title>
					<mediaobject>
						<imageobject conformance="fo-xep">
							<imagedata fileref="images/AFP/AFP_SP_Permissions.tiff" align="center" format="" scalefit="1" width="75%"/>
						</imageobject>
						<imageobject conformance="iphone">
							<imagedata fileref="images/AFP/AFP_SP_Permissions.png" align="center" format="PNG" scalefit="1" width="75%"/>
						</imageobject>
					</mediaobject>
				</figure>

But no more in para...


Is there something changed between XEP version 9 month ago(4.17 I think)  and 4.18 version ?

Thanks in advance for your help,
Jacques 

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list