Difference between revisions of "Ctx"

From Wiki
Jump to navigation Jump to search
m (reverted to the last version by User:Patrick_Gundlach)
m (Changed newtexexec to texexec)
Line 22: Line 22:
  
 
and directly run
 
and directly run
  newtexexec xml.xml
+
  texexec xml.xml
  
 
[[Category:XML]]
 
[[Category:XML]]

Revision as of 05:49, 16 January 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