Forum How do I...?

Two footnote callers in text

jim_albright
When I have two footnotes in a row the callers run together.

1920

Is there some simple way of adding a comma?

19, 20


Is there something in CSS? or should I add the comma to the XHTML and make sure it is styled to be raised like footnote caller?

Jim Albright
Wycliffe Bible Translators

mikeday
It is necessary to add the superscript comma to the XHTML.
jim_albright
Long live XSLT and Saxon. Solution is possible. :D

Jim Albright
Wycliffe Bible Translators

jim_albright
Have it working by

  
<xsl:choose>
     <xsl:when test="following::*[1]=following::note">
          <sup>, </sup>
     </xsl:when>
</xsl:choose>
      

Jim Albright
Wycliffe Bible Translators

mikeday
A choose with only one when can be replaced by an if. However, does that test expression detect if there is text separating the two notes? Or only another element separating them?
jim_albright
I usually use choose, when, when, otherwise ... I left out the otherwise here as it would just be <!-- skip -->

No this does not handle two notes separated by text in a paragraph.

Jim Albright
Wycliffe Bible Translators