Import from v. 2.0.2 downloaded from http://getfo.org/texml/
[texml.git] / tests / data / v109.xml
1 <TeXML>
2 <!-- no more these restrictions -->
3
4 <!--
5 With an environment with options and parameters and text, I would
6 normally format Latex something like this:
7         \begin{foo}[options]{parameters}
8         text...
9         \end{foo}
10 You have given me a mechanism to remove the nl you put in after
11 \begin{foo}, but not to introduce a new one after the {parameters}.
12 -->
13 <env name="foo">
14         <opt>options</opt>
15         <parm>parameters</parm>
16         text...
17 </env>
18 <spec cat="nl"/>
19 <spec cat="nl"/>
20
21 <!--
22 I would tend to leave a blank line between major blocks.  Only
23 possible now if there are commands both at the end of the first and at
24 the beginning of the second.
25 -->
26 <TeXML>x</TeXML><spec cat="nl"/><spec cat="nl"/><TeXML>x</TeXML>
27 <spec cat="nl"/>
28 <spec cat="nl"/>
29 <spec cat="nl"/>
30
31 <!--
32 suppress the {}, different syntax
33 \setlength{\parindent}{0pt}
34 \parindent=0pt
35 -->
36 <cmd name="setlength" nl2="1">
37         <parm><cmd name="parindent" gr="0"/></parm>
38         <parm>0pt</parm>
39 </cmd>
40 <cmd name="parindent" gr="0"/>=0pt
41 <spec cat="nl"/>
42 <spec cat="nl"/>
43 <spec cat="nl"/>
44
45 <!--
46 dtd forbids:
47 * an env inside a parm
48 * groups within cmds (== parm)
49 -->
50 <cmd name="foo">
51         <parm>
52                 <env name="bar"/>
53         </parm>
54 </cmd>
55
56 </TeXML>