The Balisage Series on Markup Technologies
+ is an occasional series...
+
+
+
+
+
+ Proceedings of Balisage: The Markup Conference
+ 2013
+
+
+
+
Balisage is a peer-reviewed conference...
+
+
+
+^D
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "abstract"
+ , MetaBlocks
+ [ Para
+ [ Str "Balisage"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "peer-reviewed"
+ , Space
+ , Str "conference..."
+ ]
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Proceedings"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Balisage:"
+ , Space
+ , Str "The"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "Conference"
+ , SoftBreak
+ , Str "2013"
+ ]
+ )
+ ]
+ }
+ [ Para
+ [ Str "The"
+ , Space
+ , Emph
+ [ Str "Balisage"
+ , Space
+ , Str "Series"
+ , Space
+ , Str "on"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "Technologies"
+ ]
+ , SoftBreak
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "occasional"
+ , Space
+ , Str "series..."
+ ]
+ ]
+```
\ No newline at end of file
diff --git a/test/command/bits-book-part-wrapper.md b/test/command/bits-book-part-wrapper.md
new file mode 100644
index 000000000..206ad951c
--- /dev/null
+++ b/test/command/bits-book-part-wrapper.md
@@ -0,0 +1,149 @@
+```
+% pandoc -f jats -t native
+
+
+
+
+ Balisage Series on Markup Technologies
+
+
+
+
The Balisage Series on Markup Technologies
+ is an occasional series...
+
+
+
+
+
+ Proceedings of Balisage: The Markup Conference
+ 2013
+
+
+
+
Balisage is a peer-reviewed conference...
+
+
+
+
+
+
+
+ The Databases
+
+
+
+
+ History
+
Initially, GenBank was built and maintained at Los Alamos
+ National Laboratory.
+
+
+
+ Back matter of book part
+
+ References
+
+
+
+
+
+ Olson
+ M
+
+
+ Hood
+ L
+
+
+ Cantor
+ C
+
+
+ Botstein
+ D
+
+
+ A common language for physical mapping of the human genome
+ Science
+ 1989
+ 245
+ 4925
+ 1434
+ 1435
+ 2781285
+
+
+
+
+
+
+^D
+[ Para
+ [ Str "The"
+ , Space
+ , Emph
+ [ Str "Balisage"
+ , Space
+ , Str "Series"
+ , Space
+ , Str "on"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "Technologies"
+ ]
+ , SoftBreak
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "occasional"
+ , Space
+ , Str "series..."
+ ]
+, Header 2 ( "bid.3" , [] , [] ) [ Str "History" ]
+, Para
+ [ Str "Initially,"
+ , Space
+ , Str "GenBank"
+ , Space
+ , Str "was"
+ , Space
+ , Str "built"
+ , Space
+ , Str "and"
+ , Space
+ , Str "maintained"
+ , Space
+ , Str "at"
+ , Space
+ , Str "Los"
+ , Space
+ , Str "Alamos"
+ , SoftBreak
+ , Str "National"
+ , Space
+ , Str "Laboratory."
+ ]
+, Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Back"
+ , Space
+ , Str "matter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "book"
+ , Space
+ , Str "part"
+ ]
+, Header 1 ( "" , [] , [] ) [ Str "References" ]
+, Div ( "refs" , [] , [] ) []
+]
+```
\ No newline at end of file
diff --git a/test/command/bits-book.md b/test/command/bits-book.md
new file mode 100644
index 000000000..6515d35ee
--- /dev/null
+++ b/test/command/bits-book.md
@@ -0,0 +1,186 @@
+```
+% pandoc -f jats -t native
+
+
+
+
+
+ About this book
+
+
+
+
+ The NCBI Handbook
+
Bioinformatics consists of a computational approach
+ to biomedical information management and analysis.
+
+
+
+
+
+
+
+
+
+ The Databases
+
+
+
+
+ History
+
Initially, GenBank was built and maintained at Los Alamos
+ National Laboratory.
+
+
+
+ Back matter of book part
+
+ References
+
+
+
+
+
+ Olson
+ M
+
+
+ Hood
+ L
+
+
+ Cantor
+ C
+
+
+ Botstein
+ D
+
+
+ A common language for physical mapping of the human genome
+ Science
+ 1989
+ 245
+ 4925
+ 1434
+ 1435
+ 2781285
+
+
+
+
+
+
+
+
+ Acknowledgments
+
We gratefully acknowledge the work of Vladimir Soussov,
+ as well as the entire NCBI Entrez team...
+
+
+
+^D
+[ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "The" , Space , Str "NCBI" , Space , Str "Handbook" ]
+, Para
+ [ Str "Bioinformatics"
+ , Space
+ , Str "consists"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "computational"
+ , Space
+ , Str "approach"
+ , SoftBreak
+ , Str "to"
+ , Space
+ , Str "biomedical"
+ , Space
+ , Str "information"
+ , Space
+ , Str "management"
+ , Space
+ , Str "and"
+ , Space
+ , Str "analysis."
+ ]
+, Header 2 ( "bid.3" , [] , [] ) [ Str "History" ]
+, Para
+ [ Str "Initially,"
+ , Space
+ , Str "GenBank"
+ , Space
+ , Str "was"
+ , Space
+ , Str "built"
+ , Space
+ , Str "and"
+ , Space
+ , Str "maintained"
+ , Space
+ , Str "at"
+ , Space
+ , Str "Los"
+ , Space
+ , Str "Alamos"
+ , SoftBreak
+ , Str "National"
+ , Space
+ , Str "Laboratory."
+ ]
+, Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Back"
+ , Space
+ , Str "matter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "book"
+ , Space
+ , Str "part"
+ ]
+, Header 1 ( "" , [] , [] ) [ Str "References" ]
+, Div ( "refs" , [] , [] ) []
+, Header 2 ( "bid.394" , [] , [] ) [ Str "Acknowledgments" ]
+, Para
+ [ Str "We"
+ , Space
+ , Str "gratefully"
+ , Space
+ , Str "acknowledge"
+ , Space
+ , Str "the"
+ , Space
+ , Str "work"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Vladimir"
+ , Space
+ , Str "Soussov,"
+ , SoftBreak
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "the"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "NCBI"
+ , Space
+ , Str "Entrez"
+ , Space
+ , Str "team..."
+ ]
+]
+```
\ No newline at end of file
diff --git a/test/command/bits-index-elements.md b/test/command/bits-index-elements.md
new file mode 100644
index 000000000..6ba03cc38
--- /dev/null
+++ b/test/command/bits-index-elements.md
@@ -0,0 +1,83 @@
+```
+% pandoc -f jats -t native
+
+
+ Index group
+
+
Content of index group
+
+
+ Index
+
+
Content of index
+
+
+ N
+
+
Content of index div
+
+ Navy
+ .
+ Armed forces
+ .
+
+
+ Necessary and proper clause, congressional power
+
+
+ Newsgathering as commerce
+
+
+
+
+^D
+[ Header
+ 1 ( "" , [] , [] ) [ Str "Index" , Space , Str "group" ]
+, Para
+ [ Str "Content"
+ , Space
+ , Str "of"
+ , Space
+ , Str "index"
+ , Space
+ , Str "group"
+ ]
+, Header 2 ( "" , [] , [] ) [ Str "Index" ]
+, Para
+ [ Str "Content" , Space , Str "of" , Space , Str "index" ]
+, Header 3 ( "" , [] , [] ) [ Str "N" ]
+, Para
+ [ Str "Content"
+ , Space
+ , Str "of"
+ , Space
+ , Str "index"
+ , Space
+ , Str "div"
+ ]
+, Plain [ Str "Navy" ]
+, Plain [ Str "." ]
+, Plain [ Str "Armed" , Space , Str "forces" ]
+, Plain [ Str "." ]
+, Plain
+ [ Str "Necessary"
+ , Space
+ , Str "and"
+ , Space
+ , Str "proper"
+ , Space
+ , Str "clause,"
+ , Space
+ , Str "congressional"
+ , Space
+ , Str "power"
+ ]
+, Plain
+ [ Str "Newsgathering"
+ , Space
+ , Str "as"
+ , Space
+ , Str "commerce"
+ ]
+]
+```
\ No newline at end of file
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
+
+
+