From f2a22e71dffef0e795d73ecffeaa195733dde67e Mon Sep 17 00:00:00 2001 From: Julia Diaz Date: Thu, 26 Oct 2023 23:18:33 +0100 Subject: 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 --- test/command/bits-toc-elements.md | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 test/command/bits-toc-elements.md (limited to 'test/command/bits-toc-elements.md') diff --git a/test/command/bits-toc-elements.md b/test/command/bits-toc-elements.md new file mode 100644 index 000000000..415a255e1 --- /dev/null +++ b/test/command/bits-toc-elements.md @@ -0,0 +1,69 @@ +``` +% pandoc -f jats -t native + + + TOC group + +

Content of toc group

+ + + TOC + +

Content of TOC

+ + + Mental Health Services + + + + Introduction + + + + + Mental Health of the Population + + + +
+
+^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" + ] +] +``` \ No newline at end of file -- cgit v1.2.3