aboutsummaryrefslogtreecommitdiff
path: root/test/command/bits-title-display-as.md
diff options
context:
space:
mode:
authorJulia Diaz <[email protected]>2023-10-26 23:18:33 +0100
committerGitHub <[email protected]>2023-10-26 15:18:33 -0700
commitf2a22e71dffef0e795d73ecffeaa195733dde67e (patch)
tree1edcccc2ead4e811b373dde2840d233f4026dad1 /test/command/bits-title-display-as.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-display-as.md')
-rw-r--r--test/command/bits-title-display-as.md175
1 files changed, 175 insertions, 0 deletions
diff --git a/test/command/bits-title-display-as.md b/test/command/bits-title-display-as.md
new file mode 100644
index 000000000..88bec9bc0
--- /dev/null
+++ b/test/command/bits-title-display-as.md
@@ -0,0 +1,175 @@
+```
+% pandoc -f jats -t native
+<sec>
+ <title>THE EUROPEAN UNION EXPLAINED</title>
+</sec>
+^D
+[ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "THE"
+ , Space
+ , Str "EUROPEAN"
+ , Space
+ , Str "UNION"
+ , Space
+ , Str "EXPLAINED"
+ ]
+]
+```
+
+```
+% pandoc -f jats -t native
+<sec>
+ <title display-as="3">THE EUROPEAN UNION EXPLAINED</title>
+</sec>
+^D
+[ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "THE"
+ , Space
+ , Str "EUROPEAN"
+ , Space
+ , Str "UNION"
+ , Space
+ , Str "EXPLAINED"
+ ]
+]
+```
+
+```
+% pandoc -f jats -t native
+<body>
+ <sec>
+ <title>The European Parliament</title>
+ <p>Members of the European Parliament (MEPs) are directly elected by EU citizens.</p>
+ <sec>
+ <title display-as="3">Composition of the European Parliament</title>
+ <p>The seats in the European Parliament are allocated among the Member States.</p>
+ </sec>
+ <sec>
+ <title>Composition of the European Parliament - II </title>
+ <p>Most MEPs are associated with a national political party in their home country.</p>
+ </sec>
+ </sec>
+</body>
+^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."
+ ]
+, Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Composition"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ ]
+, Para
+ [ Str "The"
+ , Space
+ , Str "seats"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ , Space
+ , Str "are"
+ , Space
+ , Str "allocated"
+ , Space
+ , Str "among"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Member"
+ , Space
+ , Str "States."
+ ]
+, Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Composition"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "European"
+ , Space
+ , Str "Parliament"
+ , Space
+ , Str "-"
+ , Space
+ , Str "II"
+ ]
+, Para
+ [ Str "Most"
+ , Space
+ , Str "MEPs"
+ , Space
+ , Str "are"
+ , Space
+ , Str "associated"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "national"
+ , Space
+ , Str "political"
+ , Space
+ , Str "party"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "home"
+ , Space
+ , Str "country."
+ ]
+]
+``` \ No newline at end of file