-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ibid. and idem support #5
Comments
As we might expect, this works fine if we make \setxvariables[btx:sbl][previousinlinetag=\empty] initially, and \setxvariables[btx:sbl][previousinlinetag=\currentbtxtag] at the end of each So I should be able to close this issue. But is it a bad idea to use global variables here? And why does the local variable |
As said on the mailing list: you might want to make sure that references in the notes and in the body text don't interfere with each other. And, while you're at it: Commands like biblatex's |
Oh, and one thing to think about: some of this should maybe be standardized. As I've said before, users should be able to switch styles without to much hassle... |
We should avoid any interference between list and in-text entries, as the ibid. and idem checks are only done in the If I understand correctly, My hope is that Hans (or others on the ConTeXt development team) will implement a general macro (probably in |
As per my message on the list, this isn't 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 the ibid-mechanism. But: \cite[alternative=inline][doe]
\footnote{\cite[alternative=inline][foo]}
\cite[alternative=inline][foo] In this case, you wouldn’t want an ibid. for the foo-citation outside of the footnote. As it turns out, ConTeXt has a mode for checking whether you're in a footnote or not:
A sentence with a citation \cite[doe]. A sentence with a manual citation, e.g. to the Bible (Gen 1:1). Another sentence with a citation \cite[doe]. The second doe citation will result in an incorrect "ibid.", but a \mancite could suppress it. A sentence with a citation \cite[doe]. A sentence with a manual citation, e.g. to the Bible \mancite(Gen 1:1). Another sentence with a citation \cite[doe]. |
To make things more complex: Have a look at the options for biblatex's ibidtracker (manual p. 64):
In my experience, one will mostly want to use "constrict". Anyway, these are probably things that should be provided by |
Ah, I see. So I agree that all of this tracking should be implemented in |
Actually, in biblatex it doesn't print anything. All it does is really just resetting the "previously cited tag field". |
Oh, right! I read your example |
Another useful addition: useidem and useibid should have a parameters like perpage, persection etc. Or a way to reset ibid after certain boundaries (paragraphs, pages, sections). |
Agreed. My hope is that Hans or Alan could implement this through common helper functions in |
Ibid. (shorthand for a subsequent in-text citation of the last source cited in the text) and idem (shorthand for an author identical to the last author cited in the text) should be supported as optional citation style parameters. I suggest using the argument names
useibid
anduseidem
, followingbiblatex-sbl
. These should be added tomult-def.lua
as language-dependent parameter names as follows:(I have only added their English names at this time). They should default to
no
inpubl-imp-sbl.mkvi
:They can be set by the user using the
\setupbtx
command:\setupbtx[sbl:cite][ useibid=yes, useidem=yes ]
Ideally, we would then use a similar setup to the one used by Chicago (and inherited by SBL) to handle the same author in subsequent list entries, using the
\btxdoifsameaspreviouselse
macro. Unfortunately, the\btxdoifsameaspreviouselse
macro only works in the bibliographic list, as it uses existing indices in the list to determine what the "previous" entry is. For inline citations, we do not have such a structure that we can query. I have attempted to accomplish the desired functionality using a variable that is updated each time aninline
orshort
citation is invoked, as follows:But this doesn't work. The
\btx_sbl_previousinlinetag
macro appears to revert to\empty
each time I make a new citation.The text was updated successfully, but these errors were encountered: