texlive[51599] Master/texmf-dist: biblatex-bath (10jul19)
commits+karl at tug.org
commits+karl at tug.org
Wed Jul 10 22:28:52 CEST 2019
Revision: 51599
http://tug.org/svn/texlive?view=revision&revision=51599
Author: karl
Date: 2019-07-10 22:28:52 +0200 (Wed, 10 Jul 2019)
Log Message:
-----------
biblatex-bath (10jul19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-bath/README.md
trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib
trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf
trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx
trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.ins
trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx
trunk/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx
Added Paths:
-----------
trunk/Master/texmf-dist/source/latex/biblatex-bath/Makefile
trunk/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/biblatex-bath/Makefile
trunk/Master/texmf-dist/tex/latex/biblatex-bath/american-bath.lbx
Deleted: trunk/Master/texmf-dist/doc/latex/biblatex-bath/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-bath/Makefile 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-bath/Makefile 2019-07-10 20:28:52 UTC (rev 51599)
@@ -1,64 +0,0 @@
-STYLE = bath
-NAME = biblatex-$(STYLE)
-SHELL = bash
-PWD = $(shell pwd)
-TEMP := $(shell mktemp -d -t tmp.XXXXXXXXXX)
-TDIR = $(TEMP)/$(NAME)
-VERS = $(shell ltxfileinfo -v $(NAME).dtx)
-LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
-UTREE = $(shell kpsewhich --var-value TEXMFHOME)
-
-.PHONY: source clean distclean inst install uninst uninstall zip ctan
-
-all: $(NAME).pdf clean
- @exit 0
-
-source: $(NAME).dtx
- luatex -interaction=batchmode $(NAME).dtx >/dev/null
-
-$(STYLE).bbx $(STYLE).cbx $(STYLE).dbx american-$(STYLE).lbx british-$(STYLE).lbx $(NAME).bib: source
-
-$(NAME).pdf: source
- latexmk -silent -lualatex -interaction=batchmode $(NAME).dtx >/dev/null
- @echo "Compilation complete."
-
-clean:
- rm -f $(NAME).{aux,bbl,bcf,blg,doc,fdb_latexmk,fls,glo,gls,hd,idx,ilg,ind,listing,log,nav,out,run.xml,snm,synctex.gz,tcbtemp,toc,vrb}
- rm -f $(NAME).markdown.in
- rm -rf _markdown_$(NAME)
-
-distclean: clean
- rm -f $(NAME).{pdf,bib,ins} $(STYLE).{b,c,d}bx {american,british}-$(STYLE).lbx
-
-
-inst: all
- mkdir -p $(UTREE)/{source,tex,doc}/latex/$(NAME)
- cp $(NAME).dtx $(NAME).ins $(UTREE)/source/latex/$(NAME)
- cp $(NAME).{bib,pdf} $(UTREE)/doc/latex/$(NAME)
- cp $(STYLE).{b,c,d}bx {american,british}-$(STYLE).lbx $(UTREE)/tex/latex/$(NAME)
- mktexlsr
-
-uninst:
- rm -r $(UTREE)/{source,tex,doc}/latex/$(NAME)
- mktexlsr
-
-install: all
- sudo mkdir -p $(LOCAL)/{source,tex,doc}/latex/$(NAME)
- sudo cp $(NAME).dtx $(NAME).ins $(LOCAL)/source/latex/$(NAME)
- sudo cp $(NAME).{bib,pdf} $(LOCAL)/doc/latex/$(NAME)
- sudo cp $(STYLE).{b,c,d}bx {american,british}-$(STYLE).lbx $(LOCAL)/tex/latex/$(NAME)
- mktexlsr
-
-uninstall:
- sudo rm -r $(LOCAL)/{source,tex,doc}/latex/$(NAME)
- mktexlsr
-
-zip: all
- mkdir $(TDIR)
- cp $(NAME).{dtx,bib,pdf} $(STYLE).{b,c,d}bx {american,british}-$(STYLE).lbx README.md Makefile $(TDIR)
- cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
-
-ctan: all
- mkdir $(TDIR)
- cp $(NAME).{dtx,pdf} README.md Makefile $(TDIR)
- cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-bath/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-bath/README.md 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-bath/README.md 2019-07-10 20:28:52 UTC (rev 51599)
@@ -5,6 +5,10 @@
## Installation
+The files you need are included in the zip archive available from [GitHub].
+If you use the zip archive from [CTAN], you will need to run `luatex
+biblatex-bath.dtx` to generate them.
+
You can use this style simply by copying all the `.bbx`, `.cbx`, `.dbx` and
`.lbx` files into your working directory, that is, the directory holding the
main `.tex` file for your document. If you want the style to be available for
@@ -11,6 +15,14 @@
all your documents without having to copy the files over each time, you can
install them using the instructions below.
+### Managed way
+
+The latest stable release of biblatex-bath has been packaged for TeX Live and
+MiKTeX. If you are running TeX Live and have `tlmgr` installed, you can install
+the package simply by running `tlmgr install biblatex-bath`. If you are running
+MiKTeX, you can install the package by running `mpm --install=biblatex-bath`.
+Both `tlmgr` and `mpm` have GUI versions that you might find friendlier.
+
### Automated way
A makefile is provided which you can use with the Make utility on
@@ -19,10 +31,12 @@
* Running `make source` generates the derived files
- `README.md`
- `bath.bbx`, `bath.cbx`, `bath.dbx`
- - `american-bath.lbx`, `british-bath.lbx`
+ - `english-bath.lbx`, `british-bath.lbx`
- `biblatex-bath.bib`
- `biblatex-bath.ins`
- * Running `make` generates the above files and also biblatex-bath.pdf.
+ * Running `make` generates the above files and also `biblatex-bath.pdf`.
+ Ensure you have (at least) the [luatexja], [adobemapping] and [ipaex]
+ packages installed first.
* Running `make inst` installs the files in the user's TeX tree.
You can undo this with `make uninst`.
* Running `make install` installs the files in the local TeX tree.
@@ -30,9 +44,9 @@
### Manual way
-You only need to follow the first two steps if you have made your own
-changes to the .dtx file. The compiled files you need are included in
-the zip archive.
+You do not need to follow the first step if you downloaded the zip archive from
+[GitHub]. You do not need to follow the second step if you already have the PDF
+documentation.
1. Run `luatex biblatex-bath.dtx` to generate the source files.
@@ -61,7 +75,7 @@
`bath.bbx`,
`bath.cbx`,
`bath.dbx`,
- `american-bath.lbx`,
+ `english-bath.lbx`,
`british-bath.lbx`
- `doc/latex/biblatex-bath`:
`biblatex-bath.pdf`,
@@ -70,8 +84,10 @@
5. You may then have to update your installation's file name database
before TeX and friends can see the files.
-[bath-harvard]: http://www.bath.ac.uk/library/infoskills/referencing-plagiarism/harvard-bath-style.html
+[bath-harvard]: https://library.bath.ac.uk/referencing/harvard-bath
[biblatex]: http://ctan.org/pkg/biblatex
+[GitHub]: https://github.com/alex-ball/bathbib/releases
+[CTAN]: http://ctan.org/pkg/biblatex-bath
[LuaLaTeX]: http://ctan.org/pkg/lualatex-doc
[Biber]: http://ctan.org/pkg/biber
[luatexja]: http://ctan.org/pkg/luatexja
@@ -80,7 +96,7 @@
## Licence
-Copyright 2016 University of Bath.
+Copyright 2016-2018 University of Bath.
This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile.
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib 2019-07-10 20:28:52 UTC (rev 51599)
@@ -18,18 +18,6 @@
edition = {3},
address = {Philadelphia, Pa.},
publisher = {Lippincott Williams \& Wilkins}}
- at book{oed1989,
- title = {Oxford {English} Dictionary},
- year = {1989},
- edition = {2},
- address = {Oxford},
- publisher = {Clarendon Press}}
- at book{merckNDidx,
- title = {The {Merck} Index Online},
- address = {London},
- publisher = {RSC Publishing},
- url = {http://www.rsc.org/Merck-Index},
- urldate = {2016-06-16}}
@book{haynes2014crc,
editor = {Haynes, W. M.},
year = {2014},
@@ -85,7 +73,7 @@
author = {Newman, R.},
year = {2010},
title = {Malaria control beyond 2010},
- journal = {Brit.\@ Med.\@ J.},
+ journal = {{Brit.\@ Med.\@ J.\isdot}},
volume = {341},
number = {7765},
pages = {157-208}}
@@ -98,6 +86,15 @@
volume = {10},
url = {http://www.ariadne.ac.uk/issue10/edd/},
urldate = {1997-12-05}}
+ at article{liontou.etal2019dra,
+ author = {Liontou, C. and Kontopodis, E. and Oikonomidis, N. and Maniotis, C. and
+ Tassopoulos, A. and Tsiafoutis, I. and Lazaris, E. and Koutouzis, M.},
+ year = {2019},
+ title = {Distal Radial Access: a Review Article},
+ journal = {Cardiovascular Revascularization Medicine},
+ pubstate = {inpress},
+ url = {https://www.sciencedirect.com/science/article/pii/S1553838919303367},
+ urldate = {2019-06-19}}
@report{shah.corrick2016hsc,
author = {Shah, I. and Corrick, I.},
year = {2016},
@@ -111,13 +108,13 @@
author = {Haurant, S.},
date = {2004-07-29},
title = {Britain's Borrowing Hits \pounds 1 Trillion},
- journal = {The Guardian},
+ journal = {{The Guardian}},
pages = {16c}}
@article{independent1992pub,
author = {{The Independent}},
date = {1992-06-04},
title = {Picking Up the Bills},
- journal = {The Independent},
+ journal = {{The Independent}},
pages = {28a}}
@inproceedings{crawford1965oim,
author = {Crawford, G. I.},
@@ -145,7 +142,7 @@
author = {Burrell, J. G.},
year = {1973},
title = {The Importance of School Tours in Education},
- type = {Thesis ({M.A.})},
+ type = {Thesis \parentext{M.A.}},
school = {Queen's University, Belfast}}
@report{unesco1993gip,
author = {{UNESCO}},
@@ -154,11 +151,26 @@
address = {Paris},
institution = {UNESCO},
number = {PGI-93/WS/22}}
+ at techreport{bre2007dqb,
+ author = {{BRE}},
+ year = {2007},
+ title = {Designing Quality Buildings: a {BRE} Guide},
+ address = {Bracknell},
+ institution = {BRE},
+ type = {Report},
+ number = {497}}
@standard{bs5605:1990,
- number = {BS~5605:1990},
- sortyear = {1990},
- title = {Recommendations for citing and referencing published material},
+ author = {{BSI}},
+ year = {1990},
+ title = {{BS}~5605:1990 {Recommendations} for Citing and Referencing Published Material},
+ address = {London},
organization = {BSI}}
+ at standard{astm.d1655,
+ author = {{ASTM}},
+ year = {2019},
+ title = {{ASTM~D1655} - 19 {Standard} Specification for Aviation Turbine Fuels},
+ address = {West Conshohocken, Pa.},
+ organization = {ASTM}}
@patent{pm1981opa,
author = {{Phillipp Morris Inc.}},
year = {1981},
@@ -165,6 +177,21 @@
title = {Optical perforating apparatus and system},
type = {European patent application},
number = {0021165A1. 1981-01-07}}
+ at unpublished{harris2013fgr,
+ author = {Harris, G.},
+ year = {2013},
+ title = {Focus group recommendations: internal task group report}}
+ at unpublished{hadley2015bir,
+ author = {Hadley, S.},
+ year = {2015},
+ title = {Biomechanics: introductory reading, {BM289}: sport biomechanics},
+ howpublished = {University of Bath}}
+ at unpublished{thomas2015wcr,
+ author = {Thomas, D.},
+ year = {2015},
+ title = {Word count and referencing style},
+ booktitle = {Frequently asked questions discussion board: {PHYS} 2011: housing studies},
+ howpublished = {University of Bath}}
@image{nasa2015nat,
author = {{NASA}},
year = {2015},
@@ -187,7 +214,7 @@
title = {Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition
organised by the {Council} of {Industrial} {Design} and held at the {Victoria} and {Albert}
{Museum}, {London}, 1946. {Designed} by {B.~G.} {Bowden}},
- titleaddon = {photograph},
+ titleaddon = {Photograph},
address = {London},
library = {Design Council Slide Collection}}
@manual{andrews.dury1773wilts,
@@ -207,7 +234,7 @@
@video{moran2016sol,
author = {Moran, C.},
year = {2016},
- title = {Save {Our} {Libraries}},
+ title = {Save Our Libraries},
url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be},
urldate = {2016-04-29}}
@video{uob2015wie,
@@ -216,9 +243,15 @@
title = {What is Engineering?},
url = {https://www.youtube.com/watch?v=NoyZarq-Zbo},
urldate = {2016-01-12}}
+ at audio{chakrabarti2016hac,
+ author = {Chakrabarti, V.},
+ year = {2016},
+ title = {How Architecture and City Planning Can Combat Social Inequality},
+ url = {https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast},
+ urldate = {2019-03-28}}
@video{rsfo2006ep5,
date = {2006-08-23T20:30:00},
- title = {Rick {Stein's} {French} {Odyssey}},
+ title = {Rick {Stein's} {French} Odyssey},
subtitle = {{Episode} 5},
type = {TV},
publisher = {BBC2}}
@@ -241,14 +274,6 @@
organization = {Bournemouth University},
url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html},
urldate = {2002-11-04}}
- at online{wiltshire2015gww,
- author = {{Wiltshire Council}},
- year = {2015},
- title = {Get {Wiltshire} walking},
- address = {Trowbridge},
- organization = {Wiltshire Council},
- url = {http://www.wiltshire.gov.uk/leisureandrecreation/sportphysicalactivity/getwiltshirewalking.html},
- urldate = {2015-08-19}}
@letter{clark2004euk,
author = {Clark, T.},
date = {2004-07-05},
@@ -256,11 +281,6 @@
journal = {Lis-link},
url = {lis-link at jiscmail.ac.uk},
urldate = {2004-07-30}}
- at letter{alston2004sah,
- author = {Alston, S.},
- date = {2004-07-19},
- title = {Society of {Architectural} {Historians} of {GB}},
- howpublished = {Email to K.M. Jordan}}
@online{bvd2008bt,
author = {{Bureau van Dijk}},
year = {2008},
@@ -332,6 +352,13 @@
author+an = {1=cjk},
year = {2001},
title = {Lorem ipsum}}
+ at book{pamporov2006rvb,
+ author = {Pamporov, A.},
+ year = {2006},
+ title = {Romskoto vsekidnevie v {Balgariya}},
+ titleaddon = {Roma everyday life in Bulgaria},
+ address = {Veliko Tarnovo},
+ publisher = {Faber}}
@legislation{gb.wa1735,
title = {Witchcraft {Act}},
year = {1735},
@@ -372,7 +399,7 @@
@report{gb.hl1986/87-66,
author = {{Great Britain. Parliament. House of Lords}},
year = {1987},
- title = {Social Fund ({Maternity} and {Funeral} {Expenses}) {Bill}},
+ title = {Social Fund (Maternity and Funeral Expenses) Bill},
address = {London},
publisher = {HMSO},
series = {HL 1986/87},
@@ -386,16 +413,15 @@
publisher = {TSO},
series = {Cm},
number = {6041}}
- at legislation{eu.dir2015/413,
- title = {Directive ({EU}) 2015/413 of the {European} {Parliament} and of the {Council} of
- 11th {March} 2015 Facilitating Cross-Border Exchange of Information on Road-Safety-Related
- Traffic Offences},
- shorttitle = {Directive ({EU}) 2015/413},
- year = {2015},
+ at legislation{eu.dir1984/2003,
+ title = {Council {Regulation} ({EC}) 1984/2003 of 8 {April} 2003 Introducing a System for
+ the Statistical Monitoring of Trade in Bluefin Tuna, Swordfish and Big Eye Tuna within
+ the {Community}},
+ shorttitle = {Council {Regulation} \parentext{EC} 1984/2003},
+ year = {2003},
journal = {OJ},
series = {L},
- volume = {68},
- pages = {9}}
+ volume = {295}}
@report{ec2015gra,
author = {{European Commission}},
year = {2015},
@@ -403,7 +429,7 @@
address = {Luxembourg},
publisher = {Publications Office of the European Union}}
@jurisdiction{seldon-v-c.w.j2012,
- title = {Seldon v {Clarkson} {Wright} \& {Jakes}},
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
year = {2012},
journal = {UKSC},
pages = {16}}
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/source/latex/biblatex-bath/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/latex/biblatex-bath/Makefile (rev 0)
+++ trunk/Master/texmf-dist/source/latex/biblatex-bath/Makefile 2019-07-10 20:28:52 UTC (rev 51599)
@@ -0,0 +1,64 @@
+STYLE = bath
+NAME = biblatex-$(STYLE)
+SHELL = bash
+PWD = $(shell pwd)
+TEMP := $(shell mktemp -d -t tmp.XXXXXXXXXX)
+TDIR = $(TEMP)/$(NAME)
+VERS = $(shell ltxfileinfo -v $(NAME).dtx)
+LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
+UTREE = $(shell kpsewhich --var-value TEXMFHOME)
+
+.PHONY: source clean distclean inst install uninst uninstall zip ctan
+
+all: $(NAME).pdf clean
+ @exit 0
+
+source: $(NAME).dtx
+ luatex -interaction=batchmode $(NAME).dtx >/dev/null
+
+$(STYLE).bbx $(STYLE).cbx $(STYLE).dbx english-$(STYLE).lbx british-$(STYLE).lbx $(NAME).bib: source
+
+$(NAME).pdf: source
+ latexmk -silent -lualatex -interaction=batchmode $(NAME).dtx >/dev/null
+ @echo "Compilation complete."
+
+clean:
+ rm -f $(NAME).{aux,bbl,bcf,blg,doc,fdb_latexmk,fls,glo,gls,hd,idx,ilg,ind,listing,log,nav,out,run.xml,snm,synctex.gz,tcbtemp,toc,vrb}
+ rm -f $(NAME).markdown.in
+ rm -rf _markdown_$(NAME)
+
+distclean: clean
+ rm -f $(NAME).{pdf,bib,ins} $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx
+
+
+inst: all
+ mkdir -p $(UTREE)/{source,tex,doc}/latex/$(NAME)
+ cp $(NAME).dtx $(NAME).ins $(UTREE)/source/latex/$(NAME)
+ cp $(NAME).{bib,pdf} $(UTREE)/doc/latex/$(NAME)
+ cp $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx $(UTREE)/tex/latex/$(NAME)
+ mktexlsr
+
+uninst:
+ rm -r $(UTREE)/{source,tex,doc}/latex/$(NAME)
+ mktexlsr
+
+install: all
+ sudo mkdir -p $(LOCAL)/{source,tex,doc}/latex/$(NAME)
+ sudo cp $(NAME).dtx $(NAME).ins $(LOCAL)/source/latex/$(NAME)
+ sudo cp $(NAME).{bib,pdf} $(LOCAL)/doc/latex/$(NAME)
+ sudo cp $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx $(LOCAL)/tex/latex/$(NAME)
+ mktexlsr
+
+uninstall:
+ sudo rm -r $(LOCAL)/{source,tex,doc}/latex/$(NAME)
+ mktexlsr
+
+zip: all
+ mkdir $(TDIR)
+ cp $(NAME).{dtx,bib,pdf} $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx README.md Makefile $(TDIR)
+ cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
+
+ctan: all
+ mkdir $(TDIR)
+ cp $(NAME).{dtx,pdf} README.md Makefile $(TDIR)
+ cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
Property changes on: trunk/Master/texmf-dist/source/latex/biblatex-bath/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -37,7 +37,7 @@
\endpreamble
\postamble
-Copyright (C) 2018 by University of Bath
+Copyright (C) 2019 by University of Bath
\endpostamble
\usedir{tex/latex/\jobname}
@@ -45,8 +45,8 @@
\file{bath.bbx}{\from{\jobname.dtx}{bbx}}
\file{bath.cbx}{\from{\jobname.dtx}{cbx}}
\file{bath.dbx}{\from{\jobname.dtx}{dbx}}
- \file{british-bath.lbx}{\from{\jobname.dtx}{lbx}}
- \file{american-bath.lbx}{\from{\jobname.dtx}{lbx-us}}
+ \file{english-bath.lbx}{\from{\jobname.dtx}{lbx}}
+ \file{british-bath.lbx}{\from{\jobname.dtx}{lbx-gb}}
}
%</install>
%<install>\endbatchfile
@@ -63,7 +63,7 @@
%</internal>
%<*driver>
\ProvidesFile{biblatex-bath.dtx}
- [2018/10/17 v2.0.1 Harvard referencing style as recommended by the University of Bath Library]
+ [2019/07/10 v3.0 Harvard referencing style as recommended by the University of Bath Library]
\documentclass[10pt,a4paper]{article}
\usepackage[british]{babel}
@@ -303,6 +303,10 @@
## Installation
+The files you need are included in the zip archive available from [GitHub].
+If you use the zip archive from [CTAN], you will need to run `luatex
+biblatex-bath.dtx` to generate them.
+
You can use this style simply by copying all the `.bbx`, `.cbx`, `.dbx` and
`.lbx` files into your working directory, that is, the directory holding the
main `.tex` file for your document. If you want the style to be available for
@@ -309,6 +313,14 @@
all your documents without having to copy the files over each time, you can
install them using the instructions below.
+### Managed way
+
+The latest stable release of biblatex-bath has been packaged for TeX Live and
+MiKTeX. If you are running TeX Live and have `tlmgr` installed, you can install
+the package simply by running `tlmgr install biblatex-bath`. If you are running
+MiKTeX, you can install the package by running `mpm --install=biblatex-bath`.
+Both `tlmgr` and `mpm` have GUI versions that you might find friendlier.
+
### Automated way
A makefile is provided which you can use with the Make utility on
@@ -317,10 +329,12 @@
* Running `make source` generates the derived files
- `README.md`
- `bath.bbx`, `bath.cbx`, `bath.dbx`
- - `american-bath.lbx`, `british-bath.lbx`
+ - `english-bath.lbx`, `british-bath.lbx`
- `biblatex-bath.bib`
- `biblatex-bath.ins`
- * Running `make` generates the above files and also biblatex-bath.pdf.
+ * Running `make` generates the above files and also `biblatex-bath.pdf`.
+ Ensure you have (at least) the [luatexja], [adobemapping] and [ipaex]
+ packages installed first.
* Running `make inst` installs the files in the user's TeX tree.
You can undo this with `make uninst`.
* Running `make install` installs the files in the local TeX tree.
@@ -328,9 +342,9 @@
### Manual way
-You only need to follow the first two steps if you have made your own
-changes to the .dtx file. The compiled files you need are included in
-the zip archive.
+You do not need to follow the first step if you downloaded the zip archive from
+[GitHub]. You do not need to follow the second step if you already have the PDF
+documentation.
1. Run `luatex biblatex-bath.dtx` to generate the source files.
@@ -359,7 +373,7 @@
`bath.bbx`,
`bath.cbx`,
`bath.dbx`,
- `american-bath.lbx`,
+ `english-bath.lbx`,
`british-bath.lbx`
- `doc/latex/biblatex-bath`:
`biblatex-bath.pdf`,
@@ -368,8 +382,10 @@
5. You may then have to update your installation's file name database
before TeX and friends can see the files.
-[bath-harvard]: http://www.bath.ac.uk/library/infoskills/referencing-plagiarism/harvard-bath-style.html
+[bath-harvard]: https://library.bath.ac.uk/referencing/harvard-bath
[biblatex]: http://ctan.org/pkg/biblatex
+[GitHub]: https://github.com/alex-ball/bathbib/releases
+[CTAN]: http://ctan.org/pkg/biblatex-bath
[LuaLaTeX]: http://ctan.org/pkg/lualatex-doc
[Biber]: http://ctan.org/pkg/biber
[luatexja]: http://ctan.org/pkg/luatexja
@@ -471,15 +487,38 @@
adjustments are made that won't affect the \textsf{biblatex} rendering (mainly
concerning the handling of dates).
+\subsection{Version 2 to version 3}
+
+If you have previously used version 2 of this style, there are some changes
+you need to be aware of.
+
+\begin{itemize}
+\item
+ Journal titles are now coerced to sentence case, so any capital letters you
+ want to keep need to be protected with braces.
+\item
+ Entries of type \texttt{unpublished} are now explicitly marked as unpublished.
+\item
+ With entry types that usually expect an \texttt{institution} or
+ \texttt{organization} instead of a \texttt{publisher}, if you gave a
+ \texttt{publisher} in earlier versions the \texttt{institution}\slash
+ \texttt{organization} would be ignored. Now they are printed before the
+ publication block.
+\item
+ Some changes to the Harvard (Bath) style cannot be applied automatically
+ (e.g.~the update to how standards are referenced), so you may need to update
+ your .bib file accordingly.
+\end{itemize}
+
\section{Examples}
The examples below are shown in three parts.
The first, marked with \faBook, shows an extract from the
-\href{http://www.bath.ac.uk/library/infoskills/referencing-plagiarism/harvard-bath-style.html}{\emph{Harvard (Bath) guide to citing and referencing}} or
-\href{http://www.bath.ac.uk/library/pass.bho/images-referencing.pdf}{\emph{Referencing images}}.
+\href{https://library.bath.ac.uk/referencing/harvard-bath}{\emph{Referencing guide: Harvard Bath}} or
+\href{https://library.bath.ac.uk/images/referencing}{\emph{Referencing images}}.
The second, marked with \faCog, shows the reference as formatted by \textsf{biblatex}.
The last shows how the reference was entered in the \texttt{.bib} file.
-The bottom right corner shows the source of the example: `HBS' indicates the `Specific examples' section of the Guide (followed by the number of the example); `ref.\@ list' indicates the `How to organise a reference list' section of the Guide; `RI' indicates \emph{Referencing images}.
+The bottom right corner shows the source of the example: `RX' indicates the `Reference examples (A-Z)' section of the Guide; `RL' indicates the `Organise a reference list' section of the Guide; `RI' indicates \emph{Referencing images}.
% Some examples are highlighted in
% \tcbox[colframe=hacked,colback=hacked!5!white,nobeforeafter,size=fbox,tcbox raise base]{orange}.
@@ -498,7 +537,7 @@
\subsubsection*{Book with author(s)}
-\begin{bibexbox}<HBS 1>{rang.etal2012rdp}
+\begin{bibexbox}<RX>{rang.etal2012rdp}
Rang, H.P., Dale, M.M., Ritter, J.M., Flower, R.J. and Henderson, G., 2012. \emph{Rang and Dale's pharmacology}. 7th ed. Edinburgh:\@ Elsevier Churchill Livingstone.
\tcblower
\begin{Verbatim}
@@ -516,7 +555,7 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 1>{ou1972em}
+\begin{bibexbox}<RX>{ou1972em}
Open University, 1972. \emph{Electricity and magnetism}. Bletchley:\@ Open University Press.
\tcblower
\begin{Verbatim}
@@ -536,8 +575,8 @@
\subsubsection*{Book with editor(s) instead of author(s)}
-\begin{bibexbox}<HBS 4>{rothman.etal2008me}
- Rothman, K.J., Greenland, S. and Lash, T.L., eds., 2008. \emph{Modern epidemiology}. 3rd ed. Philadelphia, Pa.:\@ Lippincott Williams \& Wilkins.
+\begin{bibexbox}<RX>{rothman.etal2008me}
+ Rothman, K.J., Greenland, S. and Lash, T.L., eds, 2008. \emph{Modern epidemiology}. 3rd ed. Philadelphia, Pa.:\@ Lippincott Williams \& Wilkins.
\tcblower
\begin{Verbatim}
%</driver>
@@ -555,46 +594,9 @@
\end{bibexbox}
-\subsubsection*{Book usually known by title rather than author}
-
-\begin{bibexbox}<HBS 5>{oed1989}
- \emph{Oxford English dictionary}, 1989. 2nd ed. Oxford:\@ Clarendon Press.
- \tcblower
-\begin{Verbatim}
-%</driver>
-%<*driver|bib>
- at book{oed1989,
- title = {Oxford {English} Dictionary},
- year = {1989},
- edition = {2},
- address = {Oxford},
- publisher = {Clarendon Press}}
-%</driver|bib>
-%<*driver>
-\end{Verbatim}
-\end{bibexbox}
-
-\begin{bibexbox}<HBS 5>{merckNDidx}
- \emph{The Merck index online}, n.d.\@ [Online]. London:\@ RSC Publishing. Available from:\@ \url{http://www.rsc.org/Merck-Index} [Accessed 16 June 2016].
- \tcblower
-\begin{Verbatim}
-%</driver>
-%<*driver|bib>
- at book{merckNDidx,
- title = {The {Merck} Index Online},
- address = {London},
- publisher = {RSC Publishing},
- url = {http://www.rsc.org/Merck-Index},
- urldate = {2016-06-16}}
-%</driver|bib>
-%<*driver>
-\end{Verbatim}
-\end{bibexbox}
-
-
\subsubsection*{Electronic book}
-\begin{bibexbox}<HBS 3>{haynes2014crc}
+\begin{bibexbox}<RX>{haynes2014crc}
Haynes, W.M., ed.\@, 2014. \emph{CRC handbook of chemistry and physics} [Online]. 94th ed. Boca Raton, Fla.:\@ CRC Press/Taylor and Francis. Available from:\@ \url{http://www.hbcpnetbase.com} [Accessed 16 June 2016].
\tcblower
\begin{Verbatim}
@@ -614,7 +616,7 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 3>{hodds2016re}
+\begin{bibexbox}<RX>{hodds2016re}
Hodds, J., 2016. \emph{Referencing ebooks} [Kindle version 4.18]. Bath:\@ University of Bath.
\tcblower
\begin{Verbatim}
@@ -635,8 +637,8 @@
\subsubsection*{One chapter\slash paper from a collection (by different authors) in an edited book}
-\begin{bibexbox}<ref.\@ list>{burchard1965hhl}
- Burchard, J.E., 1965. How humanists use a library. In: C.F.J. Overhage and J.R. Harman, eds. \emph{Intrex: report on a planning conference and information transfer experiments}. Cambridge, Mass.: MIT Press, pp.41--87.
+\begin{bibexbox}<RL>{burchard1965hhl}
+ Burchard, J.E., 1965. How humanists use a library. In:\@ C.F.J. Overhage and J.R. Harman, eds. \emph{Intrex:\@ report on a planning conference and information transfer experiments}. Cambridge, Mass.:\@ MIT Press, pp.41--87.
\tcblower
\begin{Verbatim}
%</driver>
@@ -656,8 +658,8 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 2>{reid1967ptp}
- Reid, D.R., 1967. Physical testing of polymer films. In: S.H. Pinner, ed.\@ \emph{Modern packaging films}. London:\@ Butterworths, pp.143--183.
+\begin{bibexbox}<RX>{reid1967ptp}
+ Reid, D.R., 1967. Physical testing of polymer films. In:\@ S.H. Pinner, ed. \emph{Modern packaging films}. London:\@ Butterworths, pp.143--183.
\tcblower
\begin{Verbatim}
%</driver>
@@ -681,8 +683,8 @@
\subsubsection*{Journal article}
-\begin{bibexbox}<ref.\@ list>{stieg1981cer}
- Stieg, M.F., 1981a. Continuing education and the reference librarian in the academic and research library. \emph{Library Journal}, 105(22), pp.2547--2551.
+\begin{bibexbox}<RL>{stieg1981cer}
+ Stieg, M.F., 1981a. Continuing education and the reference librarian in the academic and research library. \emph{Library journal}, 105(22), pp.2547--2551.
\tcblower
\begin{Verbatim}
%</driver>
@@ -700,7 +702,7 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<ref.\@ list>{stieg1981inh}
+\begin{bibexbox}<RL>{stieg1981inh}
Stieg, M.F., 1981b. The information needs of historians. \emph{College and research libraries}, 42(6), pp.549--560.
\tcblower
\begin{Verbatim}
@@ -719,7 +721,7 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 6>{newman2010mcb}
+\begin{bibexbox}<RX>{newman2010mcb}
Newman, R., 2010. Malaria control beyond 2010. \emph{Brit.\@ Med.\@ J.}, 341(7765), pp.157--208.
\tcblower
\begin{Verbatim}
@@ -729,7 +731,7 @@
author = {Newman, R.},
year = {2010},
title = {Malaria control beyond 2010},
- journal = {Brit.\@ Med.\@ J.},
+ journal = {{Brit.\@ Med.\@ J.\isdot}},
volume = {341},
number = {7765},
pages = {157-208}}
@@ -741,7 +743,7 @@
\subsubsection*{Electronic journal article}
-\begin{bibexbox}<HBS 7>{williams1997edd}
+\begin{bibexbox}<RX>{williams1997edd}
Williams, F., 1997. Electronic document delivery:\@ a trial in an academic library. \emph{Ariadne} [Online], 10. Available from:\@ \url{http://www.ariadne.ac.uk/issue10/edd/} [Accessed 5 December 1997].
\tcblower
\begin{Verbatim}
@@ -761,11 +763,39 @@
\end{Verbatim}
\end{bibexbox}
+\begin{tips}
+\item
+If citing an article yet to be officially published, use the \texttt{pubstate}
+field with the keyword \texttt{inpress} for `in press' and
+\texttt{inpreparation} or \texttt{submitted} (whichever is more accurate)
+for `preprint'.
+\end{tips}
+\begin{bibexbox}<RX>{liontou.etal2019dra}
+ Liontou, C., Kontopodis, E., Oikonomidis, N., Maniotis, C., Tassopoulos, A., Tsiafoutis, I., Lazaris, E. and Koutouzis, M., 2019. Distal radial access:\@ a review article. \emph{Cardiovascular revascularization medicine} [Online], in press. Available from: \url{https://www.sciencedirect.com/science/article/pii/S1553838919303367} [Accessed 19 June 2019].
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at article{liontou.etal2019dra,
+ author = {Liontou, C. and Kontopodis, E. and Oikonomidis, N. and Maniotis, C. and
+ Tassopoulos, A. and Tsiafoutis, I. and Lazaris, E. and Koutouzis, M.},
+ year = {2019},
+ title = {Distal Radial Access: a Review Article},
+ journal = {Cardiovascular Revascularization Medicine},
+ pubstate = {inpress},
+ url = {https://www.sciencedirect.com/science/article/pii/S1553838919303367},
+ urldate = {2019-06-19}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
+
\subsubsection*{Preprint in a digital repository}
-\begin{bibexbox}<HBS 8>{shah.corrick2016hsc}
- Shah, I. and Corrick, I. 2016. \emph{How should central banks respond to non-neutral inflation expectations?} Bath:\@ University of Bath. \emph{OPUS} [Online]. Available from:\@ \url{http://opus.bath.ac.uk} [Accessed 4 May 2016].
+\begin{bibexbox}<RX>{shah.corrick2016hsc}
+ Shah, I. and Corrick, I., 2016. \emph{How should central banks respond to non-neutral inflation expectations?} Bath:\@ University of Bath. \emph{OPUS} [Online]. Available from:\@ \url{http://opus.bath.ac.uk} [Accessed 4 May 2016].
\tcblower
\begin{Verbatim}
%</driver>
@@ -798,7 +828,7 @@
\subsubsection*{Newspaper article}
-\begin{bibexbox}<HBS 12>{haurant2004bbh}
+\begin{bibexbox}<RX>{haurant2004bbh}
Haurant, S., 2004. Britain's borrowing hits £1 trillion. \emph{The Guardian}, 29 July, p.16c.
\tcblower
\begin{Verbatim}
@@ -808,7 +838,7 @@
author = {Haurant, S.},
date = {2004-07-29},
title = {Britain's Borrowing Hits \pounds 1 Trillion},
- journal = {The Guardian},
+ journal = {{The Guardian}},
pages = {16c}}
%</driver|bib>
%<*driver>
@@ -815,7 +845,7 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 12>{independent1992pub}
+\begin{bibexbox}<RX>{independent1992pub}
The Independent, 1992. Picking up the bills. \emph{The Independent}, 4 June, p.28a.
\tcblower
\begin{Verbatim}
@@ -825,7 +855,7 @@
author = {{The Independent}},
date = {1992-06-04},
title = {Picking Up the Bills},
- journal = {The Independent},
+ journal = {{The Independent}},
pages = {28a}}
%</driver|bib>
%<*driver>
@@ -837,8 +867,8 @@
\subsubsection*{Conference paper (when proceedings have a named editor)}
-\begin{bibexbox}<HBS 10>{crawford1965oim}
- Crawford, G.I., 1965. Oxygen in metals. In:\@ J.M.A. Lenihan and S.J. Thompson, eds. \emph{Activation analysis:\@ proceedings of a NATO Advanced Study Institute}, 2--4 August 1964 Glasgow. London:\@ Academic Press, pp.113--118.
+\begin{bibexbox}<RX>{crawford1965oim}
+ Crawford, G.I., 1965. Oxygen in metals. In:\@ J.M.A. Lenihan and S.J. Thompson, eds. \emph{Activation analysis:\@ proceedings of a NATO Advanced Study Institute}, 2--4 August 1964, Glasgow. London:\@ Academic Press, pp.113--118.
\tcblower
\begin{Verbatim}
%</driver>
@@ -863,8 +893,8 @@
\subsubsection*{Conference paper (when proceedings have no named editor or are part of a major series)}
-\begin{bibexbox}<HBS 11>{soper1972rbc}
- Soper, D., 1972. Review of bracken control experiments with asulam. \emph{Proceedings of the 11th British Weed Control Conference}, 15--17 November 1972 Brighton. Brighton:\@ University of Sussex, pp.24--31.
+\begin{bibexbox}<RX>{soper1972rbc}
+ Soper, D., 1972. Review of bracken control experiments with asulam. \emph{Proceedings of the 11th British Weed Control Conference}, 15--17 November 1972, Brighton. Brighton:\@ University of Sussex, pp.24--31.
\tcblower
\begin{Verbatim}
%</driver>
@@ -889,7 +919,7 @@
\subsubsection*{Thesis/dissertation}
-\begin{bibexbox}<HBS 13>{burrell1973ist}
+\begin{bibexbox}<RX>{burrell1973ist}
Burrell, J.G., 1973. \emph{The importance of school tours in education}. Thesis (M.A.). Queen's University, Belfast.
\tcblower
\begin{Verbatim}
@@ -899,7 +929,7 @@
author = {Burrell, J. G.},
year = {1973},
title = {The Importance of School Tours in Education},
- type = {Thesis ({M.A.})},
+ type = {Thesis \parentext{M.A.}},
school = {Queen's University, Belfast}}
%</driver|bib>
%<*driver>
@@ -909,8 +939,8 @@
\subsubsection*{Report}
-\begin{bibexbox}<HBS 14>{unesco1993gip}
- UNESCO, 1993. \emph{General information programme and UNISIST}\@. Paris:\@ UNESCO, (PGI-93/WS/22).
+\begin{bibexbox}<RX>{unesco1993gip}
+ UNESCO, 1993. \emph{General information programme and UNISIST}\@. (PGI-93/WS/22). Paris:\@ UNESCO.
\tcblower
\begin{Verbatim}
%</driver>
@@ -927,19 +957,40 @@
\end{Verbatim}
\end{bibexbox}
+\begin{bibexbox}<RX>{bre2007dqb}
+ BRE, 2007. \emph{Designing quality buildings:\@ a BRE guide}. (Report 497). Bracknell:\@ BRE.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at techreport{bre2007dqb,
+ author = {{BRE}},
+ year = {2007},
+ title = {Designing Quality Buildings: a {BRE} Guide},
+ address = {Bracknell},
+ institution = {BRE},
+ type = {Report},
+ number = {497}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
\subsubsection*{Standard}
-\begin{bibexbox}<HBS 15>{bs5605:1990}
- BS 5605:1990. \emph{Recommendations for citing and referencing published material}. BSI.
+\begin{bibexbox}<RX>{bs5605:1990}
+ BSI, 1990. \emph{BS 5605:1990 Recommendations for citing and referencing
+ published material.} London: BSI.
\tcblower
\begin{Verbatim}
%</driver>
%<*driver|bib>
@standard{bs5605:1990,
- number = {BS~5605:1990},
- sortyear = {1990},
- title = {Recommendations for citing and referencing published material},
+ author = {{BSI}},
+ year = {1990},
+ title = {{BS}~5605:1990 {Recommendations} for Citing and Referencing Published Material},
+ address = {London},
organization = {BSI}}
%</driver|bib>
%<*driver>
@@ -946,30 +997,28 @@
\end{Verbatim}
\end{bibexbox}
-\begin{tips}
-\item
-Use \texttt{label} to specify the standard identifier;
-this will print it at the start of the entry and in citations.
-The entry will, however, be sorted by \texttt{title} in the bibliography unless
-you fix this with \texttt{sortkey}; you should normally repeat the identifier
-but you might want to adjust it, e.g.\@ by adding zeroes to the start of the
-number to put several standards in numerical order.
-If you are using Biber, you can put the standard identifier in the more
-semantically correct \texttt{number} field and the value will be moved
-into \texttt{label} and \texttt{sortkey} for you (unless these or
-\texttt{author} are already specified). If you need compatibility with Bib\TeX\, you could put the identifier in \texttt{author} with much the same effect.
+\begin{bibexbox}<RX>{astm.d1655}
+ ASTM, 2019. \emph{ASTM D1655 - 19 Standard specification for aviation
+ turbine fuels.} West Conshohocken, Pa.: ASTM.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at standard{astm.d1655,
+ author = {{ASTM}},
+ year = {2019},
+ title = {{ASTM~D1655} - 19 {Standard} Specification for Aviation Turbine Fuels},
+ address = {West Conshohocken, Pa.},
+ organization = {ASTM}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
-\item
-If the date forms part of the identifier, don't repeat it in \texttt{year} or \texttt{date};
-put it in \texttt{sortyear} instead. This will make sure it is still positioned
-correctly within a citation of multiple sources.
-If you are using Biber, it will also stop an erroneous `n.d.\@' being printed;
-otherwise you will need to do this manually by setting the (Boolean) entry option \key{nonodate}.
-\end{tips}
\subsubsection*{Patent}
-\begin{bibexbox}<HBS 16>{pm1981opa}
+\begin{bibexbox}<RX>{pm1981opa}
Phillipp Morris Inc., 1981. \emph{Optical perforating apparatus and system}. European patent application 0021165A1. 1981-01-07.
\tcblower
\begin{Verbatim}
@@ -991,12 +1040,68 @@
patent requests\slash applications.
\end{info}
+
+\subsubsection*{Unpublished written material and personal communications}
+
+\begin{bibexbox}<RX>{harris2013fgr}
+ Harris, G., 2013. \emph{Focus group recommendations:\@ internal task group
+ report}. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at unpublished{harris2013fgr,
+ author = {Harris, G.},
+ year = {2013},
+ title = {Focus group recommendations: internal task group report}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{hadley2015bir}
+ Hadley, S., 2015. \emph{Biomechanics:\@ introductory reading, BM289:\@ sport
+ biomechanics}. University of Bath. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at unpublished{hadley2015bir,
+ author = {Hadley, S.},
+ year = {2015},
+ title = {Biomechanics: introductory reading, {BM289}: sport biomechanics},
+ howpublished = {University of Bath}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{thomas2015wcr}
+ Thomas, D., 2015. Word count and referencing style. \emph{Frequently
+ asked questions discussion board:\@ PHYS 2011:\@ housing studies.}
+ University of Bath. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at unpublished{thomas2015wcr,
+ author = {Thomas, D.},
+ year = {2015},
+ title = {Word count and referencing style},
+ booktitle = {Frequently asked questions discussion board: {PHYS} 2011: housing studies},
+ howpublished = {University of Bath}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
+
\subsection{Audiovisual materials}
\subsubsection*{Image}
\begin{bibexbox}<RI>{nasa2015nat}
- NASA, 2015, \emph{NASA Astronaut Tim Kopra on Dec.\@ 21 Spacewalk}. Washington: NASA. Available from: \url{http://www.nasa.gov/image-feature/nasa-astronaut-tim-kopra-on-dec-21-spacewalk} [Accessed 7 January 2015].
+ NASA, 2015, \emph{NASA astronaut Tim Kopra on Dec.\@ 21 spacewalk} [Online]. Washington:\@ NASA. Available from:\@ \url{http://www.nasa.gov/image-feature/nasa-astronaut-tim-kopra-on-dec-21-spacewalk} [Accessed 7 January 2015].
\tcblower
\begin{Verbatim}
%</driver>
@@ -1016,11 +1121,11 @@
\begin{tips}\item
You can use either the \texttt{publisher} or the \texttt{organization} field to
-record the source of the image. If you use both, \texttt{organization} will be ignored.
+record the source of the image.
\end{tips}
\begin{bibexbox}<RI>{iliff2006rcb}
- Iliff, D., 2006. \emph{Royal Crescent in Bath, England - July 2006}, San Francisco: Wikimedia Foundation. Available from: \url{https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg} [Accessed 7 January 2016].
+ Iliff, D., 2006. \emph{Royal Crescent in Bath, England - July 2006} [Online]. San Francisco:\@ Wikimedia Foundation. Available from:\@ \url{https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg} [Accessed 7 January 2016].
\tcblower
\begin{Verbatim}
%</driver>
@@ -1039,7 +1144,7 @@
\end{bibexbox}
\begin{bibexbox}<RI>{anon1946peb}
- Anon., 1946. \emph{Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition organised by the Council of Industrial Design and held at the Victoria and Albert Museum, London, 1946. Designed by B.~G. Bowden} [photograph]. At: London. Design Council Slide Collection.
+ Anon., 1946. \emph{Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition organised by the Council of Industrial Design and held at the Victoria and Albert Museum, London, 1946. Designed by B.~G. Bowden} [Photograph]. At:\@ London. Design Council Slide Collection.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1050,7 +1155,7 @@
title = {Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition
organised by the {Council} of {Industrial} {Design} and held at the {Victoria} and {Albert}
{Museum}, {London}, 1946. {Designed} by {B.~G.} {Bowden}},
- titleaddon = {photograph},
+ titleaddon = {Photograph},
address = {London},
library = {Design Council Slide Collection}}
%</driver|bib>
@@ -1070,7 +1175,7 @@
\subsubsection*{Map}
-\begin{bibexbox}<HBS 18>{andrews.dury1773wilts}
+\begin{bibexbox}<RX>{andrews.dury1773wilts}
Andrews, J. and Dury, A., 1773. \emph{Map of Wiltshire}, 1 inch to 2 miles. Devizes:\@ Wiltshire Record Society.
\tcblower
\begin{Verbatim}
@@ -1094,7 +1199,7 @@
\subsubsection*{Film, video or DVD}
-\begin{bibexbox}<HBS 19>{macbeth1948}
+\begin{bibexbox}<RX>{macbeth1948}
\emph{Macbeth}, 1948. Film.\@ Directed by Orson Welles. USA:\@ Republic Pictures.
\tcblower
\begin{Verbatim}
@@ -1133,8 +1238,8 @@
\subsubsection*{Streamed video (YouTube, TED Talks, etc.)}
-\begin{bibexbox}<HBS 20>{moran2016sol}
- Moran, C., 2016. \emph{Save Our Libraries} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be} [Accessed 29 April 2016]
+\begin{bibexbox}<RX>{moran2016sol}
+ Moran, C., 2016. \emph{Save our libraries} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be} [Accessed 29 April 2016].
\tcblower
\begin{Verbatim}
%</driver>
@@ -1142,7 +1247,7 @@
@video{moran2016sol,
author = {Moran, C.},
year = {2016},
- title = {Save {Our} {Libraries}},
+ title = {Save Our Libraries},
url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be},
urldate = {2016-04-29}}
%</driver|bib>
@@ -1151,7 +1256,7 @@
\end{bibexbox}
\begin{bibexbox}<RI>{uob2015wie}
- University of Bath, 2015. \emph{What is engineering?} Available from: \url{https://www.youtube.com/watch?v=NoyZarq-Zbo} [Accessed 12 January 2016].
+ University of Bath, 2015. \emph{What is engineering?} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=NoyZarq-Zbo} [Accessed 12 January 2016].
\tcblower
\begin{Verbatim}
%</driver>
@@ -1167,11 +1272,28 @@
\end{Verbatim}
\end{bibexbox}
+\begin{bibexbox}<RI>{chakrabarti2016hac}
+ Chakrabarti, V., 2016. \emph{How architecture and city planning can combat social inequality} [Online]. Available from:\@ \url{https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast} [Accessed 28 March 2019].
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at audio{chakrabarti2016hac,
+ author = {Chakrabarti, V.},
+ year = {2016},
+ title = {How Architecture and City Planning Can Combat Social Inequality},
+ url = {https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast},
+ urldate = {2019-03-28}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
\subsubsection*{Television or radio broadcast}
-\begin{bibexbox}<HBS 21>{rsfo2006ep5}
- \emph{Rick Stein's French Odyssey: Episode 5}, 2006. TV. BBC2, 23 August. 20.30 hrs.
+\begin{bibexbox}<RX>{rsfo2006ep5}
+ \emph{Rick Stein's French odyssey:\@ Episode 5}, 2006. TV. BBC2, 23 August. 20.30 hrs.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1178,7 +1300,7 @@
%<*driver|bib>
@video{rsfo2006ep5,
date = {2006-08-23T20:30:00},
- title = {Rick {Stein's} {French} {Odyssey}},
+ title = {Rick {Stein's} {French} Odyssey},
subtitle = {{Episode} 5},
type = {TV},
publisher = {BBC2}}
@@ -1191,8 +1313,8 @@
Use \texttt{type} for the medium and \texttt{publisher} for the channel.
\end{tips}
-\begin{bibexbox}<HBS 21>{archers20060823}
- \emph{The Archers}, 2006. Radio.\@ BBC Radio 4, 23 August. 19.02 hrs.
+\begin{bibexbox}<RX>{archers20060823}
+ \emph{The Archers}, 2006. Radio. BBC Radio 4, 23 August. 19.02 hrs.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1214,7 +1336,7 @@
\subsubsection*{Music score}
-\begin{bibexbox}<HBS 22>{beethoven1950symph1}
+\begin{bibexbox}<RX>{beethoven1950symph1}
Beethoven, L. van, 1950. \emph{Symphony no.1 in C, Op.21}. Harmondsworth:\@ Penguin.
\tcblower
\begin{Verbatim}
@@ -1236,7 +1358,7 @@
\subsubsection*{Website\slash webpage}
-\begin{bibexbox}<HBS 9>{holland2002gci}
+\begin{bibexbox}<RX>{holland2002gci}
Holland, M., 2002. \emph{Guide to citing internet sources} [Online]. Poole:\@ Bournemouth University. Available from:\@ \url{http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html} [Accessed 4 November 2002].
\tcblower
\begin{Verbatim}
@@ -1255,29 +1377,10 @@
\end{Verbatim}
\end{bibexbox}
-\begin{bibexbox}<HBS 9>{wiltshire2015gww}
- Wiltshire Council, 2015. \emph{Get Wiltshire walking} [Online]. Trowbridge:\@ Wiltshire Council. Available from:\@ \url{http://www.wiltshire.gov.uk/leisureandrecreation/sportphysicalactivity/getwiltshirewalking.html} [Accessed 19 August 2015].
- \tcblower
-\begin{Verbatim}
-%</driver>
-%<*driver|bib>
- at online{wiltshire2015gww,
- author = {{Wiltshire Council}},
- year = {2015},
- title = {Get {Wiltshire} walking},
- address = {Trowbridge},
- organization = {Wiltshire Council},
- url = {http://www.wiltshire.gov.uk/leisureandrecreation/sportphysicalactivity/getwiltshirewalking.html},
- urldate = {2015-08-19}}
-%</driver|bib>
-%<*driver>
-\end{Verbatim}
-\end{bibexbox}
-
\subsubsection*{Email discussion lists (jiscmail\slash listserv etc.)}
-\begin{bibexbox}<HBS 23>{clark2004euk}
+\begin{bibexbox}<RX>{clark2004euk}
Clark, T., 5 July 2004. A European UK Libraries Plus? \emph{Lis-link} [Online]. Available from:\@ \url{lis-link at jiscmail.ac.uk} [Accessed 30 July 2004].
\tcblower
\begin{Verbatim}
@@ -1296,33 +1399,14 @@
\end{bibexbox}
\begin{tips}\item
-Use the \texttt{journal} field to specify the mailing list. This triggers the
-change in formatting with respect to the following example.
+Use the \texttt{journal} field to specify the mailing list. If you omit the
+\texttt{journal} field, the entry will be formatted as an unpublished work.
\end{tips}
-\subsubsection*{Personal emails}
-
-\begin{bibexbox}<HBS 24>{alston2004sah}
- Alston, S., 19 July 2004. \emph{Society of Architectural Historians of GB}. Email to K.M. Jordan.
- \tcblower
-\begin{Verbatim}
-%</driver>
-%<*driver|bib>
- at letter{alston2004sah,
- author = {Alston, S.},
- date = {2004-07-19},
- title = {Society of {Architectural} {Historians} of {GB}},
- howpublished = {Email to K.M. Jordan}}
-%</driver|bib>
-%<*driver>
-\end{Verbatim}
-\end{bibexbox}
-
-
\subsubsection*{Database}
-\begin{bibexbox}<HBS 40>{bvd2008bt}
+\begin{bibexbox}<RX>{bvd2008bt}
Bureau van Dijk, 2008. \emph{BT Group plc company report}. \emph{FAME} [Online]. London:\@ Bureau van Dijk. Available from:\@ \url{http://www.portal.euromonitor.com} [Accessed 6 November 2014].
\tcblower
\begin{Verbatim}
@@ -1350,7 +1434,7 @@
\subsubsection*{Dataset}
-\begin{bibexbox}<HBS 41>{wilson2013rgc}
+\begin{bibexbox}<RX>{wilson2013rgc}
Wilson, D., 2013. \emph{Real geometry and connectedness via triangular description:\@ CAD example bank} [Online]. Bath:\@ University of Bath. Available from:\@ \url{https://doi.org/10.15125/BATH-00069} [Accessed 20 April 2016].
\tcblower
\begin{Verbatim}
@@ -1377,8 +1461,8 @@
\subsubsection*{Computer program}
-\begin{bibexbox}<HBS 42>{screencasto}
- @screencasto, n.d.\@ \emph{Screencast-O-Matic} (v.2) [computer program]. Available from: \url{https://screencast-o-matic.com/} [Accessed 16 May 2016].
+\begin{bibexbox}<RX>{screencasto}
+ @screencasto, n.d. \emph{Screencast-O-Matic} (v.2) [computer program]. Available from:\@ \url{https://screencast-o-matic.com/} [Accessed 16 May 2016].
\tcblower
\begin{Verbatim}
%</driver>
@@ -1400,8 +1484,8 @@
\subsubsection*{Work in translation}
-\begin{bibexbox}<HBS 26>{aristotle2007ne}
- Aristotle, 2007. \emph{Nicomachean ethics} (W.D. Ross. Trans.). South Dakota:\@ NuVisions.
+\begin{bibexbox}<RX>{aristotle2007ne}
+ Aristotle, 2007. \emph{Nicomachean ethics} (W.D. Ross, Trans.). South Dakota:\@ NuVisions.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1421,7 +1505,7 @@
\subsubsection*{Work in the Roman alphabet}
-\begin{bibexbox}<HBS 27>{esquivel2003cap}
+\begin{bibexbox}<RX>{esquivel2003cap}
Esquivel, L., 2003. \emph{Como agua para chocolate} [Like water for chocolate]. Barcelona:\@ Debolsillo.
\tcblower
\begin{Verbatim}
@@ -1443,8 +1527,8 @@
Use the \texttt{titleaddon} field to supply the English translation of the title.
\end{tips}
-\begin{bibexbox}<HBS 27>{thurfjell1975vhv}
- Thurfjell, W., 1975. Vart har våran doktor tagit vägen? [Where has our doctor gone?] \emph{Läkartidningen} 72, p.789.
+\begin{bibexbox}<RX>{thurfjell1975vhv}
+ Thurfjell, W., 1975. Vart har våran doktor tagit vägen? [Where has our doctor gone?]. \emph{Läkartidningen}, 72, p.789.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1465,8 +1549,8 @@
\subsubsection*{Work in a non-Roman alphabet}
-\begin{bibexbox}<HBS 28>{hua1999qys1}
- Hua, L. 華林甫, 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu 清代以來三峽地區水旱災害的初步硏 [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty], \emph{Zhongguo shehui kexue} 中國社會科學 , 1, pp.168--79.
+\begin{bibexbox}<RX>{hua1999qys1}
+ Hua, L. 華林甫, 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu 清代以來三峽地區水旱災害的初步硏 [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty]. \emph{Zhongguo shehui kexue} 中國社會科學, 1, pp.168--79.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1493,8 +1577,8 @@
component you may supply will be ignored.
\end{tips}
-\begin{bibexbox}<HBS 28>{hua1999qys2}
- Hua, L., 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty], \emph{Zhongguo shehui kexue}, 1, pp.168--79.
+\begin{bibexbox}<RX>{hua1999qys2}
+ Hua, L., 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty]. \emph{Zhongguo shehui kexue}, 1, pp.168--79.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1514,7 +1598,7 @@
\end{bibexbox}
\begin{tips}\item
-Although not a feature of the Harvard (Bath) Style, if you want to suppress the
+Although not a feature of the Harvard (Bath) Style, if you want to suppress the
punctuation between the family name and the initial (and thereby be more
faithful to the original orthography), you can specify this using
\textsf{biblatex}'s data annotations feature, using the keyword \texttt{cjk}:
@@ -1536,7 +1620,25 @@
\end{Verbatim}
\end{bibexbox}
+\begin{bibexbox}<RX>{pamporov2006rvb}
+ Pamporov, A., 2006. \emph{Romskoto vsekidnevie v Balgariya} [Roma everyday life in Bulgaria]. Veliko Tarnovo: Faber.
+ \tcblower
+\begin{Verbatim}
+%</driver>
+%<*driver|bib>
+ at book{pamporov2006rvb,
+ author = {Pamporov, A.},
+ year = {2006},
+ title = {Romskoto vsekidnevie v {Balgariya}},
+ titleaddon = {Roma everyday life in Bulgaria},
+ address = {Veliko Tarnovo},
+ publisher = {Faber}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\end{bibexbox}
+
\subsection{Legal references: UK legislation and parliamentary reports}
% UK Primary Legislation
@@ -1543,7 +1645,7 @@
\subsubsection*{Act of Parliament (UK Statutes) before 1963}
-\begin{bibexbox}<HBS 32>{gb.wa1735}
+\begin{bibexbox}<RX>{gb.wa1735}
\emph{Witchcraft Act 1735} (9 Geo.2, c.5).
\tcblower
\begin{Verbatim}
@@ -1575,7 +1677,7 @@
\subsubsection*{Act of Parliament (UK Statutes) 1963 onwards}
-\begin{bibexbox}<HBS 33>{gb.pa2014}
+\begin{bibexbox}<RX>{gb.pa2014}
\emph{Pensions Act 2014}, c.19. London:\@ TSO.
\tcblower
\begin{Verbatim}
@@ -1595,8 +1697,8 @@
\subsubsection*{House of Commons/House of Lords bill}
-\begin{bibexbox}<HBS 31>{gb.bill1987/88-66}
- Great Britain. Parliament. House of Commons, 1988. \emph{Local government finance bill}. London:\@ HMSO (Bills | 1987/88, 66).
+\begin{bibexbox}<RX>{gb.bill1987/88-66}
+ Great Britain.\@ Parliament.\@ House of Commons, 1988. \emph{Local government finance bill}. (Bills | 1987/88, 66). London:\@ HMSO.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1619,7 +1721,7 @@
\subsubsection*{Statutory instrument}
-\begin{bibexbox}<HBS 35>{gb.hmr2012}
+\begin{bibexbox}<RX>{gb.hmr2012}
\emph{The Human Medicines Regulations 2012} [Online], No.1916, United Kingdom:\@ HMSO. Available from:\@ \url{http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf} [Accessed 17 April 2016].
\tcblower
\begin{Verbatim}
@@ -1651,8 +1753,8 @@
Use this form for reports of House of Commons select committees.
\end{tips}
-\begin{bibexbox}<HBS 29>{gb.hc2003/04-30}
- Great Britain. Parliament. House of Commons, 2004. \emph{National Savings investment deposits:\@ account 2002--2003}. London:\@ National Audit Office (HC 2003/04, 30).
+\begin{bibexbox}<RX>{gb.hc2003/04-30}
+ Great Britain.\@ Parliament.\@ House of Commons, 2004. \emph{National Savings investment deposits:\@ account 2002--2003}. (HC 2003/04, 30). London:\@ National Audit Office.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1678,8 +1780,8 @@
Use this form for reports of House of Lords select committees.
\end{tips}
-\begin{bibexbox}<HBS 30>{gb.hl1986/87-66}
- Great Britain. Parliament. House of Lords, 1987. \emph{Social fund (Maternity and Funeral Expenses) Bill}. London:\@ HMSO (HL 1986/87, (66)).
+\begin{bibexbox}<RX>{gb.hl1986/87-66}
+ Great Britain.\@ Parliament.\@ House of Lords, 1987. \emph{Social fund (maternity and funeral expenses) bill}. (HL 1986/87, (66)). London:\@ HMSO.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1687,7 +1789,7 @@
@report{gb.hl1986/87-66,
author = {{Great Britain. Parliament. House of Lords}},
year = {1987},
- title = {Social Fund ({Maternity} and {Funeral} {Expenses}) {Bill}},
+ title = {Social Fund (Maternity and Funeral Expenses) Bill},
address = {London},
publisher = {HMSO},
series = {HL 1986/87},
@@ -1705,8 +1807,8 @@
\subsubsection*{Command paper}
-\begin{bibexbox}<HBS 34>{gb.cm6041}
- Great Britain. Ministry of Defence, 2004. \emph{Delivering security in a changing world:\@ defence white paper}. London:\@ TSO (Cm.\@ 6041).
+\begin{bibexbox}<RX>{gb.cm6041}
+ Great Britain.\@ Ministry of Defence, 2004. \emph{Delivering security in a changing world:\@ defence white paper}. (Cm.\@ 6041). London:\@ TSO.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1732,22 +1834,21 @@
\subsubsection*{EU regulation or directive, decision, recommendation or opinion}
-\begin{bibexbox}<HBS 38>{eu.dir2015/413}
- Directive (EU) 2015/413 of the European Parliament and of the Council of 11th March 2015 facilitating cross-border exchange of information on road-safety-related traffic offences [2015] \emph{OJ} L68/9.
+\begin{bibexbox}<RX>{eu.dir1984/2003}
+ Council Regulation (EC) 1984/2003 of 8 April 2003 introducing a system for the statistical monitoring of trade in bluefin tuna, swordfish and big eye tuna within the Community [2003] \emph{OJ} L295.
\tcblower
\begin{Verbatim}
%</driver>
%<*driver|bib>
- at legislation{eu.dir2015/413,
- title = {Directive ({EU}) 2015/413 of the {European} {Parliament} and of the {Council} of
- 11th {March} 2015 Facilitating Cross-Border Exchange of Information on Road-Safety-Related
- Traffic Offences},
- shorttitle = {Directive ({EU}) 2015/413},
- year = {2015},
+ at legislation{eu.dir1984/2003,
+ title = {Council {Regulation} ({EC}) 1984/2003 of 8 {April} 2003 Introducing a System for
+ the Statistical Monitoring of Trade in Bluefin Tuna, Swordfish and Big Eye Tuna within
+ the {Community}},
+ shorttitle = {Council {Regulation} \parentext{EC} 1984/2003},
+ year = {2003},
journal = {OJ},
series = {L},
- volume = {68},
- pages = {9}}
+ volume = {295}}
%</driver|bib>
%<*driver>
\end{Verbatim}
@@ -1762,7 +1863,7 @@
\subsubsection*{EU publication}
-\begin{bibexbox}<HBS 37>{ec2015gra}
+\begin{bibexbox}<RX>{ec2015gra}
European Commission, 2015. \emph{General report on the activities of the European Union 2014}. Luxembourg:\@ Publications Office of the European Union.
\tcblower
\begin{Verbatim}
@@ -1784,14 +1885,14 @@
\subsubsection*{Legal case study}
-\begin{bibexbox}<HBS 36>{seldon-v-c.w.j2012}
- \emph{Seldon v Clarkson Wright \& Jakes}. [2012]. UKSC 16.
+\begin{bibexbox}<RX>{seldon-v-c.w.j2012}
+ \emph{Seldon v.~Clarkson Wright \& Jakes}. [2012]. UKSC 16.
\tcblower
\begin{Verbatim}
%</driver>
%<*driver|bib>
@jurisdiction{seldon-v-c.w.j2012,
- title = {Seldon v {Clarkson} {Wright} \& {Jakes}},
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
year = {2012},
journal = {UKSC},
pages = {16}}
@@ -1847,7 +1948,7 @@
, fontupper = \footnotesize
]
\begin{Verbatim}
- title = {Seldon v {Clarkson} {Wright} \& {Jakes}},
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
sortyear = {2012},
note = {[2012]. UKSC 16}
\end{Verbatim}
@@ -1856,8 +1957,8 @@
\subsubsection*{Judgment of the European Court of Justice}
-\begin{bibexbox}<HBS 39>{srl.etal-v-comm2005}
- \emph{Alessandrini Srl and others v.~Commission} (C-295/03 P) [2005] ECR I-5700.
+\begin{bibexbox}<RX>{srl.etal-v-comm2005}
+ \emph{Alessandrini Srl and others v.~Commission} (C-295/03 P) [2005] ECR I--5700.
\tcblower
\begin{Verbatim}
%</driver>
@@ -1894,7 +1995,7 @@
%<readme>## Licence
%<readme>
%<*driver|readme>
-Copyright 2016 University of Bath.
+Copyright 2016-2018 University of Bath.
This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile.
@@ -1972,7 +2073,13 @@
% American English. Adapted language files have the following suffix:
%
% \begin{macrocode}
-\DeclareLanguageMappingSuffix{-bath}
+\RequirePackage{etoolbox}
+\ifcsdef{DeclareLanguageMappingSuffix}{%
+ \DeclareLanguageMappingSuffix{-bath}
+}{%
+ \DeclareLanguageMapping{english}{english-bath}
+ \DeclareLanguageMapping{british}{british-bath}
+}
% \end{macrocode}
%
% We begin by loading the default author--year style.
@@ -1990,7 +2097,7 @@
%
% \begin{macrocode}
\NewBibliographyString{%
- online, hours, at, legalchapter,
+ online, hours, at, unpublished, legalchapter,
director, performer, reader, conductor,
directors, performers, readers, conductors,
bydirector, byperformer, byreader, byconductor,
@@ -2002,6 +2109,29 @@
% \begin{macrocode}
\setlength{\bibitemsep}{1em plus 0.2em minus 0.2em}
\renewcommand*{\bibfont}{\normalfont\normalsize}
+% \end{macrocode}
+%
+% To maintain compatibility with \textsf{biblatex} 3.7 (used on Overleaf at the
+% time of writing) we backport some newer features.
+%
+% \begin{macrocode}
+\ifcsdef{letbibmacro}{}{%
+ \def\letbibmacro#1#2{%
+ \ifcsundef{abx at macro@#2}
+ {\blx at error
+ {Bibliography macro '#2' undefined}
+ {Use '\string\newbibmacro' to define this macro}}
+ {\csletcs{abx at macro@#1}{abx at macro@#2}}}
+}
+\ifcsdef{iflabeldateisdate}{}{%
+ \def\iflabeldateisdate{%
+ \ifboolexpr{%
+ togl {blx at labeldateparts}
+ and not test {\iffieldundef{labeldatesource}}
+ and
+ (test {\iffieldequalstr{labeldatesource}{}}
+ or test {\iffieldequalstr{labeldatesource}{year}})}}%
+}
% \end{macrocode}
%
@@ -2012,6 +2142,7 @@
% \begin{macrocode}
\DeclareNameAlias{author}{family-given}
\DeclareNameAlias{editor}{family-given}
+\DeclareNameAlias{bookeditor}{given-family}
\renewcommand*{\bibinitdelim}{}
% \end{macrocode}
%
@@ -2189,8 +2320,8 @@
{\setunit{\addspace}%
\printtext[parens]{%
\printnames[#1]{translator}%
- \newunit
- \bibstring{translator}%
+ \setunit{\addcomma\space}%
+ \bibcpstring{translator}%
\clearname{translator}}}}
\renewbibmacro*{byeditor+others}[1][byeditor]{%
@@ -2216,8 +2347,8 @@
{\setunit{\addspace}%
\printtext[parens]{%
\printnames[bytranslator]{translator}%
- \newunit
- \bibstring{translator}%
+ \setunit{\addcomma\space}%
+ \bibcpstring{translator}%
\clearname{translator}%
\newunit
\usebibmacro{withothers}}}}
@@ -2231,7 +2362,7 @@
\newbibmacro*{bookeditor}{%
\ifnameundef{editor}{}{%
\printnames[bookeditor]{editor}%
- \setunit*{\addspace}%
+ \setunit*{\addcomma\space}%
\usebibmacro{editor+othersstrg}%
\clearname{editor}%
}}
@@ -2250,8 +2381,11 @@
[article,inbook,incollection,inproceedings]%
{title}{#1}
\DeclareFieldFormat
- [patent,thesis,unpublished]%
+ [patent,thesis]%
{title}{\mkbibemph{#1}}
+\DeclareFieldFormat
+ [unpublished]%
+ {title}{\iffieldundef{booktitle}{\mkbibemph{#1}}{#1}}
% \end{macrocode}
%
@@ -2572,7 +2706,7 @@
'true' (=compact)%
}{%
'year', 'true' (=year)%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch KV at blx@opt at pre@datemerge}}
\DeclareTypeOption[boolean]{mergedate}[true]{%
\ifcsdef{bbx at opt@mergedate@#1}{%
\csuse{bbx at opt@mergedate@#1}%
@@ -2597,12 +2731,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at maximum}}
\xpatchcmd{\bbx at opt@mergedate at maximum}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at maximum}}
\xpatchcmd{\bbx at opt@mergedate at compact}{%
\iffieldundef{labelyear}%
}{%
@@ -2610,12 +2744,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at compact}}
\xpatchcmd{\bbx at opt@mergedate at compact}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at compact}}
\xpatchcmd{\bbx at opt@mergedate at basic}{%
\iffieldundef{labelyear}%
}{%
@@ -2623,12 +2757,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at basic}}
\xpatchcmd{\bbx at opt@mergedate at basic}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at basic}}
\xpatchcmd{\bbx at opt@mergedate at minimum}{%
\iffieldundef{labelyear}%
}{%
@@ -2636,12 +2770,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at minimum}}
\xpatchcmd{\bbx at opt@mergedate at minimum}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at minimum}}
\xpatchcmd{\bbx at opt@mergedate at false}{%
\iffieldundef{labelyear}%
}{%
@@ -2649,11 +2783,29 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at false}}
\xpatchcmd{\bbx at opt@mergedate at false}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at false}}
+% \end{macrocode}
+%
+% If biblatex 3.7 is used, we update the logic for
+% |\bbx at opt@mergedate at maximum|, which is used by the |letter| driver.
+%
+% \begin{macrocode}
+\xpatchcmd{\bbx at opt@mergedate at maximum}{%
+ \iffieldsequal{year}{labelyear}
+ {\printlabeldateextra}%
+ {\printfield{labelyear}%
+ \printfield{extrayear}}%
+}{%
+ \iflabeldateisdate
+ {\printfield{issue}%
+ \setunit*{\addspace}%
+ \printdateextra}
+ {\printlabeldateextra}%
}{}{}
% \end{macrocode}
@@ -2677,6 +2829,9 @@
\iflabeldateisdate{%
\clearfield{year}%
}{}}}
+ \ifcsundef{abx at macro@date+extrayear}{}{%
+ \renewbibmacro*{date+extrayear}{\usebibmacro{date+extradate}}%
+ }
\renewbibmacro*{issue+date}{%
\ifboolexpr{
test {\iffieldundef{issue}}
@@ -2783,25 +2938,53 @@
%
% \begin{macrocode}
\xpatchcmd{\mkdaterangefull}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangefull}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangefull}}%
+\fi
\xpatchcmd{\mkdaterangetrunc}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangetrunc}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangetrunc}}%
+\fi
\xpatchcmd{\mkdaterangefullextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangefullextra}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangefullextra}}%
+\fi
\xpatchcmd{\mkdaterangetruncextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangetruncextra}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangetruncextra}}%
+\fi
% \end{macrocode}
%
@@ -2838,7 +3021,7 @@
{}
{\setunit{\addcomma\space}%
\printeventdate
- \setunit*{\addspace}%
+ \setunit*{\addcomma\space}%
\printfield{venue}%
\newunit}}
@@ -2850,38 +3033,22 @@
% publisher list instead, if provided.
%
% \begin{macrocode}
+\letbibmacro{plain:institution+location+date}{institution+location+date}
\renewbibmacro*{institution+location+date}{%
- \printlist{location}%
\iflistundef{publisher}{%
- \iflistundef{institution}{%
- \setunit*{\addcomma\space}%
- }{%
- \setunit*{\addcolon\space}%
- \printlist{institution}%
- }%
+ \usebibmacro{plain:institution+location+date}%
}{%
- \setunit*{\addcolon\space}%
- \printlist{publisher}%
- }%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- \newunit}
+ \printlist{institution}%
+ \newunit
+ \usebibmacro{publisher+location+date}}}
+\letbibmacro{plain:organization+location+date}{organization+location+date}
\renewbibmacro*{organization+location+date}{%
- \printlist{location}%
\iflistundef{publisher}{%
- \iflistundef{organization}{%
- \setunit*{\addcomma\space}%
- }{%
- \setunit*{\addcolon\space}%
- \printlist{organization}%
- }%
+ \usebibmacro{plain:organization+location+date}%
}{%
- \setunit*{\addcolon\space}%
- \printlist{publisher}%
- }%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- \newunit}
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}}}
% \end{macrocode}
%
@@ -2933,8 +3100,8 @@
%
% \subsection{Articles}
%
-% Compared with the standard styles, the main difference in the driver is the
-% omission of `in'.
+% Compared with the standard styles, the main differences in the driver are the
+% omission of `in' and the position of the publication state.
%
% \begin{macrocode}
\xpatchbibdriver{article}{%
@@ -2941,11 +3108,32 @@
\usebibmacro{in:}\usebibmacro{journal+issuetitle}%
}{%
\usebibmacro{journal+issuetitle}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch article driver}}
+\xpatchbibdriver{article}{%
+ \usebibmacro{addendum+pubstate}%
+}{%
+ \printfield{addendum}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch article driver}}
% \end{macrocode}
%
+% The journal title is in sentence case rather than title case.
+%
+% \begin{macrocode}
+\xpatchbibmacro{journal}{%
+ \printfield[titlecase]{journaltitle}%
+}{%
+ \printfield[sentencecase]{journaltitle}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch journal macro}}
+\xpatchbibmacro{journal}{%
+ \printfield[titlecase]{journalsubtitle}%
+}{%
+ \printfield[sentencecase]{journalsubtitle}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch journal macro}}
+% \end{macrocode}
+%
% The journal title is followed by a comma. The issue number is separated from
-% the volume by parentheses rather than a dot.
+% the volume by parentheses rather than a dot. The pubstate is in the volume
+% position.
%
% \begin{macrocode}
\renewbibmacro*{journal+issuetitle}{%
@@ -2963,6 +3151,8 @@
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
+ \setunit{\addcomma\space}%
+ \printfield{pubstate}%
\newunit}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
@@ -2985,7 +3175,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch book driver}}
\xpatchbibdriver{collection}{%
\newunit\newblock
@@ -2993,7 +3183,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch collection driver}}
\xpatchbibdriver{inbook}{%
\newunit\newblock
@@ -3001,7 +3191,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inbook driver}}
\xpatchbibdriver{incollection}{%
\newunit\newblock
@@ -3009,7 +3199,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch incollection driver}}
\xpatchbibdriver{inproceedings}{%
\newunit\newblock
@@ -3017,7 +3207,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inproceedings driver}}
\xpatchbibdriver{proceedings}{%
\newunit\newblock
@@ -3025,7 +3215,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch proceedings driver}}
% \end{macrocode}
%
@@ -3046,7 +3236,7 @@
\newunit\newblock
\usebibmacro{maintitle+booktitle}%
\usebibmacro{byeditor+others}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch incollection driver}}
\xpatchbibdriver{inproceedings}{%
\usebibmacro{in:}%
@@ -3063,7 +3253,7 @@
\usebibmacro{byeditor+others}%
\newunit
\usebibmacro{event+venue+date}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inproceedings driver}}
% \end{macrocode}
%
@@ -3079,16 +3269,15 @@
\usebibmacro{library}%
\newunit\newblock
\usebibmacro{organization+location+date}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch online driver}}
% \end{macrocode}
%
% \subsection{Reports}
%
-% Compared with the standard styles, the main difference is that the type and
-% number are printed in parentheses after the publisher. The delimiter is either
-% a comma (normal) or a space (legal, triggered by using series instead of type).
-% House of Lords report numbers are written in parentheses.
+% Compared with the standard styles, the main differences are that we use a
+% special macro for printing the |type|, |series| and |number| in parentheses,
+% and we support the |library| field.
%
% \begin{macrocode}
\DeclareFieldFormat{forceparens}{(#1)}
@@ -3129,14 +3318,11 @@
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
+ \usebibmacro{series+type+number}%
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{institution+location+date}%
- \iffieldundef{series}{%
- \setunit{\addcomma\space}%
- }{%
- \setunit{\addspace}}%
- \usebibmacro{series+type+number}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
@@ -3190,7 +3376,14 @@
\printfield{type}%
}{%
\usebibmacro{manual:series+type+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch manual driver}}
+\xpatchbibdriver{manual}{%
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+}{%
+ \usebibmacro{organization+location+date}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch manual driver}}
% \end{macrocode}
%
@@ -3497,29 +3690,53 @@
%
% \subsection{Legislation}
%
-% Legislation is mostly formatted like a report, except there is no comma
-% between the publisher and the type\slash number (and no |nametitledelim| if
-% there is no |date+extradate|).
+% Legislation is mostly formatted like a report, except there is no
+% |nametitledelim| there is no |date+extradate|. There is also some variation
+% in how the series\slash number\slash chapter information is punctuated.
%
% \begin{macrocode}
\DeclareFieldFormat[legislation]{datelabel}{%
\iftoggle{bbx:eu-oj}{%
\mkbibbrackets{#1}%
- }{%
- #1}}
+ }{#1}}
\DeclareFieldFormat[legislation]{labeldate}{%
- \iftoggle{bbx:labelistitle}{\mkbibemph{#1}}{#1}}
+ \iftoggle{bbx:labelistitle}{\printtext[title]{#1}}{#1}}
\DeclareFieldFormat[legislation]{chapter}{\biblcsstring{legalchapter}#1}
-\newbibmacro*{series+chapter}{%
- \iffieldundef{chapter}{}{%
- \iffieldundef{series}{%
- \printfield{chapter}%
+\newbibmacro*{journal+series+volume+number+chapter+pages}{%
+ \iftoggle{bbx:eu-oj}{%
+ \setunit{\addspace}%
+ \usebibmacro{eu:journal+series+volume+pages}%
+ }{%
+ \iffieldequalstr{entrysubtype}{secondary}{%
+ \setunit{\addcomma\space}%
+ \printfield{number}%
+ \clearfield{number}%
+ \printunit{\addcomma\space}%
}{%
- \printtext[parens]{%
- \printfield{series}%
- \setunit{\addcomma\space}%
- \printfield{chapter}}}%
- \clearfield{series}}}
+ \ifboolexpr{
+ test {\iffieldundef{series}}
+ and
+ test {\iffieldundef{type}}
+ }{%
+ \iffieldundef{number}{%
+ \setunit{\addcomma\space}%
+ \printfield{chapter}%
+ }{%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \printfield{number}%
+ \setunit*{\addcomma\space}%
+ \printfield{chapter}}}%
+ }{%
+ \iffieldundef{chapter}{}{\setunit{\addspace}}%
+ \printtext[parens]{%
+ \printfield{series}%
+ \setunit{\addcomma\space}%
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \setunit*{\addcomma\space}%
+ \printfield{chapter}}}}}}
\DeclareBibliographyDriver{legislation}{%
\usebibmacro{bibindex}%
@@ -3532,28 +3749,12 @@
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
- \iffieldequalstr{entrysubtype}{secondary}{%
- \setunit{\addcomma\space}%
- \printfield{number}%
- \clearfield{number}%
- \printunit{\addcomma\space}%
- }{%
- \setunit{\addcomma\space}%
- }%
+ \newunit\newblock
+ \usebibmacro{journal+series+volume+number+chapter+pages}
+ \newunit\newblock
\printfield{note}%
- \iffieldundef{series}{%
- \setunit{\addcomma\space}%
- }{%
- \setunit{\addspace}}%
- \iftoggle{bbx:eu-oj}{%
- \usebibmacro{eu:journal+series+volume+pages}%
- }{%
- \usebibmacro{series+chapter}%
- }
\newunit\newblock
\usebibmacro{institution+location+date}%
- \setunit{\addspace}%
- \usebibmacro{series+type+number}%
\newunit\newblock
\printfield{pagetotal}%
\newunit\newblock
@@ -3743,6 +3944,62 @@
% \end{macrocode}
%
+% \subsection{Unpublished}
+%
+% This driver is used for miscellaneous unpublished written material. It differs
+% from the standard version by supporting |maintitle| and |booktitle|, and
+% including a label at the end. The unpublished label is delegated to a macro
+% in case future versions of the style place conditions on whether it is displayed.
+%
+% \begin{macrocode}
+\newbibmacro*{isunpublished}{%
+ \bibstring{unpublished}%
+}
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\printdelim{nametitledelim}}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \ifnameundef{editor}{}{\usebibmacro{in:}}%
+ \usebibmacro{bookeditor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{location+date}%
+ \newunit\newblock
+ \usebibmacro{isunpublished}%
+ \newunit\newblock
+ \iftoggle{bbx:url}
+ {\usebibmacro{url+urldate}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+% \end{macrocode}
+%
% \subsection{Aliases}
%
% We define some handy semantic aliases.
@@ -3769,44 +4026,22 @@
%<*lbx>
% \fi
%
-% \section{Implementation: British English language localization}
+% \section{Implementation: General English language localization}
%
% \setcounter{lstnumber}{16}
%
-% We use the standard version with a few changes. We display the day as a
-% cardinal number instead of an ordinal. The date is separated from the time
-% by a period, not just a space, and the time separator is a period instead of a
-% colon.
-%
-% \begin{macrocode}
-\InheritBibliographyExtras{british}
-\DeclareBibliographyExtras{%
- \protected\def\mkbibdatelong#1#2#3{%
- \iffieldundef{#3}
- {}
- {\thefield{#3}%
- \iffieldundef{#2}{}{\nobreakspace}}%
- \iffieldundef{#2}
- {}
- {\mkbibmonth{\thefield{#2}}%
- \iffieldundef{#1}{}{\space}}%
- \iffieldbibstring{#1}
- {\bibstring{\thefield{#1}}}
- {\dateeraprintpre{#1}\stripzeros{\thefield{#1}}}}%
- \renewrobustcmd*{\bibdatetimesep}{\addperiod\space}%
- \renewrobustcmd*{\bibtimesep}{\addperiod}%
- }
-
-% \end{macrocode}
-%
% The strings are mostly the same except for the following changes. Note that
% month names are never abbreviated.
%
% \begin{macrocode}
+\InheritBibliographyExtras{english}
\DeclareBibliographyStrings
-{inherit = {british}
+{inherit = {english}
+,editors = {{editors}{eds}}
+,version = {{version~}{v\adddot}}
+,inpreparation = {{preprint}{preprint}}
+,submitted = {{preprint}{preprint}}
,urlseen = {{Accessed}{Accessed}}
-,version = {{version~}{v\adddot}}
,january = {{January}{January}}
,february = {{February}{February}}
,march = {{March}{March}}
@@ -3833,6 +4068,7 @@
,online = {{Online}{Online}}
,hours = {{hours}{hrs\adddot}}
,at = {{at}{at}}
+,unpublished = {{unpublished}{unpublished}}
,legalchapter = {{chapter}{c\adddot}}
,director = {{director}{dir\adddot}}
,directors = {{directors}{dir\adddot}}
@@ -3850,63 +4086,43 @@
% \end{macrocode}
% \iffalse
%</lbx>
-%<*lbx-us>
+%<*lbx-gb>
% \fi
%
-% \section{Implementation: American English language localization}
+% \section{Implementation: British English language localization}
%
% \setcounter{lstnumber}{16}
%
-% We use the standard version with a few changes. The date is separated from the
-% time by a period, not just a space.
+% We use the standard version with a few changes. We display the day as a
+% cardinal number instead of an ordinal. The date is separated from the time
+% by a period, not just a space, and the time separator is a period instead of a
+% colon.
%
% \begin{macrocode}
-\InheritBibliographyExtras{american}
+\InheritBibliographyExtras{british}
\DeclareBibliographyExtras{%
+ \protected\def\mkbibdatelong#1#2#3{%
+ \iffieldundef{#3}
+ {}
+ {\thefield{#3}%
+ \iffieldundef{#2}{}{\nobreakspace}}%
+ \iffieldundef{#2}
+ {}
+ {\mkbibmonth{\thefield{#2}}%
+ \iffieldundef{#1}{}{\space}}%
+ \iffieldbibstring{#1}
+ {\bibstring{\thefield{#1}}}
+ {\dateeraprintpre{#1}\stripzeros{\thefield{#1}}}}%
\renewrobustcmd*{\bibdatetimesep}{\addperiod\space}%
+ \renewrobustcmd*{\bibtimesep}{\addperiod}%
}
-% \end{macrocode}
-%
-% The strings are mostly the same except for the following changes. Note that
-% month names are never abbreviated.
-%
-% \begin{macrocode}
\DeclareBibliographyStrings
-{inherit = {american}
-,urlseen = {{Accessed}{Accessed}}
-,version = {{version~}{v\adddot}}
-,january = {{January}{January}}
-,february = {{February}{February}}
-,march = {{March}{March}}
-,april = {{April}{April}}
-,may = {{May}{May}}
-,june = {{June}{June}}
-,july = {{July}{July}}
-,august = {{August}{August}}
-,september = {{September}{September}}
-,october = {{October}{October}}
-,november = {{November}{November}}
-,december = {{December}{December}}
-,patreq = {{patent application}{pat\adddot\ appl\adddot}}
-,patreqde = {{German patent application}{German pat\adddot\ appl\adddot}}
-,patreqeu = {{European patent application}{European pat\adddot\ appl\adddot}}
-,patreqfr = {{French patent application}{French pat\adddot\ appl\adddot}}
-,patrequk = {{British patent application}{British pat\adddot\ appl\adddot}}
-,patrequs = {{U.S\adddotspace patent application}{U.S\adddotspace pat\adddot\ appl\adddot}}
-% \end{macrocode}
-%
-% These are the new strings we define in this style.
-%
-% \begin{macrocode}
-,online = {{Online}{Online}}
-,hours = {{hours}{hrs\adddot}}
-,at = {{at}{at}}
-,legalchapter = {{chapter}{c\adddot}}
+{inherit = {english}
}
% \end{macrocode}
% \iffalse
-%</lbx-us>
+%</lbx-gb>
%<*cbx>
% \fi
%
@@ -3947,7 +4163,7 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch cite:labeldate+extradate}}
% \end{macrocode}
%
% We activate the label-is-title toggle if the |labeltitle| is printed.
@@ -3959,7 +4175,7 @@
}{%
\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}%
\toggletrue{bbx:labelistitle}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch cite:label}}
% \end{macrocode}
% \iffalse
%</cbx>
Modified: trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.ins 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.ins 2019-07-10 20:28:52 UTC (rev 51599)
@@ -37,7 +37,7 @@
\endpreamble
\postamble
-Copyright (C) 2018 by University of Bath
+Copyright (C) 2019 by University of Bath
\endpostamble
\usedir{tex/latex/\jobname}
@@ -45,12 +45,12 @@
\file{bath.bbx}{\from{\jobname.dtx}{bbx}}
\file{bath.cbx}{\from{\jobname.dtx}{cbx}}
\file{bath.dbx}{\from{\jobname.dtx}{dbx}}
- \file{british-bath.lbx}{\from{\jobname.dtx}{lbx}}
- \file{american-bath.lbx}{\from{\jobname.dtx}{lbx-us}}
+ \file{english-bath.lbx}{\from{\jobname.dtx}{lbx}}
+ \file{british-bath.lbx}{\from{\jobname.dtx}{lbx-gb}}
}
\endbatchfile
%%
-%% Copyright (C) 2018 by University of Bath
+%% Copyright (C) 2019 by University of Bath
%%
%% End of file `biblatex-bath.ins'.
Deleted: trunk/Master/texmf-dist/tex/latex/biblatex-bath/american-bath.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/american-bath.lbx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/american-bath.lbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -1,52 +0,0 @@
-%%
-%% This is file `american-bath.lbx',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% biblatex-bath.dtx (with options: `lbx-us')
-%% ----------------------------------------------------------------
-%% biblatex-bath --- Harvard referencing style as recommended by the University of Bath Library
-%% Author: Alex Ball
-%% E-mail: a.j.ball at bath.ac.uk
-%% License: Released under the LaTeX Project Public License v1.3c or later
-%% See: http://www.latex-project.org/lppl.txt
-%% ----------------------------------------------------------------
-%%
-\InheritBibliographyExtras{american}
-\DeclareBibliographyExtras{%
- \renewrobustcmd*{\bibdatetimesep}{\addperiod\space}%
- }
-
-\DeclareBibliographyStrings
-{inherit = {american}
-,urlseen = {{Accessed}{Accessed}}
-,version = {{version~}{v\adddot}}
-,january = {{January}{January}}
-,february = {{February}{February}}
-,march = {{March}{March}}
-,april = {{April}{April}}
-,may = {{May}{May}}
-,june = {{June}{June}}
-,july = {{July}{July}}
-,august = {{August}{August}}
-,september = {{September}{September}}
-,october = {{October}{October}}
-,november = {{November}{November}}
-,december = {{December}{December}}
-,patreq = {{patent application}{pat\adddot\ appl\adddot}}
-,patreqde = {{German patent application}{German pat\adddot\ appl\adddot}}
-,patreqeu = {{European patent application}{European pat\adddot\ appl\adddot}}
-,patreqfr = {{French patent application}{French pat\adddot\ appl\adddot}}
-,patrequk = {{British patent application}{British pat\adddot\ appl\adddot}}
-,patrequs = {{U.S\adddotspace patent application}{U.S\adddotspace pat\adddot\ appl\adddot}}
-,online = {{Online}{Online}}
-,hours = {{hours}{hrs\adddot}}
-,at = {{at}{at}}
-,legalchapter = {{chapter}{c\adddot}}
-}
-
-%%
-%% Copyright (C) 2018 by University of Bath
-%%
-%% End of file `american-bath.lbx'.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -15,7 +15,13 @@
%%
\RequirePackage{xpatch}
\RequirePackage{xstring}
-\DeclareLanguageMappingSuffix{-bath}
+\RequirePackage{etoolbox}
+\ifcsdef{DeclareLanguageMappingSuffix}{%
+ \DeclareLanguageMappingSuffix{-bath}
+}{%
+ \DeclareLanguageMapping{english}{english-bath}
+ \DeclareLanguageMapping{british}{british-bath}
+}
\RequireBibliographyStyle{authoryear}
\ExecuteBibliographyOptions{%
maxcitenames=3,maxbibnames=9999,isbn=false,giveninits=true,dashed=false,
@@ -23,7 +29,7 @@
\ExecuteBibliographyOptions[audio,video,music,movie]{%
useeditor=false}
\NewBibliographyString{%
- online, hours, at, legalchapter,
+ online, hours, at, unpublished, legalchapter,
director, performer, reader, conductor,
directors, performers, readers, conductors,
bydirector, byperformer, byreader, byconductor,
@@ -30,9 +36,27 @@
}
\setlength{\bibitemsep}{1em plus 0.2em minus 0.2em}
\renewcommand*{\bibfont}{\normalfont\normalsize}
+\ifcsdef{letbibmacro}{}{%
+ \def\letbibmacro#1#2{%
+ \ifcsundef{abx at macro@#2}
+ {\blx at error
+ {Bibliography macro '#2' undefined}
+ {Use '\string\newbibmacro' to define this macro}}
+ {\csletcs{abx at macro@#1}{abx at macro@#2}}}
+}
+\ifcsdef{iflabeldateisdate}{}{%
+ \def\iflabeldateisdate{%
+ \ifboolexpr{%
+ togl {blx at labeldateparts}
+ and not test {\iffieldundef{labeldatesource}}
+ and
+ (test {\iffieldequalstr{labeldatesource}{}}
+ or test {\iffieldequalstr{labeldatesource}{year}})}}%
+}
\DeclareNameAlias{author}{family-given}
\DeclareNameAlias{editor}{family-given}
+\DeclareNameAlias{bookeditor}{given-family}
\renewcommand*{\bibinitdelim}{}
\newbibmacro*{name:cjk-given-family}[3]{%
\ifitemannotation{cjk}{%
@@ -195,8 +219,8 @@
{\setunit{\addspace}%
\printtext[parens]{%
\printnames[#1]{translator}%
- \newunit
- \bibstring{translator}%
+ \setunit{\addcomma\space}%
+ \bibcpstring{translator}%
\clearname{translator}}}}
\renewbibmacro*{byeditor+others}[1][byeditor]{%
@@ -222,8 +246,8 @@
{\setunit{\addspace}%
\printtext[parens]{%
\printnames[bytranslator]{translator}%
- \newunit
- \bibstring{translator}%
+ \setunit{\addcomma\space}%
+ \bibcpstring{translator}%
\clearname{translator}%
\newunit
\usebibmacro{withothers}}}}
@@ -231,7 +255,7 @@
\newbibmacro*{bookeditor}{%
\ifnameundef{editor}{}{%
\printnames[bookeditor]{editor}%
- \setunit*{\addspace}%
+ \setunit*{\addcomma\space}%
\usebibmacro{editor+othersstrg}%
\clearname{editor}%
}}
@@ -243,8 +267,11 @@
[article,inbook,incollection,inproceedings]%
{title}{#1}
\DeclareFieldFormat
- [patent,thesis,unpublished]%
+ [patent,thesis]%
{title}{\mkbibemph{#1}}
+\DeclareFieldFormat
+ [unpublished]%
+ {title}{\iffieldundef{booktitle}{\mkbibemph{#1}}{#1}}
\newtoggle{bbx:onlineshown}
\newbibmacro*{isonline}{%
@@ -474,7 +501,7 @@
'true' (=compact)%
}{%
'year', 'true' (=year)%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch KV at blx@opt at pre@datemerge}}
\DeclareTypeOption[boolean]{mergedate}[true]{%
\ifcsdef{bbx at opt@mergedate@#1}{%
\csuse{bbx at opt@mergedate@#1}%
@@ -491,12 +518,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at maximum}}
\xpatchcmd{\bbx at opt@mergedate at maximum}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at maximum}}
\xpatchcmd{\bbx at opt@mergedate at compact}{%
\iffieldundef{labelyear}%
}{%
@@ -504,12 +531,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at compact}}
\xpatchcmd{\bbx at opt@mergedate at compact}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at compact}}
\xpatchcmd{\bbx at opt@mergedate at basic}{%
\iffieldundef{labelyear}%
}{%
@@ -517,12 +544,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at basic}}
\xpatchcmd{\bbx at opt@mergedate at basic}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at basic}}
\xpatchcmd{\bbx at opt@mergedate at minimum}{%
\iffieldundef{labelyear}%
}{%
@@ -530,12 +557,12 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at minimum}}
\xpatchcmd{\bbx at opt@mergedate at minimum}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at minimum}}
\xpatchcmd{\bbx at opt@mergedate at false}{%
\iffieldundef{labelyear}%
}{%
@@ -543,11 +570,23 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at false}}
\xpatchcmd{\bbx at opt@mergedate at false}{%
\printtext[parens]%
}{%
\printtext[datelabel]%
+}{}{\wlog{WARNING: biblatex-bath failed to patch bbx at opt@mergedate at false}}
+\xpatchcmd{\bbx at opt@mergedate at maximum}{%
+ \iffieldsequal{year}{labelyear}
+ {\printlabeldateextra}%
+ {\printfield{labelyear}%
+ \printfield{extrayear}}%
+}{%
+ \iflabeldateisdate
+ {\printfield{issue}%
+ \setunit*{\addspace}%
+ \printdateextra}
+ {\printlabeldateextra}%
}{}{}
\def\bbx at opt@mergedate at year{%
@@ -563,6 +602,9 @@
\iflabeldateisdate{%
\clearfield{year}%
}{}}}
+ \ifcsundef{abx at macro@date+extrayear}{}{%
+ \renewbibmacro*{date+extrayear}{\usebibmacro{date+extradate}}%
+ }
\renewbibmacro*{issue+date}{%
\ifboolexpr{
test {\iffieldundef{issue}}
@@ -643,25 +685,53 @@
\csuse{mkbibseasondate#1}{}{#2endseason}}%
\enddateuncertainprint}}}}}
\xpatchcmd{\mkdaterangefull}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangefull}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangefull}}%
+\fi
\xpatchcmd{\mkdaterangetrunc}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangetrunc}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangetrunc}}%
+\fi
\xpatchcmd{\mkdaterangefullextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangefullextra}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangefullextra}}%
+\fi
\xpatchcmd{\mkdaterangetruncextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx at nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{\@tempswafalse}{\@tempswatrue}%
+\if at tempswa
+ \xpatchcmd{\mkdaterangetruncextra}{%
+ \iffieldundef{#2year} {}%
+ }{%
+ \iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
+ }{}{\wlog{WARNING: biblatex-bath failed to patch mkdaterangetruncextra}}%
+\fi
\DeclareFieldFormat{version}{\mkbibparens{\bibstring{version}#1}}
\DeclareFieldFormat{type}{\ifbibstring{#1}{\biblstring{#1}}{#1}}
@@ -677,42 +747,26 @@
{}
{\setunit{\addcomma\space}%
\printeventdate
- \setunit*{\addspace}%
+ \setunit*{\addcomma\space}%
\printfield{venue}%
\newunit}}
+\letbibmacro{plain:institution+location+date}{institution+location+date}
\renewbibmacro*{institution+location+date}{%
- \printlist{location}%
\iflistundef{publisher}{%
- \iflistundef{institution}{%
- \setunit*{\addcomma\space}%
- }{%
- \setunit*{\addcolon\space}%
- \printlist{institution}%
- }%
+ \usebibmacro{plain:institution+location+date}%
}{%
- \setunit*{\addcolon\space}%
- \printlist{publisher}%
- }%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- \newunit}
+ \printlist{institution}%
+ \newunit
+ \usebibmacro{publisher+location+date}}}
+\letbibmacro{plain:organization+location+date}{organization+location+date}
\renewbibmacro*{organization+location+date}{%
- \printlist{location}%
\iflistundef{publisher}{%
- \iflistundef{organization}{%
- \setunit*{\addcomma\space}%
- }{%
- \setunit*{\addcolon\space}%
- \printlist{organization}%
- }%
+ \usebibmacro{plain:organization+location+date}%
}{%
- \setunit*{\addcolon\space}%
- \printlist{publisher}%
- }%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- \newunit}
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}}}
\DeclareFieldFormat{library}{\mkbibemph{#1}}
\newbibmacro*{library}{%
@@ -746,7 +800,22 @@
\usebibmacro{in:}\usebibmacro{journal+issuetitle}%
}{%
\usebibmacro{journal+issuetitle}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch article driver}}
+\xpatchbibdriver{article}{%
+ \usebibmacro{addendum+pubstate}%
+}{%
+ \printfield{addendum}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch article driver}}
+\xpatchbibmacro{journal}{%
+ \printfield[titlecase]{journaltitle}%
+}{%
+ \printfield[sentencecase]{journaltitle}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch journal macro}}
+\xpatchbibmacro{journal}{%
+ \printfield[titlecase]{journalsubtitle}%
+}{%
+ \printfield[sentencecase]{journalsubtitle}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch journal macro}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addspace}%
@@ -762,6 +831,8 @@
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
+ \setunit{\addcomma\space}%
+ \printfield{pubstate}%
\newunit}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
@@ -775,7 +846,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch book driver}}
\xpatchbibdriver{collection}{%
\newunit\newblock
@@ -783,7 +854,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch collection driver}}
\xpatchbibdriver{inbook}{%
\newunit\newblock
@@ -791,7 +862,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inbook driver}}
\xpatchbibdriver{incollection}{%
\newunit\newblock
@@ -799,7 +870,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch incollection driver}}
\xpatchbibdriver{inproceedings}{%
\newunit\newblock
@@ -807,7 +878,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inproceedings driver}}
\xpatchbibdriver{proceedings}{%
\newunit\newblock
@@ -815,7 +886,7 @@
}{%
\setunit{\addcomma\space}%
\usebibmacro{series+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch proceedings driver}}
\xpatchbibdriver{incollection}{%
\usebibmacro{in:}%
@@ -828,7 +899,7 @@
\newunit\newblock
\usebibmacro{maintitle+booktitle}%
\usebibmacro{byeditor+others}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch incollection driver}}
\xpatchbibdriver{inproceedings}{%
\usebibmacro{in:}%
@@ -845,7 +916,7 @@
\usebibmacro{byeditor+others}%
\newunit
\usebibmacro{event+venue+date}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch inproceedings driver}}
\xpatchbibdriver{online}{%
\printlist{organization}%
@@ -853,7 +924,7 @@
\usebibmacro{library}%
\newunit\newblock
\usebibmacro{organization+location+date}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch online driver}}
\DeclareFieldFormat{forceparens}{(#1)}
\newbibmacro{series+type+number}{%
@@ -893,14 +964,11 @@
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
+ \usebibmacro{series+type+number}%
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{institution+location+date}%
- \iffieldundef{series}{%
- \setunit{\addcomma\space}%
- }{%
- \setunit{\addspace}}%
- \usebibmacro{series+type+number}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
@@ -944,7 +1012,14 @@
\printfield{type}%
}{%
\usebibmacro{manual:series+type+number}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch manual driver}}
+\xpatchbibdriver{manual}{%
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+}{%
+ \usebibmacro{organization+location+date}%
+}{}{\wlog{WARNING: biblatex-bath failed to patch manual driver}}
\DeclareStyleSourcemap{%
\maps[datatype=bibtex]{%
@@ -1178,21 +1253,45 @@
\DeclareFieldFormat[legislation]{datelabel}{%
\iftoggle{bbx:eu-oj}{%
\mkbibbrackets{#1}%
- }{%
- #1}}
+ }{#1}}
\DeclareFieldFormat[legislation]{labeldate}{%
- \iftoggle{bbx:labelistitle}{\mkbibemph{#1}}{#1}}
+ \iftoggle{bbx:labelistitle}{\printtext[title]{#1}}{#1}}
\DeclareFieldFormat[legislation]{chapter}{\biblcsstring{legalchapter}#1}
-\newbibmacro*{series+chapter}{%
- \iffieldundef{chapter}{}{%
- \iffieldundef{series}{%
- \printfield{chapter}%
+\newbibmacro*{journal+series+volume+number+chapter+pages}{%
+ \iftoggle{bbx:eu-oj}{%
+ \setunit{\addspace}%
+ \usebibmacro{eu:journal+series+volume+pages}%
+ }{%
+ \iffieldequalstr{entrysubtype}{secondary}{%
+ \setunit{\addcomma\space}%
+ \printfield{number}%
+ \clearfield{number}%
+ \printunit{\addcomma\space}%
}{%
- \printtext[parens]{%
- \printfield{series}%
- \setunit{\addcomma\space}%
- \printfield{chapter}}}%
- \clearfield{series}}}
+ \ifboolexpr{
+ test {\iffieldundef{series}}
+ and
+ test {\iffieldundef{type}}
+ }{%
+ \iffieldundef{number}{%
+ \setunit{\addcomma\space}%
+ \printfield{chapter}%
+ }{%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \printfield{number}%
+ \setunit*{\addcomma\space}%
+ \printfield{chapter}}}%
+ }{%
+ \iffieldundef{chapter}{}{\setunit{\addspace}}%
+ \printtext[parens]{%
+ \printfield{series}%
+ \setunit{\addcomma\space}%
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \setunit*{\addcomma\space}%
+ \printfield{chapter}}}}}}
\DeclareBibliographyDriver{legislation}{%
\usebibmacro{bibindex}%
@@ -1205,28 +1304,12 @@
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
- \iffieldequalstr{entrysubtype}{secondary}{%
- \setunit{\addcomma\space}%
- \printfield{number}%
- \clearfield{number}%
- \printunit{\addcomma\space}%
- }{%
- \setunit{\addcomma\space}%
- }%
+ \newunit\newblock
+ \usebibmacro{journal+series+volume+number+chapter+pages}
+ \newunit\newblock
\printfield{note}%
- \iffieldundef{series}{%
- \setunit{\addcomma\space}%
- }{%
- \setunit{\addspace}}%
- \iftoggle{bbx:eu-oj}{%
- \usebibmacro{eu:journal+series+volume+pages}%
- }{%
- \usebibmacro{series+chapter}%
- }
\newunit\newblock
\usebibmacro{institution+location+date}%
- \setunit{\addspace}%
- \usebibmacro{series+type+number}%
\newunit\newblock
\printfield{pagetotal}%
\newunit\newblock
@@ -1384,10 +1467,56 @@
}%
}
+\newbibmacro*{isunpublished}{%
+ \bibstring{unpublished}%
+}
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\printdelim{nametitledelim}}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \ifnameundef{editor}{}{\usebibmacro{in:}}%
+ \usebibmacro{bookeditor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{location+date}%
+ \newunit\newblock
+ \usebibmacro{isunpublished}%
+ \newunit\newblock
+ \iftoggle{bbx:url}
+ {\usebibmacro{url+urldate}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
\DeclareBibliographyAlias{standard}{manual}
\DeclareBibliographyAlias{dataset}{online}
%%
-%% Copyright (C) 2018 by University of Bath
+%% Copyright (C) 2019 by University of Bath
%%
%% End of file `bath.bbx'.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -23,7 +23,7 @@
togl {bbx:nonodate}
and
not test {\iflabeldateisdate}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch cite:labeldate+extradate}}
\providetoggle{bbx:labelistitle}
\xpatchbibmacro{cite:label}{%
\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}%
@@ -30,9 +30,9 @@
}{%
\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}%
\toggletrue{bbx:labelistitle}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-bath failed to patch cite:label}}
%%
-%% Copyright (C) 2018 by University of Bath
+%% Copyright (C) 2019 by University of Bath
%%
%% End of file `bath.cbx'.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -16,6 +16,6 @@
\DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,cjk}
%%
-%% Copyright (C) 2018 by University of Bath
+%% Copyright (C) 2019 by University of Bath
%%
%% End of file `bath.dbx'.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx 2019-07-10 20:28:34 UTC (rev 51598)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -4,7 +4,7 @@
%%
%% The original source files were:
%%
-%% biblatex-bath.dtx (with options: `lbx')
+%% biblatex-bath.dtx (with options: `lbx-gb')
%% ----------------------------------------------------------------
%% biblatex-bath --- Harvard referencing style as recommended by the University of Bath Library
%% Author: Alex Ball
@@ -32,46 +32,10 @@
}
\DeclareBibliographyStrings
-{inherit = {british}
-,urlseen = {{Accessed}{Accessed}}
-,version = {{version~}{v\adddot}}
-,january = {{January}{January}}
-,february = {{February}{February}}
-,march = {{March}{March}}
-,april = {{April}{April}}
-,may = {{May}{May}}
-,june = {{June}{June}}
-,july = {{July}{July}}
-,august = {{August}{August}}
-,september = {{September}{September}}
-,october = {{October}{October}}
-,november = {{November}{November}}
-,december = {{December}{December}}
-,patreq = {{patent application}{pat\adddot\ appl\adddot}}
-,patreqde = {{German patent application}{German pat\adddot\ appl\adddot}}
-,patreqeu = {{European patent application}{European pat\adddot\ appl\adddot}}
-,patreqfr = {{French patent application}{French pat\adddot\ appl\adddot}}
-,patrequk = {{British patent application}{British pat\adddot\ appl\adddot}}
-,patrequs = {{U.S\adddotspace patent application}{U.S\adddotspace pat\adddot\ appl\adddot}}
-,online = {{Online}{Online}}
-,hours = {{hours}{hrs\adddot}}
-,at = {{at}{at}}
-,legalchapter = {{chapter}{c\adddot}}
-,director = {{director}{dir\adddot}}
-,directors = {{directors}{dir\adddot}}
-,bydirector = {{directed by}{directed by}}
-,performer = {{}{}}
-,performers = {{}{}}
-,byperformer = {{}{}}
-,reader = {{reader}{reader}}
-,readers = {{readers}{readers}}
-,byreader = {{read by}{read by}}
-,conductor = {{conductor}{cond\adddot}}
-,conductors = {{conductors}{cond\adddot}}
-,byconductor = {{conducted by}{conducted by}}
+{inherit = {english}
}
%%
-%% Copyright (C) 2018 by University of Bath
+%% Copyright (C) 2019 by University of Bath
%%
%% End of file `british-bath.lbx'.
Added: trunk/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx 2019-07-10 20:28:52 UTC (rev 51599)
@@ -0,0 +1,64 @@
+%%
+%% This is file `english-bath.lbx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% biblatex-bath.dtx (with options: `lbx')
+%% ----------------------------------------------------------------
+%% biblatex-bath --- Harvard referencing style as recommended by the University of Bath Library
+%% Author: Alex Ball
+%% E-mail: a.j.ball at bath.ac.uk
+%% License: Released under the LaTeX Project Public License v1.3c or later
+%% See: http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+\InheritBibliographyExtras{english}
+\DeclareBibliographyStrings
+{inherit = {english}
+,editors = {{editors}{eds}}
+,version = {{version~}{v\adddot}}
+,inpreparation = {{preprint}{preprint}}
+,submitted = {{preprint}{preprint}}
+,urlseen = {{Accessed}{Accessed}}
+,january = {{January}{January}}
+,february = {{February}{February}}
+,march = {{March}{March}}
+,april = {{April}{April}}
+,may = {{May}{May}}
+,june = {{June}{June}}
+,july = {{July}{July}}
+,august = {{August}{August}}
+,september = {{September}{September}}
+,october = {{October}{October}}
+,november = {{November}{November}}
+,december = {{December}{December}}
+,patreq = {{patent application}{pat\adddot\ appl\adddot}}
+,patreqde = {{German patent application}{German pat\adddot\ appl\adddot}}
+,patreqeu = {{European patent application}{European pat\adddot\ appl\adddot}}
+,patreqfr = {{French patent application}{French pat\adddot\ appl\adddot}}
+,patrequk = {{British patent application}{British pat\adddot\ appl\adddot}}
+,patrequs = {{U.S\adddotspace patent application}{U.S\adddotspace pat\adddot\ appl\adddot}}
+,online = {{Online}{Online}}
+,hours = {{hours}{hrs\adddot}}
+,at = {{at}{at}}
+,unpublished = {{unpublished}{unpublished}}
+,legalchapter = {{chapter}{c\adddot}}
+,director = {{director}{dir\adddot}}
+,directors = {{directors}{dir\adddot}}
+,bydirector = {{directed by}{directed by}}
+,performer = {{}{}}
+,performers = {{}{}}
+,byperformer = {{}{}}
+,reader = {{reader}{reader}}
+,readers = {{readers}{readers}}
+,byreader = {{read by}{read by}}
+,conductor = {{conductor}{cond\adddot}}
+,conductors = {{conductors}{cond\adddot}}
+,byconductor = {{conducted by}{conducted by}}
+}
+
+%%
+%% Copyright (C) 2019 by University of Bath
+%%
+%% End of file `english-bath.lbx'.
More information about the tex-live-commits
mailing list