Is it possible to sort bibliography (author or title) considering different item types?

Hi,

The custom style I am dealing with (based on ABNT norms) is here=>
http://pastebin.com/GR9NJnWu

To item types "dictionary entry" and "encyclopedia article", the ABNT norm is guided by "title", not author. I mean:

ETHICS. In: SCOTT, Z. Dictionary of Politics.

So, when generating same bibliography list, I would need to deal with both (author or title). In this case, the output list alphabetically should be:

BALE, J. Mean and Face. etc.

ETHICS. In: BABBIE, Z. Dictionary of Politics. etc.

But the problem is that ETHICS is coming first because all is being sorting by author.

So, is it possible to sort bibliography considering either author or title, based on different item types?

Thanks!
  • I haven't tried this, but the idea would be to make a sort macro and do something like
    <macro name="sort-key">
    <choose>
    <if type="entry-dictionary">
    <text variable="title"/
    </if>
    <else>
    <text macro="author"/>
    </else>
    </choose>
    </macro>

    and then have that as the first key in the sort section of the bibliography.
    (we have mapping from Zotero to a dictionary item type now, right? - that didn't use to be the case).
  • It worked!
    Soon "dictionary entry" and "encyclopedia article" will be available in ABNT style.
Sign In or Register to comment.