Skip to content

Commit 6120876

Browse files
committed
Prepare for release
1 parent f5b877f commit 6120876

7 files changed

Lines changed: 64 additions & 51 deletions

File tree

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@ for CSL styles.
6363
followed by a comma, while a type is typically singular and followed by a
6464
space.
6565

66-
- Record a standard as a `report`, with the identifier included at the
67-
beginning of the `title`.
66+
- Record a standard as a `standard` or, failing that, `report`. Include the
67+
identifier at the beginning of the `title`.
6868

6969
- For unpublished materials, use the closest applicable entry type and put
70-
‘Unpublished’ under `annote`.
70+
‘Unpublished’ under `annote`. The `pamphlet` type is useful for many
71+
materials of this sort.
7172

7273
- With a `graphic`, you can specify `archive` and `archive-place`, as in the
7374
Bowden bicycle example.
@@ -89,10 +90,13 @@ for CSL styles.
8990

9091
- When citing social media posts, there is no standard way of including the
9192
author's social media handle. As a workaround, you can include it as the
92-
`dropping-particle` component, but you must supply the surrounding square
93+
`dropping-particle` name part, but you must supply the surrounding square
9394
brackets as part of the value. This works best with personal accounts;
94-
with corporate accounts you would have to use `family` instead of `literal`
95-
for the real name, and you get a stray comma between the name and handle.
95+
with corporate accounts you would have to use the `family` name part
96+
instead of `literal`, and you get a stray comma between the name and
97+
handle. Alternatively, you could include the handle as part of the
98+
`literal` name part, but depending on your software you might not be able
99+
to work around including it in your citations as well.
96100

97101
- When citing works in non-English languages, use `original-title` for the
98102
English translation of the non-English title. This reverses the intended
@@ -104,8 +108,10 @@ for CSL styles.
104108
reference and as the `suffix` for later (natural order) names. Provide
105109
transliterated titles directly within the respective `title` field.
106110

107-
- Use the `legislation` type for Acts of Parliament, Statutory Instruments and
108-
EU Directives. With Acts, use `chapter-number` for the chapter and, for
111+
- Use the `legislation` type for primary legislation such as Acts of
112+
Parliament and EU Directives. For secondary legislation such as Statutory
113+
Instruments, use the `regulation` type if available, otherwise
114+
`legislation`. With Acts, use `chapter-number` for the chapter and, for
109115
statutes before 1963, use `collection-title` for the series. With
110116
directives, use `container-title` for the journal (OJ), `collection-title`
111117
for the series, `volume` for the volume and `page` for the starting page.

biblatex/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ documentation.
9696
9797
## Licence
9898
99-
Copyright 2016-2021 University of Bath.
99+
Copyright 2016-2022 University of Bath.
100100
101101
This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile.
102102

biblatex/biblatex-bath.dtx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% \iffalse meta-comment
22
%<*internal|bbx|cbx|dbx|lbx|lbx-gb>
3-
\def\Version{2021/02/25 v4.0}
3+
\def\Version{2022/03/04 v5.0}
44
%</internal|bbx|cbx|dbx|lbx|lbx-gb>
55
%<*internal>
66
\iffalse
@@ -63,7 +63,7 @@ See: http://www.latex-project.org/lppl.txt
6363
\endpreamble
6464
\postamble
6565

66-
Copyright (C) 2016-2021 by University of Bath
66+
Copyright (C) 2016-2022 by University of Bath
6767
\endpostamble
6868

6969
\usedir{tex/latex/\jobname}
@@ -2372,7 +2372,7 @@ Commission case number, \texttt{number} for the formal decision number, and give
23722372
%<readme>## Licence
23732373
%<readme>
23742374
%<*driver|readme>
2375-
Copyright 2016-2021 University of Bath.
2375+
Copyright 2016-2022 University of Bath.
23762376
23772377
This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile.
23782378

bst/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ documentation.
9898
9999
## Licence
100100
101-
Copyright 2016-2021 University of Bath.
101+
Copyright 2016-2022 University of Bath.
102102
103103
This work consists of the documented LaTeX file bath-bst.dtx and a Makefile.
104104

bst/bath-bst.dtx

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ See: http://www.latex-project.org/lppl.txt
3939
\endpreamble
4040
\postamble
4141

42-
Copyright (C) 2016-2021 by University of Bath
42+
Copyright (C) 2016-2022 by University of Bath
4343
\endpostamble
4444

4545
\usedir{bibtex/bst/\jobname}
@@ -74,7 +74,7 @@ Copyright (C) 2016-2021 by University of Bath
7474
\ProvidesFile{bath-bst.dtx}
7575
%</driver>
7676
%<*driver|tex1>
77-
[2021/02/25 v4.0 Harvard referencing style as recommended by the University of Bath Library]
77+
[2022/03/04 v5.0 Harvard referencing style as recommended by the University of Bath Library]
7878

7979
\documentclass[10pt,a4paper]{article}
8080
\usepackage[british]{babel}
@@ -642,7 +642,9 @@ structures may also change without warning.
642642
\item
643643
In the 2021 revision of the style, the titles of broadcast media (TV, radio)
644644
became upright, with series information for titled episodes being italic.
645-
%<driver> To get this new formatting, you must use the \texttt{type} field as shown.
645+
%<*driver>
646+
To get this new formatting, you must use the \texttt{type} field as shown.
647+
%</driver>
646648
%<tex1> If you have been using \texttt{booklet} for such entries, you should now use \texttt{misc} instead.
647649
\item
648650
Series names (except those in \texttt{legislation} and \texttt{jurisdiction}
@@ -953,7 +955,9 @@ URLs with Bib\TeX\, but you must not escape it inside a URL with
953955
%</driver>
954956
\item
955957
Internally, \texttt{inreference} is an alias for \texttt{incollection}.
956-
%<driver>Use \texttt{inreference} if you need compatibility with \textsf{biblatex-bath}.
958+
%<*driver>
959+
Use \texttt{inreference} if you need compatibility with \textsf{biblatex-bath}.
960+
%</driver>
957961
\item
958962
The style ensures the \texttt{booktitle} is used in title citation commands.
959963
\end{info}
@@ -1536,7 +1540,9 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly
15361540

15371541
\begin{info}\item
15381542
Internally, \texttt{thesis} is an alias for \texttt{phdthesis}.
1539-
%<driver>If you need compatibility with \textsf{biblatex-bath} and don't want to display a thesis type, use \texttt{thesis}.
1543+
%<*driver>
1544+
If you need compatibility with \textsf{biblatex-bath} and don't want to display a thesis type, use \texttt{thesis}.
1545+
%</driver>
15401546
\end{info}
15411547

15421548
\subsubsection*{Report, working paper, or research briefing}
@@ -2856,21 +2862,6 @@ Use the \texttt{titleaddon} field to supply the English translation of the title
28562862

28572863
\subsubsection*{Work in a non-Roman alphabet}
28582864

2859-
\begin{tips}\item
2860-
The following example tricks Bib\TeX\ into treating the original rendering of
2861-
the author's name as the `von' part of a Roman-alphabet name. This requires the
2862-
use of a command that simply gobbles its argument, which you have to define
2863-
yourself:
2864-
2865-
\begin{tcblisting}{listing only}
2866-
\newcommand*{\noop}[1]{}
2867-
\end{tcblisting}
2868-
2869-
For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop|
2870-
must be lowercase, but otherwise it can be anything you like.
2871-
%<driver>The trick is not portable to \textsf{biblatex-bath}.
2872-
\end{tips}
2873-
28742865
\newcommand*{\noop}[1]{}
28752866
\begin{bibexbox}(hacked)<RX>{hua1999qys1}
28762867
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 \textup{中國社會科學}}, 1, pp.168--79.
@@ -2913,6 +2904,21 @@ must be lowercase, but otherwise it can be anything you like.
29132904
\end{bibexbox}
29142905

29152906
\begin{tips}\item
2907+
The above example tricks Bib\TeX\ into treating the original rendering of
2908+
the author's name as the `von' part of a Roman-alphabet name. This requires the
2909+
use of a command that simply gobbles its argument, which you have to define
2910+
yourself:
2911+
2912+
\begin{tcblisting}{listing only}
2913+
\newcommand*{\noop}[1]{}
2914+
\end{tcblisting}
2915+
2916+
For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop|
2917+
must be lowercase, but otherwise it can be anything you like.
2918+
%<*driver>
2919+
The trick is not portable to \textsf{biblatex-bath}.
2920+
%</driver>
2921+
\item
29162922
If the name is due to appear initial first (e.g.~after `In:'), you can append
29172923
the non-Roman characters to the author's surname; to do this, use inverted name
29182924
order as you would for English double-barrelled names without hyphens, e.g.\@
@@ -3533,7 +3539,7 @@ Commission case number, \texttt{number} for the formal decision number, and give
35333539
%<readme>## Licence
35343540
%<readme>
35353541
%<*driver|readme>
3536-
Copyright 2016-2021 University of Bath.
3542+
Copyright 2016-2022 University of Bath.
35373543

35383544
This work consists of the documented LaTeX file bath-bst.dtx and a Makefile.
35393545

csl/bath-csl-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ references:
507507
number: no. 8
508508

509509
- id: bs5605:1990
510-
type: report
510+
type: standard
511511
title: '<span class="nocase">BS 5605:1990 Recommendations</span> for citing and referencing published material'
512512
publisher: BSI
513513
publisher-place: London
@@ -517,7 +517,7 @@ references:
517517
- year: '1990'
518518

519519
- id: astm.d1655
520-
type: report
520+
type: standard
521521
author:
522522
- literal: ASTM
523523
issued:
@@ -548,7 +548,7 @@ references:
548548
annote: Unpublished
549549

550550
- id: hadley2015bir
551-
type: report
551+
type: pamphlet
552552
author:
553553
- family: Hadley
554554
given: S.
@@ -1049,7 +1049,7 @@ references:
10491049
number: '66'
10501050

10511051
- id: gb.hmr2012
1052-
type: legislation
1052+
type: regulation
10531053
issued:
10541054
- year: '2012'
10551055
accessed:

csl/harvard-university-of-bath.csl

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
<name>Alex Ball</name>
1212
<email>ab318@bath.ac.uk</email>
1313
</author>
14-
<author>
14+
<contributor>
1515
<name>Rob Fuller</name>
1616
<email>rob.fuller1@gmail.com</email>
17-
</author>
17+
</contributor>
1818
<category citation-format="author-date"/>
1919
<category field="generic-base"/>
2020
<summary>Adaptation of Harvard referencing style used at the University of Bath.</summary>
21-
<updated>2021-10-05T08:20:00+00:00</updated>
21+
<updated>2022-03-04T14:00:00+00:00</updated>
2222
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2323
</info>
2424
<locale xml:lang="en">
@@ -142,10 +142,10 @@
142142
<macro name="title">
143143
<group delimiter=" ">
144144
<choose>
145-
<if type="bill book dataset entry graphic legal_case map motion_picture musical_score patent report software song speech webpage thesis" match="any">
145+
<if type="bill book dataset entry graphic legal_case map motion_picture musical_score patent report software song speech standard webpage thesis" match="any">
146146
<text variable="title" font-style="italic"/>
147147
</if>
148-
<else-if type="legislation legal_case post" match="any">
148+
<else-if type="legislation pamphlet post regulation" match="any">
149149
<choose>
150150
<if variable="container-title">
151151
<text variable="title"/>
@@ -165,8 +165,9 @@
165165
<text variable="version"/>
166166
</group>
167167
<choose>
168-
<if type="thesis motion_picture broadcast" match="any"/>
168+
<if type="broadcast motion_picture thesis" match="any"/>
169169
<else-if type="report" variable="number"/>
170+
<else-if type="standard" variable="number"/>
170171
<else-if type="patent" variable="number"/>
171172
<else-if type="bill" variable="number"/>
172173
<else>
@@ -217,10 +218,10 @@
217218
<else>
218219
<group delimiter=" ">
219220
<choose>
220-
<if type="bill dataset graphic legal_case map motion_picture musical_score patent report software song speech webpage thesis" match="any">
221+
<if type="bill dataset graphic legal_case map motion_picture musical_score patent report software song speech standard webpage thesis" match="any">
221222
<text variable="title" font-style="italic"/>
222223
</if>
223-
<else-if type="legislation regulation legal_case" match="any">
224+
<else-if type="legislation pamphlet post regulation" match="any">
224225
<choose>
225226
<if variable="container-title">
226227
<text variable="title"/>
@@ -260,10 +261,10 @@
260261
</macro>
261262
<macro name="title-short">
262263
<choose>
263-
<if type="bill dataset graphic map motion_picture musical_score patent report song webpage thesis" match="any">
264+
<if type="bill dataset graphic legal_case map motion_picture musical_score patent report software song speech standard webpage thesis" match="any">
264265
<text variable="title" form="short" font-style="italic"/>
265266
</if>
266-
<else-if type="legislation legal_case" match="any">
267+
<else-if type="legislation pamphlet post regulation" match="any">
267268
<choose>
268269
<if variable="container-title">
269270
<text variable="title" form="short"/>
@@ -395,7 +396,7 @@
395396
</sort>
396397
<layout>
397398
<choose>
398-
<if type="legislation">
399+
<if type="legislation regulation" match="any">
399400
<group suffix=".">
400401
<group delimiter=" ">
401402
<text macro="author"/>
@@ -528,7 +529,7 @@
528529
</else>
529530
</choose>
530531
<choose>
531-
<if type="legislation legal_case" match="any"/>
532+
<if type="legal_case legislation regulation" match="any"/>
532533
<else-if type="book motion_picture musical_score song speech" match="any">
533534
<group prefix=" " suffix="." delimiter=" ">
534535
<text macro="title"/>
@@ -598,7 +599,7 @@
598599
</group>
599600
</group>
600601
</else-if>
601-
<else-if type="bill report webpage" match="any">
602+
<else-if type="bill report standard webpage" match="any">
602603
<group prefix=" " suffix="." delimiter=". ">
603604
<text macro="title"/>
604605
<text macro="edition"/>

0 commit comments

Comments
 (0)