“Style Error: Australian Guide to Legal Citation
Hello,
There is an error in this style in its subsequent citation of statutes.
The first time a statute is entered, it should output as below:
<i>Privacy Act 1988</i> (Cth)
This works correctly.
If the same statute is cites again in the very next statute, it should output as:
Ibid.
This works correctly.
But if the statute is cited again, with other, different, citations in between (eg in footnote 1 and then not again until footnote 4)
it outputs as:
<i>1988</i> (Cth).
It should output as for the first time the statute is entered, ie:
<i>Privacy Act 1988</i> (Cth).
The AGLC Guide is available at http://www.law.unimelb.edu.au/mulr/aglc
Assistance in fixing this would be appreciated.
There is an error in this style in its subsequent citation of statutes.
The first time a statute is entered, it should output as below:
<i>Privacy Act 1988</i> (Cth)
This works correctly.
If the same statute is cites again in the very next statute, it should output as:
Ibid.
This works correctly.
But if the statute is cited again, with other, different, citations in between (eg in footnote 1 and then not again until footnote 4)
it outputs as:
<i>1988</i> (Cth).
It should output as for the first time the statute is entered, ie:
<i>Privacy Act 1988</i> (Cth).
The AGLC Guide is available at http://www.law.unimelb.edu.au/mulr/aglc
Assistance in fixing this would be appreciated.
Looking at the style, the only way I can see the title from disappearing is if you - for some reason - use suppress author.
Another user in my group library is also having the same problem.
1. Privacy Act 1988 (Cth).
2. Anita L Allen and Erin Mack, ‘How Privacy Got Its Gender’ (1989) 10 N. Ill. UL Rev. 441.
3. 1988 (Cth).
What seems to be happening is that the "title-short" variable is not declaring content when it renders. Since it is grouped with the author-note macro, which produces no output on a legislation item, the group believes it has rendered nothing but orphan terms, and quashes the content.
Let me check into it. Should have more information in a bit.
The title-short variable is used in the subsequent reference. Currently, title-short is set from the Short Title field, so if that field is empty, you get nothing in the output. The style can be fixed by testing for variable="title-short", and rendering "title" if it is not available.
However ...
This behaviour is arguably wrong on the CSL 1.0.1 specification, which defines the term this way:
But ...
One of the reasons title-short was introduced in the first place was to allow testing for the presence of a value in the Short Title field (which isn't possible unless there is a first-class CSL variable attached to it).
So ...
It's clear that title-short should test false if Short Title is empty, but I'm not sure whether it should also fall back to the value of the Title field when an attempt is made to render it. The specification does not say so explicitly, and it's a bit of a stretch to read the language above in that way.
And so ...
I'll write to the CSL dev list (xbiblio-devel) for guidance. Meanwhile, the style can be fixed by testing for title-short, and explicitly calling the title field when it shows false.
I'm sorry for the confusion, for some reason I still had an old version of the style although I tried updating. The line in question was inserted here:
https://github.com/citation-style-language/styles/commit/7999dd78f47dca2469d67959fbde833d7e29803d
by you (fbennett).
I'm not sure about the reason for that change -
I had this left to the regular title macro on purpose since I did not see anything in AGLC suggesting short titles for those item types. If we want to use the short version here, it should be set to the macro title-short (which uses title form="short", so it doesn't stay empty).
this is a regression in the style - we'll fix it.
Ta.
Styles should also update automatically within 24hs for Zotero 4.0+
In an existing document, you may have to switch to a different style and back for the changes to take effect once the style is updated.
Any further problems please let us know.