summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oscola
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oscola')
-rw-r--r--Master/texmf-dist/tex/latex/oscola/american-oscola.lbx573
-rw-r--r--Master/texmf-dist/tex/latex/oscola/british-oscola.lbx6
-rw-r--r--Master/texmf-dist/tex/latex/oscola/english-oscola.lbx8
-rw-r--r--Master/texmf-dist/tex/latex/oscola/oscola.bbx69
-rw-r--r--Master/texmf-dist/tex/latex/oscola/oscola.cbx60
5 files changed, 647 insertions, 69 deletions
diff --git a/Master/texmf-dist/tex/latex/oscola/american-oscola.lbx b/Master/texmf-dist/tex/latex/oscola/american-oscola.lbx
new file mode 100644
index 00000000000..83ae46a8a7f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/oscola/american-oscola.lbx
@@ -0,0 +1,573 @@
+% Based on english.lbx by Philip Lehman and others
+% Part of the OSCOLA package for biblatex: see the file
+% oscola.lbx for copyright and licence information
+
+\ProvidesFile{english-oscola.lbx}
+[2019/01/20 v 1.6 Biblatex localisation file for OSCOLA citations]
+
+\DeclareRedundantLanguages{english,american,british}{english,american,british}
+
+\InheritBibliographyExtras{english}
+
+\NewBibliographyString{regulation,
+ regulations,
+ eucase,
+ eujoinedcases,
+ commissiondecision,
+ article,
+ articles,
+ application,
+ rule,
+ rules,
+ order,
+ directive,
+ decision,
+ bill,
+ draft,
+ clause,
+ clauses,
+ signed,
+ opened,
+ inforce,
+ adopted,
+ casenote,
+ firstpublished}
+
+\DeclareBibliographyExtras{%
+ \protected\def\bibrangedash{%
+ \textendash\penalty\hyphenpenalty}% breakable dash
+ \protected\def\bibdatedash{\bibrangedash}%
+ \def\finalandcomma{\addcomma}%
+ \protected\def\mkbibordinal#1{%
+ \begingroup
+ \@tempcnta0#1\relax\number\@tempcnta
+ \@whilenum\@tempcnta>100\do{\advance\@tempcnta-100\relax}%
+ \ifnum\@tempcnta>20
+ \@whilenum\@tempcnta>9\do{\advance\@tempcnta-10\relax}%
+ \fi
+ \ifcase\@tempcnta th\or st\or nd\or rd\else th\fi
+ \endgroup}%
+ \protected\def\mkusbibordinal#1{%
+ \begingroup
+ \@tempcnta0#1\relax\number\@tempcnta
+ \@whilenum\@tempcnta>100\do{\advance\@tempcnta-100\relax}%
+ \ifnum\@tempcnta>20
+ \@whilenum\@tempcnta>9\do{\advance\@tempcnta-10\relax}%
+ \fi
+ \ifcase\@tempcnta th\or st\or d\or d\else th\fi
+ \endgroup}%
+ \protected\def\mkbibmascord{\mkbibordinal}%
+ \protected\def\mkbibfemord{\mkbibordinal}%
+ \protected\def\mkbibdatelong#1#2#3{%
+ \iffieldundef{#3}
+ {}%
+ {\stripzeros{\thefield{#3}}%
+ \iffieldundef{#2}{}{\nobreakspace}}%
+ \iffieldundef{#2}%
+ {}%
+ {\mkbibmonth{\thefield{#2}}%
+ \iffieldundef{#1}{}{\space}}%
+ \iffieldundef{#1}%
+ {}%
+ {\stripzeros{\thefield{#1}}}}%
+ \protected\def\mkbibdateshort#1#2#3{%
+ \iffieldundef{#2}
+ {}
+ {\mkdatezeros{\thefield{#2}}%
+ \iffieldundef{#3}
+ {\iffieldundef{#1}{}{/}}
+ {/}}%
+ \iffieldundef{#3}
+ {}
+ {\mkdatezeros{\thefield{#3}}%
+ \iffieldundef{#1}{}{/}}%
+ \mkdatezeros{\thefield{#1}}}%
+ \savecommand\mkbibrangecomp
+ \savecommand\mkbibrangecompextra
+ \savecommand\mkbibrangeterse
+ \savecommand\mkbibrangeterseextra
+ \protected\def\mkbibrangecomp{%
+ \lbx@us@mkbibrangetrunc@long{long}}%
+ \protected\def\mkbibrangeterse{%
+ \lbx@us@mkbibrangetrunc@short{short}}%
+ \protected\def\mkbibrangecompextra{%
+ \lbx@us@mkbibrangetruncextra@long{long}}%
+ \protected\def\mkbibrangeterseextra{%
+ \lbx@us@mkbibrangetruncextra@short{short}}%
+ \protected\gdef\lbx@us@mkbibrangetrunc@short#1#2{%
+ \iffieldundef{#2year}
+ {}
+ {\printtext{%
+ \iffieldsequal{#2year}{#2endyear}
+ {\csuse{mkbibdate#1}{}{#2month}{#2day}}
+ {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
+ \iffieldundef{#2endyear}
+ {}
+ {\iffieldequalstr{#2endyear}{}
+ {\mbox{\bibdatedash}}
+ {\bibdatedash
+ \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}
+
+\protected\gdef\lbx@us@mkbibrangetruncextra@long#1#2{%
+ \iffieldundef{#2year}
+ {}
+ {\printtext{%
+ \iffieldsequal{#2year}{#2endyear}
+ {\csuse{mkbibdate#1}{}{#2month}{#2day}}
+ {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
+ \iffieldundef{#2endyear}
+ {\printfield{extrayear}}
+ {\iffieldequalstr{#2endyear}{}
+ {\printfield{extrayear}%
+ \mbox{\bibdatedash}}
+ {\bibdatedash
+ \iffieldsequal{#2year}{#2endyear}
+ {\iffieldsequal{#2month}{#2endmonth}
+ {\csuse{mkbibdate#1}{#2endyear}{}{#2endday}}
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}%
+ \printfield{extrayear}}}}}}
+
+\protected\gdef\lbx@us@mkbibrangetruncextra@short#1#2{%
+ \iffieldundef{#2year}
+ {}
+ {\printtext{%
+ \iffieldsequal{#2year}{#2endyear}
+ {\csuse{mkbibdate#1}{}{#2month}{#2day}}
+ {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
+ \iffieldundef{#2endyear}
+ {\printfield{extrayear}}
+ {\iffieldequalstr{#2endyear}{}
+ {\printfield{extrayear}%
+ \mbox{\bibdatedash}}
+ {\bibdatedash
+ \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}%
+ \printfield{extrayear}}}}}}
+}
+
+\UndeclareBibliographyExtras{%
+ \restorecommand\mkbibrangecomp
+ \restorecommand\mkbibrangecompextra
+ \restorecommand\mkbibrangeterse
+ \restorecommand\mkbibrangeterseextra
+}
+
+\DeclareBibliographyStrings{%
+% inherit = {english},
+ bibliography = {{Bibliography}{Bibliography}},
+ references = {{References}{References}},
+ shorthands = {{List of Abbreviations}{Abbreviations}},
+ editor = {{editor}{ed}},
+ editors = {{editors}{eds}},
+ compiler = {{compiler}{comp}},
+ compilers = {{compilers}{comp}},
+ redactor = {{redactor}{red}},
+ redactors = {{redactors}{red}},
+ founder = {{founder}{found}},
+ founders = {{founders}{found}},
+ continuator = {{continued}{cont}}, % FIXME: unsure
+ continuators = {{continued}{cont}}, % FIXME: unsure
+ collaborator = {{collaborator}{collab}}, % FIXME: unsure
+ collaborators = {{collaborators}{collab}}, % FIXME: unsure
+ translator = {{translator}{tr}},
+ translators = {{translators}{trs}},
+ commentator = {{commentator}{comm}},
+ commentators = {{commentators}{comm}},
+ annotator = {{annotator}{annot}},
+ annotators = {{annotators}{annot}},
+ commentary = {{commentary}{comm}},
+ annotations = {{annotations}{annot}},
+ introduction = {{introduction}{intro}},
+ foreword = {{foreword}{foreword}},
+ afterword = {{afterword}{afterword}},
+ editortr = {{editor and translator}%
+ {ed and tr}},
+ editorstr = {{editors and translators}%
+ {eds and trs}},
+ editorco = {{editor and commentator}%
+ {ed and comm}},
+ editorsco = {{editors and commentators}%
+ {eds and comm}},
+ editoran = {{editor and annotator}%
+ {ed and annot}},
+ editorsan = {{editors and annotators}%
+ {eds and annot}},
+ editorin = {{editor and introduction}%
+ {ed and introd}},
+ editorsin = {{editors and introduction}%
+ {eds and introd}},
+ editorfo = {{editor and foreword}%
+ {ed and foreword}},
+ editorsfo = {{editors and foreword}%
+ {eds and forewords}},
+ editoraf = {{editor and afterword}%
+ {ed and afterword}},
+ editorsaf = {{editors and afterword}%
+ {eds and afterword}},
+ editortrco = {{editor, translator\finalandcomma\ and commentator}%
+ {ed\addcomma\space trans\finalandcomma\ and comm}},
+ editorstrco = {{editors, translators\finalandcomma\ and commentators}%
+ {eds,\addabbrvspace trans\finalandcomma\ and comm}},
+ editortran = {{editor, translator\finalandcomma\ and annotator}%
+ {ed,\addabbrvspace trans\finalandcomma\ and annot}},
+ editorstran = {{editors, translators\finalandcomma\ and annotators}%
+ {eds,\addabbrvspace trans\finalandcomma\ and annot}},
+ editortrin = {{editor, translator\finalandcomma\ and introduction}%
+ {ed,\addabbrvspace trans\finalandcomma\ and introd}},
+ editorstrin = {{editors, translators\finalandcomma\ and introduction}%
+ {eds,\addabbrvspace trans\finalandcomma\ and introd}},
+ editortrfo = {{editor, translator\finalandcomma\ and foreword}%
+ {ed.,\addabbrvspace trans\finalandcomma\ and forew}},
+ editorstrfo = {{editors, translators\finalandcomma\ and foreword}%
+ {eds,\addabbrvspace trans\finalandcomma\ and forew}},
+ editortraf = {{editor, translator\finalandcomma\ and afterword}%
+ {ed,\addabbrvspace trans\finalandcomma\ and afterw}},
+ editorstraf = {{editors, translators\finalandcomma\ and afterword}%
+ {eds,\addabbrvspace trans\finalandcomma\ and afterw}},
+ editorcoin = {{editor, commentator\finalandcomma\ and introduction}%
+ {ed,\addabbrvspace comm\finalandcomma\ and introd}},
+ editorscoin = {{editors, commentators\finalandcomma\ and introduction}%
+ {eds,\addabbrvspace comm\finalandcomma\ and introd}},
+ editorcofo = {{editor, commentator\finalandcomma\ and foreword}%
+ {ed,\addabbrvspace comm\finalandcomma\ and forew}},
+ editorscofo = {{editors, commentators\finalandcomma\ and foreword}%
+ {eds,\addabbrvspace comm\finalandcomma\ and forew}},
+ editorcoaf = {{editor, commentator\finalandcomma\ and afterword}%
+ {ed,\addabbrvspace comm\finalandcomma\ and afterw}},
+ editorscoaf = {{editors, commentators\finalandcomma\ and afterword}%
+ {eds,\addabbrvspace comm\finalandcomma\ and afterw}},
+ editoranin = {{editor, annotator\finalandcomma\ and introduction}%
+ {ed,\addabbrvspace annot\finalandcomma\ and introd}},
+ editorsanin = {{editors, annotators\finalandcomma\ and introduction}%
+ {eds,\addabbrvspace annot\finalandcomma\ and introd}},
+ editoranfo = {{editor, annotator\finalandcomma\ and foreword}%
+ {ed,\addabbrvspace annot\finalandcomma\ and forew}},
+ editorsanfo = {{editors, annotators\finalandcomma\ and foreword}%
+ {eds,\addabbrvspace annot\finalandcomma\ and forew}},
+ editoranaf = {{editor, annotator\finalandcomma\ and afterword}%
+ {ed,\addabbrvspace annot\finalandcomma\ and afterw}},
+ editorsanaf = {{editors, annotators\finalandcomma\ and afterword}%
+ {eds,\addabbrvspace annot\finalandcomma\ and afterw}},
+ editortrcoin = {{editor, translator, commentator\finalandcomma\ and introduction}%
+ {ed,\addabbrvspace trans, comm\finalandcomma\ and introd}},
+ editorstrcoin = {{editors, translators, commentators\finalandcomma\ and introduction}%
+ {eds,\addabbrvspace trans, comm\finalandcomma\ and introd}},
+ editortrcofo = {{editor, translator, commentator\finalandcomma\ and foreword}%
+ {ed,\addabbrvspace trans, comm\finalandcomma\ and forew}},
+ editorstrcofo = {{editors, translators, commentators\finalandcomma\ and foreword}%
+ {eds,\addabbrvspace trans, comm\finalandcomma\ and forew}},
+ editortrcoaf = {{editor, translator, commentator\finalandcomma\ and afterword}%
+ {ed,\addabbrvspace trans, comm\finalandcomma\ and afterw}},
+ editorstrcoaf = {{editors, translators, commentators\finalandcomma\ and afterword}%
+ {eds,\addabbrvspace trans, comm\finalandcomma\ and afterw}},
+ editortranin = {{editor, translator, annotator\finalandcomma\ and introduction}%
+ {ed,\addabbrvspace trans, annot\finalandcomma\ and introd}},
+ editorstranin = {{editors, translators, annotators\finalandcomma\ and introduction}%
+ {eds,\addabbrvspace trans, annot\finalandcomma\ and introd}},
+ editortranfo = {{editor, translator, annotator\finalandcomma\ and foreword}%
+ {ed,\addabbrvspace trans, annot\finalandcomma\ and forew}},
+ editorstranfo = {{editors, translators, annotators\finalandcomma\ and foreword}%
+ {eds,\addabbrvspace trans, annot\finalandcomma\ and forew}},
+ editortranaf = {{editor, translator, annotator\finalandcomma\ and afterword}%
+ {ed,\addabbrvspace trans, annot\finalandcomma\ and afterw}},
+ editorstranaf = {{editors, translators, annotators\finalandcomma\ and afterword}%
+ {eds,\addabbrvspace trans, annot\finalandcomma\ and afterw}},
+ translatorco = {{translator and commentator}%
+ {trans\ and comm}},
+ translatorsco = {{translators and commentators}%
+ {trans\ and comm}},
+ translatoran = {{translator and annotator}%
+ {trans\ and annot}},
+ translatorsan = {{translators and annotators}%
+ {trans\ and annot}},
+ translatorin = {{translation and introduction}%
+ {trans\ and introd}},
+ translatorsin = {{translation and introduction}%
+ {trans\ and introd}},
+ translatorfo = {{translation and foreword}%
+ {trans\ and forew}},
+ translatorsfo = {{translation and foreword}%
+ {trans\ and forew}},
+ translatoraf = {{translation and afterword}%
+ {trans\ and afterw}},
+ translatorsaf = {{translation and afterword}%
+ {trans\ and afterw}},
+ translatorcoin = {{translation, commentary\finalandcomma\ and introduction}%
+ {trans, comm\finalandcomma\ and introd}},
+ translatorscoin = {{translation, commentary\finalandcomma\ and introduction}%
+ {trans, comm\finalandcomma\ and introd}},
+ translatorcofo = {{translation, commentary\finalandcomma\ and foreword}%
+ {trans, comm\finalandcomma\ and forew}},
+ translatorscofo = {{translation, commentary\finalandcomma\ and foreword}%
+ {trans, comm\finalandcomma\ and forew}},
+ translatorcoaf = {{translation, commentary\finalandcomma\ and afterword}%
+ {trans, comm\finalandcomma\ and afterw}},
+ translatorscoaf = {{translation, commentary\finalandcomma\ and afterword}%
+ {trans, comm\finalandcomma\ and afterw}},
+ translatoranin = {{translation, annotations\finalandcomma\ and introduction}%
+ {trans, annot\finalandcomma\ and introd}},
+ translatorsanin = {{translation, annotations\finalandcomma\ and introduction}%
+ {trans, annot\finalandcomma\ and introd}},
+ translatoranfo = {{translation, annotations\finalandcomma\ and foreword}%
+ {trans, annot\finalandcomma\ and forew}},
+ translatorsanfo = {{translation, annotations\finalandcomma\ and foreword}%
+ {trans, annot\finalandcomma\ and forew}},
+ translatoranaf = {{translation, annotations\finalandcomma\ and afterword}%
+ {trans, annot\finalandcomma\ and afterw}},
+ translatorsanaf = {{translation, annotations\finalandcomma\ and afterword}%
+ {trans, annot\finalandcomma\ and afterw}},
+ byauthor = {{by}{by}},
+ byeditor = {{edited by}{ed}},
+ bycompiler = {{compiled by}{compiler}},
+ byredactor = {{redacted by}{redactor}},
+ byfounder = {{founded by}{founder}},
+ bycontinuator = {{continued by}{continuator}},
+ bycollaborator = {{in collaboration with}{in collaboration with}}, % FIXME: unsure
+ bytranslator = {{translated \lbx@lfromlang\ by}{tr}},
+ bycommentator = {{commented by}{commentator}},
+ byannotator = {{annotated by}{annotator}},
+ withcommentator = {{with a commentary by}{with a commentary by}},
+ withannotator = {{with annotations by}{with annots\ by}},
+ withintroduction = {{with an introduction by}{with an intro\ by}},
+ withforeword = {{with a foreword by}{with a forew\ by}},
+ withafterword = {{with an afterword by}{with an afterw\ by}},
+ byeditortr = {{edited and translated \lbx@lfromlang\ by}%
+ {edspace and trans\ \lbx@sfromlang\ by}},
+ byeditorco = {{edited and commented by}%
+ {edspace and comm\ by}},
+ byeditoran = {{edited and annotated by}%
+ {edspace and annot\ by}},
+ byeditorin = {{edited, with an introduction, by}%
+ {ed,\addabbrvspace with an introd, by}},
+ byeditorfo = {{edited, with a foreword, by}%
+ {ed,\addabbrvspace with a forew, by}},
+ byeditoraf = {{edited, with an afterword, by}%
+ {ed,\addabbrvspace with an afterw, by}},
+ byeditortrco = {{edited, translated \lbx@lfromlang\finalandcomma\ and commented by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and comm\ by}},
+ byeditortran = {{edited, translated \lbx@lfromlang\finalandcomma\ and annotated by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and annot\ by}},
+ byeditortrin = {{edited and translated \lbx@lfromlang, with an introduction, by}%
+ {edspace and trans\ \lbx@sfromlang, with an introd, by}},
+ byeditortrfo = {{edited and translated \lbx@lfromlang, with a foreword, by}%
+ {edspace and trans\ \lbx@sfromlang, with a forew, by}},
+ byeditortraf = {{edited and translated \lbx@lfromlang, with an afterword, by}%
+ {edspace and trans\ \lbx@sfromlang, with an afterw, by}},
+ byeditorcoin = {{edited and commented, with an introduction, by}%
+ {edspace and comm, with an introd, by}},
+ byeditorcofo = {{edited and commented, with a foreword, by}%
+ {edspace and comm, with a forew, by}},
+ byeditorcoaf = {{edited and commented, with an afterword, by}%
+ {edspace and comm, with an afterw, by}},
+ byeditoranin = {{edited and annotated, with an introduction, by}%
+ {edspace and annot, with an introd, by}},
+ byeditoranfo = {{edited and annotated, with a foreword, by}%
+ {edspace and annot, with a forew, by}},
+ byeditoranaf = {{edited and annotated, with an afterword, by}%
+ {edspace and annot, with an afterw, by}},
+ byeditortrcoin = {{edited, translated \lbx@lfromlang\finalandcomma\ and commented, with an introduction, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and comm, with an introd, by}},
+ byeditortrcofo = {{edited, translated \lbx@lfromlang\finalandcomma\ and commented, with a foreword, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and comm, with a forew, by}},
+ byeditortrcoaf = {{edited, translated \lbx@lfromlang\finalandcomma\ and commented, with an afterword, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and comm, with an afterw, by}},
+ byeditortranin = {{edited, translated \lbx@lfromlang\finalandcomma\ and annotated, with an introduction, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and annot, with an introd, by}},
+ byeditortranfo = {{edited, translated \lbx@lfromlang\finalandcomma\ and annotated, with a foreword, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and annot, with a forew, by}},
+ byeditortranaf = {{edited, translated \lbx@lfromlang\finalandcomma\ and annotated, with an afterword, by}%
+ {ed,\addabbrvspace trans\ \lbx@sfromlang\finalandcomma\ and annot, with an afterw, by}},
+ bytranslatorco = {{translated \lbx@lfromlang\ and commented by}%
+ {trans\ \lbx@sfromlang\ and comm\ by}},
+ bytranslatoran = {{translated \lbx@lfromlang\ and annotated by}%
+ {trans\ \lbx@sfromlang\ and annot\ by}},
+ bytranslatorin = {{translated \lbx@lfromlang, with an introduction, by}%
+ {trans\ \lbx@sfromlang, with an introd, by}},
+ bytranslatorfo = {{translated \lbx@lfromlang, with a foreword, by}%
+ {trans\ \lbx@sfromlang, with a forew, by}},
+ bytranslatoraf = {{translated \lbx@lfromlang, with an afterword, by}%
+ {trans\ \lbx@sfromlang, with an afterw, by}},
+ bytranslatorcoin = {{translated \lbx@lfromlang\ and commented, with an introduction, by}%
+ {trans\ \lbx@sfromlang\ and comm, with an introd, by}},
+ bytranslatorcofo = {{translated \lbx@lfromlang\ and commented, with a foreword, by}%
+ {trans\ \lbx@sfromlang\ and comm, with a forew, by}},
+ bytranslatorcoaf = {{translated \lbx@lfromlang\ and commented, with an afterword, by}%
+ {trans\ \lbx@sfromlang\ and comm, with an afterw, by}},
+ bytranslatoranin = {{translated \lbx@lfromlang\ and annotated, with an introduction, by}%
+ {trans\ \lbx@sfromlang\ and annot, with an introd, by}},
+ bytranslatoranfo = {{translated \lbx@lfromlang\ and annotated, with a foreword, by}%
+ {trans\ \lbx@sfromlang\ and annot, with a forew, by}},
+ bytranslatoranaf = {{translated \lbx@lfromlang\ and annotated, with an afterword, by}%
+ {trans\ \lbx@sfromlang\ and annot, with an afterw, by}},
+ and = {{and}{and}},
+ andothers = {{and others}{and others}},
+ andmore = {{and others}{and others}},
+ volume = {{volume}{vol}},
+ volumes = {{volumes}{vols}},
+ jourvol = {{volume}{vol}},
+ jourser = {{series}{series}},
+ newseries = {{new series}{ns}},
+ oldseries = {{old series}{os}},
+ edition = {{edition}{edn}},
+ reprint = {{reprint}{repr}},
+ reprintof = {{reprint of}{repr of}},
+ reprintas = {{reprinted as}{rpt as}},
+ page = {{page}{p}},
+ pages = {{pages}{pp}},
+ column = {{column}{col}},
+ columns = {{columns}{cols}},
+ line = {{line}{l}},
+ lines = {{lines}{ll}},
+ verse = {{verse}{v}},
+ verses = {{verses}{vv}},
+ section = {{section}{s}},
+ sections = {{sections}{ss}},
+ paragraph = {{paragraph}{para}},
+ paragraphs = {{paragraphs}{paras}},
+ regulation = {{regulation}{reg}},
+ regulations = {{regulations}{regs}},
+ in = {{in}{in}},
+ inseries = {{in}{in}},
+ ofseries = {{of}{of}},
+ number = {{number}{no}},
+ chapter = {{chapter}{chap}},
+ mathesis = {{Master's thesis}{MA\addabbrvspace thesis}},
+ phdthesis = {{PhD\addabbrvspace thesis}{PhD\addabbrvspace thesis}},
+ resreport = {{research report}{research rep}},
+ techreport = {{technical report}{techspace rep}},
+ software = {{computer software}{compspace software}},
+ datacd = {{CD-ROM}{CD-ROM}},
+ audiocd = {{audio CD}{audio CD}},
+ version = {{version}{version}},
+ url = {{address}{address}},
+ urlseen = {{accessed}{accessed}},
+ inpress = {{in press}{in press}},
+ inpreparation = {{in preparation}{in preparation}},
+ submitted = {{submitted}{submitted}},
+ citedas = {{hereinafter}{hereinafter}},
+ thiscite = {{especially}{esp}},
+ seenote = {{see note}{n}},
+ quotedin = {{quoted in}{qtdspace in}},
+ idem = {{idem}{idem}},
+ idemsm = {{idem}{idem}},
+ idemsf = {{eadem}{eadem}},
+ idemsn = {{idem}{idem}},
+ idempm = {{eidem}{eidem}},
+ idempf = {{eaedem}{eaedem}},
+ idempn = {{eadem}{eadem}},
+ idempp = {{eidem}{eidem}},
+ ibidem = {{ibidem}{ibid}},
+ opcit = {{opspace cit}{opspace cit}},
+ loccit = {{locspace cit}{locspace cit}},
+ confer = {{cf}{cf}},
+ sequens = {{sq}{sq}},
+ sequentes = {{sqq}{sqq}},
+ passim = {{passim}{pass}},
+ see = {{see}{see}},
+ seealso = {{see also}{see also}},
+ backrefpage = {{cited on page}{citspace on p}},
+ backrefpages = {{cited on pages}{citspace on pp}},
+ january = {{January}{Jan}},
+ february = {{February}{Feb}},
+ march = {{March}{Mar}},
+ april = {{April}{Apr}},
+ may = {{May}{May}},
+ june = {{June}{Jun}},
+ july = {{July}{Jul}},
+ august = {{August}{Aug}},
+ september = {{September}{Sep}},
+ october = {{October}{Oct}},
+ november = {{November}{Nov}},
+ december = {{December}{Dec}},
+ langamerican = {{American}{American}},
+ langbrazilian = {{Brazilian}{Brazilian}},
+ langdanish = {{Danish}{Danish}},
+ langdutch = {{Dutch}{Dutch}},
+ langenglish = {{English}{English}},
+ langfrench = {{French}{French}},
+ langgerman = {{German}{German}},
+ langgreek = {{Greek}{Greek}},
+ langitalian = {{Italian}{Italian}},
+ langlatin = {{Latin}{Latin}},
+ langnorwegian = {{Norwegian}{Norwegian}},
+ langportuguese = {{Portuguese}{Portuguese}},
+ langspanish = {{Spanish}{Spanish}},
+ langswedish = {{Swedish}{Swedish}},
+ fromamerican = {{from the American}{from the American}},
+ frombrazilian = {{from the Brazilian}{from the Brazilian}},
+ fromdanish = {{from the Danish}{from the Danish}},
+ fromdutch = {{from the Dutch}{from the Dutch}},
+ fromenglish = {{from the English}{from the English}},
+ fromfrench = {{from the French}{from the French}},
+ fromgerman = {{from the German}{from the German}},
+ fromgreek = {{from the Greek}{from the Greek}},
+ fromitalian = {{from the Italian}{from the Italian}},
+ fromlatin = {{from the Latin}{from the Latin}},
+ fromnorwegian = {{from the Norwegian}{from the Norwegian}},
+ fromportuguese = {{from the Portuguese}{from the Portuguese}},
+ fromspanish = {{from the Spanish}{from the Spanish}},
+ fromswedish = {{from the Swedish}{from the Swedish}},
+ countryde = {{Germany}{DE}},
+ countryeu = {{European Union}{EU}},
+ countryep = {{European Union}{EP}},
+ countryfr = {{France}{FR}},
+ countryuk = {{United Kingdom}{GB}},
+ countryus = {{United States of America}{US}},
+ patent = {{patent}{pat}},
+ patentde = {{German patent}{German pat}},
+ patenteu = {{European patent}{European pat}},
+ patentfr = {{French patent}{French pat}},
+ patentuk = {{British patent}{British pat}},
+ patentus = {{US patent}{US pat}},
+ patreq = {{patent request}{pat\ req}},
+ patreqde = {{German patent request}{German pat\ req}},
+ patreqeu = {{European patent request}{European pat\ req}},
+ patreqfr = {{French patent request}{French pat\ req}},
+ patrequk = {{British patent request}{British pat\ req}},
+ patrequs = {{US patent request}{US pat\ req}},
+ file = {{file}{file}},
+ library = {{library}{library}},
+ abstract = {{abstract}{abstract}},
+ annotation = {{annotations}{annotations}},
+ eucase = {{Case}{Case}},
+ eujoinedcases = {{Joined Cases}{Joined Cases}},
+ commissiondecision = {{Commission Decision}{Commission Decision}},
+ article = {{article}{art}},
+ articles = {{articles}{arts}},
+ application = {{Application}{App}},
+ rule = {{rule}{r}},
+ rules = {{rules}{rr}},
+ order = {{Order}{Ord}},
+ directive = {{Directive}{Dir}},
+ decision = {{Decision}{Dec}},
+ bill = {{Bill}{Bill}},
+ draft = {{draft}{draft}},
+ clause = {{clause}{cl}},
+ clauses = {{clauses}{cll}},
+ inforce = {{entered into force}{entered into force}},
+ signed = {{signed}{signed}},
+ opened = {{opened for signature}{opened for signature}},
+ adopted = {{adopted}{adopted}},
+ casenote = {{note}{note}},
+ firstpublished = {{first published}{first published}},
+}
+
+\protected\gdef\lbx@us@mkbibrangetrunc@long#1#2{%
+ \iffieldundef{#2year}
+ {}
+ {\printtext{%
+ \iffieldsequal{#2year}{#2endyear}
+ {\csuse{mkbibdate#1}{}{#2month}{#2day}}
+ {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
+ \iffieldundef{#2endyear}
+ {}
+ {\iffieldequalstr{#2endyear}{}
+ {\mbox{\bibdatedash}}
+ {\bibdatedash
+ \iffieldsequal{#2year}{#2endyear}
+ {\iffieldsequal{#2month}{#2endmonth}
+ {\csuse{mkbibdate#1}{#2endyear}{}{#2endday}}
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/oscola/british-oscola.lbx b/Master/texmf-dist/tex/latex/oscola/british-oscola.lbx
index 53851968dd3..9e72e5341ad 100644
--- a/Master/texmf-dist/tex/latex/oscola/british-oscola.lbx
+++ b/Master/texmf-dist/tex/latex/oscola/british-oscola.lbx
@@ -2,10 +2,12 @@
% Part of the OSCOLA package for biblatex: see the file
% oscola.lbx for copyright and licence information
-\ProvidesFile{british-oscola.lbx}[2017/04/01 v 1.5 Biblatex localisation file for OSCOLA citations]
+\ProvidesFile{british-oscola.lbx}[2019/01/20 v 1.6 Biblatex localisation file for OSCOLA citations]
\InheritBibliographyExtras{british}
+\DeclareRedundantLanguages{english,american,british}{english,american,british}
+
\NewBibliographyString{regulation,
regulations,
eucase,
@@ -567,6 +569,4 @@
{\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}
{\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}}
-
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/oscola/english-oscola.lbx b/Master/texmf-dist/tex/latex/oscola/english-oscola.lbx
index 99f9bfd79a1..83ae46a8a7f 100644
--- a/Master/texmf-dist/tex/latex/oscola/english-oscola.lbx
+++ b/Master/texmf-dist/tex/latex/oscola/english-oscola.lbx
@@ -3,9 +3,11 @@
% oscola.lbx for copyright and licence information
\ProvidesFile{english-oscola.lbx}
-[2017/04/01 v 1.5 Biblatex localisation file for OSCOLA citations]
+[2019/01/20 v 1.6 Biblatex localisation file for OSCOLA citations]
-\DeclareRedundantLanguages{english}{english,american}
+\DeclareRedundantLanguages{english,american,british}{english,american,british}
+
+\InheritBibliographyExtras{english}
\NewBibliographyString{regulation,
regulations,
@@ -568,6 +570,4 @@
{\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}
{\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}}
-
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/oscola/oscola.bbx b/Master/texmf-dist/tex/latex/oscola/oscola.bbx
index 19056563b86..3cdcf291044 100644
--- a/Master/texmf-dist/tex/latex/oscola/oscola.bbx
+++ b/Master/texmf-dist/tex/latex/oscola/oscola.bbx
@@ -1,7 +1,7 @@
% Legal Style Citations using OSCOLA
-% Copyright Paul Stanley 2014-2017
-% This work consists of oscola.bbx, english-oscola.lbx, british-oscola.lbx, oscola.cbx
-% and oscola.ist.
+% Copyright Paul Stanley 2014-2018
+% This work consists of oscola.bbx, english-oscola.lbx, british-oscola.lbx,
+% oscola.cbx, american-oscola.lbx and oscola.ist.
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
@@ -13,7 +13,7 @@
% This work has the LPPL maintenance status 'maintained'.
% The current maintainer of this work is Paul Stanley (pstanley@essexcourt.net)
-\ProvidesFile{oscola.bbx}[2017/03/15 v1.5 Biblatex bibliography style for OSCOLA standard]
+\ProvidesFile{oscola.bbx}[2019/01/20 v1.6 Biblatex bibliography style for OSCOLA standard]
\RequireBibliographyStyle{authortitle}
@@ -71,30 +71,15 @@
\DeclareNameAlias{default}{family-given}%
\DeclareNameAlias{editor}{given-family}}
-\renewbibmacro*{name:family-given}[4]{%
- \ifuseprefix
- {\usebibmacro{name:delim}{#3#1}%
- \usebibmacro{name:hook}{#3#1}%
- \ifblank{#3}{}{%
- \ifcapital
- {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
- {\mkbibnameprefix{#3}\isdot}%
- \ifpunctmark{'}{}{\bibnamedelimc}}%
- \mkbibnamefamily{#1}\isdot
- \ifblank{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
- \ifblank{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}}
- {\usebibmacro{name:delim}{#1}%
- \usebibmacro{name:hook}{#1}%
- \mkbibnamefamily{#1}\isdot
- \ifblank{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
- \ifblank{#2#3}{}{}%
- \ifblank{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}%
- \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}}}
+% Github issue 5 refers: Moewe points out that I don't need a redefinition of
+% the name:family-given bibmacro, but can simply do the following
+\renewcommand*{\revsdnamepunct}{}
\DeclareNameAlias{sortname}{family-given}
% This deals with initials: we need to format them without dots
% and close together: HLA not H.L.A. or H. L. A. or H L A
+% The terseinits=true setting is not sufficient
\renewcommand*\bibinitperiod{}
\renewcommand*\bibinitdelim{}
\let\oldbibnamedelima\bibnamedelima
@@ -161,9 +146,7 @@
\DeclareEntryOption{year-essential}[true]{%
\setboolean{bbx@year-essential}{#1}}
-% Language Mapping
-\DeclareLanguageMapping{english}{english-oscola}
-\DeclareLanguageMapping{british}{british-oscola}
+\DeclareLanguageMappingSuffix{-oscola}
% Various aliases
\DeclareBibliographyAlias{inproceedings}{book}
@@ -293,7 +276,7 @@
\renewcommand\newunitpunct{\addspace}
\renewcommand{\newblockpunct}{\addspace}
\renewcommand{\subtitlepunct}{\addcolon\addspace}
-\newcommand{\extracitedelim}{,\space}
+\newcommand{\extracitedelim}{\addcomma\space}
\newcommand\casenotetext{\bibstring{casenote}}
\newcommand\firstpublishedstr{\bibstring{firstpublished}}
\newcommand*{\legalstarturl}{\ensuremath{\langle}}
@@ -635,7 +618,7 @@
\iffieldequals{entrysubtype}{\subtypecourtrules}%
{\usebibmacro{courtrules}}
{\ifkeyword{draft}%
- {\usebibmacro{legislation:bill}}
+ {\usebibmacro{legislation:bill}}%
{\ifkeyword{eu}%
{\usebibmacro{eulegislation}}%
{\printfield[default]{title}%
@@ -1191,8 +1174,10 @@
\newunit\newblock}
\newbibmacro{enjuriscitation}{%
- \usebibmacro{title}%
- \newunit\newblock
+ \iffieldundef{title}%
+ {}%
+ {\usebibmacro{title}%
+ \newunit\newblock}%
\usebibmacro{neutralcite}%
\iffieldundef{journaltitle}% UNREPORTED CASE
{}%
@@ -1276,7 +1261,9 @@
\newbibmacro{eulegislation}{%
\printfield[default]{title}%
\newunit\newblock%
- \usebibmacro{eulegref}}
+ \usebibmacro{eulegref}%
+ \newunit\newblock%
+ \usebibmacro{doi+eprint+url}}
\newbibmacro{eulegref}{%
\ifboolexpr{test {\iffieldequals{journaltitle}{\officialjournaltitle}}
@@ -1482,8 +1469,8 @@
\boolean{bbx@year-essential}%
\) }%
{\ifboolexpr{ test {\ifkeyword{sc}} or
- test {\iftoggle{bbx:scotstyle}}}
- {\usebibmacro{year}}
+ test {\iftoggle{bbx:scotstyle}}}%
+ {\usebibmacro{year}}%
{\usebibmacro{year}[brackets]}}%
{\usebibmacro{year}[parens]}%
}
@@ -1617,13 +1604,11 @@
\printtext{\mkbibparens{\usebibmacro{sessionyear}}}%
\newunit%
\iffieldundef{number}
- {}
+ {}%
{\printlist[billprinting]{institution}}%
- }
+ }%
{\printtext{\bibopenparen{\bibstring{draft}}
- \addspace\printdate\bibcloseparen}}
- \newunit}
-
+ \addspace\printdate\bibcloseparen}}}
\newbibmacro{legislation:note}{%
\iffieldundef{note}
@@ -1763,7 +1748,7 @@
{}%<--- this used to read \midsentence
{\ifboolexpr{test {\ifnumequal{\value{bbx@suppresspostnotedelim}}{1}}}
{\setunit{\addspace}%
- \bbx@resetpostnotedelim}
+ \bbx@resetpostnotedelim}%
{\setunit{\postnotedelim}}%
\usebibmacro{postnotepagination}}%
\global\toggletrue{cbx@postnoteprinted}}
@@ -1941,8 +1926,8 @@
\usebibmacro{author/editor/institution}%
\setunit*{\addcomma\space}\newblock
\usebibmacro{title}%
- \usebibmacro{reportinfo}
- \newunit\newblock
+ \usebibmacro{reportinfo}%
+ \newunit\newblock
\usebibmacro{revisedbookvolume}%
\newunit\newblock}%
@@ -2961,7 +2946,7 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\DeclareSortingScheme{niyt}{
+\DeclareSortingTemplate{niyt}{
\sort{
\field{presort}
}
diff --git a/Master/texmf-dist/tex/latex/oscola/oscola.cbx b/Master/texmf-dist/tex/latex/oscola/oscola.cbx
index 2c4b967ed51..72770b3db8f 100644
--- a/Master/texmf-dist/tex/latex/oscola/oscola.cbx
+++ b/Master/texmf-dist/tex/latex/oscola/oscola.cbx
@@ -2,7 +2,7 @@
% Part of the OSCOLA package for biblatex: see the file
% oscola.lbx for copyright and licence information
-\ProvidesFile{oscola.cbx}[2015/03/15 v1.5 Biblatex citation style for OSCOLA standard]
+\ProvidesFile{oscola.cbx}[2018/03/22 v1.6 Biblatex citation style for OSCOLA standard]
\RequireCitationStyle{verbose-inote}
@@ -66,7 +66,6 @@
{\usebibmacro{footcite:full}%
\usebibmacro{footcite:save}}}
-
\renewbibmacro*{citeindex}{%
\ifboolexpr{ test{\ifciteindex} and test{\iftoggle{cbx@weareindexing}}}
{\indexnames{labelname}%
@@ -110,7 +109,6 @@
\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}}}
-
\newbibmacro*{cite:miscshort}{%
\iffieldundef{shorttitle}
{\iffieldundef{journaltitle}
@@ -184,7 +182,6 @@
{\printtext[bibhyperlink]{\printfield{shorthand}}%
\bbx@resetpostnotedelim}}%
-
\newbibmacro*{makeshorteu}{%
\ifboolexpr{ test {\iffieldundef{number}} or test {\iffieldundef{type}} }%
{\usedriver{}{legislation}}%
@@ -207,11 +204,21 @@
\newbibmacro*{cite:refonlyfull}{%
\usebibmacro{cite:citepages}%
\global\togglefalse{cbx:loccit}%
- \ifentrytype{jurisdiction}
+ \ifentrytype{jurisdiction}%
{\clearfield{title}%
\clearfield{shorttitle}}%
{}%
- \usebibmacro{cite:full}}
+ \usebibmacro{cite:full}}
+
+\newbibmacro*{footcite:ref:juris}{%
+ \bbx@resetpostnotedelim%
+ \usebibmacro{citeindex}%
+ \ifboolexpr {test {\ifciteseen} or test {\ifciteibid}}
+ {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
+ {\footnote{\bibfootnotewrapper{\gdef\blx@postpunct@saved{}\usebibmacro{footcite:ibid}\midsentence\bbx@unsetpostnotedelim\usebibmacro{postnote}}}}
+ {\footnote{\bibfootnotewrapper{\gdef\blx@postpunct@saved{}\usebibmacro{cite:refonlynote}\usebibmacro{postnote}}}}}%
+ {\footnote{\bibfootnotewrapper{\gdef\blx@postpunct@saved{}\usebibmacro{cite:refonlyfull}\usebibmacro{postnote}%
+ \usebibmacro{footcite:save}}}}}
% I've left this, although I think I probably won't use it because
% it doesn't make sense to have "partial" references going back to
@@ -375,9 +382,6 @@
{}
{}
-% The following declarations are required for some reason that I cannot
-% understand. Unless so redefined, we get spacing problems with postnotes
-
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\usebibmacro{cite:full}}
@@ -390,15 +394,29 @@
{\multicitedelim}
{\usebibmacro{postnote}}
-%\DeclareCiteCommand{\textcite}[\cbx@textcite\footciteref]
-% {\gdef\cbx@savedkeys{}}
-% {\ifboolexpr{ test {\ifentrytype{jurisdiction}} or test{\ifentrytype{legislation}} }
-% {\usebibmacro{title:or:shorttitle}}%
-% {\printnames{labelname}}%
-% \xappto\cbx@savedkeys{\thefield{entrykey},}}
-% {\multinamedelim}
-% {\protected@xappto\cbx@savedcites{%
-% [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}
+\DeclareCiteCommand{\textcite}
+ {\usebibmacro{prenote}}%
+ {\ifboolexpr{ (
+ test {\ifentrytype{jurisdiction}}
+ or test {\ifentrytype{legislation}} )
+ }
+ {\usebibmacro{title:or:shorttitle}\blx@postpunct@saved%
+ \ifboolexpr{ (
+ test {\ifentrytype{legislation}}
+ and test {\iffieldundef{postnote}}
+ ) }
+ {}
+ {\usebibmacro{footcite:ref:juris}}}
+ {\usebibmacro{cite:author}\blx@postpunct@saved%
+ \gdef\blx@postpunct@saved{}%
+ \usebibmacro{footcite:ref:juris}}}
+ {\multicitedelim}
+ {}
+
+\newbibmacro{cite:author}{%
+ \ifnameundef{labelname}
+ {\printfield{label}}
+ {\printnames{labelname}}}
\newbibmacro{title:or:shorttitle}{%
\ifciteseen
@@ -410,7 +428,10 @@
{}}%
{\printfield{shorttitle}}}%
{\printfield{shorthand}}}%
- {\printfield{title}}}
+ {\printfield{title}%
+ \ifentrytype{legislation}
+ {\newunit\usebibmacro{date}}
+ {}}}
\renewbibmacro{textcite}{%
\ifentrytype{jurisdiction}
@@ -421,5 +442,4 @@
{\printfield[citetitle]{labeltitle}}
{\printnames{labelname}}}}
-
\endinput \ No newline at end of file