> Variables rendered via cs:substitute are suppressed through the rest of the > cite.
Ah, thanks for that. I see it in the specs now. Regarding the `editors`, no other magic happening then. The name of the macro `container-contributors` seem to imply there is a different variable to access the "container editors", which could be the book editors in the case of a chapter, but I don't think there is any magic expected, right? I am just asking because in the case of Papers, the chapter and the book are 2 different items, but in this case, I likely need to make sure my CSL translation layer returns the editors of the book, if none abvailable for the chapter. I wanted to make sure I was not missing anything. Thanks! Charles On Mar 27, 2012, at 7:58 PM, Frank Bennett wrote: > On Wed, Mar 28, 2012 at 2:42 AM, Charles Parnot > <[email protected]> wrote: >> Hi all, >> >> I am scratching my head on a specific detail of the APA style and how it is >> supposed to work with the CSL specifications. >> >> The `<layout>` for the `<bibliography>` includes those 2 elements (among >> others): >> >> <text macro="author"/> >> <text macro="container-contributors"/> >> >> First of all, since the `author` macro has a `<substitute>` element that >> falls back to editor, and since the `container-contributors` calls for the >> `editor` variable, there is a potential for a duplicated output of the >> editors. >> >> Now, I also see that the `container-contributors` macro only really output >> the editors for chapters and paper-conference. Given the name of the macro, >> I suppose it's expected to output the editors of the 'container' item, which >> would be the book or the conference. >> >> Could one of you clarify how it's supposed to be handled, per the specs, or >> per some other type-specific implementation of the `editor` variable for >> chapters? > > Variables rendered via cs:substitute are suppressed through the rest > of the cite. > >> >> Thanks! >> >> Charles >> >> >> >> -- >> Charles Parnot >> [email protected] >> twitter: @cparnot >> http://mekentosj.com >> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> xbiblio-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > xbiblio-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel -- Charles Parnot [email protected] twitter: @cparnot http://mekentosj.com ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ xbiblio-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
