<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Text.CSL.Output.Pandoc</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Text-CSL-Output-Pandoc.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >citeproc-hs-0.3.2: A Citation Style Language implementation in Haskell</TD ><TD CLASS="topbut" ><A HREF="src/Text-CSL-Output-Pandoc.html" >Source code</A ></TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Text.CSL.Output.Pandoc</FONT ></TD ><TD ALIGN="right" ><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="infohead" >Portability</TD ><TD CLASS="infoval" >unportable</TD ></TR ><TR ><TD CLASS="infohead" >Stability</TD ><TD CLASS="infoval" >unstable</TD ></TR ><TR ><TD CLASS="infohead" >Maintainer</TD ><TD CLASS="infoval" >Andrea Rossato <andrea.rossato@unitn.it></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Description</TD ></TR ><TR ><TD CLASS="doc" >The pandoc output formatter for CSL </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3ArenderPandoc" >renderPandoc</A > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ArenderPandoc%27" >renderPandoc'</A > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3ABlock" >Block</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ArenderPandoc_" >renderPandoc_</A > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AheadInline" >headInline</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AinitInline" >initInline</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtailFirstInlineStr" >tailFirstInlineStr</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtoCapital" >toCapital</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AstartWithPunct" >startWithPunct</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AendWithPunct" >endWithPunct</A > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:renderPandoc" ><A NAME="v%3ArenderPandoc" ></A ></A ><B >renderPandoc</B > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#renderPandoc" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >With a <TT ><A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A ></TT > and the formatted output generate a <TT ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A ></TT > in the native <TT ><A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3APandoc" >Pandoc</A ></TT > formats (i.e. immediately readable by pandoc). </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:renderPandoc'" ><A NAME="v%3ArenderPandoc%27" ></A ></A ><B >renderPandoc'</B > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3ABlock" >Block</A ></TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#renderPandoc%27" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Same as <TT ><A HREF="Text-CSL-Output-Pandoc.html#v%3ArenderPandoc" >renderPandoc</A ></TT >, but the output is wrapped in a pandoc paragraph block. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:renderPandoc_" ><A NAME="v%3ArenderPandoc_" ></A ></A ><B >renderPandoc_</B > :: <A HREF="Text-CSL-Style.html#t%3AStyle" >Style</A > -> [<A HREF="Text-CSL-Style.html#t%3AFormattedOutput" >FormattedOutput</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#renderPandoc_" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >For the testsuite: we use <TT ><A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#v%3ALink" >Link</A ></TT > and <TT ><A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#v%3AStrikeout" >Strikeout</A ></TT > to store <A HREF="nocase.html" >nocase</A > and <A HREF="nodecor.html" >nodecor</A > rich text formatting classes. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:headInline" ><A NAME="v%3AheadInline" ></A ></A ><B >headInline</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A ></TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#headInline" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:initInline" ><A NAME="v%3AinitInline" ></A ></A ><B >initInline</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#initInline" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tailFirstInlineStr" ><A NAME="v%3AtailFirstInlineStr" ></A ></A ><B >tailFirstInlineStr</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#tailFirstInlineStr" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:toCapital" ><A NAME="v%3AtoCapital" ></A ></A ><B >toCapital</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >]</TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#toCapital" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:startWithPunct" ><A NAME="v%3AstartWithPunct" ></A ></A ><B >startWithPunct</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#startWithPunct" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:endWithPunct" ><A NAME="v%3AendWithPunct" ></A ></A ><B >endWithPunct</B > :: [<A HREF="/usr/share/doc/ghc/html/libraries/pandoc-types-1.8/Text-Pandoc-Definition.html#t%3AInline" >Inline</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Text-CSL-Output-Pandoc.html#endWithPunct" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.1</TD ></TR ></TABLE ></BODY ></HTML >