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 care of document specific ConTeXt stuff (formating) and one for the XML itself? Would make the 'mappings' file more portable ...
\defineXMLargument [tableofcontents] {\completecontent[criterium=text]} \defineXMLargument [listoffigures] {\completelistoffigures[criterium=text]} \defineXMLargument [listoftables] {\completelistoftables[criterium=text]}
(by default tocs are local (i.e. if you ask for one in a chapter, you get one with sections) Thank you very much for this - I have entries in my TOC now. However, the page numbers for my sections show up in the margins ... is this a bug? How would I fix that?
btw, if you use newtexexec, you can make a
xml.ctx file that says:
<?xml version='1.0' standalone='yes'?>
ctx:job ctx:messagewhatever you like ctx:preprocess/ ctx:process ctx:resources ctx:environmentxml.ctex ctx:postprocess/
and directly run:
newtexexec xml.xml This sounds really great ... but Debian unstable doesn't contain this file yet - 'texexec --version' gets me: TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2006.3.24 mes: english total run time : 1 seconds I'm hesitant to leave debian for this at this point - need all the time a can get for this document - will the 'newtexexec' script just work with any ole' ConTeXt install? Joh