Hi,
I am starting to understand the logic here. From Bruce’s email:
The way we do it now is the content of the conditional "type"
attribute is a list; so one ore more.
<if variable="author editor" match="any" min="3"/>
This formulation of more complex conditions with min and max seems clean
to me. I assume that both can be in a single if to set an upper and
lower bound?
I imagine that match=“any” means match on first existing variable
(author first, then editor). Perhaps this should be match=“first”? I
presume there would also be a match=“all” which would count all the
"author"-type variables listed?
One thing I note though is that it is a bit strange to do essentially a
"substitute" in this using a variable list, but to also have a
which is used in to select which variable to use.
Is it possible to just use a similiar mechanism in ? Perhaps
macros are a problem with this? Perhaps limiting conditionals to just
testing on variables and not macros will cause problems with as
well at some point (e.g., counting name parts picked out by macros???)?
I am not sure these are really important issues, just pointing out
things that could be problems down the road.
Other than that, this formulation of conditionals works for me.
combined with appropriate min and max in declarations to pick
out particular authors, this looks like it should solve the problems
with AGU format. What will happen with the options “et-al-min”, etc.?
It seems to me that the cleanest thing would be to remove them all at
once, but this involves modifying existing CSL’s.
Also, at some point I mentioned some confusions regarding
name-as-sort-order - what it really means, first vs. all, etc. Perhaps
now would be a good time to clear this up in the schema since we will be
making changes already. It seems to me that there are two needs that
people had the idea of addressing with name-as-sort-order. One is that
journals often differ on whether they want the first name to appear
before or after the last name in references. This ordering also may
change on which author is in question (first versus 2-infinity). There
needs to be a way to specify this in CSL. This could be down with
something like name-as-sort-order (though it might need to take
more/different values to represent all cases).
Another competing issue is how to deal with non-western names that might
use the first name for ordering. I think this should be dealt with
differently with something in Zotero that indicates which name is THE
name. But maybe there is something that needs to be in CSL about this.
Cheers,
David–
David M. Kaplan
Charge de Recherche 1
Institut de Recherche pour le Developpement
Centre de Recherche Halieutique Mediterraneenne et Tropicale
av. Jean Monnet
B.P. 171
34203 Sete cedex
France
Phone: +33 (0)4 99 57 32 27
Fax: +33 (0)4 99 57 32 95
http://www.ur097.ird.fr/team/dkaplan/index.html