Debian Codegraph @

texmf-dist/doc/bibtex/bibhtml/bibhtml.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4 <title>Bibhtml documentation</title>
5 <meta name="keywords" content="bibhtml, bibtex, HTML" />
6 <link href="http://nxg.me.uk" rev="author" />
7 <link type="text/css" rel="stylesheet" href="style.css" />
8 </head>
9
10 <body>
11
12 <h1>Bibhtml</h1>
13
14 <div class="abstract">
15 <p><em>Bibhtml</em> consists of a set of BibTeX style files, which
16 allow you to use BibTeX to produce bibliographies in HTML. These are
17 modelled closely on the standard BibTeX style files.</p>
18
19 <p>To accompany them, this package includes a pair of XSLT scripts
20 which illustrate how you might integrate these generated
21 bibliographies into an XML/HTML workflow.</p>
22
23 <p>The long-term URL for this package is <code>http://purl.org/nxg/dist/bibhtml</code></p>
24
25 <p>This documentation describes
26 bibhtml version 2.0.2, released 2013 September 8.</p>
27 </div>
28
29 <h3>Contents</h3>
30 <ul>
31 <li><a href="#bst-files">BibTeX style files</a></li>
32 <li><a href="#xslt">XSLT scripts</a></li>
33 <li><a href="#postprocess">Postprocessing HTML bibliographies</a></li>
34 <li><a href="#install">Installation</a></li>
35 <li><a href="#usage">The <em>bibhtml</em> script</a></li>
36 <li><a href="#example">Example</a></li>
37 <li><a href="#refs">References</a></li>
38 <li><a href="#dist">Distribution, licence and source code</a></li>
39 </ul>
40
41 <p><em>Bibhtml</em> consists of a set of BibTeX style files, which
42 allow you to use BibTeX to produce bibliographies in HTML. These are
43 modelled closely on the standard BibTeX style files. For sample output,
44 see <a href="#refs">the reference section below</a>.</p>
45
46 <p>To accompany them, this package includes a pair of XSLT scripts
47 which illustrate how you might integrate these generated
48 bibliographies into an XML/HTML workflow.</p>
49
50 <p>The output of these style files is usable as-is, but it benefits
51 from some post-processing, to remove TeX-isms. There’s a <em>sed</em>
52 script in the distribution which does exactly that, called
53 <code>detex.sed</code>. If you want to make a version of that in some
54 other regexp-supporting language, let me know and I can include it in
55 the distribution.</p>
56
57 <p>As well,
58 the package includes a Perl script which orchestrates the various steps
59 required to manage such a bibliography for one or more HTML files.
60 The references in the text are linked directly to the corresponding
61 bibliography entry, and if a URL is defined in the entry within the
62 BibTeX database file, then the generated bibliography entry is linked
63 to this.</p>
64
65 <p>The BibTeX style files are
66 <code>abbrvhtml.bst</code>,
67 <code>alphahtml.bst</code>,
68 <code>plainhtml.bst</code> and
69 <code>unsrthtml.bst</code>.
70 As well, there are
71 <code>.bst</code> files which produce their output in date order. To
72 use them, you should generate an <code>.aux</code> file by some
73 appropriate means, and include the line
74 <code>\bibstyle{plainhtml}</code>. Run BibTeX, and the result is a
75 <code>.bbl</code> file, in broadly the same style as the corresponding
76 traditional BibTeX one, but formatted
77 using HTML rather than LaTeX. This might form a useful component of a
78 XSLT-based workflow. For further details, see the discussion of the
79 style files <a href="#bst-files">below</a>.</p>
80
81 <p>There is also a Perl script, <em>bibhtml</em>, which can orchestrate generating and using
82 this <code>.aux</code> file. This script isn’t really maintained any
83 more, but it is still distributed, and documented <a href="#usage">below</a>.</p>
84
85 <p><em>Bibhtml</em> works with a standard BibTeX database – it is
86 intended to be compatible with a database used in the standard way
87 with LaTeX. The <a href="#bst-files">BibTeX style files</a>
88 distributed with this package define an additional
89 <code>url</code> field: if this is present, then the generated entry
90 will contain a link to this URL. They also define an
91 <code>eprint</code> field – if you do not use the LANL preprint
92 archive, this will be of no interest to you.</p>
93
94 <h2><a name="bst-files" id="bst-files">BibTeX style files</a></h2>
95
96 <p>The package includes several BibTeX style files. As well as the
97 ones directly derived from the standard styles, there are also
98 <code>plainhtmldate.bst</code>,
99 <code>plainhtmldater.bst</code>,
100 <code>alphahtmldate.bst</code> and
101 <code>alphahtmldater.bst</code> styles,
102 which are derived from the standard
103 <code>plain.bst</code> and <code>alpha.bst</code> styles,
104 which sort the
105 output by date and reverse date, rather than by author.</p>
106
107 <p>In version 2 of the <em>bibhtml</em> package, the
108 <code>*html.bst</code> files are derived from the traditional files
109 using the <a href="http://purl.org/nxg/dist/urlbst">urlbst</a>
110 package, and then minimally adjusted so as to produce HTML rather than
111 LaTeX.</p>
112
113 <p>Since they are derived via the <em>urlbst</em> package, these style
114 files support an additional entry type, <code>@webpage</code>, and two
115 additional fields on all entry types, <code>url</code> and
116 <code>lastchecked</code>, which give the URL associated with the
117 reference, and the date at which the URL was last verified to be still
118 present.</p>
119
120 <p>The distributed <code>.bst</code> files have two configurable
121 parameters, which you might want to adjust for your installation:</p>
122
123 <p>The variable <code>'xxxmirror</code> gives the host name of the arXiv mirror which will be used
124 when generating links to eprints. The default setting in the
125 <code>.bst</code> files is:</p>
126 <pre>
127 "xxx.arxiv.org" 'xxxmirror :=
128 </pre>
129
130 <p>By default, the style files generate link targets in the
131 bibliography with the same name as the citation key. Thus a BibTeX
132 entry with key <code>surname99</code>, say, would appear in the
133 generated HTML <code>.bbl</code> file wrapped in <code>&lt;a
134 name="surname99"&gt;...&lt;/a&gt;</code>. If this is inconvenient,
135 perhaps because it conflicts with other links within the file,
136 then you can adjust the <code>'hrefprefix</code> variable within the
137 style file, to specify a prefix which should appear in the link key.
138 Thus setting</p>
139 <pre>
140 "ref:" 'hrefprefix :=
141 </pre>
142 <p>in the <code>.bst</code> file would produce links like <code>&lt;a
143 name="ref:surname99"&gt;...&lt;/a&gt;</code> in the <code>.bbl</code>
144 file.</p>
145
146 <h2><a name="xslt" id="xslt">XSLT scripts</a></h2>
147
148 <p>The distribution includes a pair of sample XSLT scripts:</p>
149 <ul>
150 <li><code>bibhtml-extract-aux.xslt</code> shows how you might use XSLT to
151 extract citations from a source file into an <code>.aux</code>
152 file, for processing into a <code>.bbl</code> file;</li>
153 <li><code>bibhtml-insert-bib.xslt</code> shows how you might use XSLT
154 to insert the resulting <code>.bbl</code> file into the original
155 file.</li>
156 </ul>
157
158 <p>The scripts assume that a source file is in XHTML, and has
159 citations marked up as</p>
160 <pre>
161 &lt;span class='cite'&gt;ref99&lt;/span&gt;
162 </pre>
163 <p>and that the bibliography is indicated with</p>
164 <pre>
165 &lt;?bibliography <em>bibdata</em> <em>bibstyle</em>?&gt;
166 </pre>
167 <p>A suitable workflow, taking as an example the source file for the
168 page you are reading, is:</p>
169 <pre>
170 % xsltproc bibhtml-extract-aux.xslt bibhtml.html &gt;bibhtml.aux
171 % bibtex bibhtml
172 This is BibTeX, Version 0.99c (Web2C 7.5.7)
173 The top-level auxiliary file: bibhtml.aux
174 The style file: unsrthtml.bst
175 Database file #1: bibrefs.bib
176 % sed -f detex.sed bibhtml.bbl &gt;bibhtml.bbl.tmp
177 % mv bibhtml.bbl.tmp bibhtml.bbl
178 % xsltproc --stringparam bibfile-name bibhtml \
179 bibhtml-insert-bib.xslt bibhtml.html &gt;bibhtml-new.html
180 </pre>
181
182 <p>The <code>bibhtml.xslt</code> script, when run over a source file,
183 generates a <code>.aux</code> suitable for processing with BibTeX.
184 The resulting <code>.bbl</code> file, possibly after
185 <a href="#postprocessing">post-processing</a>, can be included in the
186 source XHTML with an XSLT script which includes something like:</p>
187 <pre>
188 &lt;xsl:template select="processing-instruction('bibliography')"&gt;
189 &lt;xsl:copy-of select="document('mybib.bbl')"/&gt;
190 &lt;/xsl:template&gt;
191 </pre>
192
193 <h2><a name="postprocess" id="postprocess">Postprocessing HTML bibliographies</a></h2>
194
195 <p>The output of the BibTeX styles is designed so that it is generally
196 reasonably usable without any post-processing. However it is not
197 ideal, since there are occasionaly TeX-isms such as backslash-escaped
198 characters and the like, depending on what is in the source
199 <code>.bib</code> file. Also, without post-processing any DOIs in
200 the source file aren’t formed into links.</p>
201
202 <p>The distribution includes a <code>sed</code> file,
203 <code>detex.sed</code>, which can do appropriate post-processing.
204 Thus the normal workflow is:</p>
205 <pre>
206 % bibtex mydoc
207 % sed -f detex.sed mydoc.bbl &gt;mydoc.bbl.tmp
208 % mv mydoc.bbl.tmp mydoc.bbl
209 </pre>
210 <p>Since it uses <code>sed</code>, this is fairly obviously
211 unix-specific, but if anyone would like to contribute a script with
212 similar functionality (it’s just a few moderately tortuous regular
213 expressions), I’d be delighted to include it in the distribution.</p>
214
215 <h2><a name="install" id="install">Installation</a></h2>
216
217 <p>The <code>.bst</code> files have to be installed
218 <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inst-wlcf">‘somewhere where LaTeX can find them’</a>. If you give the command
219 <code>kpsepath bst</code> you can see the list of directories that
220 BibTeX searches for <code>.bst</code> files – on my system, I’d put
221 them into <code>/usr/local/texlive/texmf-local/bibtex/bst</code>,
222 which is a directory for system-wide local additions.</p>
223
224 <p>If you wish, you may change the distributed BibTeX style files (see
225 <a href="#bst-files">above</a>) to the extent of changing the
226 ‘eprint’ mirror site from the master <code>xxx.arxiv.org</code> to a
227 more local mirror. If you don’t use the LANL preprint archive, this
228 will be of no interest to you.</p>
229
230 <h2><a name="usage" id="usage">The <em>bibhtml</em> script</a></h2>
231
232 <p>As noted above, <strong>this script should still work and is distributed on
233 that basis, but it’s no longer maintained, and won’t be further developed.</strong>
234 The XSLT-based mechanism described above is probably more robust;
235 also, the interface described in this section is not the same as the interface
236 of the <a href="#xslt">XSLT scripts</a> section above.</p>
237
238 <h3>The BibTeX database</h3>
239
240 <p>TeX features such as <code>~</code> and <code>--</code> are translated to
241 corresponding HTML entities (controlled with the <code>+3</code>
242 switch, see below), but other TeX constructions will make their way
243 into the generated HTML, and look a little odd. I might try to deal
244 with these in future versions. </p>
245
246 <h3>Preparing the text</h3>
247
248 <p>You prepare your text simply by including links to the bibliography file
249 (the default is <code>bibliography.html</code>), followed by a fragment
250 composed of the BibTeX citation key. Thus, you might cite [grendel89]
251 with</p>
252 <pre>&lt;a href="bibliography.html#grendel89"&gt;(Grendel, 1989)&lt;/a&gt;</pre>
253 <p>(of course, the link text can be anything you like). That’s all there is to
254 it. When you run <em>bibhtml</em>, it generates an
255 <code>.aux</code> file which makes BibTeX produce references for exactly those
256 keys which appear in this way. </p>
257
258 <h3><a name="pis" id="pis">Preparing the bibliography file – processing
259 instructions supported</a></h3>
260
261 <p>The bibliography file is an ordinary HTML document (which may
262 itself have citations within it), distinguished only by having two
263 processing instructions within it.
264 <em>Bibhtml</em> replaces everything between
265 <code>&lt;?bibhtml start ?&gt;</code>
266 and
267 <code>&lt;?bibhtml end ?&gt;</code>
268 (which should be on lines by themselves) with the formatted
269 bibliography. It leaves those instructions in place, naturally, so once
270 this file is set up, you shouldn’t have to touch it again. Older
271 versions of bibhtml used the magic comments <code>&lt;-- bibhtml start
272 --&gt;</code> and <code>&lt;-- bibhtml end --&gt;</code>: these are
273 still supported, but are deprecated and may disappear in a future version.</p>
274
275 <p>Alternatively, you may include the processing instruction
276 <code>&lt;?bibhtml insert?&gt;</code>. This acts broadly like the
277 <code>start</code> and <code>end</code> processing instructions,
278 except that the line is completely replaced by the inserted
279 bibliography. This is useful if the file being processed is a
280 generated file (perhaps the output of a separate XML tool-chain, for
281 example), which will not therefore have to be rescanned in future.</p>
282
283 <p>You can specify the bibliography database and style file either on
284 the command line (see <a href="#options">below</a>) or using the
285 <code>&lt;?bibhtml bibdata </code><em>bibfile</em><code>?&gt;</code>
286 and <code>&lt;?bibhtml bibstyle</code><em>stylefile</em><code>?&gt;</code> instructions. The
287 value of ‘bibdata’ is cumulative, and appends to any value specified
288 on the command line. A value of ‘bibstyle’ specified on the command
289 line, in contrast, overrides any value in the file.</p>
290
291 <p>As a special case, <em>bibhtml</em> also replaces the line <em>after</em> a
292 comment <code>&lt;?bibhtml today ?&gt;</code> with today’s date.</p>
293
294 <p>Summary of processing instructions:</p>
295
296 <dl>
297 <dt><code>&lt;?bibhtml start?&gt;</code> and <code>&lt;?bibhtml
298 stop?&gt;</code></dt>
299 <dd>Bracket the bibliography – any text between these PIs is replaced
300 when <em>bibhtml</em> is next run.</dd>
301
302 <dt><code>&lt;?bibhtml insert?&gt;</code></dt>
303 <dd>This PI is replaced by the bibliography when <em>bibhtml</em> is
304 next run. This PI is always removed, irrespective of the presence or
305 absence of the <code>--strip</code> option.</dd>
306
307 <dt><code>&lt;?bibhtml bibdata </code><em>bibfile</em><code>?&gt;</code></dt>
308 <dd>Specify the bibliography database to be used. This is the
309 analogue of a
310 <code>\bibliography{</code><em>bibfile</em><code>}</code> command in a
311 LaTeX file; see also the <code>-b</code> command-line option.</dd>
312
313 <dt><code>&lt;?bibhtml bibstyle </code><em>stylefile</em><code>?&gt;</code></dt>
314 <dd>Specify the bibliography style to be used. This is the analogue
315 of <code>\bibliographystyle{</code><em>stylefile</em><code>}</code>
316 command in a LaTex file; see also the <code>-s</code> command-line option.</dd>
317
318 <dt><code>&lt;?bibhtml today?&gt;</code></dt>
319 <dd>Replace the <em>following</em> line by today’s date.</dd>
320 </dl>
321
322 <h3><a name="options" id="options">Supported options</a></h3>
323
324 <p><em>Usage</em></p>
325 <pre>
326 % bibhtml [options...] filename...
327 % bibhtml --merge file.bbl file.html
328 </pre>
329
330 <p>The <code>filename</code> argument is the name of a file to be scanned.</p>
331
332 <p><em>Bibhtml</em> takes a list of HTML files as argument (though see
333 <a href="#two-pass">below</a> for a two-pass variant). It creates an
334 <code>.aux</code> file, runs BibTeX, and merges the resulting
335 <code>.bbl</code> file (if it exists) into <code>bibliography.html</code>, or
336 whatever has been specified as the bibliography file name. </p>
337
338 <p>There are several options:</p>
339 <dl>
340 <dt>-3, +3</dt>
341 <dd>Set this to +3 if you want <code>~</code> translated to
342 <code>&amp;nbsp;</code>, and <code>--</code> to
343 <code>&amp;enspace;</code>. Or set it to -3 (the default) if you
344 don’t.</dd>
345
346 <dt>-a</dt>
347 <dd>If this option is set, <em>bibhtml</em> won’t bother scanning any
348 files at all, and will generate references for all the entries in your
349 database. This is equivalent to <code>\nocite{*}</code> in LaTeX.</dd>
350
351 <dt>-b bibdata</dt>
352 <dd>The name of your BibTeX database file, as it would be specified in a
353 <code>\bibliography{}</code> command in LaTeX. Unless <em>you</em> happen to
354 keep all your references in a file called <code>bib.bib</code>, you’ll
355 probably want to change this. Or you can use the <code>&lt;?bibhtml
356 bibdata xxx?&gt;</code> <a href="#pis">processing instruction</a>.</dd>
357
358 <dt>-c configfile</dt>
359 <dd>Specifies a configuration file which contains a single line of
360 options, which are inserted in the command line at that point.</dd>
361
362 <dt><a name="merge" id="merge">--merge</a></dt>
363 <dd>In this special case, <em>bibhtml</em> takes two arguments, a
364 <code>.bbl</code> file and an <code>.html</code> file,
365 merges the first into the second, and nothing else. It’s
366 intended to be used when you have generated a
367 <code>.bbl</code> file by a separate run of BibTeX, and simply
368 wish to merge the results into your bibliography file. As
369 such, it will most likely be useful as part of a script, or
370 other post-processing system.</dd>
371
372 <dt>-r rootname</dt>
373 <dd>Specify this and you’ll create <code>rootname.html</code>,
374 <code>rootname.aux</code> and so on. Why not just stick with the default
375 ‘bibliography’...? </dd>
376
377 <dt><a name="opt-s" id="opt-s">-s bibstyle</a></dt>
378 <dd>The name of the BibTeX bibliography style you want to use, as it
379 would be specified for the <code>\bibstyle</code> command in
380 LaTeX. If you want to have a different layout for your HTML
381 bibliographies, please don’t change the file plainhtml.bst
382 distributed with bibhtml. Instead, make a <em>copy</em> of
383 plainhtml.bst under a different name, edit it as much as you
384 like, and use this option of bibhtml to use the modified
385 version instead of the default. Or you can use the <code>&lt;?bibhtml
386 bibstyle xxx?&gt;</code> <a href="#pis">processing instruction</a>.</dd>
387
388 <dt><a name="strip" id="strip">--strip</a></dt>
389 <dd>If this option is set, then strip all processing-instruction lines
390 from the output file. This means that the resulting file cannot be
391 processed again by <em>bibhtml</em>, and so is appropriate when the
392 file is the output of a separate tool-chain.</dd>
393
394 <dt>-V, --version</dt>
395 <dd>Bibhtml prints the version information and exits.</dd>
396
397 <dt>-v, -q</dt>
398 <dd>Do you want the program to be verbose or quiet? The default is -v,
399 verbose.</dd>
400
401 </dl>
402
403 <p>The defaults for the various parameters are unlikely to be helpful,
404 so you’re likely to want to set one or more of them every time you run
405 the program. It is for this reason, and because you’re likely to want
406 the same set of options every time you create the bibliography for a
407 set of files in a directory, that you can put a collection of options
408 in a configuration file. This can be specified on the command line
409 with the option <code>-c configfilename</code>. If this option
410 is not given, then <em>bibhtml</em> looks for a file named
411 <code>bibhtml.config</code>. For example, the configuration
412 file might contain:</p>
413
414 <pre>
415 -b mybib +3 -r refs
416 </pre>
417
418 <h3><a name="two-pass" id="two-pass">Two-pass bibhtml</a></h3>
419
420 <p>You might sometimes have a need to invoke the
421 two phases separately. If you make a symbolic link to the program via
422 <code>ln -s bibhtml bibhtml2</code>, then you can generate an
423 aux-file alone by giving the command <code>bibhtml2 *.html</code>,
424 say; and you can merge a bbl-file into the bibliography file with the
425 command <code>bibhtml2 bibliography.bbl</code>. The command line option
426 <code>--merge</code> <a href="#merge">above</a> may be more suitable
427 if you are calling this code from a script, as it requires you to
428 specify both the <code>.bbl</code> and the <code>.html</code> file it
429 is being merged with, (and so it is more robust, and more flexible).</p>
430
431 <p>On Unix, this works because the program is able to
432 detect the name it was invoked under. This may be more difficult on other
433 platforms. If so, please get in touch, with suggestions. </p>
434
435 <h2><a name="example" id="example">Example</a></h2>
436
437 <p>There are multiple sources of advice for how to cite electronic
438 documents. The most formal are an ISO standard <a href="#url:iso690">url:iso690</a>, and the American Psychological
439 Association’s guidance in Sect. 6.31 of <a href="#apastyle">apastyle</a>. As well, there are older but still
440 useful discussions in <a href="#walker06">walker06</a> and
441 <a href="#emory95">emory95</a>.</p>
442
443 <h2><a name="refs" id="refs">References</a></h2>
444
445 <dl xmlns="">
446
447 <dt><a name="url:iso690" id="url:iso690">[url:iso690]
448 International Standards Organisation.</a></dt>
449 <dd><a href="http://en.wikipedia.org/wiki/ISO_690">ISO 690-2</a> [online,
450 cited 9 August 2009].</dd>
451
452 <dt><a name="apastyle" id="apastyle">[apastyle]
453 American Psychological Association.</a></dt>
454 <dd><a href="http://www.apastyle.org/manual/index.aspx"><em>Publication Manual
455 of the American Psychological Association</em></a>, 6th edition, 2009 [cited
456 9 August 2009].</dd>
457
458 <dt><a name="walker06" id="walker06">[walker06]
459 Janice R. Walker and Todd Taylor.</a></dt>
460 <dd><a href="http://cup.columbia.edu/book/978-0-231-13210-7/the-columbia-guide-to-online-style"><em>The
461 Columbia Guide to Online Style</em></a>.
462 Columbia University Press, 2nd edition, 2006 [cited 9 August 2009].</dd>
463
464 <dt><a name="emory95" id="emory95">[emory95]
465 Goizueta Business Library.</a></dt>
466 <dd><a href="http://business.library.emory.edu/eresources/citing.html">Citation
467 formats</a> [online, cited 9 August 2009].</dd>
468
469 </dl>
470
471 <p>See also the documentation for the <a href="http://purl.org/nxg/dist/urlbst"><code>urlbst</code>
472 package</a>, which generates BibTeX style files for ordinary LaTeX
473 output (which also supports a <code>@webpage</code> entry type, and
474 <code>url</code> and <code>lastchecked</code> fields), and which
475 contains a similar list of references concerned with citing online
476 sources.</p>
477
478 <h2><a name="dist" id="dist">Distribution</a></h2>
479
480 <h3><a name="get" id="get">Obtaining <em>bibhtml</em></a></h3>
481
482 <p>Bibhtml is available on CTAN at
483 <a href="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/bibhtml/"><code>biblio/bibtex/contrib/bibhtml/</code></a>,
484 and at
485 <a href="http://purl.org/nxg/dist/bibhtml"><code>http://purl.org/nxg/dist/bibhtml</code></a>.</p>
486
487 <p>Download the distribution:
488 <a href="bibhtml-2.0.2.tar.gz">bibhtml-2.0.2.tar.gz</a> or
489 <a href="bibhtml-2.0.2.zip">bibhtml-2.0.2.zip</a>.</p>
490
491 <p>Do <a href="mailto:[email protected]">let me know</a> if
492 you use this stuff. I’d be grateful for any bug reports,
493 and bug fixes, and also for any comments on the clarity or
494 otherwise of this documentation.</p>
495
496 <p>The project source code is
497 <a href="http://bitbucket.org/nxg/bibhtml/">hosted at bitbucket.org</a>.
498 You can check out the source code from there, and you are welcome to
499 add issues to the bugparade.</p>
500
501 <h3><a name="licence" id="licence">Licence</a></h3>
502
503 <p>This software is copyright, 1999, 2005, 2006, 2009, 2013 Norman Gray.
504 It is released under the terms of the GNU General Public Licence.
505 See the copyright declaration at the top of file <code>bibhtml</code>,
506 and the file <code>LICENCE</code> for the licence conditions.
507 You can find an online copy of the GPL at
508 <code><a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a></code>.</p>
509
510 <p>If this licence is a problem for you,
511 get in touch and we can work something out.</p>
512
513 <h3><a name="changes" id="changes">Changes</a></h3>
514
515 <dl>
516 <dt>2.0.2, 2013 September 8</dt>
517 <dd>Minor bugfixes: XSLT namespace fixes, and DOI formatting.</dd>
518
519 <dt>2.0.1, 2009 November 2</dt>
520 <dd>The *date.bst and *dater.bst styles now work again.</dd>
521
522 <dt>2.0, 2009 August 9</dt>
523 <dd>First real release of v2.0, after mild use elsewhere.</dd>
524
525 <dt>2.0b1, 2009 August 9</dt>
526 <dd>Substantial rewrite, taking the style files from the urlbst
527 package (thus there are more styles than before), adding more XSLT
528 scripts, and de-emphasising the Perl script. The code is now
529 <a href="http://bitbucket.org/nxg/bibhtml/">hosted at bitbucket.org</a>.</dd>
530
531 <dt>1.3, 2006 October 31</dt>
532 <dd><ul>
533 <li>Add <code>hrefprefix</code> parameterisation to style files.</li>
534 <li><code>xxx.arxiv.org</code> is now the default e-prints host.</li>
535 <li>Some improvements to documentation.</li>
536 </ul>
537 </dd>
538
539 <dt>1.2, 2005 September 19</dt>
540 <dd><ul>
541 <li>Changes to <code>.bst</code> style files, adding
542 <code>@webpage</code> entry type, and <code>lastchecked</code> field
543 to all entry types.</li>
544 <li>Updates to documentation, fixing broken links to online references
545 discussing how to cite online sources.</li>
546 <li>No reports of breakage from beta releases below.</li>
547 </ul>
548 </dd>
549
550 <dt>1.2b2, 2005 August 30</dt>
551 <dd><ul>
552 <li>Bugfix – correctly escape characters in .bbl hrefs</li>
553 <li>Portability fix – use <code>/usr/bin/env perl</code> at the top of the
554 script, rather than <code>/usr/bin/perl</code>; this should be more
555 portable.</li>
556 </ul>
557 </dd>
558
559 <dt>1.2b1, 2005 August 19</dt>
560 <dd><ul>
561 <li>Use processing instructions such as
562 <code>&lt;?bibhtml start?&gt;</code>, rather than magic comments (the
563 old behaviour is still temporarily supported).</li>
564 <li>Add a new directive – <code>&lt;?bibhtml insert?&gt;</code>
565 inserts the bibliography in-place.</li>
566 <li>Debugging output is now written to stderr rather than stdout.</li>
567 <li>Add <code>--help</code> and <code>--strip</code> options.</li>
568 <li>Documentation improvements.</li>
569 <li>Bugfix – URLs are now properly escaped in the bibliography.</li>
570 </ul>
571 </dd>
572 </dl>
573
574 <div class="signature">
575 <a href="http://nxg.me.uk">Norman</a><br />
576 2013 September 8
577 </div>
578
579 </body>
580 </html>