Help with citation style

Hello again!

I'm trying to update our styles (http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas-ufrgs) but there is two problems that i'm not getting how to solve on disambiguation puzzle:

1. givenname: I need only first letter of givenname while disambiguating and also that when an author with same surname but clarily other citation, because has others authors, there must not have the givenname disambigation.

I need this:
(SILVA, A., 1998; SILVA, P., 1998; SILVA; SANTOS, 2016)

SILVA, Aloísio Firmo Guimarães da. Reflexos da Lei de porte de arma sobre a competência da Justiça Federal. Jus Navigandi, Teresina, v. 2, n. 25, 1998. Disponível em: http://jusuol.com.br/revista/texto/1123/reflexos-da-lei-de-porte-de-arma-sobre-a-competencia-da-justiça-federal. Acesso em: 14 abr. 2003.
SILVA, Pablo Rodrigo Alflen da. Responsabilidade penal dos sócios e administradores por crimes contra ordem tributária. Revista Eletrônica do Curso de Direito da UFSM, Santa Maria, v. 14, n. 1, p. 1–32, 1998.
SILVA, Silmara Araújo da; SANTOS, Rita Maria Gomes dos. Qualidade de vida no trabalho: um estudo de caso em uma empresa do ramo salineiro de Baixa do Meio-RN. Revista Foco, [s. l.], v. 9, n. 1, 2016. Disponível em: http://www.novomilenio.br/Periodicos/index.php/foco/article/view/158. Acesso em: 14 jan. 2017.

But I'm getting this:

(SILVA, A. F. G. Da, 1998; SILVA, P. R. A. Da, 1998; SILVA, S. A. Da; SANTOS, 2016)

SILVA, Aloísio Firmo Guimarães da. Reflexos da Lei de porte de arma sobre a competência da Justiça Federal. Jus Navigandi, Teresina, v. 2, n. 25, 1998. Disponível em: http://jusuol.com.br/revista/texto/1123/reflexos-da-lei-de-porte-de-arma-sobre-a-competencia-da-justiça-federal. Acesso em: 14 abr. 2003.
SILVA, Pablo Rodrigo Alflen da. Responsabilidade penal dos sócios e administradores por crimes contra ordem tributária. Revista Eletrônica do Curso de Direito da UFSM, Santa Maria, v. 14, n. 1, p. 1–32, 1998.
SILVA, Silmara Araújo da; SANTOS, Rita Maria Gomes dos. Qualidade de vida no trabalho: um estudo de caso em uma empresa do ramo salineiro de Baixa do Meio-RN. Revista Foco, [s. l.], v. 9, n. 1, 2016. Disponível em: http://www.novomilenio.br/Periodicos/index.php/foco/article/view/158. Acesso em: 14 jan. 2017.


2. order of year suffix: I need that letters orders be same as citation order in text.

I need this:

(BOOTHE, 1990a)

(BOOTHE, 1990b)


BOOTHE, D. M. Drug therapy in cats: mechanisms and avoidance of adverse drug reactions. Journal of the American Veterinary Medical Association, Ithaca, v. 196, n. 8, p. 1297–1305, 1990a.

BOOTHE, D. M. Drug therapy in cats: a therapeutic category approach. Journal of the American Veterinary Medical Association, Ithaca, v. 196, n. 10, p. 1659–1669, 1990b.

But I'm getting this:

(BOOTHE, 1990b)

(BOOTHE, 1990a)


BOOTHE, D. M. Drug therapy in cats: a therapeutic category approach. Journal of the American Veterinary Medical Association, Ithaca, v. 196, n. 10, p. 1659–1669, 1990a.

BOOTHE, D. M. Drug therapy in cats: mechanisms and avoidance of adverse drug reactions. Journal of the American Veterinary Medical Association, Ithaca, v. 196, n. 8, p. 1297–1305, 1990b.

Is it because bibliography order rule is stronger than citation order rule? Is there a way to solve it?

What am I doing wrong?


<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" collapse="year" delimiter-precedes-et-al="never">
<!-- CITAÇÃO: uso de sufixo para desambiguação de anos e de prenome ativos -->
<sort>
<key macro="author"/>
<!-- ordena primeiro pela macro autor -->
<key variable="issued"/>
<!-- em seguida pela data -->
<key variable="year-suffix"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<!-- citações entre parênteses, separando mais de um documento com ponto-e-vírgula -->
<choose>
<if match="any" disambiguate="true">
<text variable="title" form="short" font-style="normal"/>
</if>
</choose>
<choose>
<if type="broadcast motion_picture song" match="any">
<!-- documentos em que citação é pelo título -->
<group>
<text variable="title" text-case="uppercase" suffix=", "/>
<text macro="issued-year"/>
</group>
</if>
<else>
<!-- do contrário é o formato padrão de autor e data separados por vírgula -->
<group>
<text macro="author-short" suffix=", "/>
<text macro="issued-year"/>
<text macro="citation-locator" prefix=", "/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography et-al-min="4" et-al-use-first="1" line-spacing="1" entry-spacing="1">
<!--REFERÊNCIAS: a partir de 4 autores utiliza et al., alinhamento a esquerda, espaçamento simples e uma linha entre referências-->
<sort>
<key macro="author-short"/>
<key variable="year-suffix"/>
<key macro="title"/>
<!-- ordena primeiro pela macro autor -->
<key variable="issued"/>
<!-- em seguida pela data -->
</sort>


Sorry for the trouble!
  • 1. Isn't possible. Zotero either prints all initials or none
    2. Yes, a/b is determined by order in the bibliography and you have it sorted by title there, so "a therapeutic" preceds "mechanisms". If you want it the other way around, you can sort by citation-number before title in the bibliography. What CSL will never do is to have b before a in the bibliography (nor does that make much sense to me)
  • Thank you for your quick reply, @adamsmith!

    1. even in cases where reference already has other authors to differ?

    Like this one (SILVA; SANTOS, 2016)

    2. For me too. Thanks!
  • You currently have the givenname-disambiguation-rule set to "primary-name" which will add initials for all first authors with the same name. If you set it to "by-cite" it will only do this where the citations would otherwise be identical, i.e. the first two SILVAs in your example above.

    Note, though, that "by-cite" would also not add initials if you have (SILVA 1996; SILVA 1998) even if the two are by different authors.
  • Got it.

    Thank you!!

Sign In or Register to comment.