| 1 |
# biblatex software style |
| 2 |
|
| 3 |
This directory contains the reference `biblatex` implementation of a |
| 4 |
bibliography style extension that includes software-specific BibTeX entries. |
| 5 |
|
| 6 |
## Relevant files |
| 7 |
|
| 8 |
The key files are the following: |
| 9 |
|
| 10 |
- `software.bbx` for the bibliography style extension |
| 11 |
- `software.dbx` for the data model extension to support the new entries |
| 12 |
- `english-software.lbx` and `french-software.lbx` for the localization |
| 13 |
- `software-biblatex.sty` the LaTeX package to include for using the style as an extension |
| 14 |
|
| 15 |
The distribution contains other material, for demonstration purposes, and for |
| 16 |
more advanced use. |
| 17 |
|
| 18 |
## Documentation |
| 19 |
|
| 20 |
Full documentation of the style, with a description of the new entries and |
| 21 |
fields and detailed examples, is in `software-biblatex.tex`; a compiled PDF |
| 22 |
version is included as `software-biblatex.pdf` for ease of reference. |
| 23 |
|
| 24 |
We recall briefly here the two main approaches available for using this style extension. |
| 25 |
|
| 26 |
### Using the software biblatex style as an extension |
| 27 |
|
| 28 |
The simplest way to use this style is to follow the example given |
| 29 |
in the file `sample-use-sty.tex` that shows how one can *extend* any |
| 30 |
existing `biblatex` style by simply doing the following: |
| 31 |
|
| 32 |
- pass the `datamodel=software` option to the `biblatex` package |
| 33 |
- load the software biblatex style with `\usepackage{software-biblatex}` |
| 34 |
- set software specific bibliography options using the macro `\ExecuteBibliographyOptions`; |
| 35 |
the options with their default values are as in |
| 36 |
`\ExecuteBibliographyOptions{halid=true,swhid=true,swlabels=true,vcs=true,license=true}` |
| 37 |
|
| 38 |
This approach is extremely simple: it only requires that you include the relevant files |
| 39 |
mentioned above in the directory where your LaTeX file is located. |
| 40 |
|
| 41 |
### Generating biblatex styles that include the software entries |
| 42 |
|
| 43 |
It may be useful to generate a new biblatex style that includes support for the |
| 44 |
software entries right away. |
| 45 |
|
| 46 |
A simple mechanism is provided for this use case: |
| 47 |
|
| 48 |
- add to the `stublist` file the names of all the existing styles one needs to extend |
| 49 |
- run `make biblatex-styles` to produce new style files, with an added `+sw` suffix, |
| 50 |
for each of the existing style |
| 51 |
- install the newly generated files in the standard path where `biblatex` files are found |
| 52 |
|
| 53 |
The stock `stublist` file contains the names of all the standard `biblatex` |
| 54 |
styles. If this approach is followed, then one can load directly the extended |
| 55 |
file, and the software specific bibliography options become available when |
| 56 |
loading the `biblatex` package directly. See the `sample.tex` file for a |
| 57 |
concrete example. |
| 58 |
|
| 59 |
# License |
| 60 |
|
| 61 |
This material is subject to the LATEX Project Public License version 1.3 or (at |
| 62 |
your option) any later version. |
| 63 |
|
| 64 |
# Contact author |
| 65 |
|
| 66 |
This style is maintained by Roberto Di Cosmo <[email protected]> |
| 67 |
|
| 68 |
|