Help with citation style
Hello!
What am I doing wrong?
I'm getting this result:
ADVANCES IN DRUG RESEARCH. London: Academic Press, 1964. ISSN 0065-2490. Disponível em: http://www.ufrgs.br/secom/ciencia/simplificar-para-compreender/. Acesso em: 18 mar. 2021.
BIBLIOTECA CENTRAL UFRGS. [Março das mulheres]. Porto Alegre, 2020. Twitter: bc_UFRGS. Disponível em: https://twitter.com/BC_UFRGS/status/1234837429804204034. Acesso em: 4 mar. 2020.
CALLON, Michel; COSTA, Jorge Alberto Vieira. Dos estudos de laboratório aos estudos de coletivos heterogêneos, passando pelos gerenciamentos econômicos. Entrevista a Antonio Arellano Hernández e Ivan da Costa Marques. Sociologias, Porto Alegre, v. 10, n. 19, p. 302–321, 2008. Disponível em: https://doi.org/10.1590/S1517-45222008000100013.
LIMONGI-FRANÇA, Ana Cristina. Qualidade de vida no trabalho (QVT): conceitos e práticas nas empresas da sociedade pós-industrial. 2. ed. São Paulo: Atlas, 2012. Disponível em: https://integrada.minhabiblioteca.com.br/#/books/9788522478514/cfi/4!/4/2@100:0.00. E-book.
But I wanted to be like:
ADVANCES IN DRUG RESEARCH. London: Academic Press, 1964. ISSN 0065-2490. Disponível em: http://www.ufrgs.br/secom/ciencia/simplificar-para-compreender/. Acesso em: 18 mar. 2021.
BIBLIOTECA CENTRAL UFRGS. [Março das mulheres]. Porto Alegre, 2020. Twitter: bc_UFRGS. Disponível em: https://twitter.com/BC_UFRGS/status/1234837429804204034. Acesso em: 4 mar. 2020.
CALLON, Michel; COSTA, Jorge Alberto Vieira. Dos estudos de laboratório aos estudos de coletivos heterogêneos, passando pelos gerenciamentos econômicos. Entrevista a Antonio Arellano Hernández e Ivan da Costa Marques. Sociologias, Porto Alegre, v. 10, n. 19, p. 302–321, 2008. Disponível em: https://doi.org/10.1590/S1517-45222008000100013. Acesso em: 18 mar. 2021.
LIMONGI-FRANÇA, Ana Cristina. Qualidade de vida no trabalho (QVT): conceitos e práticas nas empresas da sociedade pós-industrial. 2. ed. São Paulo: Atlas, 2012. Disponível em: https://integrada.minhabiblioteca.com.br/#/books/9788522478514/cfi/4!/4/2@100:0.00. Acesso em: 18 mar. 2021. E-book.
My
Thanks again!
What am I doing wrong?
<macro name="access">
<!-- Macro utilizada para apresentar a URL do site utilizado e data de acesso -->
<choose>
<if variable="DOI">
<!-- Quando houver DOI, utilizá-lo no lugar do link -->
<text term="available at" text-case="capitalize-first" prefix=" " suffix=": "/>
<text variable="DOI" prefix="https://doi.org/" suffix=". "/>
<text macro="access-expression"/>
</if>
<else-if variable="URL">
<choose>
<if variable="ISSN">
<text term="available at" text-case="capitalize-first" prefix=" " suffix=": "/>
<text variable="URL" suffix=". "/>
<text macro="access-expression"/>
</if>
<else-if type="book chapter">
<!-- Quando for livro, incluir a expressão e-book em itálico -->
<text term="available at" text-case="capitalize-first" prefix=" " suffix=": "/>
<text variable="URL" suffix=". "/>
<text macro="access-expression"/>
<text value="e-book" text-case="capitalize-first" font-style="italic" suffix="."/>
</else-if>
<else>
<text term="available at" text-case="capitalize-first" prefix=" " suffix=": "/>
<text variable="URL" suffix=". "/>
<text macro="access-expression"/>
</else>
</choose>
</else-if>
</choose>
</macro>
<macro name="access-expression">
<!-- formato de acesso utiliza a macro accessed -->
<text term="accessed" text-case="capitalize-first"/>
<text term="at" text-case="lowercase" prefix=" " suffix=": "/>
<text macro="accessed"/>
</macro>
<macro name="accessed">
<!-- Macro utilizada para a data de acesso -->
<date variable="accessed" suffix=".">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" suffix=" "/>
<date-part name="year" prefix=" "/>
</date>
</macro>
I'm getting this result:
ADVANCES IN DRUG RESEARCH. London: Academic Press, 1964. ISSN 0065-2490. Disponível em: http://www.ufrgs.br/secom/ciencia/simplificar-para-compreender/. Acesso em: 18 mar. 2021.
BIBLIOTECA CENTRAL UFRGS. [Março das mulheres]. Porto Alegre, 2020. Twitter: bc_UFRGS. Disponível em: https://twitter.com/BC_UFRGS/status/1234837429804204034. Acesso em: 4 mar. 2020.
CALLON, Michel; COSTA, Jorge Alberto Vieira. Dos estudos de laboratório aos estudos de coletivos heterogêneos, passando pelos gerenciamentos econômicos. Entrevista a Antonio Arellano Hernández e Ivan da Costa Marques. Sociologias, Porto Alegre, v. 10, n. 19, p. 302–321, 2008. Disponível em: https://doi.org/10.1590/S1517-45222008000100013.
LIMONGI-FRANÇA, Ana Cristina. Qualidade de vida no trabalho (QVT): conceitos e práticas nas empresas da sociedade pós-industrial. 2. ed. São Paulo: Atlas, 2012. Disponível em: https://integrada.minhabiblioteca.com.br/#/books/9788522478514/cfi/4!/4/2@100:0.00. E-book.
But I wanted to be like:
ADVANCES IN DRUG RESEARCH. London: Academic Press, 1964. ISSN 0065-2490. Disponível em: http://www.ufrgs.br/secom/ciencia/simplificar-para-compreender/. Acesso em: 18 mar. 2021.
BIBLIOTECA CENTRAL UFRGS. [Março das mulheres]. Porto Alegre, 2020. Twitter: bc_UFRGS. Disponível em: https://twitter.com/BC_UFRGS/status/1234837429804204034. Acesso em: 4 mar. 2020.
CALLON, Michel; COSTA, Jorge Alberto Vieira. Dos estudos de laboratório aos estudos de coletivos heterogêneos, passando pelos gerenciamentos econômicos. Entrevista a Antonio Arellano Hernández e Ivan da Costa Marques. Sociologias, Porto Alegre, v. 10, n. 19, p. 302–321, 2008. Disponível em: https://doi.org/10.1590/S1517-45222008000100013. Acesso em: 18 mar. 2021.
LIMONGI-FRANÇA, Ana Cristina. Qualidade de vida no trabalho (QVT): conceitos e práticas nas empresas da sociedade pós-industrial. 2. ed. São Paulo: Atlas, 2012. Disponível em: https://integrada.minhabiblioteca.com.br/#/books/9788522478514/cfi/4!/4/2@100:0.00. Acesso em: 18 mar. 2021. E-book.
My
macro: access-expression is not beeing included as it should when I use variable: DOI and value: e-book.Thanks again!
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
There are two small issues in the above -- there shouldn't be a semicolon after prefix="https://doi.org/"; and you should use match="any" for the else-if condition, but I don't think they'd change anything here.
Do other styles display access dates for those items?
I'm trying to make some adjustments in this style: http://www.zotero.org/styles/associacao-brasileira-de-normas-tecnicas-ufrgs
For the DOI in journal articles, it looks like Zotero isn't including the accessed date when there's no URL -- and for items with a page range, the URL is ommitted unless you check the "Include URL" checkbox in the Cite tab of the preferences.
[
{
"id": "http://zotero.org/groups/1919373/items/U7FCEY86",
"type": "book",
"edition": "2",
"event-place": "São Paulo",
"publisher": "Atlas",
"publisher-place": "São Paulo",
"title": "Qualidade de vida no trabalho (QVT): conceitos e práticas nas empresas da sociedade pós-industrial",
"URL": "https://integrada.minhabiblioteca.com.br/#/books/9788522478514/cfi/4!/4/2@100:0.00",
"author": [
{
"family": "Limongi-França",
"given": "Ana Cristina"
}
],
"issued": {
"date-parts": [
[
"2012"
]
]
}
},
{
"id": "http://zotero.org/groups/1919373/items/8KGTHU3M",
"type": "article-journal",
"archive": "SciELO Brasil",
"container-title": "Sociologias",
"DOI": "10.1590/S1517-45222008000100013",
"ISSN": "1517-4522",
"issue": "19",
"note": "publisher-place: Porto Alegre\ngenre: Entrevista a Antonio Arellano Hernández e Ivan da Costa Marques",
"page": "302-321",
"title": "Dos estudos de laboratório aos estudos de coletivos heterogêneos, passando pelos gerenciamentos econômicos",
"URL": "https://doi.org/10.1590/S1517-45222008000100013",
"volume": "10",
"author": [
{
"family": "Callon",
"given": "Michel"
},
{
"family": "Costa",
"given": "Jorge Alberto Vieira"
}
],
"accessed": {
"date-parts": [
[
"2021",
3,
18
]
]
},
"issued": {
"date-parts": [
[
"2008"
]
]
}
}
]
I always forget about that checkbox and I totally couldn't see that this book didn't have a date for access.
Sorry for the trouble!
<if variable="DOI">
<!-- Quando houver DOI, utilizá-lo no lugar do link -->
<text term="available at" text-case="capitalize-first" prefix=" " suffix=": "/>
<text variable="DOI" prefix="https://doi.org/"; suffix=". "/>
<text macro="access-expression"/>
</if>
Thanks again for your always marvelous work!!
Ps: Even though I always forget about it, it would be really good if omitting URL was an option at "document preferences".