I think \doifmodeelse{*footnote} is what we need here.
Von: Joey McCollum
Gesendet: Dienstag, 21. September 2021 18:45:53
An: Maier, Denis Christian (UB)
Cc: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Ibid. and idem support for
Ah, I see. My implementation will mess up in that case. We may need methods
that keep track of whether a citation is made in a footnote or not. I'm not
sure how to implement that. Certainly, if we knew that all footnote
citations were being made with the alternative=footnote option, then that
To be clear, I wasn’t talking about list vs notes. Consider just this :
\cite[alternative=inline][doe]
\footnote{\cite[alternative=inline][foo]}
\cite[alternative=inline][doe]
The citation in the footnote should not interupt the ibid-tracking in this
case. The second doe-citation should trigger
Yes, I haven't added any code to check for the useibid or useidem options
in list citations; they are only used for in-text citations in the SBL
specification definition. The distinction between \setupbtx[sbl:\s!list]
and \setupbtx[sbl:\s!cite] should allow us to specify their options
separately.
Cool.
I don't know about your particular solution, but will probably want to make
sure to have different variables for citations in the main text and in the
notes.
Denis
Von: ntg-context im Auftrag von Joey McCollum via
ntg-context
Gesendet: