/usr/share/doc/libghc-citeproc-hs-doc/html/Text-CSL.html is in libghc-citeproc-hs-doc 0.3.9-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.CSL</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-CSL.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-CSL.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">citeproc-hs-0.3.9: A Citation Style Language implementation in Haskell</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>unportable</td></tr><tr><th>Stability</th><td>unstable</td></tr><tr><th>Maintainer</th><td>Andrea Rossato <andrea.rossato@unitn.it></td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Text.CSL</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Introduction
</a></li><li><a href="#g:2">Overview: A Simple Example
</a></li><li><a href="#g:3">Reading Bibliographic Databases
</a><ul><li><a href="#g:4">Reference Representation
</a></li></ul></li><li><a href="#g:5">CSL Parser, Representation, and Processing
</a><ul><li><a href="#g:6">The Style Types
</a></li><li><a href="#g:7">High Level Processing
</a></li></ul></li><li><a href="#g:8">The output and the rendering functions
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p><em>citeproc-hs</em> is a library for automatically formatting
bibliographic reference citations into a variety of styles using a
macro language called Citation Style Language (CSL). More details
on CSL can be found here: <a href="http://citationstyles.org/">http://citationstyles.org/</a>.
</p><p>This module documents and exports the library API.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:readBiblioFile">readBiblioFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:BibFormat">BibFormat</a> <ul class="subs"><li>= <a href="#v:Mods">Mods</a> </li><li>| <a href="#v:Json">Json</a> </li><li>| <a href="#v:Native">Native</a> </li><li>| <a href="#v:Bibtex">Bibtex</a> </li><li>| <a href="#v:BibLatex">BibLatex</a> </li><li>| <a href="#v:Ris">Ris</a> </li><li>| <a href="#v:Endnote">Endnote</a> </li><li>| <a href="#v:EndnotXml">EndnotXml</a> </li><li>| <a href="#v:Isi">Isi</a> </li><li>| <a href="#v:Medline">Medline</a> </li><li>| <a href="#v:Copac">Copac</a> </li></ul></li><li class="src short"><a href="#v:readBiblioString">readBiblioString</a> :: <a href="Text-CSL.html#t:BibFormat">BibFormat</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]</li><li class="src short"><a href="#v:readModsFile">readModsFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Reference">Reference</a></li><li class="src short"><a href="#v:readModsCollectionFile">readModsCollectionFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]</li><li class="src short"><a href="#v:readJsonInput">readJsonInput</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]</li><li class="src short"><a href="#v:readJsonInputString">readJsonInputString</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>]</li><li class="src short"><a href="#v:readJsonAbbrevFile">readJsonAbbrevFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL-Style.html#t:Abbrev">Abbrev</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:Reference">Reference</a> = <a href="#v:Reference">Reference</a> {<ul class="subs"><li><a href="#v:refId">refId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:refType">refType</a> :: <a href="Text-CSL-Reference.html#t:RefType">RefType</a></li><li><a href="#v:author">author</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:editor">editor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:translator">translator</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:recipient">recipient</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:interviewer">interviewer</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:composer">composer</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:director">director</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:illustrator">illustrator</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:originalAuthor">originalAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:containerAuthor">containerAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:collectionEditor">collectionEditor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:editorialDirector">editorialDirector</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:reviewedAuthor">reviewedAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</li><li><a href="#v:issued">issued</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:eventDate">eventDate</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:accessed">accessed</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:container">container</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:originalDate">originalDate</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:submitted">submitted</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</li><li><a href="#v:title">title</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:titleShort">titleShort</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:reviewedTitle">reviewedTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:containerTitle">containerTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:volumeTitle">volumeTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:collectionTitle">collectionTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:containerTitleShort">containerTitleShort</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:collectionNumber">collectionNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:originalTitle">originalTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:publisher">publisher</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:originalPublisher">originalPublisher</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:publisherPlace">publisherPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:originalPublisherPlace">originalPublisherPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:authority">authority</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:jurisdiction">jurisdiction</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:archive">archive</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:archivePlace">archivePlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:archiveLocation">archiveLocation</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:event">event</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:eventPlace">eventPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:page">page</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:pageFirst">pageFirst</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:numberOfPages">numberOfPages</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:version">version</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:volume">volume</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:numberOfVolumes">numberOfVolumes</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:issue">issue</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:chapterNumber">chapterNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:medium">medium</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:status">status</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:edition">edition</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:section">section</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:source">source</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:genre">genre</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:note">note</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:annote">annote</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:abstract">abstract</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:keyword">keyword</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:number">number</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:references">references</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:url">url</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:doi">doi</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:isbn">isbn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:issn">issn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:pmcid">pmcid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:pmid">pmid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:callNumber">callNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:dimensions">dimensions</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:scale">scale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:categories">categories</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</li><li><a href="#v:language">language</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:citationNumber">citationNumber</a> :: <a href="Text-CSL-Reference.html#t:CNum">CNum</a></li><li><a href="#v:firstReferenceNoteNumber">firstReferenceNoteNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li><li><a href="#v:citationLabel">citationLabel</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:getReference">getReference</a> :: [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL.html#t:Cite">Cite</a> -> <a href="Text-CSL.html#t:Reference">Reference</a></li><li class="src short"><a href="#v:parseLocator">parseLocator</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)</li><li class="src short"><a href="#v:setNearNote">setNearNote</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [[<a href="Text-CSL.html#t:Cite">Cite</a>]] -> [[<a href="Text-CSL.html#t:Cite">Cite</a>]]</li><li class="src short"><a href="#v:readCSLFile">readCSLFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Style">Style</a></li><li class="src short"><a href="#v:parseCSL">parseCSL</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Style">Style</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Style">Style</a> = <a href="#v:Style">Style</a> {<ul class="subs"><li><a href="#v:styleVersion">styleVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:styleClass">styleClass</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:styleInfo">styleInfo</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-CSL-Style.html#t:CSInfo">CSInfo</a></li><li><a href="#v:styleDefaultLocale">styleDefaultLocale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:styleLocale">styleLocale</a> :: [<a href="Text-CSL-Style.html#t:Locale">Locale</a>]</li><li><a href="#v:styleAbbrevs">styleAbbrevs</a> :: [<a href="Text-CSL-Style.html#t:Abbrev">Abbrev</a>]</li><li><a href="#v:csOptions">csOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</li><li><a href="#v:csMacros">csMacros</a> :: [<a href="Text-CSL-Style.html#t:MacroMap">MacroMap</a>]</li><li><a href="#v:citation">citation</a> :: <a href="Text-CSL.html#t:Citation">Citation</a></li><li><a href="#v:biblio">biblio</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Citation">Citation</a> = <a href="#v:Citation">Citation</a> {<ul class="subs"><li><a href="#v:citOptions">citOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</li><li><a href="#v:citSort">citSort</a> :: [<a href="Text-CSL-Style.html#t:Sort">Sort</a>]</li><li><a href="#v:citLayout">citLayout</a> :: <a href="Text-CSL-Style.html#t:Layout">Layout</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Bibliography">Bibliography</a> = <a href="#v:Bibliography">Bibliography</a> {<ul class="subs"><li><a href="#v:bibOptions">bibOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</li><li><a href="#v:bibSort">bibSort</a> :: [<a href="Text-CSL-Style.html#t:Sort">Sort</a>]</li><li><a href="#v:bibLayout">bibLayout</a> :: <a href="Text-CSL-Style.html#t:Layout">Layout</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Cite">Cite</a> = <a href="#v:Cite">Cite</a> {<ul class="subs"><li><a href="#v:citeId">citeId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:citePrefix">citePrefix</a> :: <a href="Text-CSL.html#t:Affix">Affix</a></li><li><a href="#v:citeSuffix">citeSuffix</a> :: <a href="Text-CSL.html#t:Affix">Affix</a></li><li><a href="#v:citeLabel">citeLabel</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:citeLocator">citeLocator</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:citeNoteNumber">citeNoteNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:citePosition">citePosition</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:nearNote">nearNote</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:authorInText">authorInText</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:suppressAuthor">suppressAuthor</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:citeHash">citeHash</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Affix">Affix</a> <ul class="subs"><li>= <a href="#v:PlainText">PlainText</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> </li><li>| <a href="#v:PandocText">PandocText</a> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] </li></ul></li><li class="src short"><a href="#v:emptyCite">emptyCite</a> :: <a href="Text-CSL.html#t:Cite">Cite</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:ProcOpts">ProcOpts</a> = <a href="#v:ProcOpts">ProcOpts</a> {<ul class="subs"><li><a href="#v:bibOpts">bibOpts</a> :: <a href="Text-CSL.html#t:BibOpts">BibOpts</a></li></ul>}</li><li class="src short"><a href="#v:procOpts">procOpts</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:BibOpts">BibOpts</a> <ul class="subs"><li>= <a href="#v:Select">Select</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] </li><li>| <a href="#v:Include">Include</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] </li><li>| <a href="#v:Exclude">Exclude</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] </li></ul></li><li class="src short"><a href="#v:citeproc">citeproc</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL-Style.html#t:Citations">Citations</a> -> <a href="Text-CSL.html#t:BiblioData">BiblioData</a></li><li class="src short"><a href="#v:processCitations">processCitations</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL-Style.html#t:Citations">Citations</a> -> [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</li><li class="src short"><a href="#v:processBibliography">processBibliography</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</li><li class="src short"><span class="keyword">data</span> <a href="#t:BiblioData">BiblioData</a> = <a href="#v:BD">BD</a> {<ul class="subs"><li><a href="#v:citations">citations</a> :: [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</li><li><a href="#v:bibliography">bibliography</a> :: [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:FormattedOutput">FormattedOutput</a> <ul class="subs"><li>= <a href="#v:FO">FO</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] </li><li>| <a href="#v:FN">FN</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a> </li><li>| <a href="#v:FS">FS</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a> </li><li>| <a href="#v:FDel">FDel</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> </li><li>| <a href="#v:FUrl">FUrl</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Target">Target</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a> </li><li>| <a href="#v:FPan">FPan</a> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] </li><li>| <a href="#v:FNull">FNull</a> </li></ul></li><li class="src short"><a href="#v:renderPlain">renderPlain</a> :: [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:renderPlainStrict">renderPlainStrict</a> :: [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:renderPandoc">renderPandoc</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</li><li class="src short"><a href="#v:renderPandoc-39-">renderPandoc'</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Block">Block</a></li><li class="src short"><a href="#v:headInline">headInline</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:initInline">initInline</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</li><li class="src short"><a href="#v:tailFirstInlineStr">tailFirstInlineStr</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</li><li class="src short"><a href="#v:toCapital">toCapital</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</li><li class="src short"><a href="#v:startWithPunct">startWithPunct</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:endWithPunct">endWithPunct</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">Introduction
</h1><div class="doc"><p><em>citeproc-hs</em> provides functions for reading bibliographic
databases, for reading and parsing CSL files and for generating
citations in an internal format, <code><a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></code>, that can be
easily rendered into different final formats. At the present time
only <code>Pandoc</code> and plain text rendering functions are provided by
the library.
</p><p>The library also provides a wrapper around hs-bibutils, the Haskell
bindings to Chris Putnam's bibutils, a library that interconverts
between various bibliography formats using a common MODS-format XML
intermediate. For more information about hs-bibutils see here:
<a href="http://hackage.haskell.org/package/hs-bibutils">http://hackage.haskell.org/package/hs-bibutils</a>.
</p><p><em>citeproc-hs</em> can natively read MODS and JSON formatted
bibliographic databases. The JSON format is only partially
documented. It is used by citeproc-js, by the CSL processor
test-suite and is derived by the CSL scheme. More information can
be read here:
<a href="http://citationstyles.org/">http://citationstyles.org/</a>.
</p><p>A (git) repository of styles can be found here:
<a href="https://github.com/citation-style-language/styles">https://github.com/citation-style-language/styles</a>.
</p></div><h1 id="g:2">Overview: A Simple Example
</h1><div class="doc"><p>The following example assumes you have installed citeproc-hs with
hs-bibutils support (which is the default).
</p><p>Suppose you have a small bibliographic database, like this one:
</p><pre> @Book{Rossato2006,
author="Andrea Rossato",
title="My Second Book",
year="2006"
}
@Book{Caso2007,
author="Roberto Caso",
title="Roberto's Book",
year="2007"
}
</pre><p>Save it as <code>mybibdb.bib</code>.
</p><p>Then you can grab one of the CSL styles that come with the
test-suite for CSL processors. Suppose this one:
</p><p><a href="https://bitbucket.org/bdarcus/citeproc-test/raw/18141149d1d3/styles/apa-x.csl">https://bitbucket.org/bdarcus/citeproc-test/raw/18141149d1d3/styles/apa-x.csl</a>
</p><p>saved locally as <code>apa-x.csl</code>.
</p><p>This would be a simple program that formats a list of citations
according to that style:
</p><pre> import Text.CSL
cites :: [Cite]
cites = [emptyCite { citeId = "Caso2007"
, citeLabel = "page"
, citeLocator = "15"}
,emptyCite { citeId = "Rossato2006"
, citeLabel = "page"
, citeLocator = "10"}
]
main :: IO ()
main = do
m <- readBiblioFile "mybibdb.bib"
s <- readCSLFile "apa-x.csl"
let result = citeproc procOpts s m $ [cites]
putStrLn . unlines . map (renderPlainStrict) . citations $ result
</pre><p>The result would be:
</p><pre> (Caso, 2007, p. 15; Rossato, 2006, p. 10)
</pre></div><h1 id="g:3">Reading Bibliographic Databases
</h1><div class="top"><p class="src"><a name="v:readBiblioFile" class="def">readBiblioFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]<a href="src/Text-CSL-Input-Bibutils.html#readBiblioFile" class="link">Source</a></p><div class="doc"><p>Read a file with a bibliographic database. The database format
is recognized by the file extension.
</p><p>Supported formats are: <code>json</code>, <code>mods</code>, <code>bibtex</code>, <code>biblatex</code>, <code>ris</code>,
<code>endnote</code>, <code>endnotexml</code>, <code>isi</code>, <code>medline</code>, and <code>copac</code>.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BibFormat" class="def">BibFormat</a> <a href="src/Text-CSL-Input-Bibutils.html#BibFormat" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Mods" class="def">Mods</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Json" class="def">Json</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Native" class="def">Native</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Bibtex" class="def">Bibtex</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:BibLatex" class="def">BibLatex</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Ris" class="def">Ris</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Endnote" class="def">Endnote</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EndnotXml" class="def">EndnotXml</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Isi" class="def">Isi</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Medline" class="def">Medline</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Copac" class="def">Copac</a></td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:readBiblioString" class="def">readBiblioString</a> :: <a href="Text-CSL.html#t:BibFormat">BibFormat</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]<a href="src/Text-CSL-Input-Bibutils.html#readBiblioString" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:readModsFile" class="def">readModsFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Reference">Reference</a><a href="src/Text-CSL-Input-MODS.html#readModsFile" class="link">Source</a></p><div class="doc"><p>Read a file with a single MODS record.
</p></div></div><div class="top"><p class="src"><a name="v:readModsCollectionFile" class="def">readModsCollectionFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]<a href="src/Text-CSL-Input-MODS.html#readModsCollectionFile" class="link">Source</a></p><div class="doc"><p>Read a file with a collection of MODS records.
</p></div></div><div class="top"><p class="src"><a name="v:readJsonInput" class="def">readJsonInput</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL.html#t:Reference">Reference</a>]<a href="src/Text-CSL-Input-Json.html#readJsonInput" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:readJsonInputString" class="def">readJsonInputString</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>]<a href="src/Text-CSL-Input-Json.html#readJsonInputString" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:readJsonAbbrevFile" class="def">readJsonAbbrevFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Text-CSL-Style.html#t:Abbrev">Abbrev</a>]<a href="src/Text-CSL-Input-Json.html#readJsonAbbrevFile" class="link">Source</a></p></div><h2 id="g:4">Reference Representation
</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Reference" class="def">Reference</a> <a href="src/Text-CSL-Reference.html#Reference" class="link">Source</a></p><div class="doc"><p>The <code><a href="Text-CSL.html#t:Reference">Reference</a></code> record.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Reference" class="def">Reference</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:refId" class="def">refId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:refType" class="def">refType</a> :: <a href="Text-CSL-Reference.html#t:RefType">RefType</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:author" class="def">author</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:editor" class="def">editor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:translator" class="def">translator</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:recipient" class="def">recipient</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:interviewer" class="def">interviewer</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:composer" class="def">composer</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:director" class="def">director</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:illustrator" class="def">illustrator</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:originalAuthor" class="def">originalAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:containerAuthor" class="def">containerAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:collectionEditor" class="def">collectionEditor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:editorialDirector" class="def">editorialDirector</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:reviewedAuthor" class="def">reviewedAuthor</a> :: [<a href="Text-CSL-Reference.html#t:Agent">Agent</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:issued" class="def">issued</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:eventDate" class="def">eventDate</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:accessed" class="def">accessed</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:container" class="def">container</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:originalDate" class="def">originalDate</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:submitted" class="def">submitted</a> :: [<a href="Text-CSL-Reference.html#t:RefDate">RefDate</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:title" class="def">title</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:titleShort" class="def">titleShort</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:reviewedTitle" class="def">reviewedTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:containerTitle" class="def">containerTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:volumeTitle" class="def">volumeTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:collectionTitle" class="def">collectionTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:containerTitleShort" class="def">containerTitleShort</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:collectionNumber" class="def">collectionNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:originalTitle" class="def">originalTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:publisher" class="def">publisher</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:originalPublisher" class="def">originalPublisher</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:publisherPlace" class="def">publisherPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:originalPublisherPlace" class="def">originalPublisherPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:authority" class="def">authority</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:jurisdiction" class="def">jurisdiction</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:archive" class="def">archive</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:archivePlace" class="def">archivePlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:archiveLocation" class="def">archiveLocation</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:event" class="def">event</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:eventPlace" class="def">eventPlace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:page" class="def">page</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pageFirst" class="def">pageFirst</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:numberOfPages" class="def">numberOfPages</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:version" class="def">version</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:volume" class="def">volume</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:numberOfVolumes" class="def">numberOfVolumes</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:issue" class="def">issue</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:chapterNumber" class="def">chapterNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:medium" class="def">medium</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:status" class="def">status</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:edition" class="def">edition</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:section" class="def">section</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:source" class="def">source</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:genre" class="def">genre</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:note" class="def">note</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:annote" class="def">annote</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:abstract" class="def">abstract</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:keyword" class="def">keyword</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:number" class="def">number</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:references" class="def">references</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:url" class="def">url</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:doi" class="def">doi</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:isbn" class="def">isbn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:issn" class="def">issn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pmcid" class="def">pmcid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pmid" class="def">pmid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:callNumber" class="def">callNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:dimensions" class="def">dimensions</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:scale" class="def">scale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:categories" class="def">categories</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:language" class="def">language</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citationNumber" class="def">citationNumber</a> :: <a href="Text-CSL-Reference.html#t:CNum">CNum</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:firstReferenceNoteNumber" class="def">firstReferenceNoteNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citationLabel" class="def">citationLabel</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Reference" class="caption collapser" onclick="toggleSection('i:Reference')">Instances</p><div id="section.i:Reference" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:Reference">Reference</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Reference">Reference</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:Reference">Reference</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Reference">Reference</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Reference">Reference</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getReference" class="def">getReference</a> :: [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL.html#t:Cite">Cite</a> -> <a href="Text-CSL.html#t:Reference">Reference</a><a href="src/Text-CSL-Reference.html#getReference" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseLocator" class="def">parseLocator</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)<a href="src/Text-CSL-Reference.html#parseLocator" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setNearNote" class="def">setNearNote</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [[<a href="Text-CSL.html#t:Cite">Cite</a>]] -> [[<a href="Text-CSL.html#t:Cite">Cite</a>]]<a href="src/Text-CSL-Reference.html#setNearNote" class="link">Source</a></p></div><h1 id="g:5">CSL Parser, Representation, and Processing
</h1><div class="top"><p class="src"><a name="v:readCSLFile" class="def">readCSLFile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Style">Style</a><a href="src/Text-CSL-Parser.html#readCSLFile" class="link">Source</a></p><div class="doc"><p>Read and parse a CSL style file into the internal style
representation, the <code><a href="Text-CSL.html#t:Style">Style</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:parseCSL" class="def">parseCSL</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Text-CSL.html#t:Style">Style</a><a href="src/Text-CSL-Parser.html#parseCSL" class="link">Source</a></p><div class="doc"><p>Parse a <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></code> into a fully localized <code><a href="Text-CSL.html#t:Style">Style</a></code>
</p></div></div><h2 id="g:6">The Style Types
</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Style" class="def">Style</a> <a href="src/Text-CSL-Style.html#Style" class="link">Source</a></p><div class="doc"><p>The representation of a parsed CSL style.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Style" class="def">Style</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:styleVersion" class="def">styleVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:styleClass" class="def">styleClass</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:styleInfo" class="def">styleInfo</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-CSL-Style.html#t:CSInfo">CSInfo</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:styleDefaultLocale" class="def">styleDefaultLocale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:styleLocale" class="def">styleLocale</a> :: [<a href="Text-CSL-Style.html#t:Locale">Locale</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:styleAbbrevs" class="def">styleAbbrevs</a> :: [<a href="Text-CSL-Style.html#t:Abbrev">Abbrev</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:csOptions" class="def">csOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:csMacros" class="def">csMacros</a> :: [<a href="Text-CSL-Style.html#t:MacroMap">MacroMap</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citation" class="def">citation</a> :: <a href="Text-CSL.html#t:Citation">Citation</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:biblio" class="def">biblio</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Style" class="caption collapser" onclick="toggleSection('i:Style')">Instances</p><div id="section.i:Style" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Style">Style</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:Style">Style</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Style">Style</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Style">Style</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Citation" class="def">Citation</a> <a href="src/Text-CSL-Style.html#Citation" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Citation" class="def">Citation</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:citOptions" class="def">citOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citSort" class="def">citSort</a> :: [<a href="Text-CSL-Style.html#t:Sort">Sort</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citLayout" class="def">citLayout</a> :: <a href="Text-CSL-Style.html#t:Layout">Layout</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Citation" class="caption collapser" onclick="toggleSection('i:Citation')">Instances</p><div id="section.i:Citation" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Citation">Citation</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:Citation">Citation</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Citation">Citation</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Citation">Citation</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Bibliography" class="def">Bibliography</a> <a href="src/Text-CSL-Style.html#Bibliography" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Bibliography" class="def">Bibliography</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:bibOptions" class="def">bibOptions</a> :: [<a href="Text-CSL-Style.html#t:Option">Option</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:bibSort" class="def">bibSort</a> :: [<a href="Text-CSL-Style.html#t:Sort">Sort</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:bibLayout" class="def">bibLayout</a> :: <a href="Text-CSL-Style.html#t:Layout">Layout</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Bibliography" class="caption collapser" onclick="toggleSection('i:Bibliography')">Instances</p><div id="section.i:Bibliography" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Bibliography">Bibliography</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Cite" class="def">Cite</a> <a href="src/Text-CSL-Style.html#Cite" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Cite" class="def">Cite</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:citeId" class="def">citeId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citePrefix" class="def">citePrefix</a> :: <a href="Text-CSL.html#t:Affix">Affix</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citeSuffix" class="def">citeSuffix</a> :: <a href="Text-CSL.html#t:Affix">Affix</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citeLabel" class="def">citeLabel</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citeLocator" class="def">citeLocator</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citeNoteNumber" class="def">citeNoteNumber</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citePosition" class="def">citePosition</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:nearNote" class="def">nearNote</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:authorInText" class="def">authorInText</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:suppressAuthor" class="def">suppressAuthor</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:citeHash" class="def">citeHash</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Cite" class="caption collapser" onclick="toggleSection('i:Cite')">Instances</p><div id="section.i:Cite" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:Cite">Cite</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Cite">Cite</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Cite">Cite</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Cite">Cite</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Affix" class="def">Affix</a> <a href="src/Text-CSL-Style.html#Affix" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PlainText" class="def">PlainText</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:PandocText" class="def">PandocText</a> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Affix" class="caption collapser" onclick="toggleSection('i:Affix')">Instances</p><div id="section.i:Affix" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-json-doc/html/Text-JSON.html#t:JSON">JSON</a> <a href="Text-CSL.html#t:Affix">Affix</a></td><td class="doc"><p>Needed for the test-suite.
</p></td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:emptyCite" class="def">emptyCite</a> :: <a href="Text-CSL.html#t:Cite">Cite</a><a href="src/Text-CSL-Style.html#emptyCite" class="link">Source</a></p></div><h2 id="g:7">High Level Processing
</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ProcOpts" class="def">ProcOpts</a> <a href="src/Text-CSL-Proc.html#ProcOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ProcOpts" class="def">ProcOpts</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:bibOpts" class="def">bibOpts</a> :: <a href="Text-CSL.html#t:BibOpts">BibOpts</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ProcOpts" class="caption collapser" onclick="toggleSection('i:ProcOpts')">Instances</p><div id="section.i:ProcOpts" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:procOpts" class="def">procOpts</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a><a href="src/Text-CSL-Proc.html#procOpts" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BibOpts" class="def">BibOpts</a> <a href="src/Text-CSL-Proc.html#BibOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Select" class="def">Select</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)]</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Include" class="def">Include</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)]</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Exclude" class="def">Exclude</a> [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)] [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)]</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:BibOpts" class="caption collapser" onclick="toggleSection('i:BibOpts')">Instances</p><div id="section.i:BibOpts" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:BibOpts">BibOpts</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Text-CSL.html#t:BibOpts">BibOpts</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:BibOpts">BibOpts</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:citeproc" class="def">citeproc</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL-Style.html#t:Citations">Citations</a> -> <a href="Text-CSL.html#t:BiblioData">BiblioData</a><a href="src/Text-CSL-Proc.html#citeproc" class="link">Source</a></p><div class="doc"><p>With a <code><a href="Text-CSL.html#t:Style">Style</a></code>, a list of <code><a href="Text-CSL.html#t:Reference">Reference</a></code>s and the list of
<code><a href="Text-CSL-Style.html#t:Citations">Citations</a></code>, produce the <code><a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></code> for each citation group
and the bibliography.
</p></div></div><div class="top"><p class="src"><a name="v:processCitations" class="def">processCitations</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> <a href="Text-CSL-Style.html#t:Citations">Citations</a> -> [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]<a href="src/Text-CSL-Proc.html#processCitations" class="link">Source</a></p><div class="doc"><p>With a <code><a href="Text-CSL.html#t:Style">Style</a></code>, a list of <code><a href="Text-CSL.html#t:Reference">Reference</a></code>s and the list of citation
groups (the list of citations with their locator), produce the
<code><a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></code> for each citation group.
</p></div></div><div class="top"><p class="src"><a name="v:processBibliography" class="def">processBibliography</a> :: <a href="Text-CSL.html#t:ProcOpts">ProcOpts</a> -> <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:Reference">Reference</a>] -> [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]<a href="src/Text-CSL-Proc.html#processBibliography" class="link">Source</a></p><div class="doc"><p>With a <code><a href="Text-CSL.html#t:Style">Style</a></code> and the list of <code><a href="Text-CSL.html#t:Reference">Reference</a></code>s produce the
<code><a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></code> for the bibliography.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BiblioData" class="def">BiblioData</a> <a href="src/Text-CSL-Style.html#BiblioData" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:BD" class="def">BD</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:citations" class="def">citations</a> :: [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:bibliography" class="def">bibliography</a> :: [[<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]]</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:BiblioData" class="caption collapser" onclick="toggleSection('i:BiblioData')">Instances</p><div id="section.i:BiblioData" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:BiblioData">BiblioData</a></td><td class="doc empty"> </td></tr></table></div></div></div><h1 id="g:8">The output and the rendering functions
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FormattedOutput" class="def">FormattedOutput</a> <a href="src/Text-CSL-Style.html#FormattedOutput" class="link">Source</a></p><div class="doc"><p>The formatted output, produced after post-processing the
evaluated citations.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FO" class="def">FO</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>]</td><td class="doc"><p>List of <code>FormatOutput</code> items
</p></td></tr><tr><td class="src"><a name="v:FN" class="def">FN</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a></td><td class="doc"><p>Formatted number
</p></td></tr><tr><td class="src"><a name="v:FS" class="def">FS</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a></td><td class="doc"><p>Formatted string
</p></td></tr><tr><td class="src"><a name="v:FDel" class="def">FDel</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>Delimeter string
</p></td></tr><tr><td class="src"><a name="v:FUrl" class="def">FUrl</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Target">Target</a> <a href="Text-CSL-Style.html#t:Formatting">Formatting</a></td><td class="doc"><p>Formatted URL
</p></td></tr><tr><td class="src"><a name="v:FPan" class="def">FPan</a> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]</td><td class="doc"><p>Pandoc inline elements
</p></td></tr><tr><td class="src"><a name="v:FNull" class="def">FNull</a></td><td class="doc"><p>Null formatting item
</p></td></tr></table></div><div class="subs instances"><p id="control.i:FormattedOutput" class="caption collapser" onclick="toggleSection('i:FormattedOutput')">Instances</p><div id="section.i:FormattedOutput" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:renderPlain" class="def">renderPlain</a> :: [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-CSL-Output-Plain.html#renderPlain" class="link">Source</a></p><div class="doc"><p>Render the <code><a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a></code> into a plain text string.
</p></div></div><div class="top"><p class="src"><a name="v:renderPlainStrict" class="def">renderPlainStrict</a> :: [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-CSL-Output-Plain.html#renderPlainStrict" class="link">Source</a></p><div class="doc"><p>Same as <code><a href="Text-CSL.html#v:renderPlain">renderPlain</a></code> , but will not clean up the produced
output.
</p></div></div><div class="top"><p class="src"><a name="v:renderPandoc" class="def">renderPandoc</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]<a href="src/Text-CSL-Output-Pandoc.html#renderPandoc" class="link">Source</a></p><div class="doc"><p>With a <code><a href="Text-CSL.html#t:Style">Style</a></code> and the formatted output generate a <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></code> in
the native <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></code> formats (i.e. immediately readable by pandoc).
</p></div></div><div class="top"><p class="src"><a name="v:renderPandoc-39-" class="def">renderPandoc'</a> :: <a href="Text-CSL.html#t:Style">Style</a> -> [<a href="Text-CSL.html#t:FormattedOutput">FormattedOutput</a>] -> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Block">Block</a><a href="src/Text-CSL-Output-Pandoc.html#renderPandoc%27" class="link">Source</a></p><div class="doc"><p>Same as <code><a href="Text-CSL.html#v:renderPandoc">renderPandoc</a></code>, but the output is wrapped in a pandoc
paragraph block.
</p></div></div><div class="top"><p class="src"><a name="v:headInline" class="def">headInline</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-CSL-Output-Pandoc.html#headInline" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:initInline" class="def">initInline</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]<a href="src/Text-CSL-Output-Pandoc.html#initInline" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tailFirstInlineStr" class="def">tailFirstInlineStr</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]<a href="src/Text-CSL-Output-Pandoc.html#tailFirstInlineStr" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toCapital" class="def">toCapital</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>]<a href="src/Text-CSL-Output-Pandoc.html#toCapital" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:startWithPunct" class="def">startWithPunct</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Text-CSL-Output-Pandoc.html#startWithPunct" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:endWithPunct" class="def">endWithPunct</a> :: [<a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Inline">Inline</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Text-CSL-Output-Pandoc.html#endWithPunct" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|