Difference between revisions of "Ctx"
Jump to navigation
Jump to search
(combine) |
m (Reverted edits by 218.8.119.39 (Talk); changed back to last version by 193.2.5.16) |
||
Line 2: | Line 2: | ||
* [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]] | * [[manual:xmanipulate.pdf|Preprocessing source files, Manipulating graphics]] | ||
− | + | = Processing XML files = | |
− | + | ||
− | < | + | 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: |
− | + | ||
− | + | <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 | ||
+ | newtexexec xml.xml | ||
+ | |||
+ | [[Category:XML]] |
Revision as of 20:26, 18 December 2006
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
newtexexec xml.xml