diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-bath/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib | 246 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf | bin | 368102 -> 397737 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/biblatex-bath/Makefile | 31 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx | 1061 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx | 278 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx | 4 |
10 files changed, 1122 insertions, 512 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-bath/README.md b/Master/texmf-dist/doc/latex/biblatex-bath/README.md index 6b73edbfc01..1575f459f17 100644 --- a/Master/texmf-dist/doc/latex/biblatex-bath/README.md +++ b/Master/texmf-dist/doc/latex/biblatex-bath/README.md @@ -96,7 +96,7 @@ documentation. ## Licence -Copyright 2016-2021 University of Bath. +Copyright 2016-2022 University of Bath. This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile. diff --git a/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib b/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib index 4a994be2cfb..aa8f78e56df 100644 --- a/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib +++ b/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.bib @@ -11,6 +11,13 @@ title = {Electricity and Magnetism}, address = {Bletchley}, publisher = {Open University Press}} +@book{solomon.etal2019cbe, + author = {Solomon, M. R. and Askegaard, S. and Hogg, M. and Bamossy, G. J.}, + year = {2019}, + title = {Consumer Behaviour: a {European} Perspective}, + edition = {7}, + address = {Harlow}, + publisher = {Pearson}} @book{rothman.etal2008me, editor = {Kenneth J. Rothman and Sander Greenland and Timothy L. Lash}, year = {2008}, @@ -27,28 +34,29 @@ publisher = {CRC Press/{Taylor and Francis}}, url = {http://www.hbcpnetbase.com}, urldate = {2016-06-16}} -@book{hodds2016re, - author = {Hodds, J.}, - year = {2016}, - title = {Referencing ebooks}, - titleaddon = {Kindle version 4.18}, - address = {Bath}, - publisher = {University of Bath}} +@book{blockley2021evs, + author = {Blockley, D.}, + year = {2021}, + title = {Engineering: a Very Short Introduction}, + address = {Oxford}, + publisher = {Oxford University Press}, + url = {https://www.amazon.co.uk/kindle}, + urldate = {2021-06-30}} @reference{bnf2020, year = {2020}, title = {{British National Formulary}}, edition = {79}, address = {London}, publisher = {Pharmaceutical Press}} -@inreference{asprin2020bnf, - title = {Asprin}, +@inreference{aspirin2020bnf, + title = {Aspirin}, year = {2020}, booktitle = {{British National Formulary}}, edition = {79}, address = {London}, publisher = {Pharmaceutical Press}} -@inreference{asprin2019bnf, - title = {Asprin}, +@inreference{aspirin2019bnf, + title = {Aspirin}, year = {2019}, booktitle = {{British National Formulary}}, address = {London}, @@ -98,15 +106,33 @@ volume = {341}, number = {7765}, pages = {157-208}} -@article{williams1997edd, - author = {Williams, F.}, - year = {1997}, - title = {Electronic Document Delivery}, - subtitle = {A Trial in an Academic Library}, - journal = {Ariadne}, - volume = {10}, - url = {http://www.ariadne.ac.uk/issue10/edd/}, - urldate = {1997-12-05}} +@article{wetzstein.etal2020iai, + author = {Wetzstein, G. and Ozcan, A. and Gigan, S. and Fan, S. and + Englund, D. and Soljacic, M. and Denz, C. and Miller, D. A. B. and + Psaltis, D.}, + year = {2020}, + title = {Inference in Artificial Intelligence with Deep Optics and Photonics}, + journal = {Nature}, + volume = {588}, + number = {7836}, + pages = {39-47}} +@article{devlin.etal2021ipp, + author = {Devlin, S. M. and Martin, A. and Ostrovnaya, I.}, + year = {2021}, + title = {Identifying Prognostic Pairwise Relationships Among Bacterial + Species in Microbiome Studies}, + journal = {{PLOS Computational Biology}}, + volume = {17}, + number = {11}, + url = {https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009501}, + urldate = {2021-12-09}} +@article{steward.etal2020eys, + author = {Steward, S. and Connelly, D. and Robinson, J.}, + year = {2020}, + title = {Everything You Should Know About the Coronavirus Outbreak}, + journal = {The Pharmaceutical Journal}, + url = {https://www.pharmaceutical-journal.com/news-and-analysis/features/everything-you-should-know-about-the-coronavirus-outbreak/20207629.article}, + urldate = {2020-04-30}} @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.}, @@ -125,6 +151,19 @@ library = {OPUS}, url = {http://opus.bath.ac.uk}, urldate = {2016-05-04}} +@report{ganju2021sed, + author = {Ganju, V.}, + year = {2021}, + title = {A study of {EnGeneIC} {Dream} {Vectors} {(EDV's)} packaged with the chemotherapy, + {E-EDV-D682} given simultaneously as non-targeted {EDVs} carrying an immune enhancer + called {EDV-GC}, in participants with advanced pancreatic and other cancers whose disease + has progressed after one or two treatment regimes, or where other standard therapies are + not appropriate}, + address = {Sydney}, + institution = {University of Sydney}, + library = {Australian and New Zealand Clinical Trials Registry}, + url = {http://www.anzctr.org.au/Trial/Registration/TrialReview.aspx?id=365258}, + urldate = {2021-04-29}} @article{haurant2004bbh, author = {Haurant, S.}, date = {2004-07-29}, @@ -137,6 +176,13 @@ title = {Picking Up the Bills}, journal = {{The Independent}}, pages = {28a}} +@article{cogley2020ccs, + author = {Cogley, M.}, + date = {2020-05-04}, + title = {Corporate Confidence Slumps to Record Low}, + journal = {{The Telegraph}}, + url = {https://www.telegraph.co.uk/business/2020/05/03/corporate-confidence-slumps-all-time-low/}, + urldate = {2020-05-05}} @inproceedings{crawford1965oim, author = {Crawford, G. I.}, year = {1965}, @@ -180,6 +226,14 @@ institution = {BRE}, type = {Report}, number = {497}} +@report{deneulin.dinerstein2010hms, + author = {Deneulin, S. and Dinerstein, A. C.}, + year = {2010}, + title = {Hope Movements: Social Movements in the Pursuit of Human Development}, + address = {Bath}, + institution = {University of Bath}, + series = {Bath Papers in International Development and Wellbeing}, + number = {no.~8}} @standard{bs5605:1990, author = {{BSI}}, year = {1990}, @@ -228,7 +282,7 @@ address = {San Francisco}, organization = {Wikimedia Foundation}, url = {https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg}, - urldate = {2015-01-07}} + urldate = {2016-01-07}} @image{anon1946peb, author = {Anon\adddot}, year = {1946}, @@ -249,14 +303,14 @@ author = {{Ordnance Survey}}, year = {2020}, title = {Street view map of {University of Bath}}, - series = {1:5000, OS VectorMap® Local}, + series = {1:5000, {OS VectorMap® Local}}, url = {https://digimap.edina.ac.uk/roam/map/os}, urldate = {2020-04-30}} @manual{google2020harbourside, author = {{Google}}, year = {2020}, title = {{Harbourside, Bristol}}, - series = {Google Maps}, + series = {{Google Maps}}, url = {https://www.google.co.uk/maps/place/Harbourside,+Bristol/}, urldate = {2020-04-30}} @video{macbeth1948, @@ -266,24 +320,34 @@ note = {Directed by Orson Welles}, address = {USA}, publisher = {Republic Pictures}} +@video{elephant-man1980, + year = {1980}, + title = {The elephant man}, + type = {Film}, + note = {Directed by David Lynch}, + address = {USA}, + publisher = {Brooksfilms}, + library = {BBC iPlayer}, + urldate = {2021-05-04}} @video{moran2016sol, author = {Moran, C.}, year = {2016}, title = {Save Our Libraries}, url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, urldate = {2016-04-29}} -@video{uob2015wie, - author = {{University of Bath}}, - year = {2015}, - title = {What is Engineering?}, - url = {https://www.youtube.com/watch?v=NoyZarq-Zbo}, - urldate = {2016-01-12}} @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{inn2021huw, + date = {2021-05-31T21:30:00}, + title = {Hurry up and wait}, + series = {Inside No.9}, + number = {{Episode} 6:4}, + type = {TV}, + publisher = {BBC2}} @video{rsfo2006ep5, date = {2006-08-23T20:30:00}, title = {Rick {Stein's} {French} Odyssey}, @@ -295,20 +359,54 @@ title = {The {Archers}}, type = {Radio}, publisher = {BBC Radio 4}} +@video{tkmmm2020ts, + year = {2020}, + title = {The Secret}, + series = {Tiger King: Murder, Mayhem and Madness}, + number = {{Episode} 3}, + type = {TV}, + library = {Netflix}, + urldate = {2021-05-04}} @book{beethoven1950symph1, author = {Ludwig van Beethoven}, year = {1950}, title = {Symphony no.1 in {C,} {Op.21}}, address = {Harmondsworth}, publisher = {Penguin}} -@online{holland2002gci, - author = {Holland, M.}, - year = {2002}, - title = {Guide to Citing Internet Sources}, - address = {Poole}, - organization = {Bournemouth University}, - url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html}, - urldate = {2002-11-04}} +@online{who2018ttc, + author = {{World Health Organization}}, + year = {2018}, + title = {The Top 10 Causes of Death}, + address = {Geneva}, + organization = {World Health Organization}, + url = {https://www.who.int/news-room/fact-sheets/detail/the-top-10-causes-of-death}, + urldate = {2020-06-29}} +@online{manco2013va, + author = {Manco, J.}, + year = {2013}, + title = {Vernacular Architecture}, + url = {https://www.buildinghistory.org/style/vernacular.shtml}, + urldate = {2020-02-20}} +@online{gaiman2021fbp, + author = {Gaiman, N.}, + date = {2021-04-21}, + title = {Facebook post}, + url = {https://www.facebook.com/neilgaiman/posts/305187897642814}, + urldate = {2021-05-13}} +@online{ublib2021tp, + author = {{Library at University of Bath}}, + nameaddon = {@bathunilibrary}, + date = {2021-05-10}, + title = {Twitter post}, + url = {https://twitter.com/BathUniLibrary/status/1391774402618998795?s=20}, + urldate = {2021-05-12}} +@online{ublib2021ip, + author = {{University of Bath Library}}, + nameaddon = {@unibathlib}, + date = {2021-03-15}, + title = {Instagram post}, + url = {https://www.instagram.com/p/CMb5GHjFv9A/?utm_source=ig_web_copy_link}, + urldate = {2021-05-07}} @letter{clark2004euk, author = {Clark, T.}, date = {2004-07-05}, @@ -394,34 +492,6 @@ titleaddon = {Roma everyday life in Bulgaria}, address = {Veliko Tarnovo}, publisher = {Faber}} -@legislation{gb.wa1735, - title = {Witchcraft {Act}}, - year = {1735}, - series = {9 Geo.2}, - chapter = {5}} -@legislation{gb.pa2014, - title = {Pensions {Act}}, - year = {2014}, - chapter = {19}, - address = {London}, - publisher = {TSO}} -@legislation{gb.bill1987/88-66, - author = {{Great Britain. Parliament. House of Commons}}, - year = {1988}, - title = {Local Government Finance Bill}, - address = {London}, - publisher = {HMSO}, - series = {{Bills | 1987/88}}, - number = {66}} -@legislation{gb.hmr2012, - entrysubtype = {secondary}, - title = {The {Human} {Medicines} {Regulations}}, - year = {2012}, - number = {No.1916}, - address = {United Kingdom}, - publisher = {HMSO}, - url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, - urldate = {2016-04-17}} @report{gb.hc2003/04-30, author = {{Great Britain. Parliament. House of Commons}}, year = {2004}, @@ -429,7 +499,7 @@ subtitle = {Account 2002--2003}, address = {London}, publisher = {National Audit Office}, - series = {HC 2003/04}, + series = {{HC} 2003/04}, number = {30}} @report{gb.hl1986/87-66, author = {{Great Britain. Parliament. House of Lords}}, @@ -437,7 +507,7 @@ title = {Social Fund (Maternity and Funeral Expenses) Bill}, address = {London}, publisher = {HMSO}, - series = {HL 1986/87}, + series = {{HL} 1986/87}, number = {66}} @report{gb.cm6041, author = {{Great Britain. Ministry of Defence}}, @@ -448,6 +518,40 @@ publisher = {TSO}, series = {Cm}, number = {6041}} +@legislation{gb.bill1987/88-66, + author = {{Great Britain. Parliament. House of Commons}}, + year = {1988}, + title = {Local Government Finance Bill}, + address = {London}, + publisher = {HMSO}, + series = {{Bills | 1987/88}}, + number = {66}} +@legislation{gb.wa1735, + title = {Witchcraft {Act}}, + year = {1735}, + series = {9 Geo.2}, + chapter = {5}} +@legislation{gb.pa2014, + title = {Pensions {Act}}, + year = {2014}, + chapter = {19}, + address = {London}, + publisher = {TSO}} +@legislation{gb.hmr2012, + entrysubtype = {secondary}, + title = {The {Human} {Medicines} {Regulations}}, + year = {2012}, + number = {No.1916}, + address = {United Kingdom}, + publisher = {HMSO}, + url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, + urldate = {2016-04-17}} +@report{ec2015gra, + author = {{European Commission}}, + year = {2015}, + title = {General Report on the Activities of the {European} {Union} 2014}, + address = {Luxembourg}, + publisher = {Publications Office of the European Union}} @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 @@ -457,19 +561,13 @@ journal = {OJ}, series = {L}, volume = {295}} -@report{ec2015gra, - author = {{European Commission}}, - year = {2015}, - title = {General Report on the Activities of the {European} {Union} 2014}, - address = {Luxembourg}, - publisher = {Publications Office of the European Union}} @jurisdiction{seldon-v-c.w.j2012, title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}}, year = {2012}, journal = {UKSC}, pages = {16}} @jurisdiction{srl.etal-v-comm2005, - title = {Alessandrini {Srl} and others v.\@ {Commission}}, + title = {Alessandrini {Srl} and others v. {Commission}}, number = {C-295/03 P}, year = {2005}, journal = {ECR}, diff --git a/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf b/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf Binary files differindex d02f0e43dd3..b65fcf099d7 100644 --- a/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-bath/biblatex-bath.pdf diff --git a/Master/texmf-dist/source/latex/biblatex-bath/Makefile b/Master/texmf-dist/source/latex/biblatex-bath/Makefile index 09d8c427cb2..12f3602b24c 100644 --- a/Master/texmf-dist/source/latex/biblatex-bath/Makefile +++ b/Master/texmf-dist/source/latex/biblatex-bath/Makefile @@ -1,5 +1,7 @@ STYLE = bath NAME = biblatex-$(STYLE) +TEST = test-output +COMP = test-compat SHELL = bash PWD = $(shell pwd) TEMP := $(shell mktemp -d -t tmp.XXXXXXXXXX) @@ -7,28 +9,45 @@ TDIR = $(TEMP)/$(NAME) VERS = $(shell ltxfileinfo -v $(NAME).dtx) LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL) UTREE = $(shell kpsewhich --var-value TEXMFHOME) +AUX = aux bbl bcf blg fdb_latexmk fls listing log out run.xml .PHONY: source clean distclean inst install uninst uninstall zip ctan +.INTERMEDIATE: $(TEST).pdf $(COMP).tex $(COMP).pdf all: $(NAME).pdf clean @exit 0 source: $(NAME).dtx - luatex -interaction=batchmode $(NAME).dtx >/dev/null + luatex -interaction=batchmode $< >/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 +$(NAME).pdf: $(NAME).dtx + latexmk -silent -lualatex -interaction=batchmode $< >/dev/null @echo "Compilation complete." +$(TEST).pdf: $(TEST).tex $(STYLE).bbx $(NAME).bib + latexmk -silent -lualatex -interaction=batchmode $< >/dev/null + +$(TEST).bbi: $(TEST).pdf + pdftotext $< $@ + +$(COMP).tex: $(TEST).tex + sed 's/biblatex-bath.bib/..\/bst\/bath-bst.bib/' $< > $@ + +$(COMP).pdf: $(COMP).tex $(STYLE).bbx ../bst/bath-bst.bib + latexmk -silent -lualatex -interaction=batchmode $< >/dev/null + +$(COMP).bbi: $(COMP).pdf + pdftotext $< $@ + 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 -f $(AUX:%=$(NAME).%) $(NAME).markdown.in rm -rf _markdown_$(NAME) + rm -f $(AUX:%=$(TEST).%) $(AUX:%=$(COMP).%) distclean: clean - rm -f $(NAME).{pdf,bib,ins} $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx + rm -f $(NAME).{pdf,bib,ins} $(STYLE).{b,c,d}bx {english,british}-$(STYLE).lbx {$(TEST),$(COMP)}.bbi inst: all diff --git a/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx b/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx index a7e02886dea..59e99148e32 100644 --- a/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx +++ b/Master/texmf-dist/source/latex/biblatex-bath/biblatex-bath.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %<*internal|bbx|cbx|dbx|lbx|lbx-gb> -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} %</internal|bbx|cbx|dbx|lbx|lbx-gb> %<*internal> \iffalse @@ -63,7 +63,7 @@ See: http://www.latex-project.org/lppl.txt \endpreamble \postamble -Copyright (C) 2016-2021 by University of Bath +Copyright (C) 2016-2022 by University of Bath \endpostamble \usedir{tex/latex/\jobname} @@ -178,6 +178,7 @@ Copyright (C) 2016-2021 by University of Bath , addbibresource , assignrefcontextentries , newrefcontext + , bibhang } , moredelim=**[s][\color{violet}]{[}{]} , moredelim=**[s][\color{blue!75!black}]{\{}{\}} @@ -427,7 +428,7 @@ This style has been tested with \textsf{biblatex} versions 3.12 and 3.14. To use the style, specify it when you load \textsf{biblatex}. To get the sorting order of your \emph{citations} right, specify the \texttt{ynt} sorting scheme. -To avoid possible inconsistencies (e.g.\@ in how disambiguation letters are +To avoid possible inconsistencies (e.g.~in how disambiguation letters are assigned), force all entries to use the global reference context: \begin{tcblisting}{listing only} @@ -456,7 +457,7 @@ throughout. To make a citation in the text, use the key that corresponds to the entry in your \texttt{.bib} file: \begin{tcblisting}{} -While collections can be supplemented by other means \autocite{williams1997edd}, +While collections can be supplemented by other means \autocite{devlin.etal2021ipp}, the absence of an invisible collection amongst historians is noted by \textcite[556]{stieg1981inh}. It may be, as \textcite{burchard1965hhl} points out, that they have no assistants or are reluctant to delegate, or it may be @@ -472,12 +473,17 @@ references, as the style relies on Biber functionality to deal with some of the more exotic types of entry. -\section{Change history} +\section{Breaking changes between versions} -\subsection{Version 1 to version 2} +The following sections list implementation changes that might affect the way +in which you write your bibliography database files. -If you have previously used version 1 of this style, there are some changes -you need to be aware of. +In addition to the changes listed, when upgrading between major versions, +you should expect some changes in formatting relating to the evolution of the +Harvard (Bath) style itself. Some of the style's internal settings and +structures may also change without warning. + +\subsection{Version 2} \begin{itemize} \item @@ -501,12 +507,6 @@ you need to be aware of. \href{http://ctan.org/pkg/biblatex-apa}{\textsf{biblatex-apa}}. Again, for the sake of backwards compatibility, before it does this it strips off any brackets you may have added by hand around your field value. - -\item - Since version 1 was released, there have been improvements made both to the - Harvard (Bath) style itself and to \textsf{biblatex} internals. You may therefore - notice some changes in how certain entries are styled, and if you have made your - own adaptations to the style, these may no longer work with version 2. \end{itemize} There is now a companion Bib\TeX\ style available (\texttt{bathx} in version 2+ @@ -515,10 +515,7 @@ sense that it will render the same \texttt{.bib} file the same way, so long as s 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. +\subsection{Version 3} \begin{itemize} \item @@ -538,6 +535,21 @@ you need to be aware of. your .bib file accordingly. \end{itemize} +\subsection{Version 5} + +\begin{itemize} +\item + Series names (except those in \texttt{legislation} and \texttt{jurisdiction} + entries) are now coerced to sentence case, so any capital letters you + want to keep need to be protected with braces. +\item + The `[Online]' tag is now also triggered by \texttt{urldate}\slash + \texttt{urlyear}. +\item + The style now sets \lstinline{\bibhang} to 0pt instead of + \lstinline{\parindent} (or 1em). +\end{itemize} + \section{Examples} The examples below are shown in three parts. @@ -548,15 +560,8 @@ The second, marked with \faCog, shows the reference as formatted by \textsf{bibl The last shows how the reference was entered in the \texttt{.bib} file. 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}. -% This indicates that some fields have been `abused' to achieve the right effect; -% in other words, they contain information that would normally be entered in another field. -% Particular care should be taken with such items when switching between different styles, -% though of course any item might need adjustment to take account of differing conventions. - You may notice that the examples tend to use BibTeX aliases and conventions for -fields (e.g.\@ \texttt{address}, \texttt{journal}, \texttt{year}) rather than the +fields (e.g.~\texttt{address}, \texttt{journal}, \texttt{year}) rather than the native \textsf{biblatex} fields. This is simply to ease transitions to and from BibTeX, and not a symptom of recalcitrance on the part of the author. @@ -566,7 +571,7 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \subsubsection*{Book with author(s)} \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. + 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} %</driver> @@ -584,7 +589,7 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \end{bibexbox} \begin{bibexbox}<RX>{ou1972em} - Open University, 1972. \emph{Electricity and magnetism}. Bletchley:\@ Open University Press. + Open University, 1972. \emph{Electricity and magnetism}. Bletchley: Open University Press. \tcblower \begin{Verbatim} %</driver> @@ -600,11 +605,29 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \end{Verbatim} \end{bibexbox} +\begin{bibexbox}<RX>{solomon.etal2019cbe} + Solomon, M.R., Askegaard, S., Hogg, M. and Bamossy, G.J., 2019. \emph{Consumer behaviour: a European perspective}. 7th ed. Harlow: Pearson. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@book{solomon.etal2019cbe, + author = {Solomon, M. R. and Askegaard, S. and Hogg, M. and Bamossy, G. J.}, + year = {2019}, + title = {Consumer Behaviour: a {European} Perspective}, + edition = {7}, + address = {Harlow}, + publisher = {Pearson}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + \subsubsection*{Book with editor(s) instead of author(s)} \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. + 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> @@ -625,7 +648,7 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \subsubsection*{Electronic book} \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]. + 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} %</driver> @@ -644,19 +667,20 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \end{Verbatim} \end{bibexbox} -\begin{bibexbox}<RX>{hodds2016re} - Hodds, J., 2016. \emph{Referencing ebooks} [Kindle version 4.18]. Bath:\@ University of Bath. +\begin{bibexbox}<RX>{blockley2021evs} + Blockley, D., 2021. \emph{Engineering: a very short introduction} [Online]. Oxford: Oxford University Press. Available from: \url{https://www.amazon.co.uk/kindle} [Accessed 30 June 2021]. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@book{hodds2016re, - author = {Hodds, J.}, - year = {2016}, - title = {Referencing ebooks}, - titleaddon = {Kindle version 4.18}, - address = {Bath}, - publisher = {University of Bath}} +@book{blockley2021evs, + author = {Blockley, D.}, + year = {2021}, + title = {Engineering: a Very Short Introduction}, + address = {Oxford}, + publisher = {Oxford University Press}, + url = {https://www.amazon.co.uk/kindle}, + urldate = {2021-06-30}} %</driver|bib> %<*driver> \end{Verbatim} @@ -665,10 +689,10 @@ BibTeX, and not a symptom of recalcitrance on the part of the author. \subsubsection*{Book known by its title} -\begin{info}\item +\begin{tips}\item Use the most appropriate \texttt{reference} entry type instead of, say, \texttt{book} or \texttt{collection}. -\end{info} +\end{tips} \begin{bibexbox}<RX>{bnf2020} British National Formulary, 2020. 79th ed. London: Pharmaceutical Press. @@ -687,14 +711,14 @@ Use the most appropriate \texttt{reference} entry type instead of, say, \end{Verbatim} \end{bibexbox} -\begin{bibexbox}<RX>{asprin2020bnf} - British National Formulary, 2020. 79th ed. \emph{Asprin.} London: Pharmaceutical Press. +\begin{bibexbox}<RX>{aspirin2020bnf} + British National Formulary, 2020. 79th ed. \emph{Aspirin}. London: Pharmaceutical Press. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@inreference{asprin2020bnf, - title = {Asprin}, +@inreference{aspirin2020bnf, + title = {Aspirin}, year = {2020}, booktitle = {{British National Formulary}}, edition = {79}, @@ -712,14 +736,14 @@ entry is placed correctly in the reference list. If you use Biber, this is done automatically for you. \end{info} -\begin{bibexbox}<RX>{asprin2019bnf} +\begin{bibexbox}<RX>{aspirin2019bnf} British National Formulary, 2019. \emph{Aspirin} [Online]. London: Pharmaceutical Press. Available from: \url{https://www.medicinescomplete.com/#/content/bnf/_456850132} [Accessed 26 November 2019]. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@inreference{asprin2019bnf, - title = {Asprin}, +@inreference{aspirin2019bnf, + title = {Aspirin}, year = {2019}, booktitle = {{British National Formulary}}, address = {London}, @@ -732,10 +756,10 @@ automatically for you. \end{bibexbox} -\subsubsection*{One chapter\slash paper from a collection (by different authors) in an edited book} +\subsubsection*{Chapter\slash paper from a collection (by different authors) in an edited book} \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. + 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> @@ -756,7 +780,7 @@ automatically for you. \end{bibexbox} \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. + 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> @@ -819,7 +843,7 @@ automatically for you. \end{bibexbox} \begin{bibexbox}<RX>{newman2010mcb} - Newman, R., 2010. Malaria control beyond 2010. \emph{Brit.\@ Med.\@ J.}, 341(7765), pp.157--208. + Newman, R., 2010. Malaria control beyond 2010. \emph{Brit. Med. J.}, 341(7765), pp.157--208. \tcblower \begin{Verbatim} %</driver> @@ -837,31 +861,70 @@ automatically for you. \end{Verbatim} \end{bibexbox} +\begin{bibexbox}<RX>{wetzstein.etal2020iai} + Wetzstein, G., Ozcan, A., Gigan, S., Fan, S., Englund, D., Soljacic, M., Denz, C., Miller, D.A.B. and Psaltis, D., 2020. Inference in artificial intelligence with deep optics and photonics. \emph{Nature}, 588(7836), pp.39--47. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@article{wetzstein.etal2020iai, + author = {Wetzstein, G. and Ozcan, A. and Gigan, S. and Fan, S. and + Englund, D. and Soljacic, M. and Denz, C. and Miller, D. A. B. and + Psaltis, D.}, + year = {2020}, + title = {Inference in Artificial Intelligence with Deep Optics and Photonics}, + journal = {Nature}, + volume = {588}, + number = {7836}, + pages = {39-47}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + \subsubsection*{Electronic journal article} -\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]. +\begin{bibexbox}<RX>{devlin.etal2021ipp} + Devlin, S.M., Martin, A. and Ostrovnaya, I., 2021. Identifying prognostic pairwise relationships among bacterial species in microbiome studies. \emph{PLOS Computational Biology} [Online], 17(11). Available from: \url{https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009501} [Accessed 9 December 2021]. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@article{williams1997edd, - author = {Williams, F.}, - year = {1997}, - title = {Electronic Document Delivery}, - subtitle = {A Trial in an Academic Library}, - journal = {Ariadne}, - volume = {10}, - url = {http://www.ariadne.ac.uk/issue10/edd/}, - urldate = {1997-12-05}} +@article{devlin.etal2021ipp, + author = {Devlin, S. M. and Martin, A. and Ostrovnaya, I.}, + year = {2021}, + title = {Identifying Prognostic Pairwise Relationships Among Bacterial + Species in Microbiome Studies}, + journal = {{PLOS Computational Biology}}, + volume = {17}, + number = {11}, + url = {https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009501}, + urldate = {2021-12-09}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\begin{tips} -\item +\begin{bibexbox}<RX>{steward.etal2020eys} + Steward, S., Connelly, D. and Robinson, J., 2020. Everything you should know about the coronavirus outbreak. \emph{The pharmaceutical journal} [Online]. Available from: \url{https://www.pharmaceutical-journal.com/news-and-analysis/features/everything-you-should-know-about-the-coronavirus-outbreak/20207629.article} [Accessed 30 April 2020]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@article{steward.etal2020eys, + author = {Steward, S. and Connelly, D. and Robinson, J.}, + year = {2020}, + title = {Everything You Should Know About the Coronavirus Outbreak}, + journal = {The Pharmaceutical Journal}, + url = {https://www.pharmaceutical-journal.com/news-and-analysis/features/everything-you-should-know-about-the-coronavirus-outbreak/20207629.article}, + urldate = {2020-04-30}} +%</driver|bib> +%<*driver> +\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) @@ -869,7 +932,7 @@ 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]. + 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> @@ -889,10 +952,10 @@ for `preprint'. \end{bibexbox} -\subsubsection*{Preprint in a digital repository} +\subsubsection*{Preprint or trial study in a digital repository} \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]. + 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> @@ -911,8 +974,31 @@ for `preprint'. \end{Verbatim} \end{bibexbox} -\begin{tips} -\item +\begin{bibexbox}<RX>{ganju2021sed} + Ganju, V., 2021. \emph{A study of EnGeneIC Dream Vectors (EDV's) packaged with the chemotherapy, E-EDV-D682 given simultaneously as non-targeted EDVs carrying an immune enhancer called EDV-GC, in participants with advanced pancreatic and other cancers whose disease has progressed after one or two treatment regimes, or where other standard therapies are not appropriate}. Sydney: University of Sydney. \emph{Australian and New Zealand Clinical Trials Registry} [Online]. Available from: \url{http://www.anzctr.org.au/Trial/Registration/TrialReview.aspx?id=365258} [Accessed 29 April 2021]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@report{ganju2021sed, + author = {Ganju, V.}, + year = {2021}, + title = {A study of {EnGeneIC} {Dream} {Vectors} {(EDV's)} packaged with the chemotherapy, + {E-EDV-D682} given simultaneously as non-targeted {EDVs} carrying an immune enhancer + called {EDV-GC}, in participants with advanced pancreatic and other cancers whose disease + has progressed after one or two treatment regimes, or where other standard therapies are + not appropriate}, + address = {Sydney}, + institution = {University of Sydney}, + library = {Australian and New Zealand Clinical Trials Registry}, + url = {http://www.anzctr.org.au/Trial/Registration/TrialReview.aspx?id=365258}, + urldate = {2021-04-29}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + +\begin{tips}\item The Harvard (Bath) style treats preprints as grey literature, and so the \texttt{report} entry type is the best match semantically. Use \texttt{library} to specify the name of the preprint repository. @@ -959,13 +1045,31 @@ for the work and provide preprint details using the \texttt{eprinttype}, \end{Verbatim} \end{bibexbox} +\begin{bibexbox}<RX>{cogley2020ccs} + Cogley, M., 2020. Corporate confidence slumps to record low. \emph{The Telegraph} [Online], 4 May. Available from: \url{https://www.telegraph.co.uk/business/2020/05/03/corporate-confidence-slumps-all-time-low/} [Accessed 5 May 2020]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@article{cogley2020ccs, + author = {Cogley, M.}, + date = {2020-05-04}, + title = {Corporate Confidence Slumps to Record Low}, + journal = {{The Telegraph}}, + url = {https://www.telegraph.co.uk/business/2020/05/03/corporate-confidence-slumps-all-time-low/}, + urldate = {2020-05-05}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + \subsection{Conference papers} \subsubsection*{Conference paper (when proceedings have a named editor)} \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. + 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> @@ -991,7 +1095,7 @@ for the work and provide preprint details using the \texttt{eprinttype}, \subsubsection*{Conference paper (when proceedings have no named editor or are part of a major series)} \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. + 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> @@ -1034,10 +1138,10 @@ for the work and provide preprint details using the \texttt{eprinttype}, \end{bibexbox} -\subsubsection*{Report} +\subsubsection*{Report, working paper, or research briefing} \begin{bibexbox}<RX>{unesco1993gip} - UNESCO, 1993. \emph{General information programme and UNISIST}\@. (PGI-93/WS/22). Paris:\@ UNESCO. + UNESCO, 1993. \emph{General information programme and UNISIST}. (PGI-93/WS/22). Paris: UNESCO. \tcblower \begin{Verbatim} %</driver> @@ -1055,7 +1159,7 @@ for the work and provide preprint details using the \texttt{eprinttype}, \end{bibexbox} \begin{bibexbox}<RX>{bre2007dqb} - BRE, 2007. \emph{Designing quality buildings:\@ a BRE guide}. (Report 497). Bracknell:\@ BRE. + BRE, 2007. \emph{Designing quality buildings: a BRE guide}. (Report 497). Bracknell: BRE. \tcblower \begin{Verbatim} %</driver> @@ -1073,12 +1177,36 @@ for the work and provide preprint details using the \texttt{eprinttype}, \end{Verbatim} \end{bibexbox} +\begin{bibexbox}<RX>{deneulin.dinerstein2010hms} + Deneulin, S. and Dinerstein, A.C., 2010. \emph{Hope movements: social movements in the pursuit of human development}. (Bath papers in international development and wellbeing, no.~8). Bath: University of Bath. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@report{deneulin.dinerstein2010hms, + author = {Deneulin, S. and Dinerstein, A. C.}, + year = {2010}, + title = {Hope Movements: Social Movements in the Pursuit of Human Development}, + address = {Bath}, + institution = {University of Bath}, + series = {Bath Papers in International Development and Wellbeing}, + number = {no.~8}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + +\begin{info}\item +The style inserts a comma between the \texttt{series} and \texttt{number} +fields, but does not insert one between \texttt{type} and \texttt{number}. +\end{info} + \subsubsection*{Standard} \begin{bibexbox}<RX>{bs5605:1990} BSI, 1990. \emph{BS 5605:1990 Recommendations for citing and referencing - published material.} London: BSI. + published material}. London: BSI. \tcblower \begin{Verbatim} %</driver> @@ -1096,7 +1224,7 @@ for the work and provide preprint details using the \texttt{eprinttype}, \begin{bibexbox}<RX>{astm.d1655} ASTM, 2019. \emph{ASTM D1655 - 19 Standard specification for aviation - turbine fuels.} West Conshohocken, Pa.: ASTM. + turbine fuels}. West Conshohocken, Pa.: ASTM. \tcblower \begin{Verbatim} %</driver> @@ -1141,7 +1269,7 @@ patent requests\slash applications. \subsubsection*{Unpublished written material and personal communications} \begin{bibexbox}<RX>{harris2013fgr} - Harris, G., 2013. \emph{Focus group recommendations:\@ internal task group + Harris, G., 2013. \emph{Focus group recommendations: internal task group report}. Unpublished. \tcblower \begin{Verbatim} @@ -1157,7 +1285,7 @@ patent requests\slash applications. \end{bibexbox} \begin{bibexbox}<RX>{hadley2015bir} - Hadley, S., 2015. \emph{Biomechanics:\@ introductory reading, BM289:\@ sport + Hadley, S., 2015. \emph{Biomechanics: introductory reading, BM289: sport biomechanics}. University of Bath. Unpublished. \tcblower \begin{Verbatim} @@ -1175,7 +1303,7 @@ patent requests\slash applications. \begin{bibexbox}<RX>{thomas2015wcr} Thomas, D., 2015. Word count and referencing style. \emph{Frequently - asked questions discussion board:\@ PHYS 2011:\@ housing studies.} + asked questions discussion board: PHYS 2011: housing studies}. University of Bath. Unpublished. \tcblower \begin{Verbatim} @@ -1198,7 +1326,7 @@ patent requests\slash applications. \subsubsection*{Image} \begin{bibexbox}<RI>{nasa2015nat} - 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]. + 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> @@ -1222,7 +1350,7 @@ record the source of the image. \end{tips} \begin{bibexbox}<RI>{iliff2006rcb} - 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]. + 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> @@ -1234,14 +1362,14 @@ record the source of the image. address = {San Francisco}, organization = {Wikimedia Foundation}, url = {https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg}, - urldate = {2015-01-07}} + urldate = {2016-01-07}} %</driver|bib> %<*driver> \end{Verbatim} \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> @@ -1273,7 +1401,7 @@ but the \texttt{organization} field if the location relates to the archive. \subsubsection*{Map} \begin{bibexbox}<RX>{andrews.dury1773wilts} - Andrews, J. and Dury, A., 1773. \emph{Map of Wiltshire}, 1 inch to 2 miles. Devizes:\@ Wiltshire Record Society. + Andrews, J. and Dury, A., 1773. \emph{Map of Wiltshire}, 1 inch to 2 miles. Devizes: Wiltshire Record Society. \tcblower \begin{Verbatim} %</driver> @@ -1304,7 +1432,7 @@ The \texttt{book} entry type would also work for this reference. author = {{Ordnance Survey}}, year = {2020}, title = {Street view map of {University of Bath}}, - series = {1:5000, OS VectorMap® Local}, + series = {1:5000, {OS VectorMap® Local}}, url = {https://digimap.edina.ac.uk/roam/map/os}, urldate = {2020-04-30}} %</driver|bib> @@ -1322,7 +1450,7 @@ The \texttt{book} entry type would also work for this reference. author = {{Google}}, year = {2020}, title = {{Harbourside, Bristol}}, - series = {Google Maps}, + series = {{Google Maps}}, url = {https://www.google.co.uk/maps/place/Harbourside,+Bristol/}, urldate = {2020-04-30}} %</driver|bib> @@ -1334,7 +1462,7 @@ The \texttt{book} entry type would also work for this reference. \subsubsection*{Film, video or DVD} \begin{bibexbox}<RX>{macbeth1948} - \emph{Macbeth}, 1948. Film.\@ Directed by Orson Welles. USA:\@ Republic Pictures. + \emph{Macbeth}, 1948. Film. Directed by Orson Welles. USA: Republic Pictures. \tcblower \begin{Verbatim} %</driver> @@ -1369,45 +1497,48 @@ In the above entry, the following would also work instead of using \texttt{note} You can also use \texttt{movie} as an alias for \texttt{video}. \end{info} - -\subsubsection*{Streamed video (YouTube, TED Talks, etc.)} - -\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]. +\begin{bibexbox}<RX>{elephant-man1980} + \emph{The elephant man} [Online], 1980. Film. Directed by David Lynch. USA: Brooksfilms. Available from: BBC iPlayer [Accessed 4 May 2021]. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@video{moran2016sol, - author = {Moran, C.}, - year = {2016}, - title = {Save Our Libraries}, - url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, - urldate = {2016-04-29}} +@video{elephant-man1980, + year = {1980}, + title = {The elephant man}, + type = {Film}, + note = {Directed by David Lynch}, + address = {USA}, + publisher = {Brooksfilms}, + library = {BBC iPlayer}, + urldate = {2021-05-04}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\begin{bibexbox}<RI>{uob2015wie} - University of Bath, 2015. \emph{What is engineering?} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=NoyZarq-Zbo} [Accessed 12 January 2016]. + +\subsubsection*{Online video\slash audio} + +\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> %<*driver|bib> -@video{uob2015wie, - author = {{University of Bath}}, - year = {2015}, - title = {What is Engineering?}, - url = {https://www.youtube.com/watch?v=NoyZarq-Zbo}, - urldate = {2016-01-12}} +@video{moran2016sol, + author = {Moran, C.}, + year = {2016}, + title = {Save Our Libraries}, + url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, + urldate = {2016-04-29}} %</driver|bib> %<*driver> \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]. +\begin{bibexbox}<RX>{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> @@ -1426,8 +1557,33 @@ You can also use \texttt{movie} as an alias for \texttt{video}. \subsubsection*{Television or radio broadcast} +\begin{tips}\item +Use \texttt{type} for the medium and \texttt{publisher} for the channel. +\item +If the episode has an individual title, use \texttt{series} for the series and \texttt{number} for the episode number. +Otherwise, give both series and episode number as the \texttt{title}. +\end{tips} + +\begin{bibexbox}<RX>{inn2021huw} + Hurry up and wait, 2021. \emph{Inside no.9}, \emph{Episode 6:4}. TV. BBC2, 31 May. 21.30 hrs. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@video{inn2021huw, + date = {2021-05-31T21:30:00}, + title = {Hurry up and wait}, + series = {Inside No.9}, + number = {{Episode} 6:4}, + type = {TV}, + publisher = {BBC2}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + \begin{bibexbox}<RX>{rsfo2006ep5} - \emph{Rick Stein's French odyssey:\@ Episode 5}, 2006. TV. BBC2, 23 August. 20.30 hrs. + Rick Stein's French odyssey: Episode 5, 2006. TV. BBC2, 23 August. 20.30 hrs. \tcblower \begin{Verbatim} %</driver> @@ -1443,12 +1599,8 @@ You can also use \texttt{movie} as an alias for \texttt{video}. \end{Verbatim} \end{bibexbox} -\begin{tips}\item -Use \texttt{type} for the medium and \texttt{publisher} for the channel. -\end{tips} - \begin{bibexbox}<RX>{archers20060823} - \emph{The Archers}, 2006. Radio. BBC Radio 4, 23 August. 19.02 hrs. + The Archers, 2006. Radio. BBC Radio 4, 23 August. 19.02 hrs. \tcblower \begin{Verbatim} %</driver> @@ -1467,11 +1619,30 @@ Use \texttt{type} for the medium and \texttt{publisher} for the channel. You can also use \texttt{music} as an alias for \texttt{audio}. \end{info} +\begin{bibexbox}<RX>{tkmmm2020ts} + The secret, 2020. \emph{Tiger king: murder, mayhem and madness}, \emph{Episode 3} [Online]. TV. Available from: Netflix [Accessed 4 May 2021]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@video{tkmmm2020ts, + year = {2020}, + title = {The Secret}, + series = {Tiger King: Murder, Mayhem and Madness}, + number = {{Episode} 3}, + type = {TV}, + library = {Netflix}, + urldate = {2021-05-04}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + \subsubsection*{Music score} \begin{bibexbox}<RX>{beethoven1950symph1} - Beethoven, L. van, 1950. \emph{Symphony no.1 in C, Op.21}. Harmondsworth:\@ Penguin. + Beethoven, L. van, 1950. \emph{Symphony no.1 in C, Op.21}. Harmondsworth: Penguin. \tcblower \begin{Verbatim} %</driver> @@ -1490,32 +1661,105 @@ You can also use \texttt{music} as an alias for \texttt{audio}. \subsection{Digital media} -\subsubsection*{Website\slash webpage} +\subsubsection*{Website or webpage} + +\begin{bibexbox}<RX>{who2018ttc} + World Health Organization, 2018. \emph{The top 10 causes of death} [Online]. Geneva: World Health Organization. Available from: \url{https://www.who.int/news-room/fact-sheets/detail/the-top-10-causes-of-death} [Accessed 29 June 2020]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@online{who2018ttc, + author = {{World Health Organization}}, + year = {2018}, + title = {The Top 10 Causes of Death}, + address = {Geneva}, + organization = {World Health Organization}, + url = {https://www.who.int/news-room/fact-sheets/detail/the-top-10-causes-of-death}, + urldate = {2020-06-29}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + +\begin{bibexbox}<RX>{manco2013va} + Manco, J., 2013. \emph{Vernacular architecture} [Online]. Available from: \url{https://www.buildinghistory.org/style/vernacular.shtml} [Accessed 20 February 2020]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@online{manco2013va, + author = {Manco, J.}, + year = {2013}, + title = {Vernacular Architecture}, + url = {https://www.buildinghistory.org/style/vernacular.shtml}, + urldate = {2020-02-20}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + -\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]. +\subsubsection*{Social media} + +\begin{bibexbox}<RX>{gaiman2021fbp} + Gaiman, N., 2021. \emph{Facebook post} [Online], 21 April. Available from: \url{https://www.facebook.com/neilgaiman/posts/305187897642814} [Accessed 13 May 2021]. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@online{holland2002gci, - author = {Holland, M.}, - year = {2002}, - title = {Guide to Citing Internet Sources}, - address = {Poole}, - organization = {Bournemouth University}, - url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html}, - urldate = {2002-11-04}} +@online{gaiman2021fbp, + author = {Gaiman, N.}, + date = {2021-04-21}, + title = {Facebook post}, + url = {https://www.facebook.com/neilgaiman/posts/305187897642814}, + urldate = {2021-05-13}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} +\begin{bibexbox}<RX>{ublib2021tp} + Library at University of Bath [@bathunilibrary], 2021. \emph{Twitter post} [Online], 10 May. Available from: \url{https://twitter.com/BathUniLibrary/status/1391774402618998795?s=20} [Accessed 12 May 2021]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@online{ublib2021tp, + author = {{Library at University of Bath}}, + nameaddon = {@bathunilibrary}, + date = {2021-05-10}, + title = {Twitter post}, + url = {https://twitter.com/BathUniLibrary/status/1391774402618998795?s=20}, + urldate = {2021-05-12}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} + +\begin{bibexbox}<RX>{ublib2021ip} + University of Bath Library [@unibathlib], 2021. \emph{Instagram post} [Online], 15 March. Available from: \url{https://www.instagram.com/p/CMb5GHjFv9A/?utm_source=ig_web_copy_link} [Accessed 7 May 2021]. + \tcblower +\begin{Verbatim} +%</driver> +%<*driver|bib> +@online{ublib2021ip, + author = {{University of Bath Library}}, + nameaddon = {@unibathlib}, + date = {2021-03-15}, + title = {Instagram post}, + url = {https://www.instagram.com/p/CMb5GHjFv9A/?utm_source=ig_web_copy_link}, + urldate = {2021-05-07}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\end{bibexbox} -\subsubsection*{Email discussion lists (jiscmail\slash listserv etc.)} + +\subsubsection*{Email discussion list} \begin{bibexbox}<RX>{clark2004euk} - Clark, T., 5 July 2004. A European UK Libraries Plus? \emph{Lis-link} [Online]. Available from:\@ \url{lis-link@jiscmail.ac.uk} [Accessed 30 July 2004]. + Clark, T., 5 July 2004. A European UK Libraries Plus? \emph{Lis-link} [Online]. Available from: \url{lis-link@jiscmail.ac.uk} [Accessed 30 July 2004]. \tcblower \begin{Verbatim} %</driver> @@ -1541,7 +1785,7 @@ Use the \texttt{journal} field to specify the mailing list. If you omit the \subsubsection*{Database} \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]. + 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} %</driver> @@ -1569,7 +1813,7 @@ and the \texttt{library} field for the name of the database itself. \subsubsection*{Dataset} \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]. + 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} %</driver> @@ -1592,7 +1836,7 @@ and the \texttt{library} field for the name of the database itself. \subsubsection*{Computer program} \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]. + @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> @@ -1615,7 +1859,7 @@ and the \texttt{library} field for the name of the database itself. \subsubsection*{Work in translation} \begin{bibexbox}<RX>{aristotle2007ne} - Aristotle, 2007. \emph{Nicomachean ethics} (W.D. Ross, Trans.). South Dakota:\@ NuVisions. + Aristotle, 2007. \emph{Nicomachean ethics} (W.D. Ross, Trans.). South Dakota: NuVisions. \tcblower \begin{Verbatim} %</driver> @@ -1636,7 +1880,7 @@ and the \texttt{library} field for the name of the database itself. \subsubsection*{Work in the Roman alphabet} \begin{bibexbox}<RX>{esquivel2003cap} - Esquivel, L., 2003. \emph{Como agua para chocolate} [Like water for chocolate]. Barcelona:\@ Debolsillo. + Esquivel, L., 2003. \emph{Como agua para chocolate} [Like water for chocolate]. Barcelona: Debolsillo. \tcblower \begin{Verbatim} %</driver> @@ -1680,7 +1924,7 @@ Use the \texttt{titleaddon} field to supply the English translation of the title \subsubsection*{Work in a non-Roman alphabet} \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. + 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. \tcblower \begin{Verbatim} %</driver> @@ -1769,66 +2013,97 @@ faithful to the original orthography), you can specify this using \end{bibexbox} -\subsection{Legal references: UK legislation and parliamentary reports} +\subsection{Legal or government document: UK parliamentary reports\slash legislation} -% UK Primary Legislation +% Parliamentary reports -\subsubsection*{Act of Parliament (UK Statutes) before 1963} +\subsubsection*{House of Commons paper} -\begin{bibexbox}<RX>{gb.wa1735} - \emph{Witchcraft Act 1735} (9 Geo.2, c.5). +\begin{tips}\item +Use this form for reports of House of Commons select committees. +\end{tips} + +\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> %<*driver|bib> -@legislation{gb.wa1735, - title = {Witchcraft {Act}}, - year = {1735}, - series = {9 Geo.2}, - chapter = {5}} +@report{gb.hc2003/04-30, + author = {{Great Britain. Parliament. House of Commons}}, + year = {2004}, + title = {National {Savings} Investment Deposits}, + subtitle = {Account 2002--2003}, + address = {London}, + publisher = {National Audit Office}, + series = {{HC} 2003/04}, + number = {30}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\begin{info}\item -You could instead combine the series and chapter in the \texttt{number} field: -\begin{tcolorbox}% - [ colframe = Slate - , colback = white - , fontupper = \footnotesize - ] +\subsubsection*{House of Lords paper} + +\begin{tips}\item +Use this form for reports of House of Lords select committees. +\end{tips} + +\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} - number = {9 Geo.2, c.5} +%</driver> +%<*driver|bib> +@report{gb.hl1986/87-66, + author = {{Great Britain. Parliament. House of Lords}}, + year = {1987}, + title = {Social Fund (Maternity and Funeral Expenses) Bill}, + address = {London}, + publisher = {HMSO}, + series = {{HL} 1986/87}, + number = {66}} +%</driver|bib> +%<*driver> \end{Verbatim} -\end{tcolorbox} -\end{info} +\end{bibexbox} -\subsubsection*{Act of Parliament (UK Statutes) 1963 onwards} +\begin{hacks}\item +For joint committees, you will have to hack this slightly, putting the session +years in \texttt{series} and the HL and HC numbers in \texttt{number}. +\end{hacks} -\begin{bibexbox}<RX>{gb.pa2014} - \emph{Pensions Act 2014}, c.19. London:\@ TSO. + +\subsubsection*{Command paper} + +\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> %<*driver|bib> -@legislation{gb.pa2014, - title = {Pensions {Act}}, - year = {2014}, - chapter = {19}, +@report{gb.cm6041, + author = {{Great Britain. Ministry of Defence}}, + year = {2004}, + title = {Delivering Security in a Changing World}, + subtitle = {Defence White Paper}, address = {London}, - publisher = {TSO}} + publisher = {TSO}, + series = {Cm}, + number = {6041}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\subsubsection*{House of Commons/House of Lords bill} +% UK Primary Legislation + +\subsubsection*{House of Commons\slash House of Lords bill} \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. + Great Britain. Parliament. House of Commons, 1988. \emph{Local government finance bill}. (Bills | 1987/88, 66). London: HMSO. \tcblower \begin{Verbatim} %</driver> @@ -1847,119 +2122,112 @@ You could instead combine the series and chapter in the \texttt{number} field: \end{bibexbox} -% UK secondary legislation - -\subsubsection*{Statutory instrument} +\subsubsection*{Act of Parliament (UK Statutes) before 1963} -\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]. +\begin{bibexbox}<RX>{gb.wa1735} + \emph{Witchcraft Act} \emph{1735} (9 Geo.2, c.5). \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@legislation{gb.hmr2012, - entrysubtype = {secondary}, - title = {The {Human} {Medicines} {Regulations}}, - year = {2012}, - number = {No.1916}, - address = {United Kingdom}, - publisher = {HMSO}, - url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, - urldate = {2016-04-17}} +@legislation{gb.wa1735, + title = {Witchcraft {Act}}, + year = {1735}, + series = {9 Geo.2}, + chapter = {5}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\begin{tips}\item -Use the \texttt{entrysubtype} `secondary' to put the number in the right place. -\end{tips} +\begin{info}\item +You could instead combine the series and chapter in the \texttt{number} field: -% Parliamentary reports +\begin{tcolorbox}% + [ colframe = Slate + , colback = white + , fontupper = \footnotesize + ] +\begin{Verbatim} + number = {9 Geo.2, c.5} +\end{Verbatim} +\end{tcolorbox} +\end{info} -\subsubsection*{House of Commons paper} -\begin{tips}\item -Use this form for reports of House of Commons select committees. -\end{tips} +\subsubsection*{Act of Parliament (UK Statutes) 1963 onwards} -\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. +\begin{bibexbox}<RX>{gb.pa2014} + \emph{Pensions Act} \emph{2014}, c.19. London: TSO. \tcblower \begin{Verbatim} %</driver> %<*driver|bib> -@report{gb.hc2003/04-30, - author = {{Great Britain. Parliament. House of Commons}}, - year = {2004}, - title = {National {Savings} Investment Deposits}, - subtitle = {Account 2002--2003}, +@legislation{gb.pa2014, + title = {Pensions {Act}}, + year = {2014}, + chapter = {19}, address = {London}, - publisher = {National Audit Office}, - series = {HC 2003/04}, - number = {30}} + publisher = {TSO}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\subsubsection*{House of Lords paper} +% UK secondary legislation -\begin{tips}\item -Use this form for reports of House of Lords select committees. -\end{tips} +\subsubsection*{Statutory instrument} -\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. +\begin{bibexbox}<RX>{gb.hmr2012} + \emph{The Human Medicines Regulations} \emph{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} %</driver> %<*driver|bib> -@report{gb.hl1986/87-66, - author = {{Great Britain. Parliament. House of Lords}}, - year = {1987}, - title = {Social Fund (Maternity and Funeral Expenses) Bill}, - address = {London}, +@legislation{gb.hmr2012, + entrysubtype = {secondary}, + title = {The {Human} {Medicines} {Regulations}}, + year = {2012}, + number = {No.1916}, + address = {United Kingdom}, publisher = {HMSO}, - series = {HL 1986/87}, - number = {66}} + url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, + urldate = {2016-04-17}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\begin{hacks}\item -For joint committees, you will have to hack this slightly, putting the session -years in \texttt{series} and the HL and HC numbers in \texttt{number}. -\end{hacks} +\begin{tips}\item +Use the \texttt{entrysubtype} `secondary' to put the number in the right place. +\end{tips} -\subsubsection*{Command paper} +\subsection{Legal or government document: EU reports\slash legislation} -\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. +% European reports + +\subsubsection*{EU publication} + +\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} %</driver> %<*driver|bib> -@report{gb.cm6041, - author = {{Great Britain. Ministry of Defence}}, - year = {2004}, - title = {Delivering Security in a Changing World}, - subtitle = {Defence White Paper}, - address = {London}, - publisher = {TSO}, - series = {Cm}, - number = {6041}} +@report{ec2015gra, + author = {{European Commission}}, + year = {2015}, + title = {General Report on the Activities of the {European} {Union} 2014}, + address = {Luxembourg}, + publisher = {Publications Office of the European Union}} %</driver|bib> %<*driver> \end{Verbatim} \end{bibexbox} -\subsection{Legal references: EU legislation and reports} - % European legislation \subsubsection*{EU regulation or directive, decision, recommendation or opinion} @@ -1989,29 +2257,7 @@ The \texttt{shorttitle} will be used in citations instead of the full title. \end{info} -% European reports - -\subsubsection*{EU publication} - -\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} -%</driver> -%<*driver|bib> -@report{ec2015gra, - author = {{European Commission}}, - year = {2015}, - title = {General Report on the Activities of the {European} {Union} 2014}, - address = {Luxembourg}, - publisher = {Publications Office of the European Union}} -%</driver|bib> -%<*driver> -\end{Verbatim} -\end{bibexbox} - - -\subsection{Legal references: case reports} +\subsection{Legal or government document: case reports} \subsubsection*{Legal case study} @@ -2045,9 +2291,9 @@ By default, the style assumes the year is essential if and only if a volume numb , colback = white , fontupper = \footnotesize ] - \begin{Verbatim} +\begin{Verbatim} options = {year-essential=true}, - \end{Verbatim} +\end{Verbatim} \end{tcolorbox} To use Scottish style for a case, you can either use the \key{scottish-style} option or @@ -2058,10 +2304,10 @@ the keyword \texttt{sc}: , colback = white , fontupper = \footnotesize ] - \begin{Verbatim} +\begin{Verbatim} options = {scottish-style}, keywords = {sc}, - \end{Verbatim} +\end{Verbatim} \end{tcolorbox} \end{tips} @@ -2069,7 +2315,7 @@ the keyword \texttt{sc}: This should cover most cases, but legal references tend to enforce their own conventions no matter what the rest of the reference list is doing, and it is out of scope for this style to cater for every variation. -Therefore if you need a different format (e.g.\@ for an American case), +Therefore if you need a different format (e.g.~for an American case), you may prefer to format the reference more-or-less by hand: \begin{tcolorbox}% @@ -2077,14 +2323,15 @@ you may prefer to format the reference more-or-less by hand: , colback = white , fontupper = \footnotesize ] - \begin{Verbatim} +\begin{Verbatim} title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}}, sortyear = {2012}, note = {[2012]. UKSC 16} - \end{Verbatim} +\end{Verbatim} \end{tcolorbox} \end{hacks} + \subsubsection*{Judgment of the European Court of Justice} \begin{bibexbox}<RX>{srl.etal-v-comm2005} @@ -2094,7 +2341,7 @@ you may prefer to format the reference more-or-less by hand: %</driver> %<*driver|bib> @jurisdiction{srl.etal-v-comm2005, - title = {Alessandrini {Srl} and others v.\@ {Commission}}, + title = {Alessandrini {Srl} and others v. {Commission}}, number = {C-295/03 P}, year = {2005}, journal = {ECR}, @@ -2125,7 +2372,7 @@ Commission case number, \texttt{number} for the formal decision number, and give %<readme>## Licence %<readme> %<*driver|readme> -Copyright 2016-2021 University of Bath. +Copyright 2016-2022 University of Bath. This work consists of the documented LaTeX file biblatex-bath.dtx and a Makefile. @@ -2238,6 +2485,7 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % We allow the bibliography look more like the Bib\TeX\ default. % % \begin{macrocode} +\setlength{\bibhang}{0pt} \setlength{\bibitemsep}{1em plus 0.2em minus 0.2em} \renewcommand*{\bibfont}{\normalfont\normalsize} % \end{macrocode} @@ -2263,6 +2511,28 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. (test {\iffieldequalstr{labeldatesource}{}} or test {\iffieldequalstr{labeldatesource}{year}})}}% } +% \end{macrocode} +% +% This makes \textsf{biblatex} take notice of parentheses, brackets +% and angle brackets when deciding whether to suppress double punctuation. +% +% \begin{macrocode} +\def\blx@setsfcodes{% + \let\blx@setsfcodes\relax + \let\frenchspacing\blx@setfrcodes + \let\nonfrenchspacing\blx@setencodes + \ifnum\sfcode`\.>2000 + \blx@setencodes + \else + \blx@setfrcodes + \fi + \@setquotesfcodes + \sfcode`\(=\@m + \sfcode`\)=\@m + \sfcode`\[=\@m + \sfcode`\]=\@m + \sfcode`\<=\@m + \sfcode`\>=\@m} % \end{macrocode} % @@ -2386,6 +2656,38 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % \end{macrocode} % +% We support the |nameaddon| field. +% +% \begin{macrocode} +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}} +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\usebibmacro{bbx:savehash}% + \printnames{author}% + \iffieldundef{nameaddon} + {} + {\setunit{\addspace}% + \printfield{nameaddon}}% + \iffieldundef{authortype} + {\setunit{\printdelim{nameyeardelim}}} + {\setunit{\printdelim{authortypedelim}}}}% + \iffieldundef{authortype} + {} + {\usebibmacro{authorstrg}% + \setunit{\printdelim{nameyeardelim}}}}% + {\global\undef\bbx@lasthash + \usebibmacro{labeltitle}% + \setunit*{\printdelim{nonameyeardelim}}}% + \usebibmacro{date+extradate}% + \usebibmacro{labeltitleaddon}} +% \end{macrocode} +% % With videos, names in credits are printed in full. % % \begin{macrocode} @@ -2512,9 +2814,6 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. [article,inbook,incollection,inproceedings]% {title}{#1} \DeclareFieldFormat - [patent,thesis]% - {title}{\mkbibemph{#1}} -\DeclareFieldFormat [reference,mvreference]% {title}{\ifnameundef{author}{#1}{\mkbibemph{#1}}} \DeclareFieldFormat @@ -2524,6 +2823,16 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. [inreference]% {booktitle}{\ifnameundef{author}{#1}{\mkbibemph{#1}}} \DeclareFieldFormat + [patent,thesis]% + {title}{\mkbibemph{#1}} +\DeclareFieldFormat + [audio,video,music,video]% + {title}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat [unpublished]% {title}{\iffieldundef{booktitle}{\mkbibemph{#1}}{#1}} @@ -2541,6 +2850,8 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. and test {\iffieldundef{url}} and + test {\iffieldundef{urlyear}} + and not test {\ifentrytype{online}} ) or togl {bbx:onlineshown} @@ -2591,24 +2902,29 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. test {\iffieldundef{journaltitle}} and test {\iffieldundef{booktitle}} - and - test {\iffieldundef{library}} - and - not test {\ifentrytype{software}} and ( - test {\iffieldundef{type}} + test {\iffieldundef{library}} + or + test {\ifentrytype{image}} or - test {\nottoggle{bbx:labelistitle}} + test {\ifentrytype{audio}} or + test {\ifentrytype{video}} + or + test {\ifentrytype{music}} + or + test {\ifentrytype{movie}} + ) and + not test {\ifentrytype{software}} + and ( not ( - test {\ifentrytype{audio}} - or - test {\ifentrytype{video}} + test {\iffieldequalstr{type}{TV}} or - test {\ifentrytype{music}} - or - test {\ifentrytype{movie}} - )) + test {\iffieldequalstr{type}{Radio}} + ) + or + test {\iffieldundef{series}} + ) }{% \setunit*{\addspace}% \usebibmacro{isonline}% @@ -2700,6 +3016,41 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \printfield[midsentencecase]{subtitle}}% \clearfield{title}\clearfield{subtitle}% \toggletrue{bbx:labelistitle}}% + \ifboolexpr{ + test {\iffieldundef{journaltitle}} + and + test {\iffieldundef{booktitle}} + and ( + test {\iffieldundef{library}} + or + test {\ifentrytype{image}} + or + test {\ifentrytype{audio}} + or + test {\ifentrytype{video}} + or + test {\ifentrytype{music}} + or + test {\ifentrytype{movie}} + ) and + not test {\ifentrytype{software}} + and + not test {\ifentrytype{legislation}} + and + not test {\ifentrytype{jurisdiction}} + and ( + not ( + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + ) + or + test {\iffieldundef{series}} + ) + }{% + \setunit*{\addspace}% + \usebibmacro{isonline}% + }{}% }% }{% \printfield{label}% @@ -2714,35 +3065,21 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \setunit*{\addspace}% \printfield{titleaddon}% \clearfield{titleaddon}% - \ifboolexpr{ + \ifboolexpr{( + test {\ifentrytype{legislation}} + or + test {\ifentrytype{jurisdiction}} + ) + and test {\iffieldundef{journaltitle}} and test {\iffieldundef{booktitle}} - and ( - test {\iffieldundef{library}} - or - test {\ifentrytype{image}} - ) and - not test {\ifentrytype{software}} - and ( - test {\iffieldundef{type}} - or - not ( - test {\ifentrytype{audio}} - or - test {\ifentrytype{video}} - or - test {\ifentrytype{music}} - or - test {\ifentrytype{movie}} - )) }{% \setunit*{\addspace}% \usebibmacro{isonline}% }{}% }{}% } -\xapptobibmacro{author}{\usebibmacro{labeltitleaddon}}{}{} \xapptobibmacro{bbx:editor}{\usebibmacro{labeltitleaddon}}{}{} \xapptobibmacro{bbx:translator}{\usebibmacro{labeltitleaddon}}{}{} @@ -3066,26 +3403,26 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % \begin{macrocode} \newrobustcmd*{\mknoyeardaterangefull}[2]{% \iffieldundef{#2month}{}{% - \datecircaprint - \printtext[#2date]{% - \iffieldundef{#2season}{% - \csuse{mkbibdate#1}{}{#2month}{#2day}% - \blx@printtime{#2}{}% - }{% - \csuse{mkbibseasondate#1}{}{#2season}}% - \dateuncertainprint - \iffieldundef{#2endmonth}{}{% - \iffieldequalstr{#2endmonth}{}{% - \mbox{\bibdaterangesep}% + \printtext[{#2date}]{% + \datecircaprint + \iffieldundef{#2yeardivision}{% + \csuse{mkbibdate#1}{}{#2month}{#2day}% + \blx@printtime{#2}{}% }{% - \bibdaterangesep - \enddatecircaprint - \iffieldundef{#2season}{% - \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% - \blx@printtime{#2}{end}% + \csuse{mkbibyeardivisiondate#1}{}{#2yeardivision}}% + \dateuncertainprint + \iffieldundef{#2endmonth}{}{% + \iffieldequalstr{#2endmonth}{}{% + \mbox{\bibdaterangesep}% }{% - \csuse{mkbibseasondate#1}{}{#2endseason}}% - \enddateuncertainprint}}}}} + \bibdaterangesep + \enddatecircaprint + \iffieldundef{#2yeardivision}{% + \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% + \blx@printtime{#2}{end}% + }{% + \csuse{mkbibyeardivisiondate#1}{}{#2endyeardivision}}% + \enddateuncertainprint}}}}} % \end{macrocode} % % There is a potential problem for |\mknoyeardaterangetrunc|, in that if @@ -3097,11 +3434,11 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % \begin{macrocode} \newrobustcmd*{\mknoyeardaterangetrunc}[2]{% \iffieldundef{#2month}{}{% - \datecircaprint - \printtext[#2date]{% - \iffieldundef{#2season}{% + \printtext[{#2date}]{% + \datecircaprint + \iffieldundef{#2yeardivision}{% \ifboolexpr{ - test {\iffieldsequal{labelyear}{labelendyear}} + test {\ifdateyearsequal{label}{labelend}} and test {\iffieldsequal{#2month}{#2endmonth}} }{% @@ -3109,7 +3446,7 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. }{% \csuse{mkbibdate#1}{}{#2month}{#2day}}% }{% - \csuse{mkbibseasondate#1}{}{#2season}}% + \csuse{mkbibyeardivisiondate#1}{}{#2yeardivision}}% \dateuncertainprint \iffieldundef{#2endmonth}{}{% \iffieldequalstr{#2endmonth}{}{% @@ -3117,10 +3454,10 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. }{% \bibdaterangesep \enddatecircaprint - \iffieldundef{#2season}{% + \iffieldundef{#2yeardivision}{% \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% }{% - \csuse{mkbibseasondate#1}{}{#2endseason}}% + \csuse{mkbibyeardivisiondate#1}{}{#2endyeardivision}}% \enddateuncertainprint}}}}} % \end{macrocode} % @@ -3242,6 +3579,27 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % % \begin{macrocode} \DeclareFieldFormat{type}{\ifbibstring{#1}{\biblstring{#1}}{#1}} +\DeclareFieldFormat{series}{\MakeSentenceCase*{#1}} +\DeclareFieldFormat + [audio,video,music,video]% + {series}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{\mkbibemph{\MakeSentenceCase*{#1}}}{\MakeSentenceCase*{#1}}} +\DeclareFieldFormat + [audio,video,music,video]% + {number}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{\mkbibemph{#1}}{#1}} +\DeclareFieldFormat[legislation,jurisdiction]{series}{#1} +\renewbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\addcomma\space}% + \printfield{number}% + \newunit} % \end{macrocode} % % \subsection{Events} @@ -3281,10 +3639,24 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \printlist{institution}% \newunit \usebibmacro{publisher+location+date}}} -\letbibmacro{plain:organization+location+date}{organization+location+date} +% \end{macrocode} +% +% As an additional hack for social media entries where the date is preceded by a +% comma, we tweak the punctuation logic for \texttt{organization+location+date}. +% +% \begin{macrocode} \renewbibmacro*{organization+location+date}{% \iflistundef{publisher}{% - \usebibmacro{plain:organization+location+date}% + \printlist{location}% + \iflistundef{organization} + {\setunit*{\addcomma\space}} + {\setunit*{\addcolon\space}}% + \printlist{organization}% + \iflistundef{location} + {\setunit{\addcomma\space}}% + {\setunit*{\addcomma\space}}% + \usebibmacro{date}% + \newunit }{% \printlist{organization}% \newunit @@ -3298,7 +3670,7 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \DeclareFieldFormat{library}{\mkbibemph{#1}} \newbibmacro*{library}{% \iffieldundef{library}{}{% - \printfield{library}% + \printfield{library}\clearfield{library}% \setunit*{\addspace}% \usebibmacro{isonline}% }% @@ -3321,18 +3693,25 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % \begin{macrocode} \DeclareFieldFormat{url}{\bibsentence\bibstring{urlfrom}\addcolon\space\url{#1}} \DeclareFieldFormat{doi}{\bibsentence\bibstring{urlfrom}\addcolon\space\url{https://doi.org/#1}} +\DeclareFieldFormat{pseudourl}{\bibsentence\bibstring{urlfrom}\addcolon\space#1} \DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\space#1}} % \end{macrocode} % % Since URLs and DOIs are presented in exactly the same way, we combine them -% such that the DOI overrides the URL. +% such that the DOI overrides the URL. We also allow the \texttt{library} field +% to be used as a fallback URL. % % \begin{macrocode} \renewbibmacro*{url}{% - \iffieldundef{doi}% - {\printfield{url}}% - {\printfield{doi}}% -} + \iffieldundef{doi}{% + \ifboolexpr{ + test {\iffieldundef{url}} + and not + test {\iffieldundef{urlyear}} + }{\printfield[pseudourl]{library}}{\printfield{url}}% + }{% + \printfield{doi}% + }} \renewbibmacro*{doi+eprint+url}{% \iftoggle{bbx:eprint} {\usebibmacro{eprint}} @@ -3651,7 +4030,7 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \setunit*{\addcomma\space}}% \printfield{type}% \setunit*{\addspace}% - \IfBeginWith{\thefield{series}}{HL}{% + \IfBeginWith{\thefield{series}}{{HL}}{% \printfield[forceparens]{number}% }{% \printfield{number}% @@ -3774,25 +4153,25 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. % The \texttt{audio} and \texttt{video} drivers are based on \texttt{misc}. % % \begin{macrocode} -\newbibmacro*{type+online}{% - \printfield{type}% - \ifboolexpr{ - test {\iffieldundef{type}} - or - test {\nottoggle{bbx:labelistitle}} - }{}{% - \setunit{\addspace}% - \usebibmacro{isonline}}} \DeclareBibliographyDriver{audio}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/editor+others/translator+others}% \setunit{\printdelim{nametitledelim}}\newblock \usebibmacro{title}% + \newunit\newblock + \usebibmacro{series+number}% + \ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{% + \setunit{\addspace}% + \usebibmacro{isonline}}{}% \newunit \printlist{language}% \newunit\newblock - \usebibmacro{type+online}% + \printfield{type}% \newunit\newblock \usebibmacro{byauthor}[given-family:full]% \newunit\newblock @@ -4297,7 +4676,7 @@ This work is `maintained' (as per LPPL maintenance status) by [Alex Ball][me]. \setunit{\addcolon\space}% \printlist{location}% \setunit*{\addperiod\space}% - \printfield{library}% + \printfield{library}\clearfield{library}% }% } diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx b/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx index 55010a018fa..306194a259c 100644 --- a/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-bath/bath.bbx @@ -13,7 +13,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{bath.bbx} [\Version\space Biblography style as recommended by the University of Bath Library] @@ -39,6 +39,7 @@ directors, performers, readers, conductors, bydirector, byperformer, byreader, byconductor, } +\setlength{\bibhang}{0pt} \setlength{\bibitemsep}{1em plus 0.2em minus 0.2em} \renewcommand*{\bibfont}{\normalfont\normalsize} \ifcsdef{letbibmacro}{}{% @@ -58,6 +59,22 @@ (test {\iffieldequalstr{labeldatesource}{}} or test {\iffieldequalstr{labeldatesource}{year}})}}% } +\def\blx@setsfcodes{% + \let\blx@setsfcodes\relax + \let\frenchspacing\blx@setfrcodes + \let\nonfrenchspacing\blx@setencodes + \ifnum\sfcode`\.>2000 + \blx@setencodes + \else + \blx@setfrcodes + \fi + \@setquotesfcodes + \sfcode`\(=\@m + \sfcode`\)=\@m + \sfcode`\[=\@m + \sfcode`\]=\@m + \sfcode`\<=\@m + \sfcode`\>=\@m} \DeclareNameAlias{author}{family-given} \DeclareNameAlias{editor}{family-given} @@ -162,6 +179,33 @@ \usebibmacro{name:andothers}% } +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}} +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\usebibmacro{bbx:savehash}% + \printnames{author}% + \iffieldundef{nameaddon} + {} + {\setunit{\addspace}% + \printfield{nameaddon}}% + \iffieldundef{authortype} + {\setunit{\printdelim{nameyeardelim}}} + {\setunit{\printdelim{authortypedelim}}}}% + \iffieldundef{authortype} + {} + {\usebibmacro{authorstrg}% + \setunit{\printdelim{nameyeardelim}}}}% + {\global\undef\bbx@lasthash + \usebibmacro{labeltitle}% + \setunit*{\printdelim{nonameyeardelim}}}% + \usebibmacro{date+extradate}% + \usebibmacro{labeltitleaddon}} \DeclareNameFormat{given-family:full}{% \usebibmacro{name:given-family} {\namepartfamily} @@ -272,9 +316,6 @@ [article,inbook,incollection,inproceedings]% {title}{#1} \DeclareFieldFormat - [patent,thesis]% - {title}{\mkbibemph{#1}} -\DeclareFieldFormat [reference,mvreference]% {title}{\ifnameundef{author}{#1}{\mkbibemph{#1}}} \DeclareFieldFormat @@ -284,6 +325,16 @@ [inreference]% {booktitle}{\ifnameundef{author}{#1}{\mkbibemph{#1}}} \DeclareFieldFormat + [patent,thesis]% + {title}{\mkbibemph{#1}} +\DeclareFieldFormat + [audio,video,music,video]% + {title}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat [unpublished]% {title}{\iffieldundef{booktitle}{\mkbibemph{#1}}{#1}} @@ -294,6 +345,8 @@ and test {\iffieldundef{url}} and + test {\iffieldundef{urlyear}} + and not test {\ifentrytype{online}} ) or togl {bbx:onlineshown} @@ -329,24 +382,29 @@ test {\iffieldundef{journaltitle}} and test {\iffieldundef{booktitle}} - and - test {\iffieldundef{library}} - and - not test {\ifentrytype{software}} and ( - test {\iffieldundef{type}} + test {\iffieldundef{library}} + or + test {\ifentrytype{image}} + or + test {\ifentrytype{audio}} + or + test {\ifentrytype{video}} or - test {\nottoggle{bbx:labelistitle}} + test {\ifentrytype{music}} or + test {\ifentrytype{movie}} + ) and + not test {\ifentrytype{software}} + and ( not ( - test {\ifentrytype{audio}} + test {\iffieldequalstr{type}{TV}} or - test {\ifentrytype{video}} - or - test {\ifentrytype{music}} - or - test {\ifentrytype{movie}} - )) + test {\iffieldequalstr{type}{Radio}} + ) + or + test {\iffieldundef{series}} + ) }{% \setunit*{\addspace}% \usebibmacro{isonline}% @@ -420,6 +478,41 @@ \printfield[midsentencecase]{subtitle}}% \clearfield{title}\clearfield{subtitle}% \toggletrue{bbx:labelistitle}}% + \ifboolexpr{ + test {\iffieldundef{journaltitle}} + and + test {\iffieldundef{booktitle}} + and ( + test {\iffieldundef{library}} + or + test {\ifentrytype{image}} + or + test {\ifentrytype{audio}} + or + test {\ifentrytype{video}} + or + test {\ifentrytype{music}} + or + test {\ifentrytype{movie}} + ) and + not test {\ifentrytype{software}} + and + not test {\ifentrytype{legislation}} + and + not test {\ifentrytype{jurisdiction}} + and ( + not ( + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + ) + or + test {\iffieldundef{series}} + ) + }{% + \setunit*{\addspace}% + \usebibmacro{isonline}% + }{}% }% }{% \printfield{label}% @@ -434,35 +527,21 @@ \setunit*{\addspace}% \printfield{titleaddon}% \clearfield{titleaddon}% - \ifboolexpr{ + \ifboolexpr{( + test {\ifentrytype{legislation}} + or + test {\ifentrytype{jurisdiction}} + ) + and test {\iffieldundef{journaltitle}} and test {\iffieldundef{booktitle}} - and ( - test {\iffieldundef{library}} - or - test {\ifentrytype{image}} - ) and - not test {\ifentrytype{software}} - and ( - test {\iffieldundef{type}} - or - not ( - test {\ifentrytype{audio}} - or - test {\ifentrytype{video}} - or - test {\ifentrytype{music}} - or - test {\ifentrytype{movie}} - )) }{% \setunit*{\addspace}% \usebibmacro{isonline}% }{}% }{}% } -\xapptobibmacro{author}{\usebibmacro{labeltitleaddon}}{}{} \xapptobibmacro{bbx:editor}{\usebibmacro{labeltitleaddon}}{}{} \xapptobibmacro{bbx:translator}{\usebibmacro{labeltitleaddon}}{}{} @@ -704,33 +783,33 @@ \newrobustcmd*{\mknoyeardaterangefull}[2]{% \iffieldundef{#2month}{}{% - \datecircaprint - \printtext[#2date]{% - \iffieldundef{#2season}{% - \csuse{mkbibdate#1}{}{#2month}{#2day}% - \blx@printtime{#2}{}% - }{% - \csuse{mkbibseasondate#1}{}{#2season}}% - \dateuncertainprint - \iffieldundef{#2endmonth}{}{% - \iffieldequalstr{#2endmonth}{}{% - \mbox{\bibdaterangesep}% + \printtext[{#2date}]{% + \datecircaprint + \iffieldundef{#2yeardivision}{% + \csuse{mkbibdate#1}{}{#2month}{#2day}% + \blx@printtime{#2}{}% }{% - \bibdaterangesep - \enddatecircaprint - \iffieldundef{#2season}{% - \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% - \blx@printtime{#2}{end}% + \csuse{mkbibyeardivisiondate#1}{}{#2yeardivision}}% + \dateuncertainprint + \iffieldundef{#2endmonth}{}{% + \iffieldequalstr{#2endmonth}{}{% + \mbox{\bibdaterangesep}% }{% - \csuse{mkbibseasondate#1}{}{#2endseason}}% - \enddateuncertainprint}}}}} + \bibdaterangesep + \enddatecircaprint + \iffieldundef{#2yeardivision}{% + \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% + \blx@printtime{#2}{end}% + }{% + \csuse{mkbibyeardivisiondate#1}{}{#2endyeardivision}}% + \enddateuncertainprint}}}}} \newrobustcmd*{\mknoyeardaterangetrunc}[2]{% \iffieldundef{#2month}{}{% - \datecircaprint - \printtext[#2date]{% - \iffieldundef{#2season}{% + \printtext[{#2date}]{% + \datecircaprint + \iffieldundef{#2yeardivision}{% \ifboolexpr{ - test {\iffieldsequal{labelyear}{labelendyear}} + test {\ifdateyearsequal{label}{labelend}} and test {\iffieldsequal{#2month}{#2endmonth}} }{% @@ -738,7 +817,7 @@ }{% \csuse{mkbibdate#1}{}{#2month}{#2day}}% }{% - \csuse{mkbibseasondate#1}{}{#2season}}% + \csuse{mkbibyeardivisiondate#1}{}{#2yeardivision}}% \dateuncertainprint \iffieldundef{#2endmonth}{}{% \iffieldequalstr{#2endmonth}{}{% @@ -746,10 +825,10 @@ }{% \bibdaterangesep \enddatecircaprint - \iffieldundef{#2season}{% + \iffieldundef{#2yeardivision}{% \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}% }{% - \csuse{mkbibseasondate#1}{}{#2endseason}}% + \csuse{mkbibyeardivisiondate#1}{}{#2endyeardivision}}% \enddateuncertainprint}}}}} \xpatchcmd{\mkdaterangefull}{% \iffieldundef{#2year} {\blx@nounit}% @@ -846,6 +925,27 @@ \DeclareFieldFormat{version}{\mkbibparens{\biblcsstring{version}#1}} \DeclareFieldFormat{type}{\ifbibstring{#1}{\biblstring{#1}}{#1}} +\DeclareFieldFormat{series}{\MakeSentenceCase*{#1}} +\DeclareFieldFormat + [audio,video,music,video]% + {series}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{\mkbibemph{\MakeSentenceCase*{#1}}}{\MakeSentenceCase*{#1}}} +\DeclareFieldFormat + [audio,video,music,video]% + {number}{\ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{\mkbibemph{#1}}{#1}} +\DeclareFieldFormat[legislation,jurisdiction]{series}{#1} +\renewbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\addcomma\space}% + \printfield{number}% + \newunit} \renewbibmacro*{event+venue+date}{% \printfield{eventtitle}% \setunit*{\addspace}% @@ -870,10 +970,18 @@ \printlist{institution}% \newunit \usebibmacro{publisher+location+date}}} -\letbibmacro{plain:organization+location+date}{organization+location+date} \renewbibmacro*{organization+location+date}{% \iflistundef{publisher}{% - \usebibmacro{plain:organization+location+date}% + \printlist{location}% + \iflistundef{organization} + {\setunit*{\addcomma\space}} + {\setunit*{\addcolon\space}}% + \printlist{organization}% + \iflistundef{location} + {\setunit{\addcomma\space}}% + {\setunit*{\addcomma\space}}% + \usebibmacro{date}% + \newunit }{% \printlist{organization}% \newunit @@ -882,7 +990,7 @@ \DeclareFieldFormat{library}{\mkbibemph{#1}} \newbibmacro*{library}{% \iffieldundef{library}{}{% - \printfield{library}% + \printfield{library}\clearfield{library}% \setunit*{\addspace}% \usebibmacro{isonline}% }% @@ -892,12 +1000,18 @@ \DeclareNumChars{ab} \DeclareFieldFormat{url}{\bibsentence\bibstring{urlfrom}\addcolon\space\url{#1}} \DeclareFieldFormat{doi}{\bibsentence\bibstring{urlfrom}\addcolon\space\url{https://doi.org/#1}} +\DeclareFieldFormat{pseudourl}{\bibsentence\bibstring{urlfrom}\addcolon\space#1} \DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\space#1}} \renewbibmacro*{url}{% - \iffieldundef{doi}% - {\printfield{url}}% - {\printfield{doi}}% -} + \iffieldundef{doi}{% + \ifboolexpr{ + test {\iffieldundef{url}} + and not + test {\iffieldundef{urlyear}} + }{\printfield[pseudourl]{library}}{\printfield{url}}% + }{% + \printfield{doi}% + }} \renewbibmacro*{doi+eprint+url}{% \iftoggle{bbx:eprint} {\usebibmacro{eprint}} @@ -1141,7 +1255,7 @@ \setunit*{\addcomma\space}}% \printfield{type}% \setunit*{\addspace}% - \IfBeginWith{\thefield{series}}{HL}{% + \IfBeginWith{\thefield{series}}{{HL}}{% \printfield[forceparens]{number}% }{% \printfield{number}% @@ -1234,25 +1348,25 @@ }} \ExecuteBibliographyOptions[standard]{useeditor=false} -\newbibmacro*{type+online}{% - \printfield{type}% - \ifboolexpr{ - test {\iffieldundef{type}} - or - test {\nottoggle{bbx:labelistitle}} - }{}{% - \setunit{\addspace}% - \usebibmacro{isonline}}} \DeclareBibliographyDriver{audio}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/editor+others/translator+others}% \setunit{\printdelim{nametitledelim}}\newblock \usebibmacro{title}% + \newunit\newblock + \usebibmacro{series+number}% + \ifboolexpr{ + test {\iffieldequalstr{type}{TV}} + or + test {\iffieldequalstr{type}{Radio}} + }{% + \setunit{\addspace}% + \usebibmacro{isonline}}{}% \newunit \printlist{language}% \newunit\newblock - \usebibmacro{type+online}% + \printfield{type}% \newunit\newblock \usebibmacro{byauthor}[given-family:full]% \newunit\newblock @@ -1666,7 +1780,7 @@ \setunit{\addcolon\space}% \printlist{location}% \setunit*{\addperiod\space}% - \printfield{library}% + \printfield{library}\clearfield{library}% }% } @@ -1730,6 +1844,6 @@ }% %% -%% Copyright (C) 2016-2021 by University of Bath +%% Copyright (C) 2016-2022 by University of Bath %% %% End of file `bath.bbx'. diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx b/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx index 4e4059c70ce..74cad99a933 100644 --- a/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx @@ -13,7 +13,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{bath.cbx} [\Version\space Citation style as recommended by the University of Bath Library] @@ -37,6 +37,6 @@ }{}{\wlog{WARNING: biblatex-bath failed to patch cite:label}} %% -%% Copyright (C) 2016-2021 by University of Bath +%% Copyright (C) 2016-2022 by University of Bath %% %% End of file `bath.cbx'. diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx b/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx index 618d06026c4..30c5211815e 100644 --- a/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-bath/bath.dbx @@ -13,13 +13,13 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{bath.dbx} [\Version\space Data model required by the biblatex-bath style] \DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,cjk} %% -%% Copyright (C) 2016-2021 by University of Bath +%% Copyright (C) 2016-2022 by University of Bath %% %% End of file `bath.dbx'. diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx b/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx index 08b9d31b1c8..27d8fd32df2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-bath/british-bath.lbx @@ -13,7 +13,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{british-bath.lbx} [\Version\space British English conventions required by the biblatex-bath style] @@ -40,6 +40,6 @@ } %% -%% Copyright (C) 2016-2021 by University of Bath +%% Copyright (C) 2016-2022 by University of Bath %% %% End of file `british-bath.lbx'. diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx b/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx index 77c5003f83d..7e6f144cc8a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-bath/english-bath.lbx @@ -13,7 +13,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2021/02/25 v4.0} +\def\Version{2022/03/04 v5.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{english-bath.lbx} [\Version\space Generic English conventions required by the biblatex-bath style] @@ -63,6 +63,6 @@ } %% -%% Copyright (C) 2016-2021 by University of Bath +%% Copyright (C) 2016-2022 by University of Bath %% %% End of file `english-bath.lbx'. |