Hello Everyone,
Arabic support has worked great out of the box with DITA-OT but I'm having a bit of difficulty with numbering.
Compounded by own lack of understanding when it comes to Arabic I'm slowly figuring things out.
Specifically, my understanding is that
Eastern Arabic Numerals should be used for chapter, page, list numbering. (Sub-lists are also displaying English letters: a,b,c,d,etc.)
xsl:number has a format attribute (0x0623) that looks like it will work:
As a test, I overrode this template:
<xsl:template match="*[contains(@class, ' topic/ol ')]/*[contains(@class, ' topic/li ')]">
and forced the format for the top level and sub-level lists:
<xsl:when test="parent::*[contains(@class, ' topic/ol ')]/parent::*[contains(@class, ' topic/li ')]/parent::*[contains(@class, ' topic/ol ')]">
<xsl:number format="أ" />
</xsl:when>
<xsl:otherwise>
<xsl:number format="أ"/>
</xsl:otherwise>
I get different glyphs but they don't seem to match what Wikipedia suggests.
I tried installing a font I found called Nazanin-s which has the numbers:
How do I determine the correct font-family name? Nazanin-s seems to fail.
Thanks everyone!
Matt