Difference between revisions of "Ctx"

From Wiki
Jump to navigation Jump to search
(levitra)
m (Reverted edits by 164.58.221.239 (Talk); changed back to last version by Adityam)
(18 intermediate revisions by 13 users not shown)
Line 2: Line 2:
 
* [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]]
 
* [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]]
  
It can be attractive !
+
= Processing XML files =
photo  <a href=http://levitra.oaxk.info/>levitra</a> doc
+
 
   
+
To process an <code>xml.xml</code> file with style definitions in <code>xml.ctex</code> you can make a <code>xml.ctx</code> file that says:
Goodbye
+
 
 +
<xmlcode>
 +
<?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>
 +
</xmlcode>
 +
 
 +
and directly run
 +
  texexec xml.xml
 +
 
 +
[[Category:XML]]

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