diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-04 21:44:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-04 21:44:53 +0000 |
commit | 584933f5af4e560045995f448a15da8389311fbe (patch) | |
tree | bfecb642286992e054164f7b8c145d824e4dbee9 /Master/texmf-dist/source/bibtex | |
parent | 78c438af8c4b2809f70713d35a28555e2f5bb269 (diff) |
bath-bst (4mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62394 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/bibtex')
-rw-r--r-- | Master/texmf-dist/source/bibtex/bath-bst/Makefile | 18 | ||||
-rw-r--r-- | Master/texmf-dist/source/bibtex/bath-bst/bath-bst.dtx | 1824 |
2 files changed, 1371 insertions, 471 deletions
diff --git a/Master/texmf-dist/source/bibtex/bath-bst/Makefile b/Master/texmf-dist/source/bibtex/bath-bst/Makefile index 63bb81e2777..1b7ca8718ff 100644 --- a/Master/texmf-dist/source/bibtex/bath-bst/Makefile +++ b/Master/texmf-dist/source/bibtex/bath-bst/Makefile @@ -19,12 +19,24 @@ source: $(BST1) $(BST2) $(NAME).bib $(NAME)-v1.tex $(NAME)-v1.bib $(BST1) $(BST2) $(NAME).bib $(NAME)-v1.tex $(NAME)-v1.bib: $(NAME).dtx luatex -interaction=batchmode $(NAME).dtx >/dev/null -$(NAME).pdf: $(NAME).dtx $(BST2) $(NAME).bib - latexmk -silent -lualatex -synctex=1 -interaction=batchmode $(NAME).dtx >/dev/null +$(NAME).aux: $(NAME).dtx $(NAME).bib + lualatex -interaction=batchmode $< >/dev/null + +$(NAME).bbl: $(NAME).aux $(BST2) $(NAME).bib + bibtex $(NAME) >/dev/null + +$(NAME).pdf: $(NAME).dtx + latexmk -silent -lualatex -interaction=batchmode $< >/dev/null @echo "Compilation of main PDF complete." +$(NAME)-v1.aux: $(NAME)-v1.tex $(NAME)-v1.bib + lualatex -interaction=batchmode $< >/dev/null + +$(NAME)-v1.bbl: $(NAME)-v1.aux $(BST1) $(NAME)-v1.bib + bibtex $(NAME)-v1 >/dev/null + $(NAME)-v1.pdf: $(NAME)-v1.tex $(BST1) $(NAME)-v1.bib - latexmk -silent -lualatex -synctex=1 -interaction=batchmode $(NAME)-v1.tex >/dev/null + latexmk -silent -lualatex -interaction=batchmode $< >/dev/null @echo "Compilation of test PDF complete." clean: diff --git a/Master/texmf-dist/source/bibtex/bath-bst/bath-bst.dtx b/Master/texmf-dist/source/bibtex/bath-bst/bath-bst.dtx index 1f7e5e63177..6288be810a8 100644 --- a/Master/texmf-dist/source/bibtex/bath-bst/bath-bst.dtx +++ b/Master/texmf-dist/source/bibtex/bath-bst/bath-bst.dtx @@ -39,7 +39,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{bibtex/bst/\jobname} @@ -74,7 +74,7 @@ Copyright (C) 2016-2021 by University of Bath \ProvidesFile{bath-bst.dtx} %</driver> %<*driver|tex1> - [2021/02/25 v4.0 Harvard referencing style as recommended by the University of Bath Library] + [2022/03/04 v5.0 Harvard referencing style as recommended by the University of Bath Library] \documentclass[10pt,a4paper]{article} \usepackage[british]{babel} @@ -342,6 +342,7 @@ Copyright (C) 2016-2021 by University of Bath % Documentation \usepackage{natbib} +\setlength{\bibhang}{0pt} \newcommand*{\urlprefix}{Available from: } \newcommand*{\urldateprefix}{Accessed } @@ -537,7 +538,7 @@ common. The main differences between two versions are as follows: \end{itemize} One other change worth noting regards URL access dates. In version 1, the -advice was to put them in \texttt{urldate}. With version 2 the advice is now +advice was to put them in \texttt{urldate}. From version 2, the advice is to put them, perhaps counter-intuitively, in \texttt{urlyear}. The reason is that \textsf{biblatex} will complain if the value of \texttt{urldate} is in the wrong format, but will happily print the contents of \texttt{urlyear} literally. If @@ -549,7 +550,8 @@ you don't care about \textsf{biblatex} compatibility, you can continue to use %</driver> %<*tex1> This document provides a suite of examples that demonstrate and test the -bibliography format that was recommended for version 1.0 of the style. +\texttt{bath} bibliography style with mostly standard Bib\TeX entry types +and fields. %</tex1> %<*driver> \fi @@ -563,6 +565,7 @@ To use the style, add these lines to your preamble: %<*driver> \begin{tcblisting}{listing only} \usepackage{natbib} +\setlength{\bibhang}{0pt} \newcommand*{\urlprefix}{Available from: } \newcommand*{\urldateprefix}{Accessed } \bibliographystyle{bathx} @@ -590,7 +593,7 @@ Remember also to specify your \texttt{.bib} file at the end of the document: 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 \citep{williams1997edd}, +While collections can be supplemented by other means \citep{devlin.etal2021ipp}, the absence of an invisible collection amongst historians is noted by \citet[p.556]{stieg1981inh}. It may be, as \citet{burchard1965hhl} points out, that they have no assistants or are reluctant to delegate, or it may be @@ -603,10 +606,18 @@ for the full range of commands available for in-text citations. Be aware that th \textsf{natbib} option \texttt{sort} will sort citations in bibliography order, rather than the chronological order demanded by Harvard (Bath) -- so don't use it! -\subsection{Migrating from version 2 to version 3} -If you have previously used version 2 of the style, you may need to update your -.bib file to accommodate the following changes in version 3: +\section{Breaking changes between versions} + +The following sections list implementation changes that might affect the way +in which you write your bibliography database files. + +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 3} \begin{itemize} \item @@ -625,6 +636,47 @@ If you have previously used version 2 of the style, you may need to update your your .bib file accordingly. \end{itemize} +\subsection{Version 5} + +\begin{itemize} +\item + In the 2021 revision of the style, the titles of broadcast media (TV, radio) + became upright, with series information for titled episodes being italic. +%<*driver> + To get this new formatting, you must use the \texttt{type} field as shown. +%</driver> +%<tex1> If you have been using \texttt{booklet} for such entries, you should now use \texttt{misc} instead. +\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. +%<*driver> +\item + The `[Online]' tag is now also triggered by \texttt{urldate}\slash + \texttt{urlyear}. In cases where it occurs directly after the title, it is no longer + left behind (after the year) if the title is moved to the head of the reference. +\item + The \texttt{nameaddon} field is now supported for annotating author lists with, + say, a social media handle. +\iffalse +%</driver> +%<*tex1> +\item + If the title is moved to the head of the reference (before the year), + the \texttt{titleaddon} field is now printed directly after it instead of after the year. + This supports cases where `[Online]' needs to be printed before the year, + but may mean different workarounds are needed for other entries such as anonymous works with translated titles. +%</tex1> +%<*driver> +\fi +%</driver> +\item + The \texttt{article} and \texttt{manual} entry types now support the \texttt{month} field. +\item + Maps need to be given the \texttt{book} entry type; previously \texttt{manual} was recommended. +\end{itemize} + + \section{Examples} @@ -651,7 +703,7 @@ though of course any item might need adjustment to take account of differing con \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|tex1> @@ -669,7 +721,7 @@ though of course any item might need adjustment to take account of differing con \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|tex1> @@ -685,11 +737,29 @@ though of course any item might need adjustment to take account of differing con \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|tex1> +%<*driver|bib|tex1|bib1> +@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|tex1|bib1> +%<*driver|tex1> +\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|tex1> @@ -714,7 +784,7 @@ Internally, \texttt{collection} is an alias for \texttt{book}. \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|tex1> @@ -752,32 +822,35 @@ Internally, \texttt{collection} is an alias for \texttt{book}. %</driver> \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|tex1> %<*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}, + urlyear = {30 June 2021}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@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}, + titleaddon = {[Online]}, + address = {Oxford}, + publisher = {Oxford University Press}, + url = {https://www.amazon.co.uk/kindle}, + urldate = {30 June 2021}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -817,14 +890,14 @@ Similarly, to achieve the following formats you must use the non-standard \texttt{inreference} entry type. \end{info} -\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|tex1> %<*driver|bib|tex1|bib1> -@inreference{asprin2020bnf, - title = {Asprin}, +@inreference{aspirin2020bnf, + title = {Aspirin}, year = {2020}, booktitle = {{British National Formulary}}, edition = {79}, @@ -835,14 +908,14 @@ Similarly, to achieve the following formats you must use the non-standard \end{Verbatim} \end{bibexbox} -\begin{bibexbox}<RX>{asprin2019bnf} - British National Formulary, 2019. \emph{Aspirin} [Online]. London: Pharmaceutical Press. Available from: \url{https://www.medicinescomplete.com/\#/content/bnf/_456850132} [Accessed 26 November 2019]. +\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|tex1> %<*driver|bib> -@inreference{asprin2019bnf, - title = {Asprin}, +@inreference{aspirin2019bnf, + title = {Aspirin}, year = {2019}, booktitle = {{British National Formulary}}, address = {London}, @@ -855,10 +928,11 @@ Similarly, to achieve the following formats you must use the non-standard \iffalse %</driver> %<*tex1|bib1> -@inreference{asprin2019bnf, - title = {Asprin}, +@inreference{aspirin2019bnf, + title = {Aspirin}, + titleaddon = {[Online]}, year = {2019}, - booktitle = {{British National Formulary \textup{[Online]}}}, + booktitle = {{British National Formulary}}, address = {London}, publisher = {Pharmaceutical Press}, url = {https://www.medicinescomplete.com/\#/content/bnf/_456850132}, @@ -871,17 +945,31 @@ Similarly, to achieve the following formats you must use the non-standard %</driver> \end{bibexbox} -\begin{info}\item +\begin{info} +%<*driver> +\item +If you are using the same .bib file with Bib\TeX\ and \textsf{biblatex}, +one unfortunate difference is that you must escape the hash symbol inside +URLs with Bib\TeX\, but you must not escape it inside a URL with +\textsf{biblatex}. +%</driver> +\item Internally, \texttt{inreference} is an alias for \texttt{incollection}. -%<driver>Use \texttt{inreference} if you need compatibility with \textsf{biblatex-bath}. +%<*driver> +Use \texttt{inreference} if you need compatibility with \textsf{biblatex-bath}. +%</driver> +\item +The style ensures the \texttt{booktitle} is used in title citation commands. \end{info} -\citet{bnf2020}, \cite{asprin2019bnf}, \citet{asprin2020bnf}. +\begin{tcblisting}{} + \cite{aspirin2019bnf}, \citet{bnf2020}, \citet{aspirin2020bnf}. +\end{tcblisting} -\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|tex1> @@ -901,7 +989,7 @@ Internally, \texttt{inreference} is an alias for \texttt{incollection}. \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|tex1> @@ -964,7 +1052,7 @@ Internally, \texttt{inreference} is an alias for \texttt{incollection}. \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|tex1> @@ -982,37 +1070,97 @@ Internally, \texttt{inreference} is an alias for \texttt{incollection}. \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|tex1> +%<*driver|bib|tex1|bib1> +@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|tex1|bib1> +%<*driver|tex1> +\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|tex1> %<*driver|bib> -@article{williams1997edd, - author = {Williams, F.}, - year = {1997}, - title = {Electronic Document Delivery: a Trial in an Academic Library}, - journal = {Ariadne}, - volume = {10}, - url = {http://www.ariadne.ac.uk/issue10/edd/}, - urlyear = {5 December 1997}} +@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}, + urlyear = {9 December 2021}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@article{williams1997edd, - author = {Williams, F.}, - year = {1997}, - title = {Electronic Document Delivery: a Trial in an Academic Library}, - journal = {Ariadne \textup{[Online]}}, - volume = {10}, - url = {http://www.ariadne.ac.uk/issue10/edd/}, - urldate = {5 December 1997}} +@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} \textup{[Online]}}, + volume = {17}, + number = {11}, + url = {https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009501}, + urldate = {9 December 2021}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + +\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|tex1> +%<*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}, + urlyear = {30 April 2020}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@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 \textup{[Online]}}, + url = {https://www.pharmaceutical-journal.com/news-and-analysis/features/everything-you-should-know-about-the-coronavirus-outbreak/20207629.article}, + urldate = {30 April 2020}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -1025,15 +1173,15 @@ Internally, \texttt{inreference} is an alias for \texttt{incollection}. \iffalse %</driver> %<*tex1> -\begin{hacks} -\item With most styles, you would put `in press' or `preprint' as the - \texttt{year} for articles that have yet to be officially published, but for - this style you need to put it in \texttt{volume}. If you would rather lose - this information when switching to a different style than have it incorrectly - placed, you can use the \texttt{pubstate} field from \textsf{biblatex} - instead. Use the keyword \texttt{inpress} for `in press' and - \texttt{inpreparation} or \texttt{submitted} (whichever is more accurate) for - `preprint'. +\begin{hacks}\item +With most styles, you would put `in press' or `preprint' as the +\texttt{year} for articles that have yet to be officially published, but for +this style you need to put it in \texttt{volume}. If you would rather lose +this information when switching to a different style than have it incorrectly +placed, you can use the \texttt{pubstate} field from \textsf{biblatex} +instead. Use the keyword \texttt{inpress} for `in press' and +\texttt{inpreparation} or \texttt{submitted} (whichever is more accurate) for +`preprint'. \begin{tcolorbox}% [ colframe = Slate @@ -1049,8 +1197,7 @@ Internally, \texttt{inreference} is an alias for \texttt{incollection}. %</tex1> %<*driver> \fi -\begin{tips} -\item +\begin{tips}\item If citing an article yet to be officially published, use the \texttt{pubstate} field (from \textsf{biblatex}) with the keyword \texttt{inpress} for `in press' and \texttt{inpreparation} or \texttt{submitted} (whichever is more accurate) @@ -1060,7 +1207,7 @@ for `preprint'. \begin{bibexbox}<RX>{liontou.etal2019dra} %</driver> %<tex1>\begin{bibexbox}(hacked)<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|tex1> @@ -1098,22 +1245,15 @@ for `preprint'. \end{bibexbox} -\subsubsection*{Preprint in a digital repository} - -\begin{tips} -\item -The Harvard (Bath) style gives you a choice whether to treat preprints as -pre-publication articles (above) or as grey literature (below). In the latter -case, the \texttt{techreport} entry type is the best match semantically. -\end{tips} +\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|tex1> %<*driver|bib> -@techreport{shah.corrick2016hsc, +@report{shah.corrick2016hsc, author = {Shah, I. and Corrick, I.}, year = {2016}, title = {How should central banks respond to non-neutral inflation expectations?}, @@ -1145,10 +1285,64 @@ case, the \texttt{techreport} entry type is the best match semantically. %</driver> \end{bibexbox} +\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|tex1> +%<*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}, + urlyear = {29 April 2021}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@techreport{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}, + note = {\emph{Australian and New Zealand Clinical Trials Registry} [Online]}, + url = {http://www.anzctr.org.au/Trial/Registration/TrialReview.aspx?id=365258}, + urldate = {29 April 2021}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + +\begin{tips}\item +The Harvard (Bath) style treats preprints as grey literature, and so the +\texttt{techreport} entry type (or its alias \texttt{report}) is the best match +semantically. Use \texttt{library} to specify the name of the preprint repository. +\end{tips} + \subsubsection*{Newspaper article} -\begin{hacks}\item Give the issue's day and month as the \texttt{volume}.\end{hacks} +\begin{hacks}\item +Give the issue's day and month as the \texttt{month} or \texttt{volume}. +\end{hacks} \begin{bibexbox}(hacked)<RX>{haurant2004bbh} Haurant, S., 2004. Britain's borrowing hits £1 trillion. \emph{The Guardian}, 29 July, p.16c. @@ -1161,13 +1355,21 @@ case, the \texttt{techreport} entry type is the best match semantically. year = {2004}, title = {Britain's Borrowing Hits \pounds 1 Trillion}, journal = {The {Guardian}}, - volume = {29 July}, + month = {{29 July}}, pages = {16c}} %</driver|bib|tex1|bib1> %<*driver|tex1> \end{Verbatim} \end{bibexbox} +%<*driver> +\begin{info}\item +The extra braces around the \texttt{month} field aren't necessary with Bib\TeX, +but are needed if you want compatibility with \textsf{biblatex}. +\end{info} +%</driver> + + \begin{bibexbox}(hacked)<RX>{independent1992pub} The Independent, 1992. Picking up the bills. \emph{The Independent}, 4 June, p.28a. \tcblower @@ -1179,13 +1381,49 @@ case, the \texttt{techreport} entry type is the best match semantically. year = {1992}, title = {Picking Up the Bills}, journal = {The {Independent}}, - volume = {4 June}, + month = {{4 June}}, pages = {28a}} %</driver|bib|tex1|bib1> %<*driver|tex1> \end{Verbatim} \end{bibexbox} +\begin{bibexbox}(hacked)<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|tex1> +%<*driver|bib> +@article{cogley2020ccs, + author = {Cogley, M.}, + year = {2020}, + title = {Corporate Confidence Slumps to Record Low}, + journal = {{The Telegraph}}, + volume = {4 May}, + url = {https://www.telegraph.co.uk/business/2020/05/03/corporate-confidence-slumps-all-time-low/}, + urlyear = {5 May 2020}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@article{cogley2020ccs, + author = {Cogley, M.}, + year = {2020}, + title = {Corporate Confidence Slumps to Record Low}, + journal = {{The Telegraph} \textup{[Online]}}, + volume = {4 May}, + url = {https://www.telegraph.co.uk/business/2020/05/03/corporate-confidence-slumps-all-time-low/}, + urldate = {5 May 2020}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + \subsection{Conference papers} @@ -1196,7 +1434,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \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|tex1> @@ -1240,7 +1478,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \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|tex1> @@ -1300,17 +1538,34 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \end{Verbatim} \end{bibexbox} -\begin{info}\item Internally, \texttt{thesis} is an alias for \texttt{phdthesis}.\end{info} - +\begin{info}\item +Internally, \texttt{thesis} is an alias for \texttt{phdthesis}. +%<*driver> +If you need compatibility with \textsf{biblatex-bath} and don't want to display a thesis type, use \texttt{thesis}. +%</driver> +\end{info} -\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|tex1> -%<*driver|bib|tex1|bib1> +%<*driver|bib> +@report{unesco1993gip, + author = {{UNESCO}}, + year = {1993}, + title = {General Information Programme and {UNISIST}}, + address = {Paris}, + institution = {UNESCO}, + number = {PGI-93/WS/22}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> @techreport{unesco1993gip, author = {{UNESCO}}, year = {1993}, @@ -1318,13 +1573,16 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly address = {Paris}, institution = {UNESCO}, number = {PGI-93/WS/22}} -%</driver|bib|tex1|bib1> +%</tex1|bib1> %<*driver|tex1> \end{Verbatim} +%<*driver> +\fi +%</driver> \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|tex1> @@ -1342,14 +1600,57 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \end{Verbatim} \end{bibexbox} -\begin{info}\item Internally, \texttt{report} is an alias for \texttt{techreport}.\end{info} +\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|tex1> +%<*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} +\iffalse +%</driver> +%<*tex1|bib1> +@techreport{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}, + number = {Bath papers in international development and wellbeing, no.~8}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + +\begin{info}\item +Internally, \texttt{report} is an alias for \texttt{techreport}. +%<*driver> +If you need compatibility with \textsf{biblatex-bath} and don't want to display a report type, use \texttt{report}. +\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}. +%</driver> +\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|tex1> @@ -1382,7 +1683,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \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|tex1> @@ -1450,13 +1751,15 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly %</driver> \end{bibexbox} -\begin{info}\item Internally, \texttt{patent} is an alias for \texttt{manual}.\end{info} +\begin{info}\item +Internally, \texttt{patent} is an alias for \texttt{manual}. +\end{info} \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} @@ -1472,7 +1775,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \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} @@ -1490,7 +1793,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly \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} @@ -1515,7 +1818,7 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly %<tex1>\begin{tips}\item You would normally class images as \texttt{misc} or \texttt{unpublished}, but those entry types have particular formatting quirks in this style that don't work for images. Use \texttt{manual} or \texttt{booklet} instead. You can use \texttt{online} (an alias for \texttt{manual}) for online images.\end{tips} \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|tex1> @@ -1551,11 +1854,13 @@ As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly %</driver> \end{bibexbox} -\begin{tips}\item You can use either the \texttt{publisher} or the \texttt{organization} field to -record the source of the image.\end{tips} +\begin{tips}\item +You can use either the \texttt{publisher} or the \texttt{organization} field to +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|tex1> @@ -1592,7 +1897,7 @@ record the source of the image.\end{tips} \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|tex1> @@ -1629,9 +1934,10 @@ record the source of the image.\end{tips} \end{bibexbox} %<*driver> -\begin{tips} -\item +\begin{tips}\item Use the \texttt{library} field to record the archive and register number. +If the image is on display rather than archived, +use \texttt{institution} instead for the museum, gallery or building. If you also wish to provide the name of the organisation that published the image, use the \texttt{publisher} field if the location you provide relates to the publisher, but the \texttt{organization} field if the location relates to the archive. @@ -1641,12 +1947,12 @@ 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|tex1> %<*driver|bib|tex1|bib1> -@manual{andrews.dury1773wilts, +@book{andrews.dury1773wilts, author = {Andrews, J. and Dury, A.}, year = {1773}, title = {Map of {Wiltshire}}, @@ -1658,24 +1964,39 @@ but the \texttt{organization} field if the location relates to the archive. \end{Verbatim} \end{bibexbox} -\begin{tips}\item The \texttt{book} entry type would also work for this reference.\end{tips} - \begin{bibexbox}<RX>{os2020bath} Ordnance Survey, 2020. \emph{Street view map of University of Bath} [Online], 1:5000, OS VectorMap® Local. Available from: \url{https://digimap.edina.ac.uk/roam/map/os} [Accessed 30 April 2020]. \tcblower \begin{Verbatim} %</driver|tex1> -%<*driver|bib|tex1|bib1> -@manual{os2020bath, +%<*driver|bib> +@book{os2020bath, 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}, urlyear = {30 April 2020}} -%</driver|bib|tex1|bib1> +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@book{os2020bath, + author = {{Ordnance Survey}}, + year = {2020}, + title = {Street view map of {University of Bath}}, + titleaddon = {[Online]}, + series = {1:5000, {OS VectorMap® Local}}, + url = {https://digimap.edina.ac.uk/roam/map/os}, + urldate = {30 April 2020}} +%</tex1|bib1> %<*driver|tex1> \end{Verbatim} +%<*driver> +\fi +%</driver> \end{bibexbox} \begin{bibexbox}<RX>{google2020harbourside} @@ -1683,24 +2004,41 @@ but the \texttt{organization} field if the location relates to the archive. \tcblower \begin{Verbatim} %</driver|tex1> -%<*driver|bib|tex1|bib1> -@manual{google2020harbourside, +%<*driver|bib> +@book{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}} -%</driver|bib|tex1|bib1> + urlyear = {30 April 2020}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@book{google2020harbourside, + author = {{Google}}, + year = {2020}, + title = {{Harbourside, Bristol}}, + titleaddon = {[Online]}, + series = {{Google Maps}}, + url = {https://www.google.co.uk/maps/place/Harbourside,+Bristol/}, + urldate = {30 April 2020}} +%</tex1|bib1> %<*driver|tex1> \end{Verbatim} +%<*driver> +\fi +%</driver> \end{bibexbox} \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|tex1> @@ -1721,9 +2059,7 @@ but the \texttt{organization} field if the location relates to the archive. @booklet{macbeth1948, year = {1948}, title = {Macbeth}, - howpublished = {Film. Directed by Orson Welles}, - address = {USA}, - publisher = {Republic Pictures}} + howpublished = {Film. Directed by Orson Welles. USA: Republic Pictures}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -1732,36 +2068,37 @@ but the \texttt{organization} field if the location relates to the archive. %</driver> \end{bibexbox} -\begin{info}\item Internally, \texttt{movie} and \texttt{video} are aliases for \texttt{booklet}.\end{info} - - -\subsubsection*{Streamed video (YouTube, TED Talks, etc.)} +\begin{info}\item +Internally, \texttt{movie} and \texttt{video} are aliases for \texttt{booklet}. +\end{info} -\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|tex1> %<*driver|bib> -@video{moran2016sol, - author = {Moran, C.}, - year = {2016}, - title = {Save Our Libraries}, - url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, - urlyear = {29 April 2016}} +@video{elephant-man1980, + year = {1980}, + title = {The elephant man}, + type = {Film}, + note = {Directed by David Lynch}, + address = {USA}, + publisher = {Brooksfilms}, + library = {BBC iPlayer}, + urlyear = {4 May 2021}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@manual{moran2016sol, - author = {Moran, C.}, - year = {2016}, - title = {Save Our Libraries}, +@booklet{elephant-man1980, + year = {1980}, + title = {The elephant man}, titleaddon = {[Online]}, - url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, - urldate = {29 April 2016}} + howpublished = {Film. Directed by David Lynch. USA: Brooksfilms}, + note = {Available from: BBC iPlayer [Accessed 4 May 2021]}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -1770,31 +2107,49 @@ but the \texttt{organization} field if the location relates to the archive. %</driver> \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]. +%<*driver> +\iffalse +%</driver> +%<*tex1> +\begin{hacks}\item + There's no standardised way to provide a descriptor instead of a URL, + so to get exactly the right formatting you need to put the whole + availability statement as a \texttt{note}. If you don't mind an extra + full stop, you could used \texttt{urldate} (or \texttt{urlyear}) as normal. +\end{hacks} +%</tex1> +%<*driver> +\fi +%</driver> + + +\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|tex1> %<*driver|bib> -@video{uob2015wie, - author = {{University of Bath}}, - year = {2015}, - title = {What is Engineering?}, - url = {https://www.youtube.com/watch?v=NoyZarq-Zbo}, - urlyear = {12 January 2016}} +@video{moran2016sol, + author = {Moran, C.}, + year = {2016}, + title = {Save Our Libraries}, + url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, + urlyear = {29 April 2016}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@manual{uob2015wie, - author = {{University of Bath}}, - year = {2015}, - title = {What is Engineering?}, +@manual{moran2016sol, + author = {Moran, C.}, + year = {2016}, + title = {Save Our Libraries}, titleaddon = {[Online]}, - url = {https://www.youtube.com/watch?v=NoyZarq-Zbo}, - urldate = {12 January 2016}} + url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be}, + urldate = {29 April 2016}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -1804,7 +2159,7 @@ but the \texttt{organization} field if the location relates to the archive. \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]. + 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|tex1> @@ -1839,15 +2194,56 @@ but the \texttt{organization} field if the location relates to the archive. \subsubsection*{Television or radio broadcast} +%<*driver> +\begin{tips}\item +Use \texttt{type} for the medium and \texttt{note} for the channel, date and time. +\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} +%</driver> + +\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|tex1> +%<*driver|bib> +@video{inn2021huw, + year = {2021}, + title = {Hurry up and wait}, + series = {Inside No.9}, + number = {{Episode} 6:4}, + type = {TV}, + note = {BBC2, 31 May. 21.30 hrs}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@misc{inn2021huw, + year = {2021}, + title = {Hurry up and wait}, + howpublished = {\emph{Inside no.9}, \emph{Episode 6:4}. TV. BBC2, 31 May. + 21.30 hrs}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\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|tex1> %<*driver|bib> @video{rsfo2006ep5, year = {2006}, - title = {Rick {Stein's} {French} Odyssey: Episode 5}, + title = {Rick {Stein's} {French} Odyssey: {Episode} 5}, type = {TV}, note = {BBC2, 23 August. 20.30 hrs}} %</driver|bib> @@ -1856,9 +2252,9 @@ but the \texttt{organization} field if the location relates to the archive. \iffalse %</driver> %<*tex1|bib1> -@booklet{rsfo2006ep5, +@misc{rsfo2006ep5, year = {2006}, - title = {Rick {Stein's} {French} Odyssey: Episode 5}, + title = {Rick {Stein's} {French} Odyssey: {Episode} 5}, howpublished = {TV. BBC2, 23 August. 20.30 hrs}} %</tex1|bib1> %<*driver|tex1> @@ -1869,7 +2265,7 @@ but the \texttt{organization} field if the location relates to the archive. \end{bibexbox} \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|tex1> @@ -1885,7 +2281,7 @@ but the \texttt{organization} field if the location relates to the archive. \iffalse %</driver> %<*tex1|bib1> -@booklet{archers20060823, +@misc{archers20060823, year = {2006}, title = {The {Archers}}, howpublished = {Radio. BBC Radio 4, 23 August. 19.02 hrs}} @@ -1897,17 +2293,49 @@ but the \texttt{organization} field if the location relates to the archive. %</driver> \end{bibexbox} +\begin{info}\item +Internally, \texttt{audio} and \texttt{music} are aliases for \texttt{booklet}. +\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|tex1> +%<*driver|bib> +@video{tkmmm2020ts, + year = {2020}, + title = {The Secret}, + series = {Tiger King: Murder, Mayhem and Madness}, + number = {{Episode} 3}, + type = {TV}, + library = {Netflix}, + urlyear = {4 May 2021}} +%</driver|bib> %<*driver> -\begin{tips}\item Use \texttt{type} for the medium and \texttt{note} for the channel, date and time.\end{tips} +\end{Verbatim} +\iffalse %</driver> - -\begin{info}\item Internally, \texttt{audio} and \texttt{music} are aliases for \texttt{booklet}.\end{info} +%<*tex1|bib1> +@misc{tkmmm2020ts, + year = {2020}, + title = {The Secret}, + howpublished = {\emph{Tiger king: murder, mayhem and madness}, \emph{Episode 3} + [Online]. TV}, + note = {Available from: Netflix [Accessed 4 May 2021]}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\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|tex1> @@ -1926,41 +2354,41 @@ but the \texttt{organization} field if the location relates to the archive. \subsection{Digital media} -\subsubsection*{Website\slash webpage} +\subsubsection*{Website or webpage} While it is normal when using Bib\TeX\ to use \texttt{misc} for websites, with this style you should use \texttt{online} (or \texttt{electronic} or \texttt{www}) instead. Internally these are all aliases for \texttt{manual}. -\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]. +\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|tex1> %<*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}, - urlyear = {4 November 2002}} +@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}, + urlyear = {29 June 2020}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@manual{holland2002gci, - author = {Holland, M.}, - year = {2002}, - title = {Guide to Citing Internet Sources}, +@manual{who2018ttc, + author = {{World Health Organization}}, + year = {2018}, + title = {The Top 10 Causes of Death}, titleaddon = {[Online]}, - address = {Poole}, - organization = {Bournemouth University}, - url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html}, - urldate = {4 November 2002}} + address = {Geneva}, + organization = {World Health Organization}, + url = {https://www.who.int/news-room/fact-sheets/detail/the-top-10-causes-of-death}, + urldate = {29 June 2020}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -1969,10 +2397,169 @@ Internally these are all aliases for \texttt{manual}. %</driver> \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|tex1> +%<*driver|bib> +@online{manco2013va, + author = {Manco, J.}, + year = {2013}, + title = {Vernacular Architecture}, + url = {https://www.buildinghistory.org/style/vernacular.shtml}, + urlyear = {20 February 2020}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@manual{manco2013va, + author = {Manco, J.}, + year = {2013}, + title = {Vernacular Architecture}, + titleaddon = {[Online]}, + url = {https://www.buildinghistory.org/style/vernacular.shtml}, + urldate = {20 February 2020}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + + +\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|tex1> +%<*driver|bib> +@online{gaiman2021fbp, + author = {Gaiman, N.}, + year = {2021}, + title = {Facebook post}, + month = {{21 April}}, + url = {https://www.facebook.com/neilgaiman/posts/305187897642814}, + urlyear = {13 May 2021}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@manual{gaiman2021fbp, + author = {Gaiman, N.}, + year = {2021}, + title = {Facebook post}, + titleaddon = {[Online]}, + month = {21 April}, + url = {https://www.facebook.com/neilgaiman/posts/305187897642814}, + urldate = {13 May 2021}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\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|tex1> +%<*driver|bib> +@online{ublib2021tp, + author = {{Library at University of Bath}}, + nameaddon = {@bathunilibrary}, + year = {2021}, + title = {Twitter post}, + month = {{10 May}}, + url = {https://twitter.com/BathUniLibrary/status/1391774402618998795?s=20}, + urlyear = {12 May 2021}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@manual{ublib2021tp, + author = {{Library at University of Bath [@bathunilibrary]}}, + year = {2021}, + title = {Twitter post}, + titleaddon = {[Online]}, + month = {10 May}, + url = {https://twitter.com/BathUniLibrary/status/1391774402618998795?s=20}, + urldate = {12 May 2021}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\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|tex1> +%<*driver|bib> +@online{ublib2021ip, + author = {{University of Bath Library}}, + nameaddon = {@unibathlib}, + year = {2021}, + title = {Instagram post}, + month = {{15 March}}, + url = {https://www.instagram.com/p/CMb5GHjFv9A/?utm_source=ig_web_copy_link}, + urlyear = {7 May 2021}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@manual{ublib2021ip, + author = {{University of Bath Library [@unibathlib]}}, + year = {2021}, + title = {Instagram post}, + titleaddon = {[Online]}, + month = {15 March}, + url = {https://www.instagram.com/p/CMb5GHjFv9A/?utm_source=ig_web_copy_link}, + urlyear = {7 May 2021}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + +%<*driver> +\iffalse +%</driver> +%<*tex1> +\begin{hacks}\item +Unfortunately, the handle will also show up in your citations, e.g.\@ +\cite{ublib2021ip}. To avoid this, you could use alternative citation commands: +\begin{tcblisting}{listing side text, lefthand width=.46\linewidth} +University of Bath Library \citeyearpar{ublib2021ip} +\end{tcblisting} +\end{hacks} +%</tex1> +%<*driver> +\fi +%</driver> + \subsubsection*{Email discussion lists (jiscmail\slash listserv etc.)} \begin{bibexbox}(hacked)<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|tex1> @@ -2005,8 +2592,8 @@ Internally these are all aliases for \texttt{manual}. %</driver> \end{bibexbox} -\begin{tips} -\item Use the \texttt{journal} field to specify the mailing list. +\begin{tips}\item +Use the \texttt{journal} field to specify the mailing list. %<*driver> Internally, a \texttt{letter} entry with a \texttt{journal} field is treated like an \texttt{article} entry, while one without is treated like an @@ -2014,8 +2601,8 @@ like an \texttt{article} entry, while one without is treated like an %</driver> \end{tips} -\begin{hacks} -\item You will need to put the full date in the \texttt{year} field; +\begin{hacks}\item +You will need to put the full date in the \texttt{year} field; unfortunately this means you have to put in extra work to show only the year in citations: \end{hacks} @@ -2027,7 +2614,7 @@ unfortunately this means you have to put in extra work to show only the year in \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|tex1> @@ -2051,7 +2638,7 @@ unfortunately this means you have to put in extra work to show only the year in author = {{Bureau van Dijk}}, year = {2008}, title = {{BT} {Group} PLC Company Report}, - series = {\emph{FAME} [Online]}, + series = {\emph{FAME} {[Online]}}, address = {London}, organization = {Bureau van Dijk}, url = {http://www.portal.euromonitor.com}, @@ -2064,11 +2651,18 @@ unfortunately this means you have to put in extra work to show only the year in %</driver> \end{bibexbox} +%<*driver> +\begin{tips}\item +Use the \texttt{title} field for the entry title, +and the \texttt{library} field for the name of the database itself. +\end{tips} +%</driver> + \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|tex1> @@ -2104,13 +2698,15 @@ unfortunately this means you have to put in extra work to show only the year in %</driver> \end{bibexbox} -\begin{info}\item You can use \texttt{dataset} instead of \texttt{online} as an alias for \texttt{manual}.\end{info} +\begin{info}\item +You can use \texttt{dataset} instead of \texttt{online} as an alias for \texttt{manual}. +\end{info} \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|tex1> @@ -2143,7 +2739,9 @@ unfortunately this means you have to put in extra work to show only the year in %</driver> \end{bibexbox} -\begin{info}\item Internally, \texttt{software} is an alias for \texttt{manual}.\end{info} +\begin{info}\item +Internally, \texttt{software} is an alias for \texttt{manual}. +\end{info} \subsection{Works in languages other than English} @@ -2151,7 +2749,7 @@ unfortunately this means you have to put in extra work to show only the year in \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|tex1> @@ -2188,7 +2786,7 @@ unfortunately this means you have to put in extra work to show only the year in \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|tex1> @@ -2221,6 +2819,10 @@ unfortunately this means you have to put in extra work to show only the year in %</driver> \end{bibexbox} +\begin{tips}\item +Use the \texttt{titleaddon} field to supply the English translation of the title. +\end{tips} + \begin{bibexbox}<RX>{thurfjell1975vhv} Thurfjell, W., 1975. Vart har våran doktor tagit vägen? [Where has our doctor gone?]. \emph{Läkartidningen}, 72, p.789. \tcblower @@ -2260,20 +2862,9 @@ unfortunately this means you have to put in extra work to show only the year in \subsubsection*{Work in a non-Roman alphabet} -\begin{tips} -\item -The following example tricks Bib\TeX\ into treating the original rendering of the author's name as the `von' part of a Roman-alphabet name. This requires the use of a command that simply gobbles its argument, which you have to define yourself: - -\begin{tcblisting}{listing only} -\newcommand*{\noop}[1]{} -\end{tcblisting} - -For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop| must be lowercase, but otherwise it can be anything you like. -\end{tips} - \newcommand*{\noop}[1]{} \begin{bibexbox}(hacked)<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|tex1> @@ -2312,8 +2903,26 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop %</driver> \end{bibexbox} -\begin{tips} -\item If the name is due to appear initial first (e.g.\ after `In:'), you can append the non-Roman characters to the author's surname; to do this, use inverted name order as you would for English double-barrelled names without hyphens, e.g.\ \texttt{Hua 華林甫, Linfu}. +\begin{tips}\item +The above example tricks Bib\TeX\ into treating the original rendering of +the author's name as the `von' part of a Roman-alphabet name. This requires the +use of a command that simply gobbles its argument, which you have to define +yourself: + +\begin{tcblisting}{listing only} +\newcommand*{\noop}[1]{} +\end{tcblisting} + +For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop| +must be lowercase, but otherwise it can be anything you like. +%<*driver> +The trick is not portable to \textsf{biblatex-bath}. +%</driver> +\item +If the name is due to appear initial first (e.g.~after `In:'), you can append +the non-Roman characters to the author's surname; to do this, use inverted name +order as you would for English double-barrelled names without hyphens, e.g.\@ +\texttt{Hua 華林甫, Linfu}. \end{tips} \begin{bibexbox}<RX>{hua1999qys2} @@ -2389,33 +2998,96 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop \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|tex1> %<*driver|bib> -@legislation{gb.wa1735, - title = {Witchcraft {Act}}, - year = {1735}, - series = {9 Geo.2}, - chapter = {5}} +@techreport{gb.hc2003/04-30, + author = {{Great Britain. Parliament. House of Commons}}, + year = {2004}, + title = {National {Savings} Investment Deposits: account 2002--2003}, + address = {London}, + publisher = {National Audit Office}, + series = {{HC} 2003/04}, + type = {}, + number = {30}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@book{gb.wa1735, - key = {Witchcraft Act 1735}, - title = {Witchcraft {Act} 1735}, - titleaddon = {(9 Geo.2, c.5)}} +@techreport{gb.hc2003/04-30, + author = {{Great Britain. Parliament. House of Commons}}, + year = {2004}, + title = {National {Savings} Investment Deposits: account 2002--2003}, + address = {London}, + publisher = {National Audit Office}, + type = {{HC}}, + number = {2003/04, 30}} +%</tex1|bib1> +%<*driver|tex1> +\end{Verbatim} +%<*driver> +\fi +%</driver> +\end{bibexbox} + +%<*driver> +\begin{tips}\item +To achieve compatibility with \textsf{biblatex-bath}, you can either set the +\texttt{type} field to the empty string or use the \texttt{report} entry type, +which is an alias for \texttt{techreport}. +\end{tips} +%</driver> + +\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} +%</driver|tex1> +%<*driver|bib> +@techreport{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}, + type = {}, + number = {66}} +%</driver|bib> +%<*driver> +\end{Verbatim} +\iffalse +%</driver> +%<*tex1|bib1> +@techreport{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}, + type = {{HL}}, + number = {1986/87, (66)}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2424,33 +3096,45 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop %</driver> \end{bibexbox} +%<*driver> +\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} +%</driver> + -\subsubsection*{Act of Parliament (UK Statutes) 1963 onwards} +\subsubsection*{Command paper} -\begin{bibexbox}<RX>{gb.pa2014} - \emph{Pensions Act 2014}, c.19. London:\@ TSO. +\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|tex1> %<*driver|bib> -@legislation{gb.pa2014, - title = {Pensions {Act}}, - year = {2014}, - chapter = {19}, +@techreport{gb.cm6041, + author = {{Great Britain. Ministry of Defence}}, + year = {2004}, + title = {Delivering Security in a Changing World{:} Defence White Paper}, address = {London}, - publisher = {TSO}} + publisher = {TSO}, + series = {Cm}, + type = {}, + number = {6041}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@book{gb.pa2014, - key = {Pensions Act 2014}, - title = {Pensions {Act} 2014}, - number = {c.19}, +@techreport{gb.cm6041, + author = {{Great Britain. Ministry of Defence}}, + year = {2004}, + title = {Delivering Security in a Changing World{:} Defence White Paper}, address = {London}, - publisher = {TSO}} + publisher = {TSO}, + type = {{Cm.}}, + number = {6041}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2460,10 +3144,12 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop \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|tex1> @@ -2499,39 +3185,29 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop \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|tex1> %<*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}, - urlyear = {17 April 2016}} +@legislation{gb.wa1735, + title = {Witchcraft {Act}}, + year = {1735}, + series = {9 Geo.2}, + chapter = {5}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@book{gb.hmr2012, - title = {The {Human} {Medicines} {Regulations} 2012}, - titleaddon = {[Online]}, - number = {No.1916}, - address = {United Kingdom}, - publisher = {HMSO}, - url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, - urldate = {17 April 2016}} +@book{gb.wa1735, + key = {Witchcraft Act 1735}, + title = {Witchcraft {Act} 1735}, + titleaddon = {(9 Geo.2, c.5)}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2540,44 +3216,33 @@ For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop %</driver> \end{bibexbox} -%<*driver> -\begin{tips}\item Use the \texttt{entrysubtype} `secondary' to put the number in the right place.\end{tips} -%</driver> - -% Parliamentary reports - -\subsubsection*{House of Commons paper} -Use this form for reports of House of Commons select committees. +\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|tex1> %<*driver|bib> -@techreport{gb.hc2003/04-30, - author = {{Great Britain. Parliament. House of Commons}}, - year = {2004}, - title = {National {Savings} Investment Deposits: 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} \iffalse %</driver> %<*tex1|bib1> -@techreport{gb.hc2003/04-30, - author = {{Great Britain. Parliament. House of Commons}}, - year = {2004}, - title = {National {Savings} Investment Deposits: account 2002--2003}, +@book{gb.pa2014, + key = {Pensions Act 2014}, + title = {Pensions {Act} 2014}, + number = {c.19}, address = {London}, - publisher = {National Audit Office}, - type = {{HC}}, - number = {2003/04, 30}} + publisher = {TSO}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2587,38 +3252,39 @@ Use this form for reports of House of Commons select committees. \end{bibexbox} -\subsubsection*{House of Lords paper} +% UK secondary legislation -Use this form for reports of House of Lords select committees. +\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|tex1> %<*driver|bib> -@techreport{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}, + urlyear = {17 April 2016}} %</driver|bib> %<*driver> \end{Verbatim} \iffalse %</driver> %<*tex1|bib1> -@techreport{gb.hl1986/87-66, - author = {{Great Britain. Parliament. House of Lords}}, - year = {1987}, - title = {Social Fund (Maternity and Funeral Expenses) Bill}, - address = {London}, +@book{gb.hmr2012, + title = {The {Human} {Medicines} {Regulations} 2012}, + titleaddon = {[Online]}, + number = {No.1916}, + address = {United Kingdom}, publisher = {HMSO}, - type = {{HL}}, - number = {1986/87, (66)}} + url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf}, + urldate = {17 April 2016}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2628,43 +3294,42 @@ Use this form for reports of House of Lords select committees. \end{bibexbox} %<*driver> -\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} %</driver> -\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|tex1> %<*driver|bib> -@techreport{gb.cm6041, - author = {{Great Britain. Ministry of Defence}}, - year = {2004}, - title = {Delivering Security in a Changing World{:} 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} \iffalse %</driver> %<*tex1|bib1> -@techreport{gb.cm6041, - author = {{Great Britain. Ministry of Defence}}, - year = {2004}, - title = {Delivering Security in a Changing World{:} Defence White Paper}, - address = {London}, - publisher = {TSO}, - type = {{Cm.}}, - number = {6041}} +@techreport{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}} %</tex1|bib1> %<*driver|tex1> \end{Verbatim} @@ -2674,8 +3339,6 @@ years in \texttt{series} and the HL and HC numbers in \texttt{number}. \end{bibexbox} -\subsection{Legal references: EU legislation and reports} - % European legislation \subsubsection*{EU regulation or directive, decision, recommendation or opinion} @@ -2713,8 +3376,8 @@ years in \texttt{series} and the HL and HC numbers in \texttt{number}. %</driver> \end{bibexbox} -\begin{hacks} -\item Use \lstinline[style=dtxlatex]|\defcitealias| to provide a suitable citation string: +\begin{hacks}\item +Use \lstinline[style=dtxlatex]|\defcitealias| to provide a suitable citation string: \begin{tcblisting}{listing side text, lefthand width=.46\linewidth} \defcitealias{eu.dir1984/2003}{% Council Regulation [EC] 1984/2003} @@ -2722,44 +3385,8 @@ years in \texttt{series} and the HL and HC numbers in \texttt{number}. \end{tcblisting} \end{hacks} -% 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|tex1> -%<*driver|bib> -@techreport{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} -\iffalse -%</driver> -%<*tex1|bib1> -@techreport{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}} -%</tex1|bib1> -%<*driver|tex1> -\end{Verbatim} -%<*driver> -\fi -%</driver> -\end{bibexbox} - -\subsection{Legal references: case reports} +\subsection{Legal or government document: case reports} \subsubsection*{Legal case study} @@ -2798,8 +3425,8 @@ not. \end{info} %<*driver> -\begin{tips} -\item The style assumes the year is essential if and only if a volume number is +\begin{tips}\item +By default, the style assumes the year is essential if and only if a volume number is \emph{not} provided; to override this, you can use the \key{year-essential} option: \begin{tcolorbox}% @@ -2813,7 +3440,7 @@ not. \end{tcolorbox} To use Scottish style for a case, you can either use the \key{scottish-style} option or -the keyword \texttt{sc}. +the keyword \texttt{sc}: \begin{tcolorbox}% [ colframe = Slate @@ -2827,8 +3454,8 @@ the keyword \texttt{sc}. \end{tcolorbox} \end{tips} -\begin{info} -\item Please bear in mind that the \texttt{options} and \texttt{keywords} +\begin{info}\item +Please bear in mind that the \texttt{options} and \texttt{keywords} fields from \textsf{biblatex} have been emulated rather crudely. You can only supply one of each and the text must match exactly (so don't add spaces or anything like that). @@ -2838,7 +3465,7 @@ or anything like that). 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}% @@ -2846,11 +3473,11 @@ 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} %</driver> @@ -2889,8 +3516,7 @@ you may prefer to format the reference more-or-less by hand: \end{bibexbox} %<*driver> -\begin{tips} -\item +\begin{tips}\item Use the \texttt{number} field (or the non-standard \texttt{casenmuber} field) for the case number. For Commission Decisions, use the (non-standard) \texttt{casenumber} or (\textsf{biblatex-oscola}) \texttt{userb} field for the @@ -2905,7 +3531,7 @@ Commission case number, \texttt{number} for the formal decision number, and give %<*driver> \bibliography{bath-bst} -\section*{Licence} +\section{Licence} \begin{markdown*}{hybrid=true} %</driver> @@ -2913,7 +3539,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 bath-bst.dtx and a Makefile. @@ -2982,6 +3608,7 @@ This work is ‘maintained’ (as per LPPL maintenance status) by [Alex Ball][me % % The line numbers for the listings below match |bathx.bst|. % \setcounter{lstnumber}{16} +% \newcounter{mismatch} % % \subsection{Data model} % @@ -3015,6 +3642,7 @@ ENTRY language library month + nameaddon note number options @@ -3051,7 +3679,10 @@ ENTRY % We define five states which trigger increasingly strong delimiters. % % \begin{macrocode} -INTEGERS { output.state before.all mid.clause mid.sentence after.sentence after.block } +INTEGERS { + output.state before.all mid.clause mid.sentence after.sentence after.block + online.shown +} FUNCTION {init.state.consts} { #0 'before.all := #1 'mid.clause := @@ -3188,11 +3819,12 @@ FUNCTION {date.block} % \end{macrocode} % % The |bibinfo| functions consume two tokens: the value and name of a field -% respectively. If the value is non-null, it is written out to the .bbl file in -% the form |\bibinfo{field name}| |{field value}|. If the value is missing, the -% tokens are replaced with an empty string; if the value is empty, it is put -% back on the stack. The |check| version does this silently, while the |warn| -% version issues warnings in the log file if the value is missing or empty. +% respectively. If the value is non-null, the tokens are concatenated in +% the form |\bibinfo{field name}| |{field value}|. Otherwise, the field name +% is removed from the stack; if the value is missing rather than empty, it is +% replaced with an empty string. The |check| version does this silently, while +% the |warn| version issues a warning in the log file if the value is missing +% or empty. % % \begin{macrocode} FUNCTION {bibinfo.check} @@ -3343,13 +3975,20 @@ FUNCTION {either.or.check} % % \begin{macrocode} FUNCTION {is.online} -{ url empty$ doi empty$ and - { type$ "online" = +{ online.shown + { #0 } + { url empty$ + doi empty$ and + urldate empty$ and + urlyear empty$ and + { type$ "online" = + { #1 } + { #0 } + if$ + } { #1 } - { #0 } if$ } - { #1 } if$ } % \end{macrocode} @@ -3812,6 +4451,7 @@ FUNCTION {output.bibitem} "}" write$ newline$ "" + #0 'online.shown := before.all 'output.state := } % \end{macrocode} @@ -3827,6 +4467,16 @@ FUNCTION {format.key} { key field.or.null } { "" } if$ + nameaddon duplicate$ empty$ + 'pop$ + { swap$ duplicate$ empty$ + 'skip$ + { " " * } + if$ + swap$ "[" swap$ * * "]" * + continue.clause + } + if$ } % \end{macrocode} % @@ -3875,25 +4525,71 @@ FUNCTION {format.btitle} { "t" change.case$ } if$ "title" bibinfo.check + duplicate$ empty$ + 'skip$ + { emphasize select.language } + if$ +} +% \end{macrocode} +% +% |format.avtitle| returns the title and language fields, where the shape +% of the title (upright or italic) depends on the type. +% +% \begin{macrocode} +FUNCTION {format.avtitle} +{ title duplicate$ empty$ 'skip$ - { emphasize + { "t" change.case$ } + if$ + "title" bibinfo.check + duplicate$ empty$ + 'skip$ + { type duplicate$ empty$ + { pop$ emphasize } + { duplicate$ "TV" = swap$ "Radio" = or + 'skip$ + 'emphasize + if$ + } + if$ select.language } if$ } % \end{macrocode} % -% |format.titleaddon| returns the titleaddon field. +% |format.titleaddon| returns the titleaddon field. This is the +% |bath.bst| version: +% +% \iffalse +%<*bst1> +% \fi +% \begin{macrocode} +FUNCTION {format.titleaddon} +{ titleaddon + duplicate$ empty$ 'skip$ + { "titleaddon" bibinfo.check } + if$ +} +% \end{macrocode} +% \iffalse +%</bst1> +%<*bst2> +% \fi\addtocounter{lstnumber}{-6} +% +% This is the |bathx.bst| version: % % \begin{macrocode} FUNCTION {format.titleaddon} { titleaddon duplicate$ empty$ 'skip$ -%<bst1> { "titleaddon" bibinfo.check } -%<bst2> { "[" swap$ "titleaddon" bibinfo.check * "]" * } + { "[" swap$ "titleaddon" bibinfo.check * "]" * } if$ } % \end{macrocode} +% \iffalse +%</bst2> +% \fi % % |format.version| returns the version field. % @@ -3909,18 +4605,33 @@ FUNCTION {format.version} } % \end{macrocode} % -% |get.title.addenda| is a convenience for writing out the elements that -% normally follow the title in |mid.clause| state. +% |get.title.online| is a the function for writing `[Online]' after +% a title. In \texttt{bath.bst} it prints the titleaddon field: % +% \iffalse +%<*bst1> +% \fi % \begin{macrocode} -FUNCTION {get.title.addenda} -{ continue.clause - format.version output - continue.clause - format.titleaddon output - continue.clause +FUNCTION {get.title.online} +{ online.shown + 'skip$ + { continue.clause + format.titleaddon output + #1 'online.shown := + } + if$ +} +% \end{macrocode} +%\iffalse +%</bst1> %<*bst2> - is.online +%\fi\addtocounter{lstnumber}{-9} +% +% In \texttt{bathx.bst} it conditionally prints the |bbl.online| string: +% +% \begin{macrocode} +FUNCTION {get.title.online} +{ is.online journal empty$ and booktitle empty$ @@ -3930,28 +4641,67 @@ FUNCTION {get.title.addenda} or and library empty$ - type$ "image" = + type$ duplicate$ "image" = + swap$ duplicate$ "booklet" = + swap$ duplicate$ "audio" = + swap$ duplicate$ "video" = + swap$ duplicate$ "music" = + swap$ "movie" = + or + or + or + or + or or and type$ "software" = not and - type empty$ - type$ "booklet" = not - type$ "audio" = not - and - type$ "video" = not - and - type$ "music" = not - and - type$ "movie" = not - and + series empty$ + type duplicate$ empty$ + { pop$ #1 } + { duplicate$ "TV" = + swap$ "Radio" = + or not + } + if$ or and - { bbl.online output } + { continue.clause + bbl.online output + #1 'online.shown := + } 'skip$ if$ +} +% \end{macrocode} +%\iffalse +%</bst2> +%\fi\addtocounter{mismatch}{34} +% +% |get.title.addenda| is a convenience for writing out the elements that +% normally follow the title in |mid.clause| state. +% +% \begin{macrocode} +FUNCTION {get.title.addenda} +{ continue.clause + format.version output +% \end{macrocode} +% +% These two lines are peculiar to |bathx.bst|, where |titleaddon| doesn't get moved: +% +% \iffalse +%<*bst2> +% \fi +% \begin{macrocode} continue.clause + format.titleaddon output +% \end{macrocode} +% \iffalse %</bst2> +% \fi\addtocounter{mismatch}{2} +% \begin{macrocode} + get.title.online + continue.clause type$ "reference" = { format.byeditors output } 'skip$ @@ -3999,14 +4749,26 @@ FUNCTION {format.in.ed.booktitle} duplicate$ empty$ 'skip$ { +% \end{macrocode} +% +% In |bathx.bst|, we conditionally include the |bbl.online| string: +% +% \iffalse %<*bst2> +% \fi +% \begin{macrocode} is.online { " " * bbl.online * + #1 'online.shown := } 'skip$ if$ +% \end{macrocode} +% \iffalse %</bst2> +% \fi\addtocounter{mismatch}{7} +% \begin{macrocode} editor "editor" format.names.ed duplicate$ empty$ 'pop$ { "," * " " * @@ -4036,14 +4798,28 @@ FUNCTION {legal.journal.shape} % % \subsection{Dates} % -% |nodate.check| looks at the most recent token. If it is empty, replaces it -% with `n.d.' unless either |sortyear| or the |nonodate| option is present. +% In |bath.bst|, |nodate.check| doesn't do anything: % +% \iffalse +%<*bst1> +% \fi\addtocounter{lstnumber}{-\value{mismatch}} % \begin{macrocode} FUNCTION {nodate.check} { -%<bst1> skip$ + skip$ +} +% \end{macrocode} +% \iffalse +%</bst1> %<*bst2> +% \fi\addtocounter{lstnumber}{\numexpr\value{mismatch}-4\relax} +% +% In |bathx.bst|, it looks at the most recent token. If it is empty, replaces +% it with `n.d.' unless either |sortyear| or the |nonodate| option is present. +% +% \begin{macrocode} +FUNCTION {nodate.check} +{ duplicate$ empty$ sortyear empty$ and @@ -4054,9 +4830,11 @@ duplicate$ empty$ } 'skip$ if$ -%</bst2> } % \end{macrocode} +% \iffalse +%</bst2> +% \fi\addtocounter{mismatch}{9} % % |format.date| returns the year and any disambiguation label. % @@ -4132,6 +4910,18 @@ FUNCTION {format.eu.date} % % \subsection{Series, volumes, editions} % +% |format.series| returns the case-altered series field. +% +% \begin{macrocode} +FUNCTION {format.series} +{ series + duplicate$ empty$ 'skip$ + { "t" change.case$ } + if$ + "series" bibinfo.check +} +% \end{macrocode} +% % |format.bvolume| returns the volume and series information (in italics), % with a comma between. A warning is given if |number| is also given. % @@ -4141,7 +4931,7 @@ FUNCTION {format.bvolume} { "" } { bbl.volume volume tie.or.space.prefix "volume" bibinfo.check * * - series "series" bibinfo.check + format.series duplicate$ empty$ 'pop$ { emphasize ", " * swap$ * } if$ @@ -4161,7 +4951,7 @@ FUNCTION {format.number.series} { series field.or.null } { series empty$ { number "number" bibinfo.check } - { series "series" bibinfo.check + { format.series number tie.or.space.prefix "number" bibinfo.check * * } if$ @@ -4173,6 +4963,30 @@ FUNCTION {format.number.series} } % \end{macrocode} % +% |format.series.episode| returns the case-altered series and the number, +% separated by a space and both emphasised. +% +% \begin{macrocode} +FUNCTION {format.series.episode} +{ series + duplicate$ empty$ + 'skip$ + { "t" change.case$ } + if$ + "series" bibinfo.check emphasize + number "number" bibinfo.check emphasize + duplicate$ empty$ + { * } + { swap$ + duplicate$ empty$ + { * } + { ", " * swap$ * } + if$ + } + if$ +} +% \end{macrocode} +% % |is.num| converts a string to an integer and ensures it is in the range 0--9. % % \begin{macrocode} @@ -4274,36 +5088,17 @@ FUNCTION {format.thesis.type} } % \end{macrocode} % -% If the type is provided, |format.booklet.type| writes the type field -% with an initial capital. Then, if this is an online work with no author/editor, -% the online label is added. If the type is not provided, it -% returns an empty string. -% -% \begin{macrocode} -FUNCTION {format.booklet.type} -{ type duplicate$ empty$ - { pop$ "" } - { "type" bibinfo.check - is.online author empty$ and editor empty$ and - { " " * bbl.online * } - 'skip$ - if$ - } - if$ -} -% \end{macrocode} -% % |format.tr.number| returns the series, type and number fields as one of % `(number)', `(type number)', `(series, number)', or `(series, type number)'. % If a series is given, a |continue.clause| is inserted to remove the preceeding % comma. % -% If the series begins `HL\textvisiblespace', it is assumed to be a House of -% Lords paper, thus the number acquires additional parentheses. If it equals -% `C', `Cd', `Cmd', `Cmnd' or `Cm', it is followed by a dot rather than a comma -% (implemented as |add.cmd.number|). To help with this, |format.legr.number| -% consumes one token (the number) and returns the series and number as one -% token. +% If the series begins `HL\textvisiblespace' (with or without braces, but it +% should be with), it is assumed to be a House of Lords paper, thus the number +% acquires additional parentheses. If it equals `C', `Cd', `Cmd', `Cmnd' or +% `Cm', it is followed by a dot rather than a comma (implemented as +% |add.cmd.number|). To help with this, |format.legr.number| consumes one token +% (the number) and returns the series and number as one token. % % \begin{macrocode} FUNCTION {add.cmd.number} @@ -4321,7 +5116,7 @@ FUNCTION {format.legr.number} 'add.cmd.number { s "Cm" = 'add.cmd.number - { s #1 #3 substring$ 't := + { s purify$ #1 #3 substring$ 't := t "HL " = { ", (" swap$ "number" bibinfo.check * @@ -4370,7 +5165,7 @@ FUNCTION {format.tr.number} } if$ } - { "(" swap$ * + { "t" change.case$ "(" swap$ * type duplicate$ empty$ { pop$ number duplicate$ empty$ @@ -4397,7 +5192,7 @@ FUNCTION {format.tr.number} % \end{macrocode} % % |format.manual.number| returns the series, type and number fields as one of -% `(number)', `(type number)', `(series number)', or `(series number, type)'. +% `number', `type number', `series number', or `series number, type'. % % \begin{macrocode} FUNCTION {format.manual.number} @@ -4423,8 +5218,10 @@ FUNCTION {format.manual.number} } if$ } - { number duplicate$ empty$ - 'pop$ + { "t" change.case$ + number duplicate$ empty$ + { pop$ + } { tie.or.space.prefix "number" bibinfo.check * * @@ -4669,18 +5466,28 @@ FUNCTION {format.institution.address} FUNCTION {format.library} { library "library" bibinfo.check emphasize +% \end{macrocode} +% +% In |bathx.bst|, we conditionally include the |bbl.online| string: +% +% \iffalse %<*bst2> +% \fi +% \begin{macrocode} duplicate$ empty$ not is.online and journal empty$ and - { " " * bbl.online * } + { " " * bbl.online * + #1 'online.shown := + } 'skip$ if$ -%</bst2> -} % \end{macrocode} +% \iffalse +%</bst2> +% \fi\addtocounter{mismatch}{10} % % The library field is also used for where a physical image is kept. % As we have only one address field, it will attach to whichever is @@ -4689,6 +5496,7 @@ FUNCTION {format.library} % |library| and |library| in preference to |organization|. % % \begin{macrocode} +} FUNCTION {format.img.library} { library duplicate$ empty$ { pop$ "" } @@ -4912,6 +5720,14 @@ FUNCTION {format.vol.num.pages} "(" swap$ * ")" * } if$ * + month "month" bibinfo.check duplicate$ empty$ + 'pop$ + { swap$ duplicate$ empty$ + 'pop$ + { ", " * swap$ * } + if$ + } + if$ eid empty$ { format.journal.pages } { format.journal.eid } @@ -4965,7 +5781,7 @@ FUNCTION {format.journal.series.vol.pages} 'skip$ { " " * } if$ - series "series" bibinfo.check + format.series volume "volume" bibinfo.check * duplicate$ empty$ 'skip$ @@ -4986,12 +5802,25 @@ FUNCTION {format.journal.series.vol.pages} if$ } { "journal" bibinfo.check +% \end{macrocode} +% +% In |bathx.bst|, we conditionally include the |bbl.online| string: +% +% \iffalse %<*bst2> +% \fi +% \begin{macrocode} is.online - { " " * bbl.online * } + { " " * bbl.online * + #1 'online.shown := + } 'skip$ if$ +% \end{macrocode} +% \iffalse %</bst2> +% \fi\addtocounter{mismatch}{6} +% \begin{macrocode} volume "volume" bibinfo.check duplicate$ empty$ 'pop$ @@ -5034,6 +5863,7 @@ FUNCTION {format.eprint} % \end{macrocode} % % |format.url| constructs a string |Available from: \url{url} [Accessed urldate]|. +% We also allow the \texttt{library} field to be used as a fallback URL. % % \begin{macrocode} FUNCTION {format.url} @@ -5045,6 +5875,18 @@ FUNCTION {format.url} { pop$ "" } { "\urlprefix\url{" swap$ * "}" * } if$ + duplicate$ empty$ + urlyear empty$ not + urldate empty$ not + or + and + { library duplicate$ empty$ + 'pop$ + { "\urlprefix{}" swap$ * * } + if$ + } + 'skip$ + if$ urlyear empty$ { urldate empty$ 'skip$ @@ -5116,14 +5958,26 @@ FUNCTION {article} "journal" bibinfo.check emphasize "journal" output.check +% \end{macrocode} +% +% In |bathx.bst|, we conditionally include the |bbl.online| string: +% +% \iffalse %<*bst2> +% \fi +% \begin{macrocode} is.online { continue.clause bbl.online output + #1 'online.shown := } 'skip$ if$ +% \end{macrocode} +% \iffalse %</bst2> +% \fi\addtocounter{mismatch}{7} +% \begin{macrocode} format.vol.num.pages output } { format.article.crossref output.nonnull @@ -5152,6 +6006,7 @@ FUNCTION {book} { format.title "title" output.check } { format.btitle "title" output.check } if$ + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5202,7 +6057,8 @@ FUNCTION {book} FUNCTION {booklet} { output.bibitem author empty$ - { format.btitle "title" output.check + { format.avtitle "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5211,12 +6067,34 @@ FUNCTION {booklet} author format.key output format.date "year" output.check date.block - format.btitle "title" output.check + format.avtitle "title" output.check get.title.addenda } if$ new.block - format.booklet.type output + format.series.episode output +% \end{macrocode} +% +% In |bathx.bst|, we conditionally include the |bbl.online| string: +% +% \iffalse +%<*bst2> +% \fi +% \begin{macrocode} + is.online + { continue.clause + bbl.online output + #1 'online.shown := + } + 'skip$ + if$ +% \end{macrocode} +% \iffalse +%</bst2> +% \fi\addtocounter{mismatch}{7} +% \begin{macrocode} + new.block + type "type" bibinfo.check output new.block howpublished "howpublished" bibinfo.check output new.block @@ -5283,8 +6161,10 @@ FUNCTION {incollection} { output.bibitem author empty$ { type$ "inreference" = - { format.label.booktitle output } - { format.title "title" output.check } + { format.label.booktitle output} + { format.title "title" output.check + get.title.online + } if$ format.date "year" output.check year empty$ 'skip$ { date.block } if$ @@ -5394,6 +6274,7 @@ FUNCTION {jurisdiction} 'new.sentence 'continue.clause if$ + get.title.online format.jur.date "year" output.check year empty$ 'skip$ { eu.case.check } if$ get.title.addenda @@ -5538,6 +6419,7 @@ FUNCTION {manual} { output.bibitem author empty$ { format.btitle "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5550,6 +6432,7 @@ FUNCTION {manual} get.title.addenda } if$ + month "month" bibinfo.check output format.edition output new.block format.manual.number output @@ -5573,6 +6456,7 @@ FUNCTION {image} { output.bibitem author empty$ { format.btitle "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5631,6 +6515,7 @@ FUNCTION {misc} { output.bibitem author empty$ { format.title "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5686,6 +6571,7 @@ FUNCTION {proceedings} { output.bibitem editor empty$ { format.btitle "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5723,6 +6609,7 @@ FUNCTION {techreport} { output.bibitem author empty$ { format.btitle "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda @@ -5762,6 +6649,7 @@ FUNCTION {unpublished} { output.bibitem author empty$ { booktitle empty$ 'format.btitle 'format.title if$ "title" output.check + get.title.online format.date "year" output.check year empty$ 'skip$ { date.block } if$ get.title.addenda |