pandoc-3.10: Conversion between markup formats

Copyright | Copyright (C) 2022-2024 John MacFarlane
License | GNU GPL, version 2 or above
Maintainer | John MacFarlane <jgm@berkeley.edu>
Stability | alpha
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Readers.EndNote

Description

Parses EndNote XML bibliographies into a Pandoc document with empty body and `references` and `nocite` fields in the metadata. A wildcard `nocite` is used so that if the document is rendered in another format, the entire bibliography will be printed.

Synopsis

- readEndNoteXML :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc
- readEndNoteXMLCitation :: PandocMonad m => Text -> m (Citation Text)

# Documentation

readEndNoteXML :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc Source #

Read EndNote XML from an input string and return a Pandoc document. The document will have only metadata, with an empty body. The metadata will contain a `references` field with the bibliography entries, and a `nocite` field with the wildcard `[@*]`.

readEndNoteXMLCitation :: PandocMonad m => Text -> m (Citation Text) Source #