On Apr 26, 2014, at 23:34, Jan David Hauck wrote:
> Hello everybody,
>
> Two (hopefully) quick questions on templates:
>
> 1.) Same problem as:
> https://sourceforge.net/p/bibdesk/mailman/message/24924524/
> trying to get the output for multiple authors:
> Lastname, Firstname, Firstname Lastname, and Firstname Lastname. YYYY. Title
>
> (FYI, all styles that are following [or inspired by] the Chicago Manual of
> Style will have this format, the "logic" behind it is "always write authors
> as Firstname Lastname unless part of a list where Lastname is relevant for
> sort order, i.e., bibliographies").
>
> Is there a more elegant solution for this than the one suggested:
>
> <$authors.normalizedName.@.../><$authors.@...=0?>
> <$authors.@...=1?>
> <?$authors.@...=2?>
> and <$authors.name.@.../><?$authors.@...=3?>
> , <$authors.name.@.../>, and <$authors.name.@.../><?$authors.@...?>
> , <$authors.name.@.../>, <$authors.name.@.../>, et al.</$authors.@...?>
>
> as it happens that even in the social sciences there are papers with up to a
> dozen authors and the above solution is a little cumbersome if you want to
> have it universally applicable.
>
For a format as weird as this style, it must be something as cumbersome as
this, because it's not very consistent, to say the least. I am not sure how
many authors should be handled by this style, but it shouldn't be really more
cumbersome, just proper conditionals, whatever they need to be
(this one assumes to use et al after three names.)
> 2.) How do I get the "if no author display editor" behavior for templates?
>
> Any help greatly appreciated!
>
> Thank you!
>
> Jan
Use some conditionals based on the number of authors, and insert a template
using editors when there are no authors. For instance, in something like the
above you can insert something involving editors in the <$authors.@count=0?>
case.
Christiaan
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users