Safe Haskell | None |
---|---|
Language | Haskell2010 |
BibLaTeX
is a reference-citation package using .bib
files (BibTeX) but no extra style-files.
Synopsis
- biblatex :: PackageName
- addbibresource :: LaTeXC l => FilePath -> l
- cite :: LaTeXC l => l -> l
- printbibliography :: LaTeXC l => l
- documentWithDOIReferences :: (MonadIO m, LaTeXC (m ()), Semigroup (m ()), r ~ DOIReference) => (r -> m (Maybe T)) -> ReferenceQueryT r m () -> m ()
- citeDOI :: (Functor m, Monoid (m ()), IsString (m ())) => PlainDOI -> String -> ReferenceQueryT DOIReference m ()
- textc :: Functor m => ReferenceQueryT DOIReference m () -> ReferenceQueryT DOIReference m ()
- textC :: Functor m => ReferenceQueryT DOIReference m () -> ReferenceQueryT DOIReference m ()
- data DOIReference
- data ReferenceQueryT r m a
- masterBibFile :: MonadIO m => FilePath -> DOIReference -> m (Maybe T)
Documentation
biblatex :: PackageName Source #
BibLaTeX package. Use it to import it like this:
usepackage [] biblatex
addbibresource :: LaTeXC l => FilePath -> l Source #
Use a bibliography file as resource for reference information.
printbibliography :: LaTeXC l => l Source #
Automatic bibliography retrieval
documentWithDOIReferences Source #
:: (MonadIO m, LaTeXC (m ()), Semigroup (m ()), r ~ DOIReference) | |
=> (r -> m (Maybe T)) | Reference-resolver function, for looking up BibTeX
entries for a given DOI.
If the DOI cannot be looked up ( |
-> ReferenceQueryT r m () | The document content, possibly containing citations in DOI-only form. |
-> m () | LaTeX rendition. The content will already be wrapped
in |
:: (Functor m, Monoid (m ()), IsString (m ())) | |
=> PlainDOI | The unambiguous document identifier. |
-> String | Synopsis of the cited work, in the form
|
-> ReferenceQueryT DOIReference m () |
textc :: Functor m => ReferenceQueryT DOIReference m () -> ReferenceQueryT DOIReference m () Source #
Transform a citation into \textcite
, i.e. so that it can be used as a noun in a sentence.
textC :: Functor m => ReferenceQueryT DOIReference m () -> ReferenceQueryT DOIReference m () Source #
Transform a citation into \Textcite
, i.e. so that it can be used as the first word in a sentence.
data DOIReference Source #
Instances
Eq DOIReference Source # | |
Defined in Text.LaTeX.Packages.BibLaTeX (==) :: DOIReference -> DOIReference -> Bool # (/=) :: DOIReference -> DOIReference -> Bool # | |
Ord DOIReference Source # | |
Defined in Text.LaTeX.Packages.BibLaTeX compare :: DOIReference -> DOIReference -> Ordering # (<) :: DOIReference -> DOIReference -> Bool # (<=) :: DOIReference -> DOIReference -> Bool # (>) :: DOIReference -> DOIReference -> Bool # (>=) :: DOIReference -> DOIReference -> Bool # max :: DOIReference -> DOIReference -> DOIReference # min :: DOIReference -> DOIReference -> DOIReference # | |
Generic DOIReference Source # | |
Defined in Text.LaTeX.Packages.BibLaTeX type Rep DOIReference :: Type -> Type # from :: DOIReference -> Rep DOIReference x # to :: Rep DOIReference x -> DOIReference # | |
type Rep DOIReference Source # | |
Defined in Text.LaTeX.Packages.BibLaTeX |
data ReferenceQueryT r m a Source #
Instances
:: MonadIO m | |
=> FilePath | A |
-> DOIReference -> m (Maybe T) | Lookup-function, suitable for |