Difference between revisions of "Ctx"
Jump to navigation
Jump to search
(levitra) |
m (reverted to the last version by User:Mojca Miklavec) |
||
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 | ||
+ | texexec xml.xml | ||
+ | |||
+ | [[Category:XML]] |
Revision as of 03:08, 3 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