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-book-meta.md | 104 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 test/command/bits-book-meta.md (limited to 'test/command/bits-book-meta.md') diff --git a/test/command/bits-book-meta.md b/test/command/bits-book-meta.md new file mode 100644 index 000000000..53a64c7d7 --- /dev/null +++ b/test/command/bits-book-meta.md @@ -0,0 +1,104 @@ +``` +% pandoc -f jats -t native -s + + + handbook-648 + + The NCBI Handbook + + + + McEntyre + Jo + + + + Ostell + Jim + + + + + National Center for Biotechnology Information (NCBI), National Library of Medicine, National Institutes of Health, Bethesda, MD 20892-6510 + + + 11 + 2002 + + + National Center for Biotechnology Information (NCBI), National Library of Medicine, National Institutes of Health + Bethesda, MD + + 1 + + + + + + + + + + +^D +Pandoc + Meta + { unMeta = + fromList + [ ( "author" + , MetaList + [ MetaInlines [ Str "Jo" , Space , Str "McEntyre" ] ] + ) + , ( "date" , MetaInlines [ Str "2002-11" ] ) + , ( "institute" + , MetaList + [ MetaInlines + [ Str "National" + , Space + , Str "Center" + , Space + , Str "for" + , Space + , Str "Biotechnology" + , Space + , Str "Information" + , Space + , Str "(NCBI)," + , Space + , Str "National" + , Space + , Str "Library" + , Space + , Str "of" + , Space + , Str "Medicine," + , Space + , Str "National" + , Space + , Str "Institutes" + , Space + , Str "of" + , Space + , Str "Health," + , Space + , Str "Bethesda," + , Space + , Str "MD" + , Space + , Str "20892-6510" + ] + ] + ) + , ( "title" + , MetaInlines + [ Str "The" + , Space + , Str "NCBI" + , Space + , Str "Handbook" + ] + ) + ] + } + [] +``` \ No newline at end of file -- cgit v1.2.3