janwillem van dijk wrote:
In the main text of a book, with only one reference table for all
chapters, a reference will look like [Rutherford 1952]. In the table,
the references will be listed in alphabetical order as:
…
…
[Rutherford 1952] Rutherford, E. Chadwick, J. Ellis, C.D. & Pool, M.L.
Radiations from Radioactive Substances. American Journal of Physics 20
(7), 459 (1952).
…
…How do I get this [lastName year] in the mystyle.csl script.
Essentially I do not see how I get the last name of the first author
as a separate item.
Ah, the last name of the first author.
Well, you can use a “form” attribute value of “short” for the first part.
For the second, we’ve never explicitly looked at an example like this;
there’s nothing explicit in CSL about a first author.
I’m actually not sure we could do this, and we’ll probably need some
changes in the schema and in the Zotero code.
At first I thought you might just set the et-al rules options for “1”
and “1”, but that applies globally to a particular context (say a
citation), while you want to be able to use it in the bibliographic list
too (as the label).
One option might be something like:
...… and then call that macro from the respective places.
My only worry about a variable like “first-author” is it might be too
inflexible.
With that in mind, perhaps this would be better?
Anyone have any opinions or better ideas?
Bruce