Ctx

From Wiki
Revision as of 13:18, 25 February 2007 by Patrick Gundlach (talk | contribs) (Reverted edits by 218.233.57.232 (Talk); changed back to last version by Patrick Gundlach)
Jump to navigation Jump to search

See:

Processing XML files

To process an xml.xml file with style definitions in xml.ctex you can make a xml.ctx file that says:

<?xml version='1.0' standalone='yes'?>

<ctx:job>
   <ctx:message>whatever you like</ctx:message>
   <ctx:preprocess/>
   <ctx:process>
       <ctx:resources>
           <ctx:environment>xml.ctex</ctx:environment>
       </ctx:resources>
   </ctx:process>
   <ctx:postprocess/>
</ctx:job>

and directly run

texexec xml.xml