From bbbe9a117224117fa5ab8ea906830bbc40c6f133 Mon Sep 17 00:00:00 2001
From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 6 Apr 2011 15:56:33 +0000
Subject: [PATCH] Added support for alternative circled numbers

---
 xsl/fo/callout.xsl                            | 34 +++++++++++++++++++
 .../callout.unicode.start.character.xml       |  2 +-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/xsl/fo/callout.xsl b/xsl/fo/callout.xsl
index e3d70b47d..85ec40fa2 100644
--- a/xsl/fo/callout.xsl
+++ b/xsl/fo/callout.xsl
@@ -174,6 +174,40 @@
               <xsl:when test="$conum = 8">&#10109;</xsl:when>
               <xsl:when test="$conum = 9">&#10110;</xsl:when>
               <xsl:when test="$conum = 10">&#10111;</xsl:when>
+              <xsl:when test="$conum = 11">&#9451;</xsl:when>
+              <xsl:when test="$conum = 12">&#9452;</xsl:when>
+              <xsl:when test="$conum = 13">&#9453;</xsl:when>
+              <xsl:when test="$conum = 14">&#9454;</xsl:when>
+              <xsl:when test="$conum = 15">&#9455;</xsl:when>
+              <xsl:when test="$conum = 16">&#9456;</xsl:when>
+              <xsl:when test="$conum = 17">&#9457;</xsl:when>
+              <xsl:when test="$conum = 18">&#9458;</xsl:when>
+              <xsl:when test="$conum = 19">&#9459;</xsl:when>
+              <xsl:when test="$conum = 20">&#9460;</xsl:when>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:when test="$callout.unicode.start.character = 9312">
+            <xsl:choose>
+              <xsl:when test="$conum = 1">&#9312;</xsl:when>
+              <xsl:when test="$conum = 2">&#9313;</xsl:when>
+              <xsl:when test="$conum = 3">&#9314;</xsl:when>
+              <xsl:when test="$conum = 4">&#9315;</xsl:when>
+              <xsl:when test="$conum = 5">&#9316;</xsl:when>
+              <xsl:when test="$conum = 6">&#9317;</xsl:when>
+              <xsl:when test="$conum = 7">&#9318;</xsl:when>
+              <xsl:when test="$conum = 8">&#9319;</xsl:when>
+              <xsl:when test="$conum = 9">&#9320;</xsl:when>
+              <xsl:when test="$conum = 10">&#9321;</xsl:when>
+              <xsl:when test="$conum = 11">&#9322;</xsl:when>
+              <xsl:when test="$conum = 12">&#9323;</xsl:when>
+              <xsl:when test="$conum = 13">&#9324;</xsl:when>
+              <xsl:when test="$conum = 14">&#9325;</xsl:when>
+              <xsl:when test="$conum = 15">&#9326;</xsl:when>
+              <xsl:when test="$conum = 16">&#9327;</xsl:when>
+              <xsl:when test="$conum = 17">&#9328;</xsl:when>
+              <xsl:when test="$conum = 18">&#9329;</xsl:when>
+              <xsl:when test="$conum = 19">&#9330;</xsl:when>
+              <xsl:when test="$conum = 20">&#9331;</xsl:when>
             </xsl:choose>
           </xsl:when>
           <xsl:otherwise>
diff --git a/xsl/params/callout.unicode.start.character.xml b/xsl/params/callout.unicode.start.character.xml
index 90a1acdf4..2f0312451 100644
--- a/xsl/params/callout.unicode.start.character.xml
+++ b/xsl/params/callout.unicode.start.character.xml
@@ -26,7 +26,7 @@ is non-zero, unicode characters are used to represent
 callout numbers. The value of
 <parameter>callout.unicode.start.character</parameter>
 is the decimal unicode value used for callout number one. Currently, 
-only 10102 is supported in the stylesheets for this parameter. 
+only values 9312 and 10102 are supported in the stylesheets for this parameter. 
 </para>
 
 </refsection>
-- 
2.40.0