Page 1 of 1
Feature request: Split common settings for primary and secondary citations
Posted: Wed Feb 05, 2025 11:17 am
by peter.malik
Re: Feature request: Split common settings for primary and secondary citations
Posted: Thu Feb 06, 2025 8:51 am
by Jon
You realize that in the temp citation you can override the format's general setting and specify any punctuation you prefer yourself? This is done with backslashes. For example, this temp citation {temp cite@\: \12-15} would result in a colon before the cited page, whereas {temp cite@\, \12-15} would result in a comma. Please see p. 280 of the User Guide (Help menu) for full details.
Jon
Sonny Software
Re: Feature request: Split common settings for primary and secondary citations
Posted: Thu Feb 06, 2025 9:00 am
by peter.malik
Jon wrote: ↑Thu Feb 06, 2025 8:51 am
You realize that in the temp citation you can override the format's general setting and specify any punctuation you prefer yourself? This is done with backslashes. For example, this temp citation {temp cite@\: \12-15} would result in a colon before the cited page, whereas {temp cite@\, \12-15} would result in a comma. Please see p. 280 of the User Guide (Help menu) for full details.
Jon
Sonny Software
I know this, but what if I want to use different page-range contraction settings (124-24 vs 124-124)? Then I completely lose the automatisation. I'd much prefer when there are options to do this sort of thing in the code or the UI already before doing the manual edits.
An elegant solution would be if you could include the cited pages in the formatting code itself; that way everyone could programme each type of reference to their liking.
For instance, just improving here, if “@“ stood for cited pages in the code, then, the code for a journal article ref could look like this:
Main citation:
a, ‘t’, j v `(`d`)`$ ${p–^@}
Subsequent citation:
a, ’s’{^, @}
In the first instance, you’ll either have the full page range from the main bibliographical entry or the cited pages entered in the word processor. In the second, you’ll either have just the short citation or a short citation with cited pages.
Re: Feature request: Split common settings for primary and secondary citations
Posted: Thu Feb 06, 2025 9:23 am
by Jon
peter.malik wrote: ↑Thu Feb 06, 2025 9:00 am
I know this, but what if I want to use different page-range contraction settings (124-24 vs 124-124)? Then I completely lose the automatisation. I'd much prefer when there are options to do this sort of thing in the code or the UI already before doing the manual edits.
That is not correct. Please examine the temp citations carefully -- they still contain cited pages, with all the features they have, the only difference is that the punctuation between the backslashes will be used rather than the punctuation entered in the format. So you have infinite flexibility.
As for using cited pages in the citation's definition in the format, that's possible, too. This allows you have have cited pages anywhere in the final citation, not just at the end.
Jon
Sonny Software
Re: Feature request: Split common settings for primary and secondary citations
Posted: Thu Feb 06, 2025 9:50 am
by peter.malik
Thanks so much, the latter is super helpful!