/usr/share/doc/racket/scriblib/bibtex.html is in racket-doc 6.7-3.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>4 BibTeX Bibliographies</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">▼</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Scriblib:<span class="mywbr"> </span> Extra Scribble Libraries</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="gui-eval.html" class="tocviewlink" data-pltdoc="x">Examples Using the GUI Toolbox</a></td></tr><tr><td align="right">2 </td><td><a href="figure.html" class="tocviewlink" data-pltdoc="x">Figures</a></td></tr><tr><td align="right">3 </td><td><a href="autobib.html" class="tocviewlink" data-pltdoc="x">Bibliographies</a></td></tr><tr><td align="right">4 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Bib<span class="mywbr"> </span>Te<span class="mywbr"> </span>X Bibliographies</a></td></tr><tr><td align="right">5 </td><td><a href="footnotes.html" class="tocviewlink" data-pltdoc="x">Footnotes</a></td></tr><tr><td align="right">6 </td><td><a href="render-cond.html" class="tocviewlink" data-pltdoc="x">Conditional Content</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28form._%28%28lib._scriblib%2Fbibtex..rkt%29._define-bibtex-cite%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">define-<wbr></wbr>bibtex-<wbr></wbr>cite</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scriblib%2Fbibtex..rkt%29._define-bibtex-cite%2A%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">define-<wbr></wbr>bibtex-<wbr></wbr>cite*</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibdb%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">bibdb</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._path-~3ebibdb%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">path-<wbr></wbr>>bibdb</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibtex-parse%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">bibtex-<wbr></wbr>parse</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="versionbox"><span class="version">6.7</span></div><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="autobib.html" title="backward to "3 Bibliographies"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Scriblib: Extra Scribble Libraries"" data-pltdoc="x">up</a> <a href="footnotes.html" title="forward to "5 Footnotes"" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "scriblib/scribblings/scriblib.scrbl")" x-source-pkg="scribble-doc" x-part-tag=""bibtex"">4<tt> </tt><a name="(part._bibtex)"></a><a name="(mod-path._scriblib/bibtex)"></a>BibTeX Bibliographies</h3><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">scriblib/bibtex</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><table cellspacing="0" cellpadding="0" class="RktBlk RForeground"><tr><td><span class="RktPn">(</span><a name="(form._((lib._scriblib/bibtex..rkt)._define-bibtex-cite))"></a><span title="Provided from: scriblib/bibtex | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scriblib%2Fbibtex..rkt%29._define-bibtex-cite%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">define-bibtex-cite</a></span></span><span class="hspace"> </span><span class="RktVar">bib-pth</span><span class="hspace"> </span><span class="RktVar">~cite-id</span><span class="hspace"> </span><span class="RktVar">citet-id</span><span class="hspace"> </span><span class="RktVar">generate-bibliography-id</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">option</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Expands into:
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=begin.html%23%2528form._%2528%2528quote._%7E23%7E25kernel%2529._begin%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">begin</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="autobib.html#%28form._%28%28lib._scriblib%2Fautobib..rkt%29._define-cite%29%29" class="RktStxLink" data-pltdoc="x">define-cite</a></span><span class="hspace"> </span><span class="RktSym">autobib-cite</span><span class="hspace"> </span><span class="RktSym">autobib-citet</span><span class="hspace"> </span><span class="RktVar">generate-bibliography-id</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">option</span><span class="hspace"> </span><span class="RktMeta"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=stx-patterns.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fstxcase-scheme..rkt%2529._......%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">...</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28form._%28%28lib._scriblib%2Fbibtex..rkt%29._define-bibtex-cite%2A%29%29" class="RktStxLink" data-pltdoc="x">define-bibtex-cite*</a></span><span class="hspace"> </span><span class="RktVar">bib-pth</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">autobib-cite</span><span class="hspace"> </span><span class="RktSym">autobib-citet</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">~cite-id</span><span class="hspace"> </span><span class="RktVar">citet-id</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></blockquote></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><table cellspacing="0" cellpadding="0" class="RktBlk RForeground"><tr><td><span class="RktPn">(</span><a name="(form._((lib._scriblib/bibtex..rkt)._define-bibtex-cite*))"></a><span title="Provided from: scriblib/bibtex | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scriblib%2Fbibtex..rkt%29._define-bibtex-cite%2A%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">define-bibtex-cite*</a></span></span><span class="hspace"> </span><span class="RktVar">bib-pth</span><span class="hspace"> </span><span class="RktVar">autobib-cite</span><span class="hspace"> </span><span class="RktVar">autobib-citet</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">~cite-id</span><span class="hspace"> </span><span class="RktVar">citet-id</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Parses <span class="RktVar">bib-pth</span> as a BibTeX database, and augments
<span class="RktVar">autobib-cite</span> and <span class="RktVar">autobib-citet</span> into
<span class="RktVar">~cite-id</span> and <span class="RktVar">citet-id</span> functions so that rather than
accepting <span class="RktSym"><a href="autobib.html#%28def._%28%28lib._scriblib%2Fautobib..rkt%29._bib~3f%29%29" class="RktValLink" data-pltdoc="x">bib?</a></span> structures, they accept citation key strings.</div></p><p>Each string is broken along spaces into citations keys that are looked up in the BibTeX database and turned into <span class="RktSym"><a href="autobib.html#%28def._%28%28lib._scriblib%2Fautobib..rkt%29._bib~3f%29%29" class="RktValLink" data-pltdoc="x">bib?</a></span> structures.</p><p>The only BibTeX entries that are supported are: <span class="RktInBG"><span class="hspace"></span><span class="RktIn">misc</span><span class="hspace"></span></span>,
<span class="RktInBG"><span class="hspace"></span><span class="RktIn">book</span><span class="hspace"></span></span>, <span class="RktInBG"><span class="hspace"></span><span class="RktIn">article</span><span class="hspace"></span></span>, <span class="RktInBG"><span class="hspace"></span><span class="RktIn">inproceedings</span><span class="hspace"></span></span>,
<span class="RktInBG"><span class="hspace"></span><span class="RktIn">webpage</span><span class="hspace"></span></span>, <span class="RktInBG"><span class="hspace"></span><span class="RktIn">mastersthesis</span><span class="hspace"></span></span>, and <span class="RktInBG"><span class="hspace"></span><span class="RktIn">techreport</span><span class="hspace"></span></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">struct</a></span><span class="stt"> </span><a name="(def._((lib._scriblib/bibtex..rkt)._bibdb-bibs))"></a><a name="(def._((lib._scriblib/bibtex..rkt)._bibdb-raw))"></a><a name="(def._((lib._scriblib/bibtex..rkt)._bibdb~3f))"></a><a name="(def._((lib._scriblib/bibtex..rkt)._struct~3abibdb))"></a><a name="(def._((lib._scriblib/bibtex..rkt)._bibdb))"></a><span title="Provided from: scriblib/bibtex | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibdb%29%29" class="RktValDef RktValLink" data-pltdoc="x">bibdb</a></span></span><span class="stt"> </span><span class="RktPn">(</span><span class="RktSym">raw</span><span class="stt"> </span><span class="RktSym">bibs</span><span class="RktPn">)</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">raw</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fhash..rkt%2529._hash%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">hash/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fhash..rkt%2529._hash%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">hash/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">bibs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fhash..rkt%2529._hash%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">hash/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="autobib.html#%28def._%28%28lib._scriblib%2Fautobib..rkt%29._bib~3f%29%29" class="RktValLink" data-pltdoc="x">bib?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Represents a BibTeX database. The <span class="RktVar">raw</span> hash table maps the labels in the file to hash tables of the attributes and their values. The <span class="RktVar">bibs</span> hash table maps the same labels to Scribble data-structures representing the same information.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scriblib/bibtex..rkt)._path-~3ebibdb))"></a><span title="Provided from: scriblib/bibtex | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._path-~3ebibdb%29%29" class="RktValDef RktValLink" data-pltdoc="x">path->bibdb</a></span></span><span class="hspace"> </span><span class="RktVar">path</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibdb~3f%29%29" class="RktValLink" data-pltdoc="x">bibdb?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">path</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Parses a path into a BibTeX database.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scriblib/bibtex..rkt)._bibtex-parse))"></a><span title="Provided from: scriblib/bibtex | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibtex-parse%29%29" class="RktValDef RktValLink" data-pltdoc="x">bibtex-parse</a></span></span><span class="hspace"> </span><span class="RktVar">ip</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._scriblib%2Fbibtex..rkt%29._bibdb~3f%29%29" class="RktValLink" data-pltdoc="x">bibdb?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ip</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._input-port%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">input-port?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Parses an input port into a BibTeX database.</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="autobib.html" title="backward to "3 Bibliographies"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Scriblib: Extra Scribble Libraries"" data-pltdoc="x">up</a> <a href="footnotes.html" title="forward to "5 Footnotes"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|