[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Questions concerning autolabeling
Jirka, Thanks for the info! Preliminary tests for Cyrillic labeling (made by myself): - xalan-J 2.7.1 - FAILED (stand-alone and as part of FOP 1.1 distro). - saxon 6.5 - OK (plus source doc: http://saxon.sourceforge.net/saxon6.5.2/xsl-elements.html#xsl:number) Other tests are on the way. -- Best regards, Eduard Tibet -----Original Message----- From: Jirka Kosek [mailto:jirka@kosek.cz] Sent: Friday, November 30, 2012 6:23 PM To: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Questions concerning autolabeling On 30.11.2012 11:50, Eduard Tibet wrote: > 1. Is there any way to setup new autolabel format? In the table "Table > 7.1. Number formats for autolabel parameters" [1] there are only 6 > available formats. But I want to add Cyrillic characters as another > format. The point is that I can't find out from which template the > whole sequence is formed? Stylesheets use xsl:number instruction for generating labels in this. So if you want to get different numbering style then provided by XSLT then you will have to rewrite this code to use different approach. You can try to use А instead of A, for example in <xsl:param name="chapter.autolabel" select="'А'"/> to use Cyrillic letters. But I'm not sure which XSLT procesors (if any) supports this. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]