Using biblatex-dw with footnote-dw style, I've noticed the lack of "op. cit." and "loc. cit." trackers. Is it possible to generate "op. cit." and "loc. cit." for repeating citations in footnotes, just like in verbose-trad1?

For example, I have the following MWE:




\addbibresource{Praca magisterska.bib}

    This is a document\cite[92]{deleuze_kino._2008}. We can see this is a document\cite[60]{ryan_narrative_2001}. This is another document\cite[93]{deleuze_kino._2008}.


With the following 'Praca magisterska.bib' bibliography:

    location = {Gdańsk},
    title = {Kino. 1. Obraz-ruch, 2. Obraz-czas},
    isbn = {978-83-7453-896-1},
    abstract = {Koncepcja obrazu-ruchu charakterystycznego dla kina atrakcji przeciwstawiona modernistycznemu modelowi obrazu-czasu.},
    publisher = {Słowo/\-Obraz Terytoria},
    author = {Deleuze, Gilles},
    translator = {Margański, Janusz},
    date = {2008}

    location = {Baltimore},
    title = {Narrative as Virtual Reality: Immersion and Interactivity in Literature and Electronic Media},
    isbn = {978-0-8018-6487-2},
    shorttitle = {Narrative as Virtual Reality},
    publisher = {Johns Hopkins University Press},
    author = {Ryan, Marie-Laure},
    date = {2001}

I have such an output in the footnotes: enter image description here

So, I would like to know if in the repeating citations it is possible to generate a footnote like "Deleuze, op. cit., s. 93", instead of "(see note)" references.

  • Not that your question is unclear, but you could make our lives a tiny bit easier by providing an MWE/MWEB so we have something to start from. That MWE could also show us the exact cases for 'op. cit.' and 'loc. cit.' you have in mind. Would you also want 'ibid.' to enter the mix? – moewe May 12 '18 at 21:24
  • What should happen to 'op. cit.' and 'loc. cit.' if there are several works by the same author. In that case a blind application of 'op. cit.' as defined by the \loccit tracker (as used by verbose-trad1) of biblatex can lead to two different sources being output as 'Name, op. cit.' depending on the context of the citation. – moewe May 13 '18 at 6:56
  • @moewe I have clarified the question with the example above. I hope that makes it more clear. – Ironupiwada May 13 '18 at 9:42

We need to add \ifloccit and \ifopcit logic to the cite bibmacro of footnote-dw.cbx. The two macros cite:opcit and cite:loccit are straight copies from verbose-trad1.cbx with the tiniest modification to work together with biblatex-dw.




      test {\ifciteseen}
      and not 
      bool {cbx:textcitefull}
         {\ifboolexpr{togl {cbx:shorthandibid}
                      and test {\ifciteibid}
                      and not test {\iffirstonpage}}




Lorem\autocite[380]{sigfridsson} ipsum\autocite[40]{knuth:ct:a} dolor\autocite[380]{sigfridsson} sit\autocite[50]{knuth:ct:a} amet\autocite[10]{knuth:ct:b} consectur\autocite[381]{sigfridsson} schlorem\autocite[10]{knuth:ct:b}

consectur\autocite[381]{sigfridsson} g\autocite[50]{knuth:ct:a} dolor\autocite[380]{sigfridsson} sit\autocite[50]{knuth:ct:a}

consectur\autocite[381]{sigfridsson} f\autocite[50]{knuth:ct:a} dolor\autocite[380]{sigfridsson} sit\autocite[51]{knuth:ct:a}


enter image description here

  • You're definitely a TeX.SX hero. :) I was initially going to comment on the question along the lines: "short of implementing it from scratch, it's not possible". And there it comes! – gusbrs May 13 '18 at 13:39
  • @moewe Again, very thanks for the help! Works perfectly :) – Ironupiwada May 13 '18 at 18:14

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.