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">❽</xsl:when> <xsl:when test="$conum = 9">❾</xsl:when> <xsl:when test="$conum = 10">❿</xsl:when> + <xsl:when test="$conum = 11">⓫</xsl:when> + <xsl:when test="$conum = 12">⓬</xsl:when> + <xsl:when test="$conum = 13">⓭</xsl:when> + <xsl:when test="$conum = 14">⓮</xsl:when> + <xsl:when test="$conum = 15">⓯</xsl:when> + <xsl:when test="$conum = 16">⓰</xsl:when> + <xsl:when test="$conum = 17">⓱</xsl:when> + <xsl:when test="$conum = 18">⓲</xsl:when> + <xsl:when test="$conum = 19">⓳</xsl:when> + <xsl:when test="$conum = 20">⓴</xsl:when> + </xsl:choose> + </xsl:when> + <xsl:when test="$callout.unicode.start.character = 9312"> + <xsl:choose> + <xsl:when test="$conum = 1">①</xsl:when> + <xsl:when test="$conum = 2">②</xsl:when> + <xsl:when test="$conum = 3">③</xsl:when> + <xsl:when test="$conum = 4">④</xsl:when> + <xsl:when test="$conum = 5">⑤</xsl:when> + <xsl:when test="$conum = 6">⑥</xsl:when> + <xsl:when test="$conum = 7">⑦</xsl:when> + <xsl:when test="$conum = 8">⑧</xsl:when> + <xsl:when test="$conum = 9">⑨</xsl:when> + <xsl:when test="$conum = 10">⑩</xsl:when> + <xsl:when test="$conum = 11">⑪</xsl:when> + <xsl:when test="$conum = 12">⑫</xsl:when> + <xsl:when test="$conum = 13">⑬</xsl:when> + <xsl:when test="$conum = 14">⑭</xsl:when> + <xsl:when test="$conum = 15">⑮</xsl:when> + <xsl:when test="$conum = 16">⑯</xsl:when> + <xsl:when test="$conum = 17">⑰</xsl:when> + <xsl:when test="$conum = 18">⑱</xsl:when> + <xsl:when test="$conum = 19">⑲</xsl:when> + <xsl:when test="$conum = 20">⑳</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