summaryrefslogtreecommitdiff
path: root/test/command/bits-legend.md
diff options
context:
space:
mode:
authorJulia Diaz <julia.diaz@gmail.com>2023-10-26 23:18:33 +0100
committerGitHub <noreply@github.com>2023-10-26 15:18:33 -0700
commitf2a22e71dffef0e795d73ecffeaa195733dde67e (patch)
tree1edcccc2ead4e811b373dde2840d233f4026dad1 /test/command/bits-legend.md
parentb671e0dfe5f578511954addaca84b832826d5915 (diff)
Modify JATS reader to handle BITS too (#9138)
Add provision for title-group, book, book-part-wrapper, book-meta, book-part-meta, book-title, book-title-group, index, toc, legend, title, collection-meta
Diffstat (limited to 'test/command/bits-legend.md')
-rw-r--r--test/command/bits-legend.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/test/command/bits-legend.md b/test/command/bits-legend.md
new file mode 100644
index 000000000..0217e68fe
--- /dev/null
+++ b/test/command/bits-legend.md
@@ -0,0 +1,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" , "" ) ]
+ ]
+]
+``` \ No newline at end of file