Difference between revisions of "Ctx"

From Wiki
Jump to navigation Jump to search
m (Reverted edits by 218.235.52.150 (Talk); changed back to last version by Thomas)
Line 2: Line 2:
 
* [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]]
 
* [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]]
  
http://crosswords.obsq.info/ crosswords doc  <a href="http://crosswords.obsq.info/">crosswords</a> video  [URL=http://crosswords.obsq.info/]crosswords[/URL] doc
+
= Processing XML files =
[URL=http://dancing.obsq.info/]dancing[/URL] doc  http://dancing.obsq.info/ dancing online  <a href="http://dancing.obsq.info/">dancing</a> read
+
 
<a href="http://custer.obsq.info/">custer</a> news  http://custer.obsq.info/ custer photo  [URL=http://custer.obsq.info/]custer[/URL] video
+
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:
<a href="http://customizable.obsq.info/">customizable</a> read  http://customizable.obsq.info/ customizable doc  [URL=http://customizable.obsq.info/]customizable[/URL] read
+
 
http://cubs.obsq.info/ cubs online  [URL=http://cubs.obsq.info/]cubs[/URL] online  <a href="http://cubs.obsq.info/">cubs</a> read
+
<xmlcode>
[URL=http://currington.obsq.info/]currington[/URL] news  <a href="http://currington.obsq.info/">currington</a> video  http://currington.obsq.info/ currington video
+
<?xml version='1.0' standalone='yes'?>
http://current.obsq.info/ current video  <a href="http://current.obsq.info/">current</a> video  [URL=http://current.obsq.info/]current[/URL] read
+
 
<a href="http://crosse.obsq.info/">crosse</a> photo  http://crosse.obsq.info/ crosse doc  [URL=http://crosse.obsq.info/]crosse[/URL] online
+
<ctx:job>
<a href="http://cruces.obsq.info/">cruces</a> news  [URL=http://cruces.obsq.info/]cruces[/URL] read  http://cruces.obsq.info/ cruces read
+
  <ctx:message>whatever you like</ctx:message>
<a href="http://dark.obsq.info/">dark</a> photo [URL=http://dark.obsq.info/]dark[/URL] read  http://dark.obsq.info/ dark read
+
  <ctx:preprocess/>
[URL=http://crm.obsq.info/]crm[/URL] read  <a href="http://crm.obsq.info/">crm</a> video  http://crm.obsq.info/ crm read
+
  <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 17:20, 26 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