On 12/01/11 23:07, kp wrote:
Hi all, I have a question: how to define xref style? More deeply: i use asciidoc+dblatex to generate pdf. So when pdf done, ihave there refs like: " in Chapter 1 bla bla bla" but document generated in russian, and so i have "в Глава 1" (dont mind what here written). So what exactly wrong with it: 1. in russian words dont start with capital letter in the middle of sentence 2. in the cases like that word must change his form, so i need not exactly "Chapter", but something like "chaptering" or "chapty". I mean _ending of the word_ changed. So i need to redefine the way reference generated, but dont lose automatic number inserting, like: "this was in chapty 2". This can be done in two ways, reference will insert only number: "this was in chapty _2_" (here string in _ _ is mean to be autogenerated); or: "this was in _chapty 2_" . The first approach is preferred.
This would need to be done further down the DocBook tookchain, by customizing DocBook XSL Stylesheets, this is a good place to start:
http://www.sagehill.net/docbookxsl/ Cheers, Stuart
I will be glad of any help. Thanks.
-- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
