"ibid" equiv cites for parenthetical styles?

Presently I do this manually, which is a nuisance. In the pandoc below,
I would like the second citations to be rendered without the author and
year as “(p. 9)”. There is no intervening citation between it and the
first citation hence one can assume that “(p. 9)” is bound to the
earlier “Williams (1976: 9)”.

Later, as an academic, Williams [-@Williams1976kvc, p. 9] began
collecting words and exploring their histories and usage;  this would
manifest in his 1976 book *Keywords: A Vocabulary of Culture and
Society*. He wrote that this book wasn't a glossary of a particular
academic subject nor a series footnotes on the history of the
dictionary: "It is, rather, the record of an inquiry into a vocabulary:
a shared body of words and meanings." Most compellingly, these keywords
shape how we approach "certain activities and their interpretation" and
are indicative of "certain forms of thought"; conversely, they can also
"open up issues and problems" which need greater attention
[@Williams1976kvc, p. 9].
  1. Is it possible to do this?
  2. Would this be a CSL, style, or pandoc issue?

You can do that in CSL by just using if position="ibid-with-locator"
and then only rendering the locator macro.

You can do that in CSL by just using if position="ibid-with-locator"
and then only rendering the locator macro.

Could you point me to a parenthetical style that does this? I’ve only
seen “ibid-with-locator” used with notes.


they render ibid. (or rather ebd.) explicitly, but that’s the idea and
you can just take it out and remove the condition for ibid without a
locator entirely (since that would give you an empty citation, which
you never want).

I’m going to suggest a simpler solution: just use plain text for that.
That’s what I do.

it´s what I do, too, but if you´re moving back and forth between
parenthetical and footnote styles it´s not good enough and I figured
Joseph had thought of adding it by hand himself before asking :wink:

Yeah, just making sure he was thinking about it.

This also makes things work magically if you remove the first citation.

As I said, I already do it manually, but the above would be another benefit.