File: article.xml

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (470 lines) | stat: -rw-r--r-- 18,843 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML" class="ltx_authors_1line">
  <resource src="LaTeXML.css" type="text/css"/>
  <resource src="ltx-article.css" type="text/css"/>
  <title>A Test Article</title>
  <creator role="author">
    <personname>John Q. Author</personname>
  </creator>
  <creator before="  " role="author">
    <personname>Someone Else</personname>
  </creator>
  <date role="creation">December 31, 1999</date>
  <abstract name="Abstract">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </abstract>
  <section inlist="toc" xml:id="S1">
    <tags>
      <tag>1</tag>
      <tag role="refnum">1</tag>
      <tag role="typerefnum">§1</tag>
    </tags>
    <title><tag close=" ">1</tag>First Section</title>
    <para xml:id="S1.p1">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
      <equation xml:id="S1.E1">
        <tags>
          <tag>(1)</tag>
          <tag role="refnum">1</tag>
        </tags>
        <Math mode="display" tex="a+b," text="a + b" xml:id="S1.E1.m1">
          <XMath>
            <XMDual>
              <XMRef idref="S1.E1.m1.1"/>
              <XMWrap>
                <XMApp xml:id="S1.E1.m1.1">
                  <XMTok meaning="plus" role="ADDOP">+</XMTok>
                  <XMTok font="italic" role="UNKNOWN">a</XMTok>
                  <XMTok font="italic" role="UNKNOWN">b</XMTok>
                </XMApp>
                <XMTok role="PUNCT">,</XMTok>
              </XMWrap>
            </XMDual>
          </XMath>
        </Math>
      </equation>
    </para>
    <para xml:id="S1.p2">
      <equation xml:id="S1.E2">
        <tags>
          <tag>(2)</tag>
          <tag role="refnum">2</tag>
        </tags>
        <Math mode="display" tex="c+d," text="c + d" xml:id="S1.E2.m1">
          <XMath>
            <XMDual>
              <XMRef idref="S1.E2.m1.1"/>
              <XMWrap>
                <XMApp xml:id="S1.E2.m1.1">
                  <XMTok meaning="plus" role="ADDOP">+</XMTok>
                  <XMTok font="italic" role="UNKNOWN">c</XMTok>
                  <XMTok font="italic" role="UNKNOWN">d</XMTok>
                </XMApp>
                <XMTok role="PUNCT">,</XMTok>
              </XMWrap>
            </XMDual>
          </XMath>
        </Math>
      </equation>
    </para>
    <figure inlist="lof" xml:id="S1.F1">
      <tags>
        <tag>Figure 1</tag>
        <tag role="refnum">1</tag>
        <tag role="typerefnum">Figure 1</tag>
      </tags>
      <p align="center">A Figure<break/></p>
      <toccaption><tag close=" ">1</tag>A Figure</toccaption>
      <caption><tag close=": ">Figure 1</tag>A Figure</caption>
    </figure>
    <table inlist="lot" xml:id="S1.T1">
      <tags>
        <tag>Table 1</tag>
        <tag role="refnum">1</tag>
        <tag role="typerefnum">Table 1</tag>
      </tags>
      <toccaption class="ltx_centering"><tag close=" ">1</tag>A Table</toccaption>
      <caption class="ltx_centering"><tag close=": ">Table 1</tag>A Table</caption>
      <tabular class="ltx_centering ltx_guessed_headers" vattach="middle">
        <thead>
          <tr>
            <td align="right" border="r" thead="column row">Heading</td>
            <td align="center" thead="column">Foo</td>
            <td align="center" thead="column">Bar</td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="right" border="r t" thead="row">a</td>
            <td align="center" border="t"><Math mode="inline" tex="x" text="x" xml:id="S1.T1.m1">
                <XMath>
                  <XMTok font="italic" role="UNKNOWN">x</XMTok>
                </XMath>
              </Math></td>
            <td align="center" border="t"><Math mode="inline" tex="x^{2}" text="x ^ 2" xml:id="S1.T1.m2">
                <XMath>
                  <XMApp>
                    <XMTok role="SUPERSCRIPTOP" scriptpos="post1"/>
                    <XMTok font="italic" role="UNKNOWN">x</XMTok>
                    <XMTok fontsize="70%" meaning="2" role="NUMBER">2</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
          </tr>
          <tr>
            <td align="right" border="r" thead="row">b</td>
            <td align="center"><Math mode="inline" tex="y^{2}" text="y ^ 2" xml:id="S1.T1.m3">
                <XMath>
                  <XMApp>
                    <XMTok role="SUPERSCRIPTOP" scriptpos="post1"/>
                    <XMTok font="italic" role="UNKNOWN">y</XMTok>
                    <XMTok fontsize="70%" meaning="2" role="NUMBER">2</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
            <td align="center"><Math mode="inline" tex="y" text="y" xml:id="S1.T1.m4">
                <XMath>
                  <XMTok font="italic" role="UNKNOWN">y</XMTok>
                </XMath>
              </Math></td>
          </tr>
        </tbody>
      </tabular>
      <break class="ltx_centering"/>
    </table>
    <para xml:id="S1.p3">
      <itemize xml:id="S1.I1">
        <item xml:id="S1.I1.i1">
          <tags>
            <tag>•</tag>
            <tag role="typerefnum">1st item</tag>
          </tags>
          <para xml:id="S1.I1.i1.p1">
            <p>one</p>
          </para>
        </item>
        <item xml:id="S1.I1.i2">
          <tags>
            <tag>•</tag>
            <tag role="typerefnum">2nd item</tag>
          </tags>
          <para xml:id="S1.I1.i2.p1">
            <p>two</p>
            <itemize xml:id="S1.I1.i2.I1">
              <item xml:id="S1.I1.i2.I1.i1">
                <tags>
                  <tag><text font="bold">–</text></tag>
                  <tag role="typerefnum">1st item</tag>
                </tags>
                <para xml:id="S1.I1.i2.I1.i1.p1">
                  <p>one</p>
                </para>
              </item>
              <item xml:id="S1.I1.i2.I1.i2">
                <tags>
                  <tag><text font="bold">–</text></tag>
                  <tag role="typerefnum">2nd item</tag>
                </tags>
                <para xml:id="S1.I1.i2.I1.i2.p1">
                  <p>two</p>
                </para>
              </item>
            </itemize>
          </para>
        </item>
      </itemize>
    </para>
    <para xml:id="S1.p4">
      <enumerate xml:id="S1.I2">
        <item xml:id="S1.I2.i1">
          <tags>
            <tag>1.</tag>
            <tag role="refnum">1</tag>
            <tag role="typerefnum">item 1</tag>
          </tags>
          <para xml:id="S1.I2.i1.p1">
            <p>one</p>
          </para>
        </item>
        <item xml:id="S1.I2.i2">
          <tags>
            <tag>2.</tag>
            <tag role="refnum">2</tag>
            <tag role="typerefnum">item 2</tag>
          </tags>
          <para xml:id="S1.I2.i2.p1">
            <p>two</p>
            <enumerate xml:id="S1.I2.i2.I2">
              <item xml:id="S1.I2.i2.I2.i1">
                <tags>
                  <tag>(a)</tag>
                  <tag role="refnum">2a</tag>
                  <tag role="typerefnum">item 2a</tag>
                </tags>
                <para xml:id="S1.I2.i2.I2.i1.p1">
                  <p>one</p>
                </para>
              </item>
              <item xml:id="S1.I2.i2.I2.i2">
                <tags>
                  <tag>(b)</tag>
                  <tag role="refnum">2b</tag>
                  <tag role="typerefnum">item 2b</tag>
                </tags>
                <para xml:id="S1.I2.i2.I2.i2.p1">
                  <p>two</p>
                </para>
              </item>
            </enumerate>
          </para>
        </item>
      </enumerate>
    </para>
    <para xml:id="S1.p5">
      <description xml:id="S1.I3">
        <item xml:id="S1.I3.ix1">
          <tags>
            <tag><text font="bold">A thing</text></tag>
            <tag role="typerefnum">item A thing</tag>
          </tags>
          <para xml:id="S1.I3.ix1.p1">
            <p>with some descriptive text.</p>
          </para>
        </item>
        <item xml:id="S1.I3.ix2">
          <tags>
            <tag><text font="bold">Another</text></tag>
            <tag role="typerefnum">item Another</tag>
          </tags>
          <para xml:id="S1.I3.ix2.p1">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
          </para>
        </item>
        <item xml:id="S1.I3.ix3">
          <tags>
            <tag><text font="bold">And yet</text></tag>
            <tag role="typerefnum">item And yet</tag>
          </tags>
          <para xml:id="S1.I3.ix3.p1">
            <p>blah, blah. Moreover
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
          </para>
        </item>
      </description>
    </para>
    <subsection inlist="toc" xml:id="S1.SS1">
      <tags>
        <tag>1.1</tag>
        <tag role="refnum">1.1</tag>
        <tag role="typerefnum">§1.1</tag>
      </tags>
      <title><tag close=" ">1.1</tag>A Subsection</title>
      <para xml:id="S1.SS1.p1">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
      </para>
      <para xml:id="S1.SS1.p2">
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
      </para>
      <subsubsection inlist="toc" xml:id="S1.SS1.SSS1">
        <tags>
          <tag>1.1.1</tag>
          <tag role="refnum">1.1.1</tag>
          <tag role="typerefnum">§1.1.1</tag>
        </tags>
        <title><tag close=" ">1.1.1</tag>A Subsubsection</title>
        <para xml:id="S1.SS1.SSS1.p1">
          <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
        </para>
        <para xml:id="S1.SS1.SSS1.p2">
          <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
        </para>
        <paragraph inlist="toc" xml:id="S1.SS1.SSS1.Px1">
          <title>A Paragraph</title>
          <para xml:id="S1.SS1.SSS1.Px1.p1">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
          </para>
          <para xml:id="S1.SS1.SSS1.Px1.p2">
            <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
          </para>
          <subparagraph inlist="toc" xml:id="S1.SS1.SSS1.Px1.SPx1">
            <title>A Subparagraph</title>
            <para xml:id="S1.SS1.SSS1.Px1.SPx1.p1">
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </para>
            <para xml:id="S1.SS1.SSS1.Px1.SPx1.p2">
              <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
            </para>
          </subparagraph>
        </paragraph>
      </subsubsection>
    </subsection>
  </section>
  <section inlist="toc" xml:id="S2">
    <tags>
      <tag>2</tag>
      <tag role="refnum">2</tag>
      <tag role="typerefnum">§2</tag>
    </tags>
    <title><tag close=" ">2</tag>Second Section</title>
    <para xml:id="S2.p1">
      <p>Begin first paragraph,</p>
      <equation xml:id="S2.E3">
        <tags>
          <tag>(3)</tag>
          <tag role="refnum">3</tag>
        </tags>
        <Math mode="display" tex="a+b," text="a + b" xml:id="S2.E3.m1">
          <XMath>
            <XMDual>
              <XMRef idref="S2.E3.m1.1"/>
              <XMWrap>
                <XMApp xml:id="S2.E3.m1.1">
                  <XMTok meaning="plus" role="ADDOP">+</XMTok>
                  <XMTok font="italic" role="UNKNOWN">a</XMTok>
                  <XMTok font="italic" role="UNKNOWN">b</XMTok>
                </XMApp>
                <XMTok role="PUNCT">,</XMTok>
              </XMWrap>
            </XMDual>
          </XMath>
        </Math>
      </equation>
    </para>
    <para xml:id="S2.p2">
      <equation xml:id="S2.E4">
        <tags>
          <tag>(4)</tag>
          <tag role="refnum">4</tag>
        </tags>
        <Math mode="display" tex="c+d," text="c + d" xml:id="S2.E4.m1">
          <XMath>
            <XMDual>
              <XMRef idref="S2.E4.m1.1"/>
              <XMWrap>
                <XMApp xml:id="S2.E4.m1.1">
                  <XMTok meaning="plus" role="ADDOP">+</XMTok>
                  <XMTok font="italic" role="UNKNOWN">c</XMTok>
                  <XMTok font="italic" role="UNKNOWN">d</XMTok>
                </XMApp>
                <XMTok role="PUNCT">,</XMTok>
              </XMWrap>
            </XMDual>
          </XMath>
        </Math>
      </equation>
    </para>
    <figure inlist="lof" xml:id="S2.F2">
      <tags>
        <tag>Figure 2</tag>
        <tag role="refnum">2</tag>
        <tag role="typerefnum">Figure 2</tag>
      </tags>
      <p align="center">Another Figure<break/></p>
      <toccaption><tag close=" ">2</tag>Another Figure</toccaption>
      <caption><tag close=": ">Figure 2</tag>Another Figure</caption>
    </figure>
    <table inlist="lot" xml:id="S2.T2">
      <tags>
        <tag>Table 2</tag>
        <tag role="refnum">2</tag>
        <tag role="typerefnum">Table 2</tag>
      </tags>
      <toccaption class="ltx_centering"><tag close=" ">2</tag>Another Table</toccaption>
      <caption class="ltx_centering"><tag close=": ">Table 2</tag>Another Table</caption>
      <tabular class="ltx_centering ltx_guessed_headers" vattach="middle">
        <thead>
          <tr>
            <td align="right" border="r" thead="column row">Heading</td>
            <td align="center" thead="column">Foo</td>
            <td align="center" thead="column">Bar</td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="right" border="r t" thead="row">a</td>
            <td align="center" border="t"><Math mode="inline" tex="x" text="x" xml:id="S2.T2.m1">
                <XMath>
                  <XMTok font="italic" role="UNKNOWN">x</XMTok>
                </XMath>
              </Math></td>
            <td align="center" border="t"><Math mode="inline" tex="x^{2}" text="x ^ 2" xml:id="S2.T2.m2">
                <XMath>
                  <XMApp>
                    <XMTok role="SUPERSCRIPTOP" scriptpos="post1"/>
                    <XMTok font="italic" role="UNKNOWN">x</XMTok>
                    <XMTok fontsize="70%" meaning="2" role="NUMBER">2</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
          </tr>
          <tr>
            <td align="right" border="r" thead="row">b</td>
            <td align="center"><Math mode="inline" tex="y^{2}" text="y ^ 2" xml:id="S2.T2.m3">
                <XMath>
                  <XMApp>
                    <XMTok role="SUPERSCRIPTOP" scriptpos="post1"/>
                    <XMTok font="italic" role="UNKNOWN">y</XMTok>
                    <XMTok fontsize="70%" meaning="2" role="NUMBER">2</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
            <td align="center"><Math mode="inline" tex="y" text="y" xml:id="S2.T2.m4">
                <XMath>
                  <XMTok font="italic" role="UNKNOWN">y</XMTok>
                </XMath>
              </Math></td>
          </tr>
        </tbody>
      </tabular>
      <break class="ltx_centering"/>
    </table>
    <para xml:id="S2.p3">
      <enumerate xml:id="S2.I1">
        <item xml:id="S2.I1.i1">
          <tags>
            <tag>1.</tag>
            <tag role="refnum">1</tag>
            <tag role="typerefnum">item 1</tag>
          </tags>
          <para xml:id="S2.I1.i1.p1">
            <p>one</p>
          </para>
        </item>
        <item xml:id="S2.I1.i2">
          <tags>
            <tag>2.</tag>
            <tag role="refnum">2</tag>
            <tag role="typerefnum">item 2</tag>
          </tags>
          <para xml:id="S2.I1.i2.p1">
            <p>two</p>
            <enumerate xml:id="S2.I1.i2.I1">
              <item xml:id="S2.I1.i2.I1.i1">
                <tags>
                  <tag>(a)</tag>
                  <tag role="refnum">2a</tag>
                  <tag role="typerefnum">item 2a</tag>
                </tags>
                <para xml:id="S2.I1.i2.I1.i1.p1">
                  <p>one</p>
                </para>
              </item>
              <item xml:id="S2.I1.i2.I1.i2">
                <tags>
                  <tag>(b)</tag>
                  <tag role="refnum">2b</tag>
                  <tag role="typerefnum">item 2b</tag>
                </tags>
                <para xml:id="S2.I1.i2.I1.i2.p1">
                  <p>two</p>
                </para>
              </item>
            </enumerate>
          </para>
        </item>
      </enumerate>
    </para>
  </section>
</document>