/usr/share/doc/libghc-hs-bibutils-doc/html/Text-Bibutils.html is in libghc-hs-bibutils-doc 4.12-7build1.
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 | <!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.Bibutils</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-Bibutils.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Bibutils.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">hs-bibutils-4.12: Haskell bindings to bibutils, the bibliography
conversion utilities.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>andrea.rossato@unitn.it</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Text.Bibutils</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Basic Functions
</a></li><li><a href="#g:2">Auxiliary Functions
</a><ul><li><a href="#g:3">Functions for Setting Parameters
</a></li></ul></li><li><a href="#g:4">Input Formats
</a></li><li><a href="#g:5">Output Formats
</a></li><li><a href="#g:6">Options for Specific Output Formats
</a></li><li><a href="#g:7">Charsets
</a></li><li><a href="#g:8">Return Status
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Here is a simple program using hs-bibutils to conver a MODS
collection into a bibtex file, sending the output to stdout:
</p><pre> import Text.Bibutils
main :: IO ()
main = do
bibl <- bibl_init
param <- bibl_initparams mods_in bibtex_out "mods2bibtex"
setFormatOpts param [bibout_brackets, bibout_uppercase]
setBOM param
setVerbose param
bibl_read param bibl "/path/to/bibtex.bib"
bibl_write param bibl "-"
bibl_free bibl
bibl_freeparams param
</pre></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"><span class="keyword">data</span> <a href="#t:Bibl">Bibl</a> </li><li class="src short"><span class="keyword">data</span> <a href="#t:Param">Param</a> = <a href="#v:Param">Param</a> {<ul class="subs"><li><a href="#v:redaformat">redaformat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:writeformat">writeformat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:charsetin">charsetin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:charsetin_src">charsetin_src</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:latexin">latexin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:utf8in">utf8in</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:xmlin">xmlin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:nosplittitle">nosplittitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:charsetout">charsetout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:charsetout_src">charsetout_src</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:latexout">latexout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:utf8out">utf8out</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:utf8bom">utf8bom</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:xmlout">xmlout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:format_opts">format_opts</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:addcount">addcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li><a href="#v:output_raw">output_raw</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:verbose">verbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li><li><a href="#v:singlerefperfile">singlerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></li></ul>}</li><li class="src short"><a href="#v:bibl_init">bibl_init</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a>)</li><li class="src short"><a href="#v:bibl_initparams">bibl_initparams</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a> -> <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a>)</li><li class="src short"><a href="#v:bibl_read">bibl_read</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</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-Bibutils.html#t:Status">Status</a></li><li class="src short"><a href="#v:bibl_write">bibl_write</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</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-Bibutils.html#t:Status">Status</a></li><li class="src short"><a href="#v:bibl_readasis">bibl_readasis</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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> ()</li><li class="src short"><a href="#v:bibl_addtoasis">bibl_addtoasis</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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> ()</li><li class="src short"><a href="#v:bibl_readcorps">bibl_readcorps</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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> ()</li><li class="src short"><a href="#v:bibl_addtocorps">bibl_addtocorps</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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> ()</li><li class="src short"><a href="#v:bibl_free">bibl_free</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:bibl_freeparams">bibl_freeparams</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:bibl_reporterr">bibl_reporterr</a> :: <a href="Text-Bibutils.html#t:Status">Status</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:numberOfRefs">numberOfRefs</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:status">status</a> :: <a href="Text-Bibutils.html#t:Status">Status</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></li><li class="src short"><a href="#v:setParam">setParam</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> (<a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Param">Param</a>) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setFormatOpts">setFormatOpts</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> [<a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setCharsetIn">setCharsetIn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Charset">Charset</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setCharsetOut">setCharsetOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Charset">Charset</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setBOM">setBOM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetBOM">unsetBOM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setNoSplitTitle">setNoSplitTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetNoSplitTitle">unsetNoSplitTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setLatexOut">setLatexOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetLatexOut">unsetLatexOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setXmlOut">setXmlOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetXmlOut">unsetXmlOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setAddcount">setAddcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetAddcount">unsetAddcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setSinglerefperfile">setSinglerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetSinglerefperfile">unsetSinglerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:setVerbose">setVerbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:unsetVerbose">unsetVerbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:BiblioIn">BiblioIn</a> </li><li class="src short"><a href="#v:mods_in">mods_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:bibtex_in">bibtex_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:ris_in">ris_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:endnote_in">endnote_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:copac_in">copac_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:isi_in">isi_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:medline_in">medline_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:biblatex_in">biblatex_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><a href="#v:endnotexml_in">endnotexml_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:BiblioOut">BiblioOut</a> </li><li class="src short"><a href="#v:mods_out">mods_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:bibtex_out">bibtex_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:ris_out">ris_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:endnote_out">endnote_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:isi_out">isi_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:word2007_out">word2007_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><a href="#v:adsab_out">adsab_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:FormatOpt">FormatOpt</a> </li><li class="src short"><a href="#v:bibout_finalcomma">bibout_finalcomma</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:bibout_singledash">bibout_singledash</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:bibout_whitespace">bibout_whitespace</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:bibout_brackets">bibout_brackets</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:bibout_uppercase">bibout_uppercase</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:bibout_strictkey">bibout_strictkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:modsout_dropkey">modsout_dropkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><a href="#v:wordout_dropkey">wordout_dropkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Charset">Charset</a> </li><li class="src short"><a href="#v:bibl_charset_unknown">bibl_charset_unknown</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a></li><li class="src short"><a href="#v:bibl_charset_unicode">bibl_charset_unicode</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a></li><li class="src short"><a href="#v:bibl_charset_gb18030">bibl_charset_gb18030</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a></li><li class="src short"><a href="#v:bibl_charset_default">bibl_charset_default</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Status">Status</a> </li><li class="src short"><a href="#v:bibl_ok">bibl_ok</a> :: <a href="Text-Bibutils.html#t:Status">Status</a></li><li class="src short"><a href="#v:bibl_err_badinput">bibl_err_badinput</a> :: <a href="Text-Bibutils.html#t:Status">Status</a></li><li class="src short"><a href="#v:bibl_err_memerr">bibl_err_memerr</a> :: <a href="Text-Bibutils.html#t:Status">Status</a></li><li class="src short"><a href="#v:bibl_err_cantopen">bibl_err_cantopen</a> :: <a href="Text-Bibutils.html#t:Status">Status</a></li></ul></div><div id="interface"><h1 id="g:1">Basic Functions
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Bibl" class="def">Bibl</a> <a href="src/Text-Bibutils.html#Bibl" class="link">Source</a></p><div class="doc"><p>A type for storing the C struct with the bibliography data.
Mostly opaque to the Haskell side. See <code><a href="Text-Bibutils.html#v:numberOfRefs">numberOfRefs</a></code> to retrieve
the number of references stored in the struct.
</p></div><div class="subs instances"><p id="control.i:Bibl" class="caption collapser" onclick="toggleSection('i:Bibl')">Instances</p><div id="section.i:Bibl" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Storable.html#t:Storable">Storable</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</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:Param" class="def">Param</a> <a href="src/Text-Bibutils.html#Param" class="link">Source</a></p><div class="doc"><p>A type for storing the Param C struct. It should be accessed with
the functions provided, such as <code><a href="Text-Bibutils.html#v:setCharsetIn">setCharsetIn</a></code>, etc.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Param" class="def">Param</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:redaformat" class="def">redaformat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:writeformat" class="def">writeformat</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:charsetin" class="def">charsetin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:charsetin_src" class="def">charsetin_src</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:latexin" class="def">latexin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:utf8in" class="def">utf8in</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:xmlin" class="def">xmlin</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:nosplittitle" class="def">nosplittitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:charsetout" class="def">charsetout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:charsetout_src" class="def">charsetout_src</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:latexout" class="def">latexout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:utf8out" class="def">utf8out</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:utf8bom" class="def">utf8bom</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:xmlout" class="def">xmlout</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:format_opts" class="def">format_opts</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:addcount" class="def">addcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:output_raw" class="def">output_raw</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:verbose" class="def">verbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:singlerefperfile" class="def">singlerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CUChar">CUChar</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:Param" class="caption collapser" onclick="toggleSection('i:Param')">Instances</p><div id="section.i:Param" 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-Bibutils.html#t:Param">Param</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/Foreign-Storable.html#t:Storable">Storable</a> <a href="Text-Bibutils.html#t:Param">Param</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:bibl_init" class="def">bibl_init</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a>)<a href="src/Text-Bibutils.html#bibl_init" class="link">Source</a></p><div class="doc"><p>Initialize the <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> C struct. Usually the first function being
called.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_initparams" class="def">bibl_initparams</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a> -> <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a>)<a href="src/Text-Bibutils.html#bibl_initparams" class="link">Source</a></p><div class="doc"><p>Initialize the <code><a href="Text-Bibutils.html#t:Param">Param</a></code> C struct, given the input bibliographic
format, the output bibliographic format, and the program name to
be used for displaying debugging information.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_read" class="def">bibl_read</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</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-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_read" class="link">Source</a></p><div class="doc"><p>Given a <code><a href="Text-Bibutils.html#t:Param">Param</a></code> C structure, a <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> C structure, the path to
the input file (<code>"-"</code> for the standard input), read the file,
storing the data in the <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> struct, and report a <code><a href="Text-Bibutils.html#t:Status">Status</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_write" class="def">bibl_write</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</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-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_write" class="link">Source</a></p><div class="doc"><p>Given a <code><a href="Text-Bibutils.html#t:Param">Param</a></code> C structure, a <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> C structure, the path to an
output file (<code>"-"</code> for the standard output), write the file
returning a <code><a href="Text-Bibutils.html#t:Status">Status</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_readasis" class="def">bibl_readasis</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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="src/Text-Bibutils.html#bibl_readasis" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_addtoasis" class="def">bibl_addtoasis</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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="src/Text-Bibutils.html#bibl_addtoasis" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_readcorps" class="def">bibl_readcorps</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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="src/Text-Bibutils.html#bibl_readcorps" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_addtocorps" class="def">bibl_addtocorps</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</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="src/Text-Bibutils.html#bibl_addtocorps" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_free" class="def">bibl_free</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#bibl_free" class="link">Source</a></p><div class="doc"><p>Free the <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> C struct.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_freeparams" class="def">bibl_freeparams</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#bibl_freeparams" class="link">Source</a></p><div class="doc"><p>Free the <code><a href="Text-Bibutils.html#t:Param">Param</a></code> C struct.
</p></div></div><div class="top"><p class="src"><a name="v:bibl_reporterr" class="def">bibl_reporterr</a> :: <a href="Text-Bibutils.html#t:Status">Status</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#bibl_reporterr" class="link">Source</a></p></div><h1 id="g:2">Auxiliary Functions
</h1><div class="top"><p class="src"><a name="v:numberOfRefs" class="def">numberOfRefs</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Bibl">Bibl</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a><a href="src/Text-Bibutils.html#numberOfRefs" class="link">Source</a></p><div class="doc"><p>Retrieve the number of references from a <code><a href="Text-Bibutils.html#t:Bibl">Bibl</a></code> C struct.
</p></div></div><div class="top"><p class="src"><a name="v:status" class="def">status</a> :: <a href="Text-Bibutils.html#t:Status">Status</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a><a href="src/Text-Bibutils.html#status" class="link">Source</a></p></div><h2 id="g:3">Functions for Setting Parameters
</h2><div class="top"><p class="src"><a name="v:setParam" class="def">setParam</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> (<a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Param">Param</a>) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setParam" class="link">Source</a></p><div class="doc"><p>Set fields of the <code><a href="Text-Bibutils.html#t:Param">Param</a></code> C struct directly.
</p></div></div><div class="top"><p class="src"><a name="v:setFormatOpts" class="def">setFormatOpts</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> [<a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setFormatOpts" class="link">Source</a></p><div class="doc"><p>Set output format specific options. See <code><a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:setCharsetIn" class="def">setCharsetIn</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Charset">Charset</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setCharsetIn" class="link">Source</a></p><div class="doc"><p>Set the input charset. Default is Latin-1 (ISO8859-1). See
<code><a href="Text-Bibutils.html#t:Charset">Charset</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:setCharsetOut" class="def">setCharsetOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="Text-Bibutils.html#t:Charset">Charset</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setCharsetOut" class="link">Source</a></p><div class="doc"><p>Set the output charset.
</p></div></div><div class="top"><p class="src"><a name="v:setBOM" class="def">setBOM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setBOM" class="link">Source</a></p><div class="doc"><p>Write utf8 byte-order-mark.
</p></div></div><div class="top"><p class="src"><a name="v:unsetBOM" class="def">unsetBOM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetBOM" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setNoSplitTitle" class="def">setNoSplitTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setNoSplitTitle" class="link">Source</a></p><div class="doc"><p>Do not split titles.
</p></div></div><div class="top"><p class="src"><a name="v:unsetNoSplitTitle" class="def">unsetNoSplitTitle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetNoSplitTitle" class="link">Source</a></p><div class="doc"><p>Split titles.
</p></div></div><div class="top"><p class="src"><a name="v:setLatexOut" class="def">setLatexOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setLatexOut" class="link">Source</a></p><div class="doc"><p>Write Latex codes.
</p></div></div><div class="top"><p class="src"><a name="v:unsetLatexOut" class="def">unsetLatexOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetLatexOut" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setXmlOut" class="def">setXmlOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setXmlOut" class="link">Source</a></p><div class="doc"><p>Write characters in XML entities.
</p></div></div><div class="top"><p class="src"><a name="v:unsetXmlOut" class="def">unsetXmlOut</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetXmlOut" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setAddcount" class="def">setAddcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setAddcount" class="link">Source</a></p><div class="doc"><p>Add reference count to reference id.
</p></div></div><div class="top"><p class="src"><a name="v:unsetAddcount" class="def">unsetAddcount</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetAddcount" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setSinglerefperfile" class="def">setSinglerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setSinglerefperfile" class="link">Source</a></p><div class="doc"><p>Output a single reference for each file.
</p></div></div><div class="top"><p class="src"><a name="v:unsetSinglerefperfile" class="def">unsetSinglerefperfile</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetSinglerefperfile" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:setVerbose" class="def">setVerbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#setVerbose" class="link">Source</a></p><div class="doc"><p>Verbose output.
</p></div></div><div class="top"><p class="src"><a name="v:unsetVerbose" class="def">unsetVerbose</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="Text-Bibutils.html#t:Param">Param</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Bibutils.html#unsetVerbose" class="link">Source</a></p><div class="doc"><p>Suppress verbose output.
</p></div></div><h1 id="g:4">Input Formats
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BiblioIn" class="def">BiblioIn</a> <a href="src/Text-Bibutils.html#BiblioIn" class="link">Source</a></p><div class="subs instances"><p id="control.i:BiblioIn" class="caption collapser" onclick="toggleSection('i:BiblioIn')">Instances</p><div id="section.i:BiblioIn" 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-Bibutils.html#t:BiblioIn">BiblioIn</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:mods_in" class="def">mods_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#mods_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibtex_in" class="def">bibtex_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#bibtex_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:ris_in" class="def">ris_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#ris_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:endnote_in" class="def">endnote_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#endnote_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:copac_in" class="def">copac_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#copac_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isi_in" class="def">isi_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#isi_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:medline_in" class="def">medline_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#medline_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:biblatex_in" class="def">biblatex_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#biblatex_in" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:endnotexml_in" class="def">endnotexml_in</a> :: <a href="Text-Bibutils.html#t:BiblioIn">BiblioIn</a><a href="src/Text-Bibutils.html#endnotexml_in" class="link">Source</a></p></div><h1 id="g:5">Output Formats
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BiblioOut" class="def">BiblioOut</a> <a href="src/Text-Bibutils.html#BiblioOut" class="link">Source</a></p><div class="subs instances"><p id="control.i:BiblioOut" class="caption collapser" onclick="toggleSection('i:BiblioOut')">Instances</p><div id="section.i:BiblioOut" 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-Bibutils.html#t:BiblioOut">BiblioOut</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:mods_out" class="def">mods_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#mods_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibtex_out" class="def">bibtex_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#bibtex_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:ris_out" class="def">ris_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#ris_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:endnote_out" class="def">endnote_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#endnote_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isi_out" class="def">isi_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#isi_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:word2007_out" class="def">word2007_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#word2007_out" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:adsab_out" class="def">adsab_out</a> :: <a href="Text-Bibutils.html#t:BiblioOut">BiblioOut</a><a href="src/Text-Bibutils.html#adsab_out" class="link">Source</a></p></div><h1 id="g:6">Options for Specific Output Formats
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FormatOpt" class="def">FormatOpt</a> <a href="src/Text-Bibutils.html#FormatOpt" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_finalcomma" class="def">bibout_finalcomma</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_finalcomma" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_singledash" class="def">bibout_singledash</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_singledash" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_whitespace" class="def">bibout_whitespace</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_whitespace" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_brackets" class="def">bibout_brackets</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_brackets" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_uppercase" class="def">bibout_uppercase</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_uppercase" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibout_strictkey" class="def">bibout_strictkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#bibout_strictkey" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:modsout_dropkey" class="def">modsout_dropkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#modsout_dropkey" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:wordout_dropkey" class="def">wordout_dropkey</a> :: <a href="Text-Bibutils.html#t:FormatOpt">FormatOpt</a><a href="src/Text-Bibutils.html#wordout_dropkey" class="link">Source</a></p></div><h1 id="g:7">Charsets
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Charset" class="def">Charset</a> <a href="src/Text-Bibutils.html#Charset" class="link">Source</a></p><div class="subs instances"><p id="control.i:Charset" class="caption collapser" onclick="toggleSection('i:Charset')">Instances</p><div id="section.i:Charset" 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-Bibutils.html#t:Charset">Charset</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:bibl_charset_unknown" class="def">bibl_charset_unknown</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a><a href="src/Text-Bibutils.html#bibl_charset_unknown" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_charset_unicode" class="def">bibl_charset_unicode</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a><a href="src/Text-Bibutils.html#bibl_charset_unicode" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_charset_gb18030" class="def">bibl_charset_gb18030</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a><a href="src/Text-Bibutils.html#bibl_charset_gb18030" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_charset_default" class="def">bibl_charset_default</a> :: <a href="Text-Bibutils.html#t:Charset">Charset</a><a href="src/Text-Bibutils.html#bibl_charset_default" class="link">Source</a></p></div><h1 id="g:8">Return Status
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Status" class="def">Status</a> <a href="src/Text-Bibutils.html#Status" class="link">Source</a></p><div class="subs instances"><p id="control.i:Status" class="caption collapser" onclick="toggleSection('i:Status')">Instances</p><div id="section.i:Status" 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-Bibutils.html#t:Status">Status</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-Bibutils.html#t:Status">Status</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:bibl_ok" class="def">bibl_ok</a> :: <a href="Text-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_ok" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_err_badinput" class="def">bibl_err_badinput</a> :: <a href="Text-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_err_badinput" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_err_memerr" class="def">bibl_err_memerr</a> :: <a href="Text-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_err_memerr" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:bibl_err_cantopen" class="def">bibl_err_cantopen</a> :: <a href="Text-Bibutils.html#t:Status">Status</a><a href="src/Text-Bibutils.html#bibl_err_cantopen" 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>
|