Re: [NTG-context] XML and 'Table of Contents'

2006-04-11 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: I was wondering whether there is a possibility to use '(new)texexec' with THREE input files: one describing the XML/ConTeXt mappings, one taking care of document specific ConTeXt stuff (formating) and one for the XML itself? Would make the

Re: [NTG-context] XML and 'Table of Contents'

2006-04-11 Thread Johannes Graumann
Hans Hagen wrote: is this working ok in the latest release? Yes Sir - was my stupidity to begin with ... had indenting set to '[medium]'. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] XML and 'Table of Contents'

2006-03-29 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: First: Thank you for your continued help! Works now, but there seems to be a bug ... see below. texexec --env=xml.ctex --pdf xml.xml I was wondering whether there is a possibility to use '(new)texexec' with THREE input files: one

Re: [NTG-context] XML and 'Table of Contents'

2006-03-29 Thread Johannes Graumann
Hans Hagen wrote: I was wondering whether there is a possibility to use '(new)texexec' with THREE input files: one describing the XML/ConTeXt mappings, one taking care of document specific ConTeXt stuff (formating) and one for the XML itself? Would make the 'mappings' file more portable ...

Re: [NTG-context] XML and 'Table of Contents'

2006-03-28 Thread Hans Hagen
Johannes Graumann wrote: Aaarghh ... attachments here ... texexec --env=xml.ctex --pdf xml.xml with \defineXMLargument [tableofcontents] {\completecontent[criterium=text]} \defineXMLargument [listoffigures] {\completelistoffigures[criterium=text]} \defineXMLargument [listoftables]

Re: [NTG-context] XML and 'Table of Contents'

2006-03-28 Thread Johannes Graumann
Hans Hagen wrote: First: Thank you for your continued help! Works now, but there seems to be a bug ... see below. texexec --env=xml.ctex --pdf xml.xml I was wondering whether there is a possibility to use '(new)texexec' with THREE input files: one describing the XML/ConTeXt mappings, one taking

Re: [NTG-context] XML and 'Table of Contents'

2006-03-27 Thread Taco Hoekwater
Johannes Graumann wrote: Hello, I'm writing a XML style sheet for ConTeXt, which contains the following definitions: \defineXMLargument [chapter] {\chapter{\XMLvar{chapter}{title}{}}} I don't remember the correct syntax off-hand, but this would match: chapter title=Title

Re: [NTG-context] XML and 'Table of Contents'

2006-03-27 Thread Hans Hagen
Johannes Graumann wrote: Hello, I'm writing a XML style sheet for ConTeXt, which contains the following definitions: \defineXMLargument [chapter] {\chapter{\XMLvar{chapter}{title}{}}} \defineXMLargument [tableofcontents] {\completecontent} When reading a file like document

Re: [NTG-context] XML and 'Table of Contents'

2006-03-27 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLenvironment [chapter] {\defineXMLargument[title]{\chapter} \defineXMLprocess[content]} {} \defineXMLargument [tableofcontents] {\completecontent} chapter title Title /title content

[NTG-context] XML and 'Table of Contents'

2006-03-24 Thread Johannes Graumann
Hello, I'm writing a XML style sheet for ConTeXt, which contains the following definitions: \defineXMLargument [chapter] {\chapter{\XMLvar{chapter}{title}{}}} \defineXMLargument [tableofcontents] {\completecontent} When reading a file like document frontmatter titlepage