git.iko.soy/typeable/pandoc
on master help sign in
DocBook reader: Support bibliomixed tag.
commitc844634757c49f635a0c0e1e226f9d5130559bfd authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 11 May 2012, 20:35 (14 years ago) parent02fa105
1 file changed+2−1
src/Text/Pandoc/Readers/DocBook.hs+2−1
src/Text/Pandoc/Readers/DocBook.hs+2−1
@@ -55,7 +55,7 @@ List of all DocBook tags, with [x] indicating implemented,
5555[ ] biblioid - An identifier for a document
5656[o] bibliolist - A wrapper for a set of bibliography entries
5757[ ] bibliomisc - Untyped bibliographic information
58−[ ] bibliomixed - An entry in a Bibliography
58+[x] bibliomixed - An entry in a Bibliography
5959[ ] bibliomset - A cooked container for related bibliographic information
6060[ ] biblioref - A cross reference to a bibliographic entry
6161[ ] bibliorelation - The relationship of a document to another
@@ -617,6 +617,7 @@ parseBlock (Elem e) =
617617 "bibliography" -> sect 0
618618 "bibliodiv" -> sect 1
619619 "biblioentry" -> parsePara (elContent e)
620+ "bibliomixed" -> parsePara (elContent e)
620621 "glosssee" -> para . (\ils -> text "See " <> ils <> str ".")
621622 <$> getInlines e
622623 "glossseealso" -> para . (\ils -> text "See also " <> ils <> str ".")