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

Johannes Graumann johannes_graumann at web.de
Tue Mar 28 00:41:11 CEST 2006


Aaarghh ... attachments here ... 

Johannes Graumann wrote:

> Hans Hagen wrote:
>> \defineXMLenvironment
>>     [chapter]
>>     {\defineXMLargument[title]{\chapter}
>>      \defineXMLprocess[content]}
>>     {}
>> 
>> \defineXMLargument
>>     [tableofcontents]
>>     {\completecontent}
>> 
>>     <chapter>
>>         <title>
>>                 Title
>>         </title>
>> <content>
>>         <p>Text.</p>
>> </content>
>>     </chapter>
> Hans, thank you so much for your patience with this ambitious newbie ...
> who still can't get this to work. With your help (see above) the chapter
> is now showing up as intended - but still missing from the table of
> contents (which I already had defined as you propose).
> 
> I attach my xml and the ConTeXt file embedding it, as well as the pdf
> output and would greatly appreciate if you (or some other kind soul) could
> enlighten me as to what I am doing wrong.
> 
> Thanks for all the help!
> 
> Deadlined, Joh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConTeXML.zip
Type: application/x-zip
Size: 23284 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20060327/f5075fc2/attachment-0001.bin 


More information about the ntg-context mailing list