Difference between revisions of "Ctx"

From Wiki
Jump to navigation Jump to search
m (Changed newtexexec to texexec)
m (Reverted edits by 164.58.221.239 (Talk); changed back to last version by Adityam)
(23 intermediate revisions by 17 users not shown)
(No difference)

Revision as of 03:50, 27 February 2007

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