Changes

Jump to navigation Jump to search
m
Text replacement - "</cmd>" to "}}"
Being text-based, ConTeXt does not always lend itself well to a direct
conversion from an XML tree. If an innoncent innocent blank line from an
XML document finds its way into a ConTeXt document, we end up
with an extra paragraph division. One way around this problem is
while having the comfort of still working with an XML tree. If
you use TeXML to convert, you really won't have to learn a new
XML langugelanguage, since TeXML consists of very few elements. Instead,
you will still think in terms of ConTeXt.
<opt>width=2cm, height=1cm</opt>
<parm>that's it</parm>
}}
</TeXML>
</env>
one in TeXML.
[[simple_page.tex]]
<code>Simple_page.tex</code> <texcode>\enableregime[utf]\setuppagenumbering[simple_pagestate=stop] \starttextWie schön!\stoptext</texcode> and <code>Simple_page.texml]]</code> <pre><?xml version="1.0"?><TeXML><!--Attributes nl1 and nl2 can be used to force a new line before (nl1) or after (nl2) TeX command.--> <cmd name="setuppagenumbering"> <opt>state=stop, way=bytext</opt> }} <cmd name="enableregime" nl1="1"> <opt>utf</opt> }} <env name="text"> Wie schön! </env></TeXML></pre>
=To Do=
* Include more documentation about TeXML.
 
[[Category:XML]]

Navigation menu