summaryrefslogtreecommitdiff
path: root/test/command/bits-title-supress.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-title-supress.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-title-supress.md')
-rw-r--r--test/command/bits-title-supress.md122
1 files changed, 122 insertions, 0 deletions
diff --git a/test/command/bits-title-supress.md b/test/command/bits-title-supress.md
new file mode 100644
index 000000000..e30841e10
--- /dev/null
+++ b/test/command/bits-title-supress.md
@@ -0,0 +1,122 @@
+```
+% pandoc -f jats -t native
+<sec>
+ <title>The European Parliament</title>
+ <p>Members of the European Parliament (MEPs) are directly elected by EU citizens.</p>
+</sec>
+^D
+[ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ ]
+, Para
+ [ Str "Members"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ , Space
+ , Str "(MEPs)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "directly"
+ , Space
+ , Str "elected"
+ , Space
+ , Str "by"
+ , Space
+ , Str "EU"
+ , Space
+ , Str "citizens."
+ ]
+]
+```
+
+```
+% pandoc -f jats -t native
+<sec>
+ <title supress="no">The European Parliament</title>
+ <p>Members of the European Parliament (MEPs) are directly elected by EU citizens.</p>
+</sec>
+^D
+[ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ ]
+, Para
+ [ Str "Members"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ , Space
+ , Str "(MEPs)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "directly"
+ , Space
+ , Str "elected"
+ , Space
+ , Str "by"
+ , Space
+ , Str "EU"
+ , Space
+ , Str "citizens."
+ ]
+]
+```
+
+```
+% pandoc -f jats -t native
+<sec>
+ <title supress="yes">The European Parliament</title>
+ <p>Members of the European Parliament (MEPs) are directly elected by EU citizens.</p>
+</sec>
+^D
+[ Para
+ [ Str "Members"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ , Space
+ , Str "(MEPs)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "directly"
+ , Space
+ , Str "elected"
+ , Space
+ , Str "by"
+ , Space
+ , Str "EU"
+ , Space
+ , Str "citizens."
+ ]
+]
+``` \ No newline at end of file