Re: [NTG-context] xml cross-references in lua?

2012-09-12 Thread Thomas A. Schmitz
On 09/11/2012 08:18 PM, Hans Hagen wrote: If the number of bib items is not that large hashing does not save much. (In x-xfdf.mkiv you can see another example). \starttext \startbuffer[demo] document bibitem xml:id=hagen2011 authorHans Hagen/author titleThe Meaning of Life Is 42/title

[NTG-context] xml cross-references in lua?

2012-09-11 Thread Thomas A. Schmitz
Hi all, I have a question about xml processing and I think that what I want/need can best be achieved by using lua code, but so far, I'm not really sure how to proceed, so any help from one of the resident lua gurus would be welcome. So: the question. xml allows to provide elements with

Re: [NTG-context] xml cross-references in lua?

2012-09-11 Thread Hans Hagen
On 11-9-2012 19:22, Thomas A. Schmitz wrote: Hi all, I have a question about xml processing and I think that what I want/need can best be achieved by using lua code, but so far, I'm not really sure how to proceed, so any help from one of the resident lua gurus would be welcome. So: the

Re: [NTG-context] XML and references

2006-04-03 Thread Taco Hoekwater
Johannes Graumann wrote: Hello all, I'm trying to interpret something like section label=intro:mixtureprob titleThe problem of the complex protein mixture/title content ref name=intro:mixtureprob/ /content /section 1. you never match the section label to the \section head,

Re: [NTG-context] XML and references

2006-04-03 Thread Hans Hagen
Johannes Graumann wrote: Hello all, I'm trying to interpret something like section label=intro:mixtureprob titleThe problem of the complex protein mixture/title content ref name=intro:mixtureprob/ /content /section With the follwing mapping rules and am failing:

Re: [NTG-context] XML and references

2006-04-03 Thread Johannes Graumann
Hans, When this is done, I will have to make a trip to Zwolle and buy you a beer! Thank you once again! Joh Hans Hagen wrote: Johannes Graumann wrote: Hello all, I'm trying to interpret something like section label=intro:mixtureprob titleThe problem of the complex protein mixture/title

[NTG-context] XML and references

2006-04-02 Thread Johannes Graumann
Hello all, I'm trying to interpret something like section label=intro:mixtureprob titleThe problem of the complex protein mixture/title content ref name=intro:mixtureprob/ /content /section With the follwing mapping rules and am failing: \defineXMLenvironment [section] {