On Tue, Apr 16, 2013 at 7:29 AM, Sebastian Karcher
<[email protected]> wrote:
> Following situation:
> The MHRA style currently prints only author names in subsequent notes,
> adding title-short when disambiguate evaluates to true. So far that's
> working great.
>
> Now, some materials - especially interviews and letters - often don't have
> titles, others - e.g. webpages - may have the same title and author.
> I tried adding issued date with if disambiguate="true" - but at least in
> Zotero/citerproc-js that means that date _and_ short title are printed
> whenever the authors are the same, which, most of the time, is incorrect.
> Twofold question:
> 1. Is there a way I'm overlooking that would allow me to add the date only
> if disambiguation by title fails? (obviously I can test for presence of a
> title, but that still doesn't help when titles are the same).
> 2. Are the other citeproc implementations behaving the same way as citeproc?
> Or are some evaluating the conditionals sequentially?

I was wondering when this issue would come around. :-)

citeproc-js is currently coded as you describe: it's all or nothing.
I've wondered about setting up a staged invocation, setting one node
at a time to "true" until the cite clears or disambiguation fails. It
would be a neat trick, since it could be done without changes to CSL.

So with Sebastian, I'll ask: has anyone implemented
disambiguate="true" in that way?

>
> code example, where both the title-short and the date-disambiguate macro
> start with
> <choose><if disambiguate="true">:
>
> <choose>
>         <if position="subsequent">
>           <group delimiter=", ">
>             <text macro="contributors-short"/>
>             <text macro="title-short"/>
>              <text macro="date-disambiguate"/>
>              <text macro="locators-specific-note"/>
>             </group>
>            </if>
>               ...
>   </choose>
>
> --
> Sebastian Karcher
> Ph.D. Candidate
> Department of Political Science
> Northwestern University
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to