Strange Ibid Behavior with Chicago-based Style

edited August 27, 2024
Hello,

I am using a slightly modified version of the Chicago 17 style (in-text), it works as expected. For a particular manuscript, where I only ever use citations in footnotes, I would need to use Ibid.
I hence made some changes to the block in the CSL (and simplified it somewhat):

https://s3.amazonaws.com/zotero.org/images/forums/u6673245/5epgqinuu53uh9zstijf.png

[Sorry, looks like I can only put the code as an image]

If it's an ibid, I just want "ibid", otherwise, the usual Author (Year). I don't care about locators.

However, this is what I get:

First occurrence: Author (Year)
Second and further occurrences: Author ibid.

Instead of just "ibid."

For a test, I tried to insert right before , and then I still get "Author ibid", and not "Author Author ibid" as could have been the case logically.

If anyone knows what's going on, that would be very helpful. Thank you
  • we'd have to see the whole style (put on pastebin.com or a similar code sharing site & link to from here) -- have you validated it? Also, have you tested in the Zotero Style Editor -- are you seeing the same there? If not, you may just not have the right version of the style installed.
  • I have pasted the whole thing there: https://pastebin.com/PEDy8KRq

    In the Zotero Style Editor it seems to run OK but I don't know how to test the Ibid functionality there.
  • That works for me.
    Can you try in a fresh document?
  • Hi, I just did, and I am getting the same behavior as before.
    For example with subsequent footnotes:

    3. Hoover (1944).
    4. Hoover ibid.
  • I don't see how that would happen with the code you shared. It works just fine for me:
    https://s3.amazonaws.com/zotero.org/images/forums/u452233/vfxgl9pf2o3lt0lc2t3b.png

    Any chance you're using a different style?
  • edited August 27, 2024
    Well, I am pretty sure I am using this precise style/file, because when I change it I see the impact on the citations. For example if I put the same thing (printing out ibid) in both the if and the else, then I do get just "ibid" everywhere.

    It is as if there was a cache or something with the name. I tried also reversing the order of the if and else, ie if not ibid then normal, else do ibid, and I was getting the same strange results as initially.
  • You didn't answer clearly whether you tried this in a new document?
  • I thought I did:

    "Hi, I just did, and I am getting the same behavior as before.
    For example with subsequent footnotes:

    3. Hoover (1944).
    4. Hoover ibid."

    This was using a different document, with a different bibliography.
  • which version of Zotero? And do you have any add-ons installed?
  • I'm using 6.0.37, with Better Bibtex, Libre Office and Word for Mac addons.

    The bibliography is exported as a Better CSL Json for processing in pandoc.
  • So the incorrect citations you're seeing are created using pandoc, not Zotero?
    You'd have to check on the pandoc forums, there -- I'd guess it might be a function of the pandoc in-text citation syntax, but not sure. (You're welcome to ask CSL questions here, but please _always_ mention when you're using anything else as part of your toolchain -- you've had two people spend a fair amount of time on something that could have taken 1 minutes to check the style and point you towards pandoc).

    To be safe, I just checked with your style and the Zotero Word add-on and both the style and Zotero definitely do this right.
  • I'm very sorry for that, I thought I had mentioned it in my first message, must have deleted it by mistake when I drafted it. (In fact I was surprised when you asked me the Zotero version)
    Thank you for the pointer re. pandoc, I will go check there.
Sign In or Register to comment.