Full citation after multiple ibid citations

Hello everyone,

I’m trying to adapt the “deutsche-gesellschaft-fur-psychologie.csl” style to fit requirements of my university.

The style already handles multiple identical citations well, using “ebd.” (German for ibid), e.g.:

(Watt, 2002)
(ebd.)
(ebd.)
...

What is required is, that after four “ebd.” a full citation should be rendered, e.g.

(Watt, 2002)
(ebd.)
(ebd.)
(ebd.)
(ebd.)
(Watt, 2002)
(ebd.)

and additionally the full citation after a page break.

Is this even possible with CSL? One have to track the citations as well as the page number of the output document.

Any ideas? Best regards,
Christian

I feel like this may have gotten answered somewhere else, but in case it didn’t:
I’m afraid that’s not possible. You can check for number of notes or citations since the last citation using near-note-distance, but you can’t count the number of ibids, sorry. Same thing with page breaks – CSL is not aware of pagination, so you can’t do that, sorry.