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

From: Jacques Foucry <jacques@foucry.net>
Date: Sun Sep 26 2010 - 14:47:05 PDT

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@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
Received on Sun Sep 26 15:16:09 2010

This archive was generated by hypermail 2.1.8 : Sun Sep 26 2010 - 15:16:17 PDT