aboutsummaryrefslogtreecommitdiff
path: root/test/command/bits-legend.md
blob: 0217e68fe40ddfdd0e9103a01c9182d4ca3683cb (plain)
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
```
% pandoc -f jats -t native
<fig id="fig_A.1" orientation="portrait">
 <label>Figure A.1</label>
 <caption>
  <title>Field of Application</title>
 </caption>
 <legend>
  <title>Key</title>
  <def-list>
   <def-item>
    <term>I</term>
    <def><p>input</p></def>
   </def-item>
   <def-item>
    <term>O</term>
    <def><p>output</p></def>
   </def-item>
   ...
  </def-list>
 </legend>
 <graphic xlink:href="1234"/>
</fig>
^D
[ Figure
    ( "fig_A.1" , [] , [] )
    (Caption
       Nothing
       [ Plain
           [ Str "Field"
           , Space
           , Str "of"
           , Space
           , Str "Application"
           ]
       ])
    [ Header 1 ( "" , [] , [] ) [ Str "Key" ]
    , DefinitionList
        [ ( [ Str "I" ] , [ [ Para [ Str "input" ] ] ] )
        , ( [ Str "O" ] , [ [ Para [ Str "output" ] ] ] )
        ]
    , Para [ Image ( "" , [] , [] ) [] ( "1234" , "" ) ]
    ]
]
```