1

For BibLaTeX-OSCOLA, I am encountering an error where consecutive invocations of legislation with a shorthand field does not make use of 'ibid', but instead makes reference to the shorthand name. Is there a way to force the use of 'ibid' instead?

MWE:

\documentclass{article}
\usepackage[style=oscola,
backend=biber]{biblatex}
\begin{filecontents}{eucases3.bib}
@legislation{fir,
  title          = {Regulation (EU) № 1169/2011 of the European Parliament and of the Council of 25 October 2011 on the provision of food information to consumers, amending Regulations (EC) № 1924/2006 and (EC) № 1925/2006 of the European Parliament and of the Council, and repealing Commission Directive 87/250/EEC, Council Directive 90/496/EEC, Commission Directive 1999/10/EC, Directive 2000/13/EC of the European Parliament and of the Council, Commission Directives 2002/67/EC and 2008/5/EC and Commission Regulation (EC) № 608/2004},
  shorthand      = {FIR},
  pagination     = {article},
  keywords       = {eu},
}
\end{filecontents}
\addbibresource{eucases3.bib}
\begin{document}
    A test sentence.\autocites[15]{fir} Another one \autocites[12]{fir}
\end{document}

enter image description here

1 Answer 1

1

Apparently, oscola gives precedence to shorthands over "ibid." We can try and change that by reordering some code in the cite and footcite bibmacros (you can find the original definitions of those macros in ll. 37-67 of oscola.cbx, v1.6).

\documentclass{article}
\usepackage[backend=biber, style=oscola]{biblatex}

\makeatletter
\renewbibmacro*{cite}{%
  \usebibmacro{cite:citepages}%
  \global\togglefalse{cbx:loccit}%
  \ifciteseen
    {\ifboolexpr{
          test {\ifciteibid}
          and
          not test {\iffirstonpage}
          and
          not test {\iftoggle{bbx:suppressibid}}
        }
       {\usebibmacro{cite:ibid}}
       {\iffieldundef{shorthand}
          {\usebibmacro{cite:short}}
          {\usebibmacro{cite:shorthand}}}}
    {\usebibmacro{cite:full}}}

\renewbibmacro*{footcite}{%
  \bbx@resetpostnotedelim%
  \usebibmacro{cite:citepages}%
  \global\togglefalse{cbx:loccit}%
  \ifciteseen
    {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
       {\usebibmacro{footcite:ibid}\bbx@unsetpostnotedelim}
       {\iffieldundef{shorthand}
          {\usebibmacro{footcite:note}}
          {\usebibmacro{footcite:shorthand}}}}
    {\usebibmacro{footcite:full}%
     \usebibmacro{footcite:save}}}
\makeatother

\begin{filecontents}{\jobname.bib}
@legislation{fir,
  title          = {Regulation (EU) № 1169/2011 of the European Parliament
                    and of the Council of 25 October 2011 on the provision
                    of food information to consumers,
                    amending Regulations (EC) № 1924/2006 and
                    (EC) № 1925/2006 of the European Parliament and of the Council,
                    and repealing Commission Directive 87/250/EEC,
                    Council Directive 90/496/EEC, Commission Directive 1999/10/EC,
                    Directive 2000/13/EC of the European Parliament and of the Council,
                    Commission Directives 2002/67/EC and 2008/5/EC
                    and Commission Regulation (EC) № 608/2004},
  shorthand      = {FIR},
  pagination     = {article},
  keywords       = {eu},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
  A test sentence.\autocites[15]{fir} Another one \autocites[12]{fir}
\end{document}

ibid art 12.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.