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
|
```
% pandoc -f jats -t native
<toc-group>
<toc-title-group>
<title>TOC group</title>
</toc-title-group>
<p>Content of toc group</p>
<toc>
<toc-title-group>
<title>TOC</title>
</toc-title-group>
<p>Content of TOC</p>
<toc-div content-type="sections">
<toc-title-group>
<title>Mental Health Services</title>
</toc-title-group>
<toc-entry>
<label>Section 1</label>
<title>Introduction</title>
<nav-pointer rid="tc3"/>
</toc-entry>
<toc-entry>
<label>Section 2</label>
<title>Mental Health of the Population</title>
<nav-pointer rid="tc4"/>
</toc-entry>
</toc-div>
</toc>
</toc-group>
^D
[ Header
1 ( "" , [] , [] ) [ Str "TOC" , Space , Str "group" ]
, Para
[ Str "Content"
, Space
, Str "of"
, Space
, Str "toc"
, Space
, Str "group"
]
, Header 2 ( "" , [] , [] ) [ Str "TOC" ]
, Para
[ Str "Content" , Space , Str "of" , Space , Str "TOC" ]
, Header
3
( "" , [] , [] )
[ Str "Mental"
, Space
, Str "Health"
, Space
, Str "Services"
]
, Header 4 ( "" , [] , [] ) [ Str "Introduction" ]
, Header
4
( "" , [] , [] )
[ Str "Mental"
, Space
, Str "Health"
, Space
, Str "of"
, Space
, Str "the"
, Space
, Str "Population"
]
]
```
|