| 1 | # biblatex-oxref: Biblatex styles inspired by the *Oxford Guide to Style* |
| 2 | |
| 3 | This bundle provides four [biblatex] styles that implement (some of) the |
| 4 | stipulations and examples provided by the 2014 *New Hart's Rules* and the 2002 |
| 5 | *Oxford Guide to Style*: |
| 6 | |
| 7 | * `oxnotes` is a style similar to the standard `verbose`, |
| 8 | intended for use with footnotes; |
| 9 | * `oxnum` is a style similar to the standard `numeric`, |
| 10 | intended for use with numeric in-text citations. |
| 11 | * `oxalph` is a style similar to the standard `alphabetic`, |
| 12 | intended for use with alphabetic in-text citations. |
| 13 | * `oxyear` is a style similar to the standard `authoryear`, |
| 14 | intended for use with parenthetical in-text citations. |
| 15 | |
| 16 | [biblatex]: http://ctan.org/pkg/biblatex |
| 17 | |
| 18 | ## Installation |
| 19 | |
| 20 | ### Dependencies |
| 21 | |
| 22 | To compile the documentation you will need to have the [minted] package working, |
| 23 | which in turn relies on Python 2.6+ and Pygments. See the documentation of that |
| 24 | package for details. |
| 25 | |
| 26 | ### Managed way |
| 27 | |
| 28 | The latest stable release of the biblatex-oxref bundle has been packaged for |
| 29 | TeX Live and MiKTeX. If you are running TeX Live and have `tlmgr` installed, you |
| 30 | can install the bundle simply by running `tlmgr install biblatex-oxref`. If you |
| 31 | are running MiKTeX, you can install the bundle by running |
| 32 | `mpm --install=biblatex-oxref`. Both `tlmgr` and `mpm` have GUI versions that |
| 33 | you might find friendlier. |
| 34 | |
| 35 | ### Automated way |
| 36 | |
| 37 | A makefile is provided which you can use with the Make utility on |
| 38 | UNIX-like systems: |
| 39 | |
| 40 | * Running `make source` generates the derived files |
| 41 | - README.md |
| 42 | - oxref.bbx, oxnotes.bbx, oxnotes-ibid.bbx, oxnotes-note.bbx, |
| 43 | oxnotes-inote.bbx, oxnotes-trad1.bbx, oxnotes-trad2.bbx, |
| 44 | oxnotes-trad3.bbx, oxyear.bbx, oxnum.bbx, oxalph.bbx |
| 45 | - oxnotes.cbx, oxnotes-ibid.cbx, oxnotes-note.cbx, oxnotes-inote.cbx, |
| 46 | oxnotes-trad1.cbx, oxnotes-trad2.cbx, oxnotes-trad3.cbx, oxyear.cbx, |
| 47 | oxnum.cbx, oxalph.cbx |
| 48 | - american-oxref.lbx, british-oxref.lbx, english-oxref.lbx, |
| 49 | spanish-oxref.lbx, polish.lbx |
| 50 | - oxnotes.dbx, oxnotes-ibid.dbx, oxnotes-note.dbx, oxnotes-inote.dbx, |
| 51 | oxnotes-trad1.dbx, oxnotes-trad2.dbx, oxnotes-trad3.dbx, oxyear.dbx, |
| 52 | oxnum.dbx, oxalph.dbx |
| 53 | - oxref.bib |
| 54 | - oxref.ins |
| 55 | - oxnotes-doc.tex, oxyear-doc.tex, oxnum-doc.tex, oxalph-doc.tex |
| 56 | |
| 57 | * Running `make` generates the above files and also oxref.pdf, |
| 58 | oxnotes-doc.pdf, oxyear-doc.pdf, oxnum-doc.pdf and oxalph-doc.pdf. |
| 59 | |
| 60 | * Running `make inst` installs the files in the user's TeX tree. |
| 61 | You can undo this with `make uninst`. |
| 62 | |
| 63 | * Running `make install` installs the files in the local TeX tree. |
| 64 | You can undo this with `make uninstall`. |
| 65 | |
| 66 | * Running `make clean` removes auxiliary files from the working directory. |
| 67 | |
| 68 | * Running `make distclean` removes the generated files from the working |
| 69 | directory as well. |
| 70 | |
| 71 | ### Manual way |
| 72 | |
| 73 | To install the bundle from scratch, follow these instructions. If you have |
| 74 | downloaded the zip file from the [Releases] page on GitHub, you can skip the |
| 75 | first two steps. |
| 76 | |
| 77 | 1. Run `luatex oxref.dtx` to generate the source files. (You can safely skip |
| 78 | this step if you are confident about step 2.) |
| 79 | |
| 80 | 2. Compile oxref.dtx, oxnotes-doc.tex, oxyear-doc.tex, and oxnum-doc.tex with |
| 81 | LuaLaTeX and Biber to generate the documentation. You will need to enable |
| 82 | shell escape so that [minted] can typeset the listings. |
| 83 | |
| 84 | 3. Move the files to your TeX tree as follows: |
| 85 | - `source/latex/biblatex-oxref`: |
| 86 | oxref.dtx, |
| 87 | (oxref.ins) |
| 88 | - `tex/latex/biblatex-oxref`: |
| 89 | american-oxref.lbx, |
| 90 | british-oxref.lbx, |
| 91 | english-oxref.lbx, |
| 92 | spanish-oxref.lbx, |
| 93 | polish-oxref.lbx, |
| 94 | oxalph.bbx, |
| 95 | oxalph.cbx, |
| 96 | oxalph.dbx, |
| 97 | oxnotes.bbx, |
| 98 | oxnotes.cbx, |
| 99 | oxnotes.dbx, |
| 100 | oxnotes-ibid.bbx, |
| 101 | oxnotes-ibid.cbx, |
| 102 | oxnotes-ibid.dbx, |
| 103 | oxnotes-inote.bbx, |
| 104 | oxnotes-inote.cbx, |
| 105 | oxnotes-inote.dbx, |
| 106 | oxnotes-note.bbx, |
| 107 | oxnotes-note.cbx, |
| 108 | oxnotes-note.dbx, |
| 109 | oxnotes-trad1.bbx, |
| 110 | oxnotes-trad1.cbx, |
| 111 | oxnotes-trad1.dbx, |
| 112 | oxnotes-trad2.bbx, |
| 113 | oxnotes-trad2.cbx, |
| 114 | oxnotes-trad2.dbx, |
| 115 | oxnotes-trad3.bbx, |
| 116 | oxnotes-trad3.cbx, |
| 117 | oxnotes-trad3.dbx, |
| 118 | oxnum.bbx, |
| 119 | oxnum.cbx, |
| 120 | oxnum.dbx, |
| 121 | oxref.bbx, |
| 122 | oxyear.bbx, |
| 123 | oxyear.cbx, |
| 124 | oxyear.dbx |
| 125 | - `doc/latex/biblatex-oxref`: |
| 126 | README.md, |
| 127 | oxalph-doc.pdf, |
| 128 | oxalph-doc.tex, |
| 129 | oxnotes-doc.pdf, |
| 130 | oxnotes-doc.tex, |
| 131 | oxnum-doc.pdf, |
| 132 | oxnum-doc.tex, |
| 133 | oxref.bib, |
| 134 | oxref.pdf, |
| 135 | oxyear-doc.pdf, |
| 136 | oxyear-doc.tex |
| 137 | |
| 138 | 4. You may then have to update your installation's file name database |
| 139 | before TeX and friends can see the files. |
| 140 | |
| 141 | [Releases]: https://github.com/alex-ball/biblatex-oxref/releases |
| 142 | [minted]: http://ctan.org/pkg/minted |
| 143 | |
| 144 | ## Licence |
| 145 | |
| 146 | Copyright 2016–2026 Alex Ball. |
| 147 | |
| 148 | This work consists of the documented LaTeX file oxref.dtx and a Makefile. |
| 149 | |
| 150 | The text files contained in this work may be distributed and/or modified |
| 151 | under the conditions of the [LaTeX Project Public License (LPPL)][lppl], |
| 152 | either version 1.3c of this license or (at your option) any later |
| 153 | version. |
| 154 | |
| 155 | This work is ‘maintained’ (as per LPPL maintenance status) by [Alex Ball][me]. |
| 156 | |
| 157 | [lppl]: http://www.latex-project.org/lppl.txt "LaTeX Project Public License (LPPL)" |
| 158 | [me]: https://alexball.me.uk/ "Alex Ball" |
| 159 |