diff options
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-abnt')
32 files changed, 10998 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/CHANGELOG.md b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/CHANGELOG.md new file mode 100644 index 0000000000..12b4e2fc39 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/CHANGELOG.md @@ -0,0 +1,131 @@ +# Change Log +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + + +## [3.4] - 2018-11-17 + +### Added +- Allow different English varieties +- Add `\textcite*` command + +### Fixed +- Clear some harmless warnings +- Never abbreviate prefix in citations + +### Changed +- Use `uniquename=minfull` for citations +- Replace xstring with l3regex + + +## [3.3] - 2018-04-04 + +### Added +- Add `comp` option to numeric style + +### Fixed +- Fix problem with English translation + + +## [3.2] - 2017-10-23 + +### Added +- Add better tests +- Add `citecount` option + +### Changed +- **Support (and require) BibLaTeX 3.8 and Biber 2.8** +- Stop supporting abntex2cite +- Improve abnt citation style (inherit from `authoryear-comp`) +- Use small caps for authors' initials with `sccite` and `scbib` options +- Set language to portuguese automatically +- Disable sortcites + + +## [3.1] - 2017-07-28 + +### Added +- Add spanish translation +- Add english translation +- Add `extrayear` option + +### Changed +- Use `\raggedright` by default + +### Fixed +- Improve `\textapud` with multiple authors + + +## [3.0.1] - 2017-03-15 + +### Added +- Add "loc. cit." to `abnt-ibid` style +- Add `\textcite` to `abnt-ibid` style + +### Fixed +- Fix citations of articles with no author +- Add ellipsis after abbreviated titles in citations + + +## [3.0] - 2016-10-13 + +### Added +- Add examples form NBR 6023:2002 +- Add `abnt-ibid` style + +### Changed +- Make `bftitles` default and add `ittitles` + +### Fixed +- Fix missing parentheses around `authortype` +- Improve `\bibnamedash` behavior +- Fix capitalization of titles in a few entries + + +## [2.0.1] - 2016-08-03 + +### Added +- Add CHANGELOG.md +- Improve hyperref links + +### Changed +- Make starred commands more consistent + +### Fixed +- Improve handling of repeated titles +- Improve sorting for patents +- Allow citing with shorthand + + +## [2.0] - 2016-07-08 + +### Added +- Add `abnt-numeric` style + +### Removed +- Remove `biblatex`'s deprecated `\nameparts` macro + +### Fixed +- Fix problem adding entries with no author +- Fix problem with patent driver + + +## [1.0.1] - 2016-06-07 + +### Fixed +- Stop repeating same authors in citations +- Improve handling of small caps +- Improve capitalization of organization fields +- Add "et al." in citations + + +[3.4]: https://github.com/abntex/biblatex-abnt/compare/v3.3...v3.4 +[3.3]: https://github.com/abntex/biblatex-abnt/compare/v3.2...v3.3 +[3.2]: https://github.com/abntex/biblatex-abnt/compare/v3.1...v3.2 +[3.1]: https://github.com/abntex/biblatex-abnt/compare/v3.0...v3.1 +[3.0.1]: https://github.com/abntex/biblatex-abnt/compare/v3.0...v3.0.1 +[3.0]: https://github.com/abntex/biblatex-abnt/compare/v2.0.1...v3.0 +[2.0.1]: https://github.com/abntex/biblatex-abnt/compare/v2.0...v2.0.1 +[2.0]: https://github.com/abntex/biblatex-abnt/compare/v1.0.1...v2.0 +[1.0.1]: https://github.com/abntex/biblatex-abnt/compare/v1.0...v1.0.1 + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/README.md new file mode 100644 index 0000000000..1a30b5fcba --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/README.md @@ -0,0 +1,57 @@ +# biblatex-abnt +[![Build Status](https://travis-ci.org/abntex/biblatex-abnt.svg?branch=master)](https://travis-ci.org/abntex/biblatex-abnt) +[![NBR 6023:2002 100%](https://img.shields.io/badge/NBR%206023%3A2002-100%25-brightgreen.svg)](https://github.com/abntex/biblatex-abnt/blob/master/tests/NBR6023-2002_reference.pdf) +[![NBR 10520:2002 100%](https://img.shields.io/badge/NBR%2010520%3A2002-100%25-brightgreen.svg)](https://github.com/abntex/biblatex-abnt/blob/master/tests/NBR10520-2002_reference.pdf) + + +BibLaTeX style for Brazil's ABNT (Brazilian Association of Technical Standards) +rules. + +Version 3.4 + +--- + +Estilo para BibLaTeX compatível com as normas da ABNT. + +Versão 3.4 + +--- + +Permission is granted to copy, distribute and/or modify this software +under the terms of the LaTeX Project Public License, version 1.3c +(http://www.latex-project.org/lppl.txt). + +The current maintainer is Daniel Ballester Marques +([@dbmrq](https://github.com/dbmrq)). + +## Instalação + +O biblatex-abnt está incluso no TeX Live a partir de 2016. + +Para instalá-lo manualmente, copie os arquivos `.bbx`, `.cbx` e `.lbx` para + + <TEXMFLOCAL>/tex/latex/biblatex-contrib/biblatex-abnt/ + +e atualize o banco de dados do TeX (rodando o `texhash`, por exemplo). + +**O biblatex-abnt requer as últimas versões do Biber e do BibLaTeX. +Se você estiver com algum problema, verifique se esses pacotes estão +atualizados.** + +## Uso + +1. Adicione as seguintes linhas ao preâmbulo do seu arquivo `.tex`: + + ```tex + \usepackage[style=abnt]{biblatex} + \addbibresource{arquivo.bib} % Seus arquivos de + \addbibresource{outroarquivo.bib} % bibliografia vão aqui + ``` + +2. Use os comandos de citação (e.g. `\cite[10]{entrada2018}`) para citar +suas entradas. + +3. Use o comando `\printbibliography` para imprimir a bibliografia. + +*Consulte [o arquivo biblatex-abnt.pdf](https://github.com/abntex/biblatex-abnt/raw/master/doc/biblatex-abnt.pdf) e o [manual do biblatex](http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf) para informações sobre as opções e comandos disponíveis.* + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR10520-2002.bib b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR10520-2002.bib new file mode 100644 index 0000000000..14fdb6a947 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR10520-2002.bib @@ -0,0 +1,325 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +% section 5 >>>1 + +@book{authier1982, + author = {Authier-Reiriz}, + date = {1982}, +} + +@book{derrida1967, + author = {Derrida}, + date = {1967}, +} + +@book{mumford1949, + author = {Mumford}, + date = {1949}, +} + +@book{oliveira1943, + author = {Oliveira and Leonardos}, + date = {1943}, +} + +@book{assis1994, + author = {assis}, + date = {1994}, +} + +@book{barbour1971, + author = {Barbour}, + date = {1971}, +} + +@book{clarac1985, + author = {Clarac and Bonnin}, + date = {1985}, +} + +@book{sa1995, + author = {Sá}, + date = {1995}, +} + +@book{nichols1993, + author = {Nichols}, + date = {1993}, +} + +@unpublished{clemente2002, + author = {Elvo Clemente}, + title = {Poetas rio-grandenses}, + date = {2002}, + publisher = {\mkbibacro{EDIPUCRS}}, +} + +@book{souto1916, + author = {Souto}, + date = {1916}, +} + +@book{candido1993, + author = {Candido}, + date = {1993}, +} + +@book{rahner1962, + author = {Rahner}, + date = {1962}, +} + +% <<<1 + +% Section 6 >>>1 + +@book{teatro1963, + title = {Teatro Aberto}, + date = {1963}, +} + +@book{morais1955, + author = {Morais}, + date = {1955}, +} + +@book{barbosa1958, + author = {C. Barbosa}, + date = {1958}, +} + +@book{barbosa1959, + author = {O. Barbosa}, + date = {1959}, +} + +@book{barbosa1965a, + author = {Cássio Barbosa}, + date = {1965}, +} + +@book{barbosa1965b, + author = {Celso Barbosa}, + date = {1965}, +} + +@book{reeside1927a, + author = {Reeside}, + date = {1927}, +} + +@book{reeside1927b, + author = {Reeside}, + date = {1927}, +} + +@book{dreyfuss1989, + author = {Dreyfuss}, + date = {1989}, +} + +@book{dreyfuss1991, + author = {Dreyfuss}, + date = {1991}, +} + +@book{dreyfuss1995, + author = {Dreyfuss}, + date = {1995}, +} + +@book{cruz1998, + author = {Cruz and Correa and Costa}, + date = {1998}, +} + +@book{cruz1999, + author = {Cruz and Correa and Costa}, + date = {1999}, +} + +@book{cruz2000, + author = {Cruz and Correa and Costa}, + date = {2000}, +} + +@book{fonseca1997, + author = {Fonseca}, + date = {1997}, +} + +@book{paiva1997, + author = {Paiva}, + date = {1997}, +} + +@book{silva1997, + author = {Silva}, + date = {1997}, +} + +@book{cross1984, + author = {Cross}, + date = {1984}, +} + +@book{knox1986, + author = {Knox}, + date = {1986}, +} + +@book{mezirow1991, + author = {Mezirow}, + date = {1991}, +} + +@book{ruibarbosa, + author = {{Rui Barbosa}}, +} + +@book{lopes2000, + author = {Lopes, José Reinaldo de Lima}, + title = {O Direito na História}, + date = {2000}, + publisher = {Max Limonad}, + location = {São Paulo}, +} + +@book{bobbio1995, + author = {Norberto Bobbio}, + title = {O positivismo jurídico}, + subtitle = {lições de Filosofia do Direito}, + date = {1995}, + publisher = {Ícone}, + location = {São Paulo}, +} + +@article{jossua1976, + author = {Jean Pierra Jossua and Johann Baptist Metz}, + title = {Editorial: Teologia e Literatura}, + date = {1976}, + journaltitle = {Concilium}, + location = {Petrópolis}, + volume = {115}, + number = {5}, + pages = {2-5}, +} + +@book{merriam1991, + author = {S. Merriam and R. Caffarella}, + title = {Learning in adulthood}, + subtitle = {a comprehensive guide}, + date = {1991}, + publisher = {Jossey-Bass}, + location = {San Francisco}, +} + +@book{comissao1992, + author = {{Comissão das Comunidades Européias}}, + title = {A união européia}, + date = {1992}, + publisher = {Serviço das Publicações Oficiais das Comunidades Européias}, + location = {Luxemburgo}, +} + +@legislation{brasil1995, + author = {{Brasil}}, + nameaddon = {Ministério da Administração Federal e da REforma do Estado}, + title = {Plano diretora da reforma do aparelho do Estado}, + date = {1995}, + location = {Brasília, DF}, +} + +@article{anteprojeto1987, + title = {Anteprojeto de lei}, + date = {1987}, + journaltitle = {Estudos e Debates}, + location = {Brasília, DF}, + number = {13}, + pages = {51-60}, + issue = {jan.\isdot}, +} + +@article{aflor1995, + title = {A~flor Prometida}, + journaltitle = {Folha de S. Paulo}, + date = {1995}, + location = {São Paulo}, + pages = {4}, + issue = {2 abr.}, + date = {1995}, +} + +@article{noscanaviais1995, + title = {Nos~canaviais, mutilação em vez de lazer e escola}, + date = {1995}, + journaltitle = {O Globo}, + location = {Rio de Janeiro}, + issue = {16 jul.}, + note = {O País, p. 12}, +} + +% <<<1 + +% Section 7 >>>1 + +@collection{faria1994, + editor = {José Eduardo Faria}, + editortype = {organizer}, + title = {Direitos humanos, direitos sociais e justiça}, + date = {1994}, + publisher = {Malheiros}, + location = {São Paulo}, +} + +@book{silva1983, + author = {Silva}, + date = {1983}, +} + +@book{abreu1999, + author = {Abreu}, + date = {1999}, +} + +@book{vianna1986, + author = {Vianna}, + date = {1986}, +} + +@book{segatto1995, + author = {Segatto}, + date = {1995}, +} + +@book{gough1972, + author = {Gough}, + date = {1972}, +} + +@book{nardi1993, + author = {Nardi}, + date = {1993}, +} + +@book{morice1996, + author = {Morice}, + date = {1996}, +} + +% <<<1 + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR6023-2002.bib b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR6023-2002.bib new file mode 100644 index 0000000000..07f6179bc3 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/bibtex/bib/biblatex-abnt/NBR6023-2002.bib @@ -0,0 +1,3242 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +% section 7 >>>1 + +% Section 7.1 >>>2 + +@book{gomes1998a, + keywords = {7.1}, + author = {L. G. F. F Gomes}, + title = {Novela e sociedade no Brasil}, + location = {Niterói}, + publisher = {EdUFF}, + date = {1998}, +} + +@book{gomes1998b, + keywords = {7.1}, + author = {L. G. F. F Gomes}, + title = {Novela e sociedade no Brasil}, + location = {Niterói}, + publisher = {EdUFF}, + date = {1998}, + pagetotal = {137}, + dimensions = {21~cm}, + series = {Coleção Antropologia e Ciência Política}, + number = {15}, + note = {Bibliografia: p. 131-132}, + isbn = {85-228-0268-8}, +} + +@book{perfil1994, + keywords = {7.1}, + title = {Perfil da administração pública paulista}, + edition = {6}, + location = {São Paulo}, + publisher = {\mkbibacro{FUNDAP}}, + date = {1994}, + pagetotal = {317}, + note = {Inclui índice}, + isbn = {85-7285-026-0}, +} + +@booklet{ibict1993, + keywords = {7.1}, + author = {\mkbibacro{IBICT}}, + title = {Manual de normas de editoração do {\mkbibacro{IBICT}}}, + edition = {2}, + location = {Brasília, DF}, + date = {1993}, + pagetotal = {41}, +} + +@book{houaiss1996, + keywords = {7.1}, + editor = {Antonio Houaiss}, + title = {Novo dicionário {Folha Webster's}}, + subtitle = {inglês/português, português/inglês}, + titleaddon = {Co-editor Ismael Cardim}, + location = {São Paulo}, + publisher = {Folha da Manhã}, + date = {1996}, + note = {Edição exclusiva para o assinante da Folha de S. + Paulo}, + % editora = {Ismael Cardim}, + % editoratype = {coeditor}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`, mas eles sempre imprimem o verbo no infinitivo seguido de + % dois pontos, enquanto a ABNT apresenta esse tipo de informação cada vez + % de um jeito (e.g., "Co-editor Fulano de Tal", "Direção artística: Fulano + % de Tal", "Ilustrações de Fulano de Tal", "Organização por Fulano de + % Tal"). +} + +@book{brasil1995, + keywords = {7.1}, + title = {Brasil}, + subtitle = {roteiros turísticos}, + location = {São Paulo}, + publisher = {Folha da Manhã}, + date = {1995}, + pagetotal = {319}, + illustrated = {il.}, + series = {Roteiros turísticos Fiat}, + note = {Inclui mapa rodoviário}, +} + +@manual{saopaulo1989, + keywords = {7.1}, + author = {{São Paulo}}, + authortype = {Estado}, + nameaddon = {Secretaria do Meio Ambiente. + Coordenadoria de Planejamento Ambiental.}, + title = {Estudo de impacto ambiental -- \mkbibacro{EIA}, + Relatório de Impacto Ambiental -- \mkbibacro{RIMA}}, + subtitle = {manual de orientação}, + location = {São Paulo}, + date = {1989}, + pagetotal = {48}, + series = {Série Manuais}, +} + +@manual{museu1997, + keywords = {7.1}, + author = {{Museu da Imigração\nopunct}}, + nameaddon = {(São Paulo, SP)}, + title = {Museu da Imigração -- S. Paulo}, + subtitle = {catálogo}, + location = {São Paulo}, + date = {1997}, + pagetotal = {16}, + % Para que o "(São Paulo, SP)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "São Paulo" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos. +} + +@manual{instituto1997, + keywords = {7.1}, + author = {{Instituto Moreira Salles}}, + title = {São Paulo de Vincenzo Pastore}, + subtitle = {fotografias: de 26 de abril a 3 de agosto de 1997, + Casa da cultura de Poços de Caldas, Poços de Caldas, + MG}, + date = {1997}, + note = {1 folder. Apoio Ministério da Cultura: + Lei Federal de Incentivo à Cultura}, +} + +@book{torelly1991, + keywords = {7.1}, + author = {M. Torelly}, + title = {Almanaque para 1949}, + subtitle = {primeiro semestre ou Almanaque d'A Manhã}, + edition = {Ed. fac-sim}, + location = {São Paulo}, + publisher = {Studioma: Arquivo do Estado}, + date = {1991}, + series = {Coleção Almanaques do Barão de Itararé}, + note = {Contém iconografia e depoimentos sobre o autor}, +} + +@book{mey1987, + keywords = {7.1}, + author = {Eliane Serrão Alves Mey}, + title = {Catalogação e descrição bibliográfica}, + subtitle = {contribuições a uma teoria}, + date = {1987}, + publisher = {\mkbibacro{ABDF}}, + location = {Brasília, DF}, + note = {Originalmente apresentada como dissertação de mestrado, + Universidade de Brasília, 1986}, +} + +% <<< + +% section 7.2 >>>2 + +@book{koogan1998, + keywords = {7.2}, + editor = {André Koogan and Antonio Houaiss}, + title = {Enciclopédia e dicionário digital 98}, + titleaddon = {Direção geral de André Koogan Breikman}, + location = {São Paulo}, + publisher = {Delta: Estadão}, + date = {1998}, + note = {5 \mkbibacro{CD-ROM}}, + % editora = {André Koogan Breikman}, + % editoratype = {gendir}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +@book{alves2000, + keywords = {7.2}, + author = {Castro Alves}, + title = {Navio Negreiro}, + date = {2000}, + publisher = {Virtual Books}, + url = {http://www.terra.com.br/virtualbooks/ + freebook/port/Lport2/navionegreiro.htm}, + addendum = {Acesso em: 10 jan. 2002, 16:30:30}, + % urldate = {2002-01-10}, + % É necessário colocar a data no campo `addendum` pra incluir o horário, + % como no manual. O ideal seria usar o campo `urldate`. +} + +% <<< + +% section 7.3 >>>2 + +@incollection{romano1996a, + keywords = {7.3}, + author = {Giovanni Romano}, + title = {Imagens da juventude na era moderna}, + editor = {G. Levi and J. Schmidt}, + editortype = {organizer}, + booktitle = {História dos jovens 2}, + location = {São Paulo}, + publisher = {Companhia das Letras}, + date = {1996}, + pages = {7-16}, +} + +@inbook{santos1994a, + keywords = {7.3}, + author = {F. R. dos Santos}, + title = {A colonização da terra do Tucujús}, + booktitle = {História do Amapá, 1º grau}, + bookauthor = {F. R. dos Santos}, + edition = {2}, + location = {Macapá}, + publisher = {Valcan}, + date = {1994}, + chapter = {3}, +} + +@incollection{romano1996b, + keywords = {7.3}, + author = {Giovanni Romano}, + title = {Imagens da juventude na era moderna}, + editor = {G. Levi and J. Schmidt}, + editortype = {organizer}, + booktitle = {História dos jovens 2}, + booksubtitle = {a época contemporânea}, + location = {São Paulo}, + publisher = {Companhia das Letras}, + date = {1996}, + pages = {7-16}, +} + +@inbook{santos1994b, + keywords = {7.3}, + author = {F. R. dos Santos}, + title = {A colonização da terra do Tucujús}, + booktitle = {História do Amapá, 1º grau}, + bookauthor = {F. R. dos Santos}, + edition = {2}, + location = {Macapá}, + publisher = {Valcan}, + date = {1994}, + chapter = {3}, + pages = {15-24}, +} + +% <<< + +% section 7.4 >>>2 + +@incollection{morfologia1998, + keywords = {7.4}, + title = {Morfologia dos artrópodes}, + booktitle = {Enciclopédia multimídia dos seres vivos}, + publisher = {Planeta DeAgostini}, + year = {c1998}, + sortyear = {1998}, + note = {\mkbibacro{CD-ROM} 9}, +} + +@inbook{politica1998, + keywords = {7.4}, + title = {Política}, + booktitle = {Dicionário da língua portuguesa}, + location = {Lisboa}, + publisher = {Priberam Informática}, + date = {1998}, + url = {http://www.priberam.pt/dlDLPO}, + urldate = {1999-03-08}, +} + +@inbook{saopaulo1999, + keywords = {7.4}, + author = {{São Paulo}}, + authortype = {Estado}, + nameaddon = {Secretaria do Meio Ambiente}, + title = {Tratados e organizações ambientais + em matéria de meio ambiente}, + booktitle = {Entendendo o meio ambiente}, + bookauthor = {{São Paulo}}, + location = {São Paulo}, + date = {1999}, + volume = {1}, + url = {http://www.bdt.org.br/sma/entendendo/atual.htm}, + urldate = {1999-03-08}, + options = {noslsn}, +} + +% <<< + +% section 7.5 >>>2 + +@periodical{revista1939a, + keywords = {7.5.1}, + title = {Revista Brasileira de Geografia}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{IBGE}}, + year = {1939-\nopunct}, + sortyear = {1939}, +} + +@periodical{revista1939b, + keywords = {7.5.1}, + title = {Revista Brasileira de Geografia}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{IBGE}}, + note = {Trimestral. Absorveu Boletim Geográfico, do + \mkbibacro{IBGE}. Índice acumulado. 1939-1983}, + year = {1939-~.}, + sortyear = {1939}, + issn = {0034-723X}, +} + +@book{boletim1943, + keywords = {7.5.1}, + author = {{Boletim Geográfico}}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{IBGE}}, + date = {1943/1978}, + note = {Trimestral}, +} + +@periodical{saopaulo1941a, + keywords = {7.5.1}, + title = {São Paulo Medical Journal}, + location = {São Paulo}, + publisher = {Associação Paulista de Medicina}, + year = {1941-~.}, + sortyear = {1941}, + note = {Bimensal}, + issn = {0035-0362}, +} + +@periodical{dinheiro2000a, + keywords = {7.5.2}, + title = {Dinheiro}, + location = {São Paulo}, + publisher = {Ed. Três}, + issue = {148}, + date = {2000-06-28}, +} + +@periodical{dinheiro2000b, + keywords = {7.5.2}, + title = {Dinheiro}, + subtitle = {revista semanal de negócios}, + location = {São Paulo}, + publisher = {Ed. Três}, + issue = {148}, + date = {2000-06-28}, + pagetotal = {98}, +} + +@article{as5001984, + keywords = {7.5.3}, + title = {As 500 maiores empresas do Brasil}, + journaltitle = {Conjuntura Econômica}, + location = {Rio de Janeiro}, + volume = {38}, + number = {9}, + date = {1984-09}, + note = {Edição Especial}, +} + +@article{maodeobra1983, + keywords = {7.5.3}, + title = {Mão-de-obra e previdência}, + journaltitle = {Pesquisa Nacional por amostra de domicílios}, + location = {Rio de Janeiro;\nopunct}, + volume = {7}, + date = {1983}, + note = {Suplemento}, + % Nesta entrada, ao contrário de todas as outras, a ABNT usa um ponto e + % vírgula após o local, em vez de uma vírgula. +} + +@article{costa1998a, + keywords = {7.5.3}, + author = {V. R. Costa}, + title = {À Margem da lei}, + journaltitle = {Em Pauta}, + location = {Rio de Janeiro}, + number = {12}, + pages = {131-148}, + date = {1998}, +} + +@article{gurgel1997, + keywords = {7.5.3}, + author = {C. Gurgel}, + title = {Reforma do estado e segurança pública}, + journaltitle = {Política e administração}, + location = {Rio de Janeiro}, + volume = {3}, + number = {2}, + pages = {15-21}, + date = {1997-09}, +} + +@article{tourinho1997, + keywords = {7.5.3}, + author = {Tourinho Neto, F. C.}, + title = {Dano ambiental}, + journaltitle = {Consulex}, + location = {Brasília, DF}, + volume = {ano~1}, + number = {1}, + pages = {18-23}, + date = {1997-02}, +} + +@article{mansilla1998a, + keywords = {7.5.3}, + author = {Tourinho Neto, F. C.}, + author = {H. C. F. Mansilla}, + title = {La controversia entre universalismo y particularismo + en la filosofia de la cultura}, + journaltitle = {Revista Latinoamericana de Filosofia}, + location = {Buenos Aires}, + volume = {24}, + number = {2}, + issue = {primavera}, + year = {1998}, +} + +@article{sekeff2002, + keywords = {7.5.3}, + author = {Gisela Sekeff}, + title = {O emprego dos sonhos}, + journaltitle = {Domingo}, + location = {Rio de Janeiro}, + volume = {ano 26}, + number = {1344}, + pages = {30-36}, + date = {2002-02-03}, +} + +@article{costa1998b, + keywords = {7.5.3}, + author = {V. R. Costa}, + title = {À Margem da lei}, + subtitle = {o Programa Comunidade Solidária}, + journaltitle = {Em Pauta}, + journalsubtitle = {Revista da Faculdade de Serviço Social + da \mkbibacro{UERJ}}, + location = {Rio de Janeiro}, + number = {12}, + pages = {131-148}, + date = {1998}, +} + +@article{vieira1994, + keywords = {7.5.4}, + author = {Cássio Leite Vieira and Marcelo Lopes}, + title = {A queda do cometa}, + journaltitle = {Neo Interativa}, + location = {Rio de Janeiro}, + number = {2}, + issue = {inverno}, + year = {1994}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@article{silva1998a, + keywords = {7.5.4}, + author = {M. M. L. Silva}, + title = {Crimes da era digital}, + journaltitle = {.Net}, + location = {Rio de Janeiro}, + date = {1998-11}, + note = {Seção Ponto de Vista}, + url = {http://www.brazilnet.com.br/ + contexts/brasilrevistas.htm}, + urldate = {1998-11-28}, +} + +@article{ribeiro1998, + keywords = {7.5.4}, + author = {P. S. G. Ribeiro}, + title = {Adoção à brasileira}, + subtitle = {uma análise sócio-jurídica}, + journaltitle = {Dataveni@}, + location = {São Paulo}, + volume = {ano 3}, + number = {18}, + date = {1998-08}, + url = {http://www.datavenia.inf.br/frameartig.html}, + urldate = {1998-09-10}, +} + +@article{windows1998, + keywords = {7.5.4}, + title = {Windows 98}, + subtitle = {o melhor caminho para atualização}, + journaltitle = {\mkbibacro{PC} World}, + location = {São Paulo}, + number = {75}, + date = {1998-09}, + url = {http://www.idg.com.br/abre.htm}, + urldate = {1998-09-10}, +} + +@article{costura1997, + keywords = {7.5.5}, + title = {Costura $\times$ \mkbibacro{P.U.R.}}, + journaltitle = {Aldus}, + location = {São Paulo}, + volume = {ano 1}, + number = {1}, + date = {1997-11}, + note = {Encarte técnico, p. 8}, +} + +@article{naves1999, + keywords = {7.5.5}, + author = {P. Naves}, + title = {Lagos andinos dão banho de beleza}, + journaltitle = {Folha de S. Paulo}, + location = {São Paulo}, + date = {1999-06-28}, + note = {Folha Turismo, Caderno 8, p. 13}, +} + +@article{leal1999, + keywords = {7.5.5}, + author = {L. N. Leal}, + title = {\mkbibacro{MP} fiscaliza com autonomia total}, + journaltitle = {Jornal do Brasil}, + location = {Rio de Janeiro}, + pages = {3}, + date = {1999-04-25}, +} + +@article{paiva2002, + keywords = {7.5.5}, + author = {Anabela Paiva}, + title = {Trincheira musical}, + subtitle = {músico dá lições de cidadania em forma de samba + para crianças e adolescentes}, + journaltitle = {Jornal do Brasil}, + location = {Rio de Janeiro}, + pages = {2}, + date = {2002-01-12}, +} + +@article{silva1998b, + keywords = {7.5.6}, + author = {Ives Gandra da Silva}, + title = {Pena de morte para o nasciturno}, + journaltitle = {O Estado de S. Paulo}, + location = {São Paulo}, + date = {1998-09-19}, + url = {http://www.providafamilia.org/ + pena_morte_nasciturno.htm}, + urldate = {1998-09-19}, +} + +@article{kelly1996, + keywords = {7.5.6}, + author = {R. Kelly}, + title = {Electronic publishing at \mkbibacro{APS}}, + subtitle = {its not just online journalism}, + journaltitle = {\mkbibacro{APS} News Online}, + location = {Los Angeles}, + issue = {{Nov}\adddot}, + year = {1996}, + url = {http://www.aps.org/apsnews/1196/11965.html}, + urldate = {1998-11-25}, + % Aqui, excepcionalmente, a ABNT coloca o mês com a inicial em maiúscula + % ("Nov."), por isso é preciso colocá-lo escrito literalmente. O ideal + % seria usar `date = {1996-11}`. +} + +@article{arranjo1998, + keywords = {7.5.6}, + title = {Arranjo tributário}, + journaltitle = {Diário do Nordeste Online}, + location = {Fortaleza}, + date = {1998-11-27}, + url = {http://www.diariodonordeste.com.br}, + urldate = {1998-11-28}, +} + +% <<< + +% section 7.6 >>>2 + +@proceedings{iufrost1984, + keywords = {7.6.1}, + eventtitle = {IUFROST International Symposium on Chemical Changes + During Food Processing}, + title = {Proceedings\ldots}, + eventdate = {1984}, + venue = {Valencia}, + date = {1984}, + location = {Valencia}, + publisher = {Instituto de Agroquímica y Tecnología de Alimentos}, +} + +@proceedings{reuniao1997, + keywords = {7.6.2}, + eventtitle = {Reunião Anual da Sociedade Brasileira de Química}, + number = {20}, + eventdate = {1997}, + venue = {Poços de Caldas}, + title = {Química}, + subtitle = {academia, indústria, sociedade: livro de resumos}, + location = {São Paulo}, + publisher = {Sociedade Brasileira de Química}, + date = {1997}, +} + +@proceedings{congresso1996, + keywords = {7.6.3}, + organization = {Congresso de Iniciação Científica da {UFPe}}, + number = {4}, + eventdate = {1996}, + venue = {Recife}, + title = {Anais eletrônicos\ldots}, + location = {Recife}, + publisher = {UFPe}, + date = {1996}, + url = {http://www.propesq.ufpe.br/anais/anais.htm}, + urldate = {1997-01-21}, +} + +% <<< + +% section 7.7 >>>2 + +@inproceedings{brayner1994, + keywords = {7.7.1}, + author = {A. R. A. Brayner and C. B. Medeiros}, + title = {Incorporação do tempo em + \mkbibacro{SGDB} orientado a objetos}, + eventtitle = {Simpósio Brasileiro de Banco de Dados}, + number = {9}, + eventdate = {1994}, + venue = {São Paulo}, + booktitle = {Anais\ldots}, + location = {São Paulo}, + publisher = {\mkbibacro{USP}}, + date = {1994}, + pages = {16-29}, +} + +@inproceedings{souza1994, + keywords = {7.7.1}, + author = {L. S. Souza and A. L. Borges and J. O. Rezende}, + title = {Influência da correção e do preparo do solo sobre + algumas propriedades químicas do solo cultivado com + bananeiras}, + eventtitle = {Reunião Brasileira de Fertilidade do Solo + e Nutrição de Plantas}, + number = {21}, + eventdate = {1994}, + venue = {Petrolina}, + booktitle = {Anais\ldots}, + location = {Petrolina}, + publisher = {\mkbibacro{EMBRAPA}, \mkbibacro{CPATSA}}, + date = {1994}, + pages = {3-4}, +} + +@inproceedings{martin1997, + keywords = {7.7.2}, + author = {Martin Neto, L. and C. Bayer and J. Mielniczuk}, + title = {Alterações qualitativas da matéria orgânica + e os fatores determinantes da sua estabilidade + num solo podzólico vermelho-escuro + em diferentes sistemas de manejo}, + eventtitle = {Congresso Brasileiro de Ciência do Solo}, + number = {26}, + eventdate = {1997}, + venue = {Rio de Janeiro}, + booktitle = {Resumos\ldots}, + location = {Rio de Janeiro}, + publisher = {Sociedade Brasileira de Ciência do Solo}, + date = {1997}, + note = {p. 443, ref. 6-141}, + % pages = {443}, + % As páginas foram acrescentadas ao campo `note` para que fiquem + % separadas do restante por uma vírgula, como está no manual + % (de modo inconsistente). O ideal seria usar o campo `pages`. +} + +@inproceedings{guncho1998, + keywords = {7.7.3}, + author = {M. R. Guncho}, + title = {A educação à distância e a biblioteca universitária}, + eventtitle = {Seminário de Bibliotecas Universitárias}, + number = {10}, + eventdate = {1998}, + venue = {Fortaleza}, + booktitle = {Anais\ldots}, + location = {Fortaleza}, + publisher = {Tec Treina}, + date = {1998}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@inproceedings{silva1996a, + keywords = {7.7.3}, + author = {R. N. Silva and R. Oliveira}, + title = {Os limites pedagógicos do paradigma + da qualidade total na educação}, + eventtitle = {Congresso de Iniciação Científica da {UFPe}}, + number = {4}, + eventdate = {1996}, + venue = {Recife}, + booktitle = {Anais eletrônicos\ldots}, + location = {Recife}, + publisher = {UFPe}, + date = {1996}, + url = {http://www.propesq.ufpe.br/anais/anais/educ/ce04.htm}, + urldate = {1997-01-21}, +} + +@inproceedings{sabroza1998, + keywords = {7.7.3}, + author = {P. C. Sabroza}, + title = {Globalização e saúde}, + subtitle = {impacto nos perfis epidemiológicos das populações}, + eventtitle = {Congresso Brasileiro de Epidemiologia}, + number = {4}, + eventdate = {1998}, + venue = {Rio de Janeiro}, + booktitle = {Anais eletrônicos\ldots}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{ABRASCO}}, + date = {1998}, + note = {Mesa-redonda}, + url = {http://www.abrasco.com.br/epirio98/}, + urldate = {1999-01-17}, +} + +@inproceedings{krzyzanowski1996, + keywords = {7.7.3}, + author = {R. F. Krzyzanowski}, + title = {Valor agregado no mundo da informação}, + subtitle = {um meio de criar novos espaços competitivos + a partir da tecnologia da informação e melhor + satisfazer às necessidades dos clientes/usuários}, + eventtitle = {Congresso Regional de Informação em Ciências da Saúde}, + number = {3}, + eventdate = {1996}, + venue = {Rio de Janeiro}, + booktitle = {Interligações da tecnologia da informação}, + booksubtitle = {um elo futuro}, + url = {http://www.bireme.br/cgi-bin/crics3/ + texto?titulo=VALOR+AGREGADO+NO+MUNDO}, + urldate = {1999-01-26}, + options = {noslsn}, +} + +% <<< + +% section 7.8 >>>2 + +@patent{embrapa1989, + keywords = {7.8}, + holder = {{Embrapa}}, + nameaddon = {Unidade de Apoio, Pesquisa e Desenvolvimento + de Instrumentação Agropecuária (São Carlos, SP)}, + author = {Paulo Estevão Cruvinel}, + title = {Medidor digital multisensorial + de temperatura para solos}, + number = {BR n. \mkbibacro{PI} 8903105-9}, + note = {26 jun. 1989, 30 maio 1995}, +} + +% <<< + +% section 7.9 >>>2 + +@legislation{saopaulo1998a, + keywords = {7.9.1}, + author = {{São Paulo}}, + authortype = {Estado}, + title = {Decreto nº 42.822, de 20 de janeiro de 1998}, + journaltitle = {Lex}, + journalsubtitle = {coletânea de legislação e jurisprudência}, + location = {São Paulo}, + volume = {62}, + number = {3}, + pages = {217-220}, + date = {1998}, +} + +@legislation{brasil1997a, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Medida provisória nº 1.569-9, de 11 de dezembro de + 1997}, + journaltitle = {Diário Oficial [da] República Federativa do Brasil}, + publisher = {Poder Executivo}, + location = {Brasília, DF}, + date = {1997-12-14}, + note = {Seção~1, p.~29514}, +} + +@legislation{brasil1943a, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Decreto-lei nº 5.452, de 1 de maio de 1943}, + journaltitle = {Lex}, + journalsubtitle = {Coletânea de legislação: edição federal}, + location = {São Paulo}, + volume = {7}, + date = {1943}, + note = {Suplemento}, +} + +@book{brasil1995a, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Código civil}, + edition = {46}, + location = {São Paulo}, + publisher = {Saraiva}, + date = {1995}, +} + +@legislation{brasil1991a, + keywords = {7.9.1}, + author = {{Brasil}}, + nameaddon = {Congresso. Senado}, + title = {Resolução nº 17, de 1991}, + journaltitle = {Coleção de leis da República Federativa do Brasil}, + location = {Brasília, DF}, + volume = {183}, + pages = {1156-1157}, + issue = {maio/jun.}, + year = {1991}, +} + +@legislation{brasil1966a, + keywords = {7.9.1}, + author = {{Brasil}}, + nameaddon = {Constituição (1988)}, + title = {Emenda constitucional nº 9, de 9 de novembro de 1995}, + location = {São Paulo}, + volume = {59}, + pages = {1966}, + journaltitle = {Lex}, + journalsubtitle = {legislação federal e marginália}, + issue = {out./dez.}, + date = {1995}, +} + +@legislation{saopaulo1998b, + keywords = {7.9.1}, + author = {{São Paulo}}, + authortype = {Estado}, + title = {Decreto nº 42.822, de 20 de janeiro de 1998. + Dispõe sobre a desativação de unidades + administrativas de órgãos da administração + direta e das autarquias do Estado + e dá providências correlatas}, + journaltitle = {Lex}, + journalsubtitle = {coletânea de legislação e jurisprudência}, + location = {São Paulo}, + volume = {62}, + number = {3}, + pages = {217-220}, + date = {1998}, +} + +@legislation{brasil1997b, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Medida provisória nº 1.569-9, de 11 de dezembro de + 1997. + Estabelece multa em operações de importação, + e dá outras providências.}, + journaltitle = {Diário Oficial [da] República Federativa do Brasil}, + publisher = {Poder Executivo}, + location = {Brasília, DF}, + date = {1997-12-14}, + note = {Seção~1, p.~29514}, +} + +@legislation{brasil1943b, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Decreto-lei nº 5.452, de 1 de maio de 1943. + Aprova a consolidação das leis do trabalho}, + journaltitle = {Lex}, + journalsubtitle = {coletânea de legislação: edição federal}, + location = {São Paulo}, + volume = {7}, + date = {1943}, + note = {Suplemento}, +} + +@book{brasil1995b, + keywords = {7.9.1}, + author = {{Brasil}}, + title = {Código civil}, + titleaddon = {Organização dos textos, notas remissivas e índices + por Juarez de Oliveira}, + edition = {46}, + location = {São Paulo}, + publisher = {Saraiva}, + date = {1995}, +} + +@legislation{brasil1991b, + keywords = {7.9.1}, + author = {{Brasil}}, + nameaddon = {Congresso. Senado}, + title = {Resolução nº 17, de 1991. Autoriza o desbloqueio + de Letras Financeiras do Tesouro do Estado do Rio + Grande do Sul, através de revogação do parágrafo + 2º, do artigo 1º da Resolução nº 72, de 1990}, + journaltitle = {Coleção de leis da República Federativa do Brasil}, + location = {Brasília, DF}, + volume = {183}, + pages = {1156-1157}, + issue = {maio/jun.}, + year = {1991}, +} + +@legislation{brasil1966b, + keywords = {7.9.1}, + author = {{Brasil}}, + nameaddon = {Constituição (1988)}, + title = {Emenda constitucional nº 9, de 9 de novembro de 1995. + Dá nova redação ao art. 177 da Constituição Federal, + alterando e inserindo parágrafos}, + location = {São Paulo}, + volume = {59}, + pages = {1966}, + journaltitle = {Lex}, + journalsubtitle = {legislação federal e marginália}, + issue = {out./dez.}, + year = {1995}, +} + +@inbook{brasil1994a, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Supremo Tribunal de Justiça}, + title = {Súmula nº 14}, + booktitle = {Súmulas}, + bookauthor = {{Brasil}}, + location = {São Paulo}, + publisher = {Associação dos Advogados do Brasil}, + date = {1994}, + pages = {16}, + % options = {repeatfields}, +} + +@jurisdiction{brasil1998a, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Superior Tribunal de Justiça}, + title = {\textit{Habeas-corpus} nº 181.636-1, da 6ª Câmera Cível + do Tribunal de Justiça do Estado de São Paulo, + Brasília, DF, 6 de dezembro de 1994}, + journaltitle = {Lex}, + journalsubtitle = {jurisprudência do \mkbibacro{STJ} e Tribunais Regionais + Federais}, + location = {São Paulo}, + volume = {10}, + number = {103}, + pages = {236-240}, + date = {1998-03}, +} + +@jurisdiction{brasil1998b, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Tribunal Regional Federal (5. região)}, + title = {Apelação cível nº 42.441-PE (94.05.01629-6). + Apelante: Edilemos Mamede dos Santos e outros. + Apelada: Escola Técnica Federal de Pernambuco. + Relator: Juiz Nereu Santos. + Recife, 4 de março de 1997}, + journaltitle = {Lex}, + journalsubtitle = {jurisprudência do \mkbibacro{STJ} e Tribunais Regionais + Federais}, + location = {São Paulo}, + volume = {10}, + number = {103}, + pages = {558-562}, + date = {1998-03}, +} + +@inbook{brasil1994b, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Supremo Tribunal de Justiça}, + title = {Súmula nº 14}, + titleaddon = {Não é admissível por ato administrativo + restringir, em razão de idade, inscrição + em concurso para cargo público}, + booktitle = {Súmulas}, + bookauthor = {{Brasil}}, + location = {São Paulo}, + publisher = {Associação dos Advogados do Brasil}, + date = {1994}, + pages = {16}, +} + +@jurisdiction{brasil1998c, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Superior Tribunal de Justiça. Processual Penal. + \textit{Habeas-corpus}. Constrangimento ilegal.}, + title = {\textit{Habeas-corpus} nº 181.636-1, da 6ª Câmera Cível + do Tribunal de Justiça do Estado de São Paulo, + Brasília, DF, 6 de dezembro de 1994}, + journaltitle = {Lex}, + journalsubtitle = {jurisprudência do \mkbibacro{STJ} e Tribunais Regionais + Federais}, + location = {São Paulo}, + volume = {10}, + number = {103}, + pages = {236-240}, + date = {1998-03}, +} + +@jurisdiction{brasil1998d, + keywords = {7.9.2}, + author = {{Brasil}}, + nameaddon = {Tribunal Regional Federal (5. região). Administrativo. + Escola Técnica Federal. Pagamento de diferenças + referente a enquadramento de servidor decorrente + de implantação de Plano Único de Classificação e + Distribuição de Cargos e Empregos, instituído pela + Lei nº 8.270/91. Predominância da lei sobre + a portaria}, + title = {Apelação cível nº 42.441-PE (94.05.01629-6). + Apelante: Edilemos Mamede dos Santos e outros. + Apelada: Escola Técnica Federal de Pernambuco. + Relator: Juiz Nereu Santos. + Recife, 4 de março de 1997}, + journaltitle = {Lex}, + journalsubtitle = {jurisprudência do \mkbibacro{STJ} e Tribunais Regionais + Federais}, + location = {São Paulo}, + volume = {10}, + number = {103}, + pages = {558-562}, + date = {1998-03}, +} + +@legal{barros1995, + keywords = {7.9.3}, + author = {Raimundo Gomes de Barros}, + title = {Ministério Público}, + subtitle = {sua legitimação frente ao Código do Consumidor}, + journaltitle = {Revista Trimestral de Jurisprudência dos Estados}, + location = {São Paulo}, + volume = {19}, + number = {139}, + pages = {53-72}, + date = {1995-08}, +} + +@book{legislacao1999, + keywords = {7.9.4}, + title = {Legislação brasileira}, + subtitle = {normas jurídicas federais, + bibliografia brasileira de Direito}, + edition = {7}, + location = {Brasília, DF}, + publisher = {Senado Federal}, + date = {1999}, + note = {1 \mkbibacro{CD-ROM}. Inclui resumos padronizados das + normas jurídicas editadas entre janeiro de 1946 + e agosto de 1999, assim como textos integrais de + diversas normas}, +} + +@inbook{brasil1999a, + keywords = {7.9.4}, + author = {{Brasil}}, + title = {Regulamento dos benefícios da previdência social}, + booktitle = {\mkbibacro{SISLEX}: Sistema de Legislação, + Jurisprudência e Pareceres da Previdência e Assistência + Social}, + publisher = {\mkbibacro{DATAPREV}}, + date = {1999}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@legal{brasil1999b, + keywords = {7.9.4}, + author = {{Brasil}}, + title = {Lei nº 9.887, de 7 de dezembro de 1999. Altera a + legislação tributária federal}, + journaltitle = {Diário Oficial [da] República Federativa do Brasil}, + location = {Brasília, DF}, + date = {1999-12-08}, + url = {http://www.in.gov.br/mp_leis/ + leis_texto.aps?Id=Lei%209887}, + urldate = {1999-12-22}, +} + +@book{brasil1998e, + keywords = {7.9.4}, + author = {{Brasil}}, + nameaddon = {Supremo Tribunal Federal}, + title = {Súmula nº 14}, + titleaddon = {Não é admissível por ato administrativo restringir, em + razão de idade, inscrição em concurso para cargo + público}, + url = {http://www.truenetm.com.br/jurisnet/sumusSTF.html}, + urldate = {1998-11-29}, + options = {noslsn}, +} + +% <<< + +% section 7.10 >>>2 + +@movie{osperigos1983a, + keywords = {7.10}, + title = {Os~perigos do uso de tóxicos}, + titleaddon = {Produção de Jorge Ramos de Andrade}, + location = {São Paulo}, + publisher = {\mkbibacro{CERAVI}}, + date = {1983}, + note = {1 videocassete}, + % editora = {Jorge Ramos de Andrade}, + % editoratype = {producer}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +@movie{osperigos1983b, + keywords = {7.10}, + title = {Os~perigos do uso de tóxicos}, + titleaddon = {Produção de Jorge Ramos de Andrade. Coordenação de + Maria Izabel Azevedo.}, + location = {São Paulo}, + publisher = {\mkbibacro{CERAVI}}, + date = {1983}, + note = {1 videocassete (30 min), \mkbibacro{VHS}, son., + color.}, + % editora = {Jorge Ramos de Andrade}, + % editoratype = {producer}, + % editorb = {Maria Izabel Azevedo}, + % editorbtype = {coordinator}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +@movie{central1998, + keywords = {7.10}, + title = {Central do Brasil}, + titleaddon = {Direção: Walter Salles Júnior. Produção: Martire + de Clermont-Tonnerre e Arthur Cohn. Intérpretes: + Fernanda Montenegro; Marília Pera; Vinicius de + Oliveira; Sônia Lira; Othon Bastos; Matheus + Nachtergaele e outros. Roteiro: Marcos Bernstein, + João Emanuel Carneiro e Walter Salles Júnior}, + publisher = {Le Studio Canal; Riofilme; \mkbibacro{MACT} + Productions}, + date = {1998}, + addendum = {1 bobina cinematográfica (106 min), + son., color., 35 mm}, + % editora = {Walter Salles Júnior}, + % editoratype = {director}, + % editorb = {Martire de Clermont-Tonnerre and Artur Cohn}, + % editorbtype = {producer}, + % editorc = {Marcos Bernstein and João Emanuel Carneiro and + % Walter Salles Júnior}, + % editorctype = {screenwriter}, + % O ideal seria usar os campos `editora`, `editoratype` etc. em vez de + % `titleaddon`. +} + +@movie{blade1991, + keywords = {7.10}, + title = {Blade Runner}, + titleaddon = {Direção: Ridley Scott. Produção: Michael Deeley. + Intérpretes: Harrison Ford; Rutger Hauer; + Sean Young; Edward James Olmos e outros. + Roteiro: Hampton Fancher e David Peoples. + Música: Vangelis}, + location = {Los Angeles}, + publisher = {Warner Brothers}, + year = {c1991}, + sortyear = {1991}, + addendum = {1 \mkbibacro{DVD} (117 min), widescreen, color. + Produzido por Warner Video Home. Baseado na novela ``Do + androids dream of electric sheep?'' de Philip K. Dick}, + % editora = {Ridley Scott}, + % editoratype = {director}, + % editorb = {Michael Deeley}, + % editorbtype = {producer}, + % editorc = {Hampton Fancher and David Peoples}, + % editorctype = {screenwriter}, + % O ideal seria usar os campos `editora`, `editoratype` etc. em vez de + % `titleaddon`. +} + +% <<< + +% section 7.11 >>>2 + +@image{kobayashi1998a, + keywords = {7.11.1}, + author = {K. Kobayashi}, + title = {Doença dos xavantes}, + date = {1980}, + note = {1 fototografia}, + options = {noslsn}, +} + +@image{kobayashi1998b, + keywords = {7.11.2}, + author = {K. Kobayashi}, + title = {Doença dos xavantes}, + date = {1980}, + note = {1 fotografia, color., 16 cm $\times$ 56 cm}, + options = {noslsn}, +} + +@article{fraipont1998, + keywords = {7.11.2}, + author = {E. Amiclar II Fraipont}, + journaltitle = {O Estado de S. Paulo}, + location = {São Paulo}, + issue = {30 nov.}, + date = {1998}, + note = {Caderno 2, Visuais. p. D2. 1 fotografia, p\&b. Foto + apresentada no Projeto \mkbibacro{ABRA}/Coca-cola}, +} + +@image{oque1985, + keywords = {7.11.2}, + title = {O~que acreditar em relação à maconha}, + location = {São Paulo}, + publisher = {\mkbibacro{CERAVI}}, + date = {1985}, + note = {22 transparências, color., 25 cm $\times$ 20 cm}, +} + +@image{odescobrimento1985, + keywords = {7.11.2}, + title = {O~descobrimento do Brasil}, + titleaddon = {Fotografia de Carmem Souza. Gravação de Marcos Lourenço.}, + location = {São Paulo}, + publisher = {\mkbibacro{CERAVI}}, + date = {1985}, + note = {31 diapositivos, color. + 1 + cassete sonoro (15 min), mono}, + % editora = {Carmem Souza}, + % editoratype = {photographer}, + % editorb = {Marcos Lourenço}, + % editorbtype = {recorder}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +@image{samu1977, + keywords = {7.11.2}, + author = {R. Samú}, + title = {Vitória, 18,35 horas}, + date = {1977}, + note = {1 gravura, serigraf., color., 46 cm $\times$ 63 cm. + Coleção Particular}, + options = {noslsn}, +} + +@image{mattos1987, + keywords = {7.11.2}, + author = {M. D. Mattos}, + title = {Paisagem-Quatro Barras}, + date = {1987}, + note = {1 original de arte, óleo sobre tela, + 40 cm $\times$ 50 cm. Coleção particular.}, + options = {noslsn}, +} + +@image{levi1997a, + keywords = {7.11.2}, + author = {R. Levi}, + title = {Edifício Columbus de propriedade de Lamberto + Ramengoni à Rua da Paz, esquina da Avenida + Brigadeiro Luiz Antonio}, + subtitle = {n. 1930-33}, + date = {1997}, + pagetotal = {108}, + bookpagination = {sheet}, + note = {Plantas diversas. Originais em papel vegetal}, + options = {noslsn}, +} + +@image{datum1996, + keywords = {7.11.2}, + organization = {Datum Consultoria e Projetos}, + title = {Hotel Porto do Sol São Paulo}, + subtitle = {ar condicionado e ventilação mecânica: + fluxograma hidráulico, central de água gelada}, + options = {noslsn}, + date = {1996-06-15}, + note = {Projeto final. Desenhista: Pedro. N. + da obra: 1744/96/Folha 10}, +} + +@image{vaso1999, + keywords = {7.11.3}, + title = {VASO.TIFF}, + date = {1999}, + note = {Altura: 1083 pixels. Largura: 827 pixels. + 300 dpi. 32 \mkbibacro{BIT} \mkbibacro{CMYK}. 3.5 Mb. + Formato \mkbibacro{TIFF} bitmap. Compactado.}, + url = {C:/Carol/VASO.TIFF}, + urldate = {1999-10-28}, + options = {noslsn}, +} + +@image{geddes2000, + keywords = {7.11.3}, + author = {Anne Geddes}, + title = {Geddes135.jpg}, + date = {2000}, + note = {Altura: 432 pixels. Largura: 376 pixels. + 51 Kb. Formato \mkbibacro{JPEG}. 1 disquete, 5¼ pol.}, + options = {noslsn}, +} + +@inbook{estacao1999, + keywords = {7.11.3}, + title = {Estação da Cia. Paulista com locomotiva elétrica + e linhas de bitola larga}, + titleaddon = {1 fotografia, p\&b}, + bookauthor = {Eduardo Luiz Veiga Lopes}, + booktitle = {Memória fotográfica de Araraquara}, + publisher = {Prefeitura do Município de Araraquara}, + location = {Araraquara}, + date = {1999}, + addendum = {1 \mkbibacro{CD-ROM}}, +} + +@image{stockdale2002, + keywords = {7.11.3}, + author = {René Stockdale}, + title = {When's recess?}, + year = {[2002?]}, + sortyear = {2002}, + note = {1 fotografia, color.}, + url = {http://www.webshots.com/g/d2002/1-nw/20255.html}, + urldate = {2001-01-13}, + options = {noslsn}, +} + +% <<< + +% section 7.12 >>>2 + +@book{atlas1981, + keywords = {7.12.1}, + title = {Atlas Mirador Internacional}, + location = {Rio de Janeiro}, + publisher = {Enciclopédia Britânica do Brasil}, + date = {1981}, + note = {1 atlas. Escalas variam.}, +} + +@manual{instituto1994, + keywords = {7.12.1}, + author = {{Instituto Geográfico e Cartográfico\nopunct}}, + nameaddon = {(São Paulo, SP)}, + title = {Regiões de governo do Estado de São Paulo}, + location = {São Paulo}, + date = {1994}, + note = {1 atlas. Escala 1:2.000}, + % Para que o "(São Paulo, SP)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "São Paulo" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos, mas como a ABNT é inconsistente é + % necessário fazer algo assim. +} + +@misc{brasil1981a, + keywords = {7.12.1}, + title = {Brasil e parte da América do Sul}, + location = {São Paulo}, + publisher = {Michalany}, + date = {1981}, + note = {1 mapa. Escala 1:600.000}, +} + +@misc{brasil1981b, + keywords = {7.12.2}, + title = {Brasil e parte da América do Sul}, + subtitle = {mapa político, escolar, rodoviário, + turístico e regional}, + location = {São Paulo}, + publisher = {Michalany}, + date = {1981}, + note = {1 mapa, color., 79 cm $\times$ 95 cm. + Escala 1:600.000}, +} + +@image{instituto1986, + keywords = {7.12.2}, + author = {{Instituto Geográfico e Cartográfico\nopunct}}, + nameaddon = {(São Paulo, SP)}, + title = {Projeto Lins Tupã}, + subtitle = {foto aérea}, + location = {São Paulo}, + date = {1986}, + note = {1 fotografia aérea. Escala 1:35.000. Fx 28, n. 15.}, + options = {noslsn}, + % Para que o "(São Paulo, SP)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "São Paulo" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos, mas como a ABNT é inconsistente é + % necessário fazer algo assim. +} + +@image{landsat1987, + keywords = {7.12.2}, + title = {\mkbibacro{LANDSAT} \mkbibacro{TM} 5}, + subtitle = {imagem de satélide}, + location = {São José dos Campos}, + publisher = {Instituto Nacional de Pesquisas Espaciais}, + date = {1987/1988}, + note = {1 fotografia aérea. Escala 1:100.000. Canais 3, 4 e + composição colorida 3, 4 e 5}, +} + +@image{estados1999, + keywords = {7.12.3}, + author = {{Estados Unidos}}, + nameaddon = {National Oceanic and Atmospheric Administration}, + title = {1999071318.GIF}, + location = {Itajaí}, + date = {1999}, + publisher = {\mkbibacro{UNIVALI}}, + note = {1 imagem de satélite. 557 Kb. \mkbibacro{GOES}-08: + \mkbibacro{SE}. 13 jul. 1999, 17:42Z, \mkbibacro{IR04}. + 1 disquete, 3½ pol.}, +} + +@article{percentagem1994, + keywords = {7.12.3}, + title = {Percentagem de imigrantes em São Paulo, 1920}, + titleaddon = {1 mapa, color. Escala indeterminável.}, + journaltitle = {Neo Interativa}, + location = {Rio de Janeiro}, + number = {2}, + issue = {inverno}, + year = {1994}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@misc{florida2000, + keywords = {7.12.3}, + author = {{Florida Museum of Natural History}}, + title = {1931-2000 Brazil's confirmed unprovoked shark attacks}, + location = {Gainesville}, + year = {[2000?].}, + sortyear = {2000}, + note = {1 mapa, color. Escala 1:40.000.000}, + url = {http://www.flmnh.ufl.edu/fish/Sharks/ + statistics/Gattack/map/Brazil.jpg}, + urldate = {2002-01-15}, + options = {nosn}, + % É necessário pôr o ponto depois do ano manualmente + % porque o biblatex acha que o ponto de interrogação já é suficiente. +} + +@misc{mapa2001, + keywords = {7.12.3}, + title = {Mapa de Ubicación}, + subtitle = {vista ampliada}, + publisher = {Dirección de Salud y Acción Social de la Armada}, + location = {Buenos Aires}, + year = {c2001}, + sortyear = {2001}, + note = {1 mapa, color. Escala indeterminável}, + url = {http://www.diba.org/turismo/hoteles/ + ushuaia/ubicacion2.htm}, + urldate = {2002-01-13}, +} + +% <<< + +% section 7.13 >>>2 + +@audio{alcione1988a, + keywords = {7.13}, + author = {Alcione}, + title = {Ouro e cobre}, + location = {São Paulo}, + publisher = {\mkbibacro{RCA} Victor}, + year = {p1988}, + sortyear = {1988}, + note = {1 disco sonoro}, +} + +@audio{mpb1995, + keywords = {7.13}, + title = {\mkbibacro{MPB} especial}, + location = {[Rio de Janeiro]}, + publisher = {Globo: Movieplay}, + year = {c1995}, + sortyear = {1995}, + note = {1 \mkbibacro{CD}}, +} + +@audio{alcione1988b, + keywords = {7.13}, + author = {Alcione}, + title = {Ouro e cobre}, + titleaddon = {Direção artística: Miguel Propschi}, + location = {São Paulo}, + publisher = {\mkbibacro{RCA} Victor}, + year = {p1988}, + sortyear = {1988}, + note = {1 disco sonoro (45 min), + 33 1/3 rpm, estero., 12 pol.}, + % editor = {Miguel Propschi}, + % editortype = {artdir}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@audio{silva1991, + keywords = {7.13}, + author = {Luiz Inácio Lula da Silva}, + title = {Luiz Inácio Lula da Silva}, + titleaddon = {Entrevistadores: V. Tremel e M. Garcia}, + subtitle = {depoimento [abr. 1991]}, + location = {São Paulo}, + publisher = {\mkbibacro{SENAI-SP}}, + date = {1991}, + note = {2 cassetes sonoros. Entrevista concedida + ao Projeto Memória do \mkbibacro{SENAI-SP}}, + % editor = {V. Tremel and M. Garcia}, + % editortype = {interviewer}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@audio{fagner1988, + keywords = {7.13}, + author = {R. Fagner}, + title = {Revelação}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{CBS}}, + date = {1988}, + note = {1 cassete sonoro (60 min), 3¾ pps, estereo}, +} + +@audio{costa1977a, + keywords = {7.13}, + author = {Simone}, + title = {Face a face}, + publisher = {Emi-Odeon Brasil}, + year = {p1977}, + sortyear = {1977}, + note = {1 \mkbibacro{CD} (ca. 40 min). Remasterizado em + digital}, +} + +% <<< + +% section 7.14 >>>2 + +@inbook{costa1977b, + keywords = {7.14}, + author = {S. Costa and A. Silva}, + title = {Jura secreta}, + titleaddon = {Intérprete: Simone}, + bookauthor = {Simone}, + booktitle = {Face a face}, + publisher = {Emi-Odeon Brasil}, + year = {p1977}, + sortyear = {1977}, + note = {1 \mkbibacro{CD}. Faixa 7}, + % editor = {Simone}, + % editortype = {interpreter}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@inbook{gino1988, + keywords = {7.14}, + author = {A. Gino}, + title = {Toque macio}, + titleaddon = {Intérprete: Alcione}, + bookauthor = {Alcione}, + booktitle = {Ouro e cobre}, + location = {São Paulo}, + publisher = {\mkbibacro{RCA} Victor}, + year = {p1988}, + sortyear = {1988}, + note = {1 disco sonoro. Lado A, faixa 1}, + % editor = {Alcione}, + % editortype = {interpreter}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@inbook{alcione1988c, + keywords = {7.14}, + author = {A. Gino}, + title = {Toque macio}, + titleaddon = {Intérprete: Alcione}, + bookauthor = {Alcione}, + booktitle = {Ouro e cobre}, + booktitleaddon = {Direção artística: Miguel Propschi}, + location = {São Paulo}, + publisher = {\mkbibacro{RCA} Victor}, + year = {p1988}, + sortyear = {1988}, + note = {1 disco sonoro (45 min), 33 1/3 rpm, + estereo., 12 pol. Lado A, faixa 1 (4 min 3 s)}, +} + +% <<< + +% section 7.15 >>>2 + +@misc{bartok1952a, + keywords = {7.15.1}, + author = {Béla Bartók}, + title = {O mandarim maravilhoso}, + location = {Wien}, + publisher = {Universal}, + date = {1952}, + note = {1 partitura. Orquestra}, +} + +@misc{gallet1851, + keywords = {7.15.1}, + editor = {Luciano Gallet}, + editortype = {organizer}, + title = {Canções populares brasileiras}, + location = {Rio de Janeiro}, + publisher = {Carlos Wehns}, + date = {1851}, + note = {1 partitura (23 p.). Piano}, +} + +@misc{bartok1952b, + keywords = {7.15.2}, + author = {Béla Bartók}, + title = {O mandarim maravilhoso}, + subtitle = {op. 19}, + location = {Wien}, + publisher = {Universal}, + date = {1952}, + note = {1 partitura. Orquestra}, +} + +@misc{oliva2002, + keywords = {7.15.3}, + author = {Marcos Oliva and Tiago Mocotó}, + title = {Fervilhar}, + subtitle = {frevo}, + year = {[19-{}-?]}, + sortyear = {1900}, + note = {1 partitura. Piano}, + url = {http://openlink.br.inter.net/picolino/partitur.htm}, + urldate = {2002-01-05}, + options = {noslsn}, +} + +% <<< + +% section 7.16 >>>2 + +@artwork{duchamp1918a, + keywords = {7.16}, + author = {Marcel Duchamp}, + title = {Escultura para viajar}, + date = {1918}, + note = {1 escultura variável}, + options = {noslsn}, +} + +@artwork{bule0000a, + keywords = {7.16}, + title = {Bule de porcelana}, + note = {[China: Companhia das Índias, 18-{}-]. 1 bule}, + options = {noslsn}, +} + +@artwork{duchamp1918b, + keywords = {7.16}, + author = {Marcel Duchamp}, + title = {Escultura para viajar}, + date = {1918}, + note = {1 escultura variável, borracha colorida e cordel. + Original destruído. Cópia por Richard Hamilton, + feita por ocasião da retrospectiva de Duchamp + na Tate Gallery (Londres) em 1966. Coleção de Arturo + Schwarz. Tradução de: Sculpture for travelling}, + options = {noslsn}, +} + +@artwork{bule0000b, + keywords = {7.16}, + title = {Bule de porcelana}, + subtitle = {família rosa, decorado com buquês e guirlandas de + flores + sobre fundo branco, pegador de tampa em formato de + fruto}, + note = {[China: Companhia das Índias, 18-{}-]. 1 bule}, + options = {noslsn}, +} + +% <<< + +% section 7.17 >>>2 + +@software{microsoft1995a, + keywords = {7.17}, + title = {Microsoft Project for Windows 95}, + titleaddon = {Version 4.1}, + publisher = {Microsoft Corporation}, + date = {1995}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@software{universidade1998a, + keywords = {7.17}, + author = {{Universidade Federal do Paraná}}, + nameaddon = {Biblioteca Central}, + title = {Normas.doc}, + location = {Curitiba}, + date = {1998}, + note = {5 disquetes}, + options = {noslsn}, +} + +@software{allie1993a, + keywords = {7.17}, + title = {Allie's play house}, + location = {Palo Alto, CA\adddot}, + publisher = {\mkbibacro{MPC}/Opcode Interactive}, + date = {1993}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@inbook{acaros1998, + keywords = {7.17}, + title = {Ácaros no Estado de São Paulo}, + bookauthor = {{Fundação Tropical de Pesquisas e Tecnologia ``André Tosello''}}, + booktitle = {Base de Dados Tropical}, + date = {1985}, + url = {http://www.bdt.org/bdt/acarosp}, + % urldate = {2002-03-30}, + addendum = {Acesso em: 30 maio 2002}, + options = {noslsn}, +} + +@software{microsoft1995b, + keywords = {7.17}, + title = {Microsoft Project for Windows 95}, + subtitle = {project planning software}, + titleaddon = {Version 4.1}, + publisher = {Microsoft Corporation}, + date = {1995}, + note = {1 \mkbibacro{CD-ROM}}, +} + +@software{allie1993b, + keywords = {7.17}, + title = {Allie's play house}, + location = {Palo Alto, CA\adddot}, + publisher = {\mkbibacro{MPC}/Opcode Interactive}, + date = {1993}, + note = {1 \mkbibacro{CD-ROM}. Windows 3.1}, +} + +@software{universidade1998b, + keywords = {7.17}, + author = {{Universidade Federal do Paraná}}, + nameaddon = {Biblioteca Central}, + title = {Normas.doc}, + subtitle = {normas para apresentação de trabalhos}, + location = {Curitiba}, + date = {1998}, + note = {5 disquetes, 3$1/2$ pol. Word for Windows 7.0}, + options = {noslsn}, +} + +@online{aves1998, + keywords = {7.17}, + title = {Aves do Amapá}, + subtitle = {banco de dados}, + url = {http://www.bdt.org/bdt/avifauna/aves}, + % urldate = {2002-05-30}, + addendum = {Acesso em: 30 maio 2002}, + options = {noslsn}, +} + +@online{bioline1998, + keywords = {7.17}, + title = {Bioline Discussion List. List maintained + by the Bases de Dados Tropical, \mkbibacro{BDT} in + Brasil}, + url = {http://lisserv@bdt.org.br}, + urldate = {1998-11-25}, + options = {noslsn}, +} + +@online{civitas1995, + keywords = {7.17}, + title = {Civitas}, + titleaddon = {Coordenação de Simão Pedro P. Marinho}, + date = {1995/1998}, + note = {Desenvolvido pela Pontifícia Universidade Católica + de Minas Gerais 1995-1998. Apresenta textos sobre + urbanismo e desenvolvimento de cidades}, + url = {http://www.gcsnet.com/oamis/civitas}, + urldate = {1998-11-27}, + options = {noslsn}, + % editora = {Simão Pedro P. Marinho}, + % editoratype = {coordinator}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +@online{galeria1998, + keywords = {7.17}, + title = {Galeria virtual de arte do Vale do Paraíba}, + location = {São José dos Campos}, + publisher = {Fundação Cultural Cassiano Ricardo}, + date = {1998}, + note = {Apresenta reproduções virtuais de obras + de artistas plásticos do Vale do Paraíba}, + url = {http://www.virtualvale.com.br/galeria}, + urldate = {1998-11-27}, +} + +@online{almeida2002, + keywords = {7.17}, + author = {M. P. S. Almeida}, + title = {Fichas para \mkbibacro{MARC}\nopunct}, + titleaddon = {[mensagem pessoal]. Mensagem recebida + por <\texttt{mtmendes@uol.com.br}> em 12 jan. 2002.}, + options = {noslsn}, +} + +% <<< + +% <<< + +% section 8 >>>1 + +% section 8.1 >>>2 + +@book{alves1995, + keywords = {8.1.1}, + author = {{Roque de Brito} Alves}, + title = {Ciência criminal}, + location = {Rio de Janeiro}, + publisher = {Forense}, + date = {1995}, +} + +@book{damiao1995, + keywords = {8.1.1}, + author = {Regina Toledo Damião and Antonio Henriques}, + title = {Curso de direito judrídico}, + location = {São Paulo}, + publisher = {Atlas}, + date = {1995}, +} + +@book{passos1995, + keywords = {8.1.1}, + author = {L. M. M. Passos and A. Fonseca and M. Chaves}, + title = {Alegria de saber}, + subtitle = {matemática, segunda série, 2, + primeiro grau: livro do professor}, + location = {São Paulo}, + publisher = {Scipione}, + date = {1995}, + pagetotal = {136}, +} + +@book{urani1994, + keywords = {8.1.1}, + author = {A. Urani and others}, + title = {Constituição de uma matriz + de contabilidade social para o Brasil}, + location = {Brasília, DF}, + publisher = {\mkbibacro{IPEA}}, + date = {1994}, +} + +@collection{ferreira1991, + keywords = {8.1.1}, + editor = {Leslie Piccolotto Ferreira}, + editortype = {organizer}, + title = {O fonoaudiólogo e a escola}, + location = {São Paulo}, + publisher = {Summus}, + date = {1991}, +} + +@book{marcondes1993, + keywords = {8.1.1}, + editor = {E. Marcondes and I. N. de Lima}, + editortype = {coordinator}, + title = {Dietas em pediatria clínica}, + edition = {4}, + location = {São Paulo}, + publisher = {Sarvier}, + date = {1993}, +} + +@book{moore1960a, + keywords = {8.1.1}, + editor = {W. Moore}, + title = {Construtivismo del movimiento educacional}, + subtitle = {soluciones}, + location = {Córdoba, AR.\isdot}, + date = {1960}, +} + +@book{lujan1993, + keywords = {8.1.1}, + editor = {Roger Patrón Lujan}, + editortype = {compiler}, + title = {Um presente especial}, + titleaddon = {Tradução Sonia da Silva}, + edition = {3}, + location = {São Paulo}, + publisher = {Aquariana}, + date = {1993}, + pagetotal = {167}, +} + +@book{diniz1994, + keywords = {8.1.1}, + author = {Júlio Diniz}, + title = {As pupilas do senhor reitor}, + edition = {15}, + location = {São Paulo}, + publisher = {Ática}, + date = {1994}, + pagetotal = {263}, + series = {Série Bom Livro}, +} + +@book{dante1983, + keywords = {8.1.1}, + author = {{Dante Alighieri}}, + title = {A divina comédia}, + titleaddon = {Tradução, prefácio e notas: Hernâni Donato.}, + location = {São Paulo}, + publisher = {Círculo do Livro}, + year = {[1983]}, + sortyear = {1983}, + pagetotal = {344}, + % editor = {Hernâni Donato}, + % editortype = {translatoranfo}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@book{gomes1995, + keywords = {8.1.1}, + author = {Orlando Gomes}, + title = {O direito de família}, + titleaddon = {Atualização e notas de Humberto Theodoro Júnior}, + edition = {11}, + date = {1995}, + publisher = {Forense}, + location = {Rio de Janeiro}, + pagetotal = {562}, + % editor = {Humberto Theodoro Júnior}, + % editortype = {updateran}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@book{albergaria1994, + keywords = {8.1.1}, + author = {Lino de Albergaria}, + title = {Cinco anos sem chover}, + subtitle = {história de Lino Albergaria}, + titleaddon = {Ilustrações de Paulo Lyra}, + edition = {12}, + location = {São Paulo}, + publisher = {\mkbibacro{FTD}}, + date = {1994}, + pagetotal = {63}, + % editor = {Paulo Lyra}, + % editortype = {illustrator}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@book{chevalier1990, + keywords = {8.1.1}, + author = {Jean Chevalier and Alain Gheerbrant}, + title = {Dicionário de símbolos}, + titleaddon = {Tradução Vera da Costa e Silva et al.}, + edition = {3. ed. rev. e aum.}, + date = {1990}, + publisher = {J. Olympio}, + location = {Rio de Janeiro}, + % translator = {Vera da Costa e Silva and others}, + % O ideal seria usar o campo `translator`. +} + +@standard{associação1988, + keywords = {8.1.2}, + author = {{Associação Brasileira de Normas Técnicas}}, + title = {\mkbibacro{NBR} 10520}, + subtitle = {informação e documentação: + citações em documentos: apresentação}, + location = {Rio de Janeiro}, + date = {2002}, + options = {noslsn}, +} + +@booklet{universidade1993, + keywords = {8.1.2}, + author = {{Universidade de São Paulo}}, + title = {Catálogo de teses da Universidade de São Paulo, 1992}, + location = {São Paulo}, + date = {1993}, + pagetotal = {467}, + options = {noslsn}, +} + +@proceedings{congresso1979, + keywords = {8.1.2}, + eventtitle = {Congresso Brasileiro de Biblioteconomia e + Documentação}, + number = {10}, + eventdate = {1979}, + venue = {Curitiba}, + title = {Anais\ldots}, + location = {Curitiba}, + publisher = {Associação Bibliotecária do Paraná}, + date = {1979}, + volumes = {3}, +} + +@manual{saopaulo1993, + keywords = {8.1.2}, + author = {{São Paulo}}, + authortype = {Estado}, + nameaddon = {Secretaria do Meio Ambiente}, + title = {Diretrizes para a politica ambiental + do Estado de São Paulo}, + location = {São Paulo}, + date = {1993}, + pagetotal = {35}, +} + +@report{brasil1993, + keywords = {8.1.2}, + author = {{Brasil}}, + nameaddon = {Ministério da Justiça}, + title = {Relatório de atividades}, + location = {Brasília, DF}, + date = {1993}, + pagetotal = {28}, +} + +@report{biblioteca1985, + keywords = {8.1.2}, + author = {{Biblioteca Nacional\nopunct}}, + nameaddon = {(Brasil)}, + title = {Relatório da diretoria-geral}, + subtitle = {1984}, + location = {Rio de Janeiro}, + date = {1985}, + pagetotal = {40}, + % Para que o "(Brasil)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "Brasil" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos, mas como a ABNT é inconsistente é + % necessário fazer algo assim. +} + +@report{biblioteca1983, + keywords = {8.1.2}, + author = {{Biblioteca Nacional\nopunct}}, + nameaddon = {(Portugal)}, + title = {O 24 de julho de 1833 e a guerra civil de 1829-1834}, + location = {Lisboa}, + date = {1983}, + pagetotal = {95}, + % Para que o "(Portugal)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "Portugal" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos, mas como a ABNT é inconsistente é + % necessário fazer algo assim. +} + +@book{diagnostico1993, + keywords = {8.1.3}, + title = {Diagnóstico do setor editorial brasileiro}, + location = {São Paulo}, + publisher = {Câmara Brasileira do Livro}, + date = {1993}, + pagetotal = {64}, +} + +% <<< + +% section 8.2 >>>2 + +@book{pastro1993a, + keywords = {8.2}, + author = {C. Pastro}, + title = {Arte sacra}, + location = {São Paulo}, + publisher = {Loyola}, + date = {1993}, +} + +@book{pastro1993b, + keywords = {8.2}, + author = {C. Pastro}, + title = {Arte sacra}, + subtitle = {espaço sagrado hoje}, + location = {São Paulo}, + publisher = {Loyola}, + date = {1993}, + pagetotal = {343}, +} + +@book{arte1992, + keywords = {8.2}, + title = {Arte de furtar\ldots}, + date = {1992}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, +} + +@misc{levi1997b, + keywords = {8.2}, + author = {R. Levi}, + title = {Edifício Columbus\nopunct}, + titleaddon = {\unspace\ldots: n. 1930-33}, + date = {1997}, + pagetotal = {108}, + bookpagination = {sheet}, + note = {Plantas diversas. Originais em papel vegetal}, + options = {noslsn}, + % Aqui é usado o campo `titleaddon` em vez de `subtitle` para que as + % reticências não fiquem enfatizadas com o resto do título, como está no + % manual (estranhamente). +} + +@book{golsalves1971, + keywords = {8.2}, + editor = {Paulo Eiró Gonsalves}, + editortype = {organizer}, + title = {A criança}, + subtitle = {perguntas e respostas: médicos, psicólogos, + professores, técnicos, dentistas\ldots}, + foreword = {Carlos da Silva Lacaz}, + location = {São Paulo}, + publisher = {Cultrix: Ed. da \mkbibacro{USP}}, + date = {1971}, +} + +@periodical{saopaulo1941b, + keywords = {8.2}, + title = {São Paulo Medical Journal = Revista Paulista de + Medicina}, + location = {São Paulo}, + publisher = {Associação Paulista de Medicina}, + year = {1941-~.}, + sortyear = {1941}, + note = {Bimensal}, + issn = {0035-0362}, +} + +@periodical{revista1973, + keywords = {8.2}, + title = {Revista brasileira de biblioteconomia e documentação}, + location = {São Paulo}, + publisher = {\mkbibacro{FEBAB}}, + date = {1973/1992}, +} + +@periodical{boletim1965a, + keywords = {8.2}, + title = {Boletim Estatístico {[da] Rede Ferroviária Federal}}, + location = {Rio de Janeiro}, + year = {1965-~.}, + sortyear = {1965}, + note = {Trimestral}, + options = {noslsn}, +} + +@article{leitao1989, + keywords = {8.2}, + author = {D. M. Leitão}, + title = {A informação como insumo estratégico}, + journaltitle = {Ci. Inf.}, + location = {Brasília, DF}, + volume = {22}, + number = {2}, + pages = {118-123}, + issue = {maio/ago.}, + year = {1989}, +} + +@proceedings{simposio1978, + keywords = {8.2}, + eventtitle = {Simpósio Brasileiro de Aquicultura}, + number = {1}, + eventdate = {1978}, + venue = {Recife}, + title = {[Trabalhos apresentados]}, + location = {Rio de Janeiro}, + publisher = {Academia Brasileira de Ciências}, + date = {1980}, + pagetotal = {ii, 412}, +} + +% <<< + +% section 8.3 >>>2 + +@book{schaum1956, + keywords = {8.3}, + author = {Daniel Schaum}, + title = {Schaum's outline of theory and problems}, + edition = {5th. ed}, + location = {New York}, + publisher = {Schaum Publishing}, + date = {1956}, + pagetotal = {204}, +} + +@book{pedrosa1995, + keywords = {8.3}, + author = {Israel Pedrosa}, + title = {Da cor à cor inexistente}, + edition = {6}, + location = {Rio de Janeiro}, + publisher = {L. Cristiano}, + date = {1995}, + pagetotal = {219}, +} + +@standard{francca1996, + keywords = {8.3}, + author = {Júnia Lessa França and others}, + title = {Manual para normalização + de publicações técnico-científicas}, + edition = {3. ed. rev. e aum.}, + location = {Belo Horizonte}, + publisher = {Ed. da \mkbibacro{UFMG}}, + date = {1996}, +} + +@software{astrology1994, + keywords = {8.3}, + title = {Astrology source}, + titleaddon = {Version 1.0A}, + location = {Seattle}, + publisher = {Multicom Publising}, + year = {c1994}, + sortyear = {1994}, + note = {1 \mkbibacro{CD-ROM}}, +} + +% <<< + +% section 8.4 >>>2 + +@book{zani1995, + keywords = {8.4}, + author = {R. Zani}, + title = {Beleza, saúde e bem-estar}, + location = {São Paulo}, + publisher = {Saraiva}, + date = {1995}, + pagetotal = {173}, +} + +@book{swokowski1994, + keywords = {8.4}, + author = {E. W. Swokowski and V. R. L. F. Flores and Q. M. + Moreno}, + title = {Cálculo de geometria analítica}, + titleaddon = {Tradução de Alfredo Alves de Faria. + Revisão técnica Antonio Pertence Júnior}, + edition = {2}, + location = {São Paulo}, + publisher = {Makron Books do Brasil}, + date = {1994}, + note = {2 v.}, + % translator = {Alfredo Alves de Faria}, + % editor = {Antonio Pertence Júnior}, + % editortype = {techrev}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@book{lazzarini1994, + keywords = {8.4}, + author = {Lazzarini Neto, Sylvio}, + title = {Cria e recria}, + location = {[São Paulo]}, + publisher = {\mkbibacro{SDF} Editores}, + date = {1994}, + pagetotal = {108}, +} + +@book{osgrandes1981, + keywords = {8.4}, + title = {Os~grandes clássicos das poesias líricas}, + publisher = {Ex Libris}, + date = {1981}, + pagetotal = {60}, + bookpagination = {sheet}, +} + +@book{krieger1992, + keywords = {8.4}, + author = {Gustavo Krieger and Luís Antonio Novaes and Tales + Faria}, + title = {Todos os sócios do presidente}, + edition = {3}, + publisher = {Scritta}, + date = {1992}, + pagetotal = {195}, +} + +% <<< + +% section 8.5 >>>2 + +@book{daghalian1995, + keywords = {8.5}, + author = {Jacob Daghlian}, + title = {Lógica e álgebra de Boole}, + edition = {4}, + location = {São Paulo}, + publisher = {Atlas}, + date = {1995}, + pagetotal = {167}, + illustrated = {il.}, + note = {Bibliografia: p. 166-167}, + isbn = {85-224-1256-1}, +} + +@book{lima1985, + keywords = {8.5}, + author = {M. Lima}, + title = {Tem encontro com Deus}, + subtitle = {teologia para leigos}, + location = {Rio de Janeiro}, + publisher = {J. Olympio}, + date = {1985}, +} + +@book{goldfarb1995, + keywords = {8.5}, + editor = {Ana Maria Alfonso-Goldfarb and Carlos A. Maia}, + editortype = {coordinator}, + title = {História da ciência}, + subtitle = {o mapa do conhecimento}, + titleaddon = {Rio de Janeiro: Expressão e Cultura; + São Paulo: \mkbibacro{EDUSP}, 1995}, + pagetotal = {968}, + series = {América 500 anos}, + number = {2}, + options = {noslsn}, + % O campo `titleaddon` é usado para imprimir dois locais e duas editoras. +} + +@book{franco1993, + keywords = {8.5}, + author = {I. Franco}, + title = {Discursos}, + subtitle = {de outubro de 1992 a agosto de 1993}, + location = {Brasília, DF}, + date = {1993}, + pagetotal = {107}, +} + +@book{goncalves1993, + keywords = {8.5}, + author = {F. B. Gonçalves}, + title = {A história de Mirador}, + date = {1993}, +} + +@manual{universidade1994, + keywords = {8.5}, + author = {{Universidade Federal de Viçosa}}, + title = {Catálogo de graduação, 1994-1995}, + location = {Viçosa, MG}, + date = {1994}, + pagetotal = {385}, +} + +@book{ribeiro2001, + keywords = {8.5}, + author = {{Antonia Motta de Castro Memória} Ribeiro}, + title = {\mkbibacro{AACR2}, Anglo American Cataloguing + Rules\nopunct}, + titleaddon = {\unspace, 2\textsuperscript{nd} edition: + descrição e pontos de acesso}, + date = {2001}, + edition = {2. ed. rev. e atual.}, + location = {Brasília, DF}, + options = {noslsn}, + % O "de" no nome da autora é colocado desse modo para que apenas o último + % nome seja impresso em maiúsculas (em vez de tudo o que tem depois do + % "de"). Cf. http://tex.stackexchange.com/a/308659/102699 + % Para o subtítulo é necessário usar o campo `titleaddon` para que parte + % do título apareça em negrito/itálico e parte não. +} + +% <<< + +% section 8.6 >>>2 + +@book{leite1994, + keywords = {8.6}, + author = {C. B. Leite}, + title = {O século do desempenho}, + location = {São Paulo}, + publisher = {LTr}, + date = {1994}, + pagetotal = {160}, +} + +@book{cipolla1993, + keywords = {8.6}, + author = {Sylvia Cipolla}, + title = {Eu e a escola, 2ª série}, + location = {São Paulo}, + publisher = {Paulinas}, + year = {c1993}, + sortyear = {1993}, + pagetotal = {63}, +} + +@book{florenzano1993, + keywords = {8.6}, + author = {Everton Florenzano}, + title = {Dicionário de idéias semelhantes}, + location = {Rio de Janeiro}, + publisher = {Ediouro}, + year = {[1993]}, + sortyear = {1993}, + pagetotal = {383}, +} + +@book{ruch1926, + keywords = {8.6}, + author = {G. Ruch}, + title = {História geral da civilização}, + subtitle = {da Antigüidade ao XX século}, + location = {Rio de Janeiro}, + publisher = {F. Briguiet}, + date = {1926/1940}, + note = {4 v.}, +} + +@periodical{globo1985, + keywords = {8.6}, + title = {Globo Rural}, + location = {São Paulo}, + publisher = {Rio Gráfica}, + year = {1985-~.}, + sortyear = {1985}, + note = {Mensal}, +} + +@periodical{desenvolvimento1957, + keywords = {8.6}, + title = {Desenvolvimento \& Conjuntura}, + location = {Rio de Janeiro}, + publisher = {Confederação Nacional da Indústria}, + date = {1957/1968}, + note = {Mensal}, +} + +@article{alcarde1996, + keywords = {8.6}, + author = {J. C. Alcarde and A. A. Rodella}, + title = {O equivalente em carbonato de cálcio + dos corretivos da acidez dos solos}, + journaltitle = {Scientia Agricola}, + location = {Piracicaba}, + volume = {53}, + number = {2/3}, + pages = {204-210}, + issue = {maio/dez.}, + year = {1996}, +} + +@article{bennetton1993, + keywords = {8.6}, + author = {M. J. Bennetton}, + title = {Terapia ocupacional e reabilitação psicossocial}, + subtitle = {uma relação possível}, + journaltitle = {Revista de Terapia Ocupacional + da Universidade de São Paulo}, + location = {São Paulo}, + volume = {4}, + number = {3}, + pages = {11-16}, + date = {1993-03}, +} + +@article{mansilla1998b, + keywords = {8.6}, + author = {H. C. F. Mansilla}, + title = {La controversia entre universalismo y particularismo + en la filosofía de la cultura}, + journaltitle = {Revista Latinoamericana de Filosofia}, + location = {Buenos Aires}, + volume = {24}, + number = {2}, + issue = {primavera}, + year = {1998}, +} + +@article{figueirde1996, + keywords = {8.6}, + author = {E. Figueiredo}, + title = {Canadá e Antilhas}, + subtitle = {línguas populares, oralidade e literatura}, + journaltitle = {Gragoatá}, + location = {Niterói}, + number = {1}, + pages = {127-136}, + issue = {2. sem.}, + date = {1996}, +} + +% <<< + +% section 8.7 >>>2 + +@book{lucci1994, + keywords = {8.7}, + author = {E. A. Lucci}, + title = {Viver e aprender}, + subtitle = {estudos sociais, 3: exemplar do professor}, + edition = {3}, + location = {São Paulo}, + publisher = {Saraiva}, + date = {1994}, + pagetotal = {96, 7}, +} + +@book{felipe1994, + keywords = {8.7}, + author = {Jorge Franklin Alves Felipe}, + title = {Previdência social na prática forense}, + edition = {4}, + location = {Rio de Janeiro}, + publisher = {Forense}, + date = {1994}, + pagetotal = {viii, 236}, +} + +@book{lellis1994, + keywords = {8.7}, + author = {J. Jakubovic and M. Lellis}, + title = {Matemática na medida certa, 8. série}, + subtitle = {livro do professor}, + edition = {2}, + location = {São Paulo}, + publisher = {Scipione}, + date = {1994}, + pagetotal = {208, xxi}, +} + +@book{piaget1980, + keywords = {8.7}, + author = {Jean Piaget}, + title = {Para onde vai a educação}, + edition = {7}, + location = {Rio de Janeiro}, + publisher = {J. Olympio}, + date = {1980}, + pagetotal = {500}, +} + +@book{tabak1993, + keywords = {8.7}, + author = {F. Tabak}, + title = {A lei como instrumento de mudança social}, + location = {Fortaleza}, + publisher = {Fundação Waldemar Alcântara}, + date = {1993}, + pagetotal = {17}, + bookpagination = {sheet}, +} + +@book{tourinho1994, + keywords = {8.7}, + author = {Tourinho Filho, F. C.}, + title = {Processo penal}, + edition = {16. ed. rev. e atual.}, + location = {São Paulo}, + publisher = {Saraiva}, + date = {1994}, + note = {4 v.}, +} + +@book{silva1996b, + keywords = {8.7}, + author = {De Plácido e Silva}, + title = {Vocabulário jurídico}, + edition = {4}, + location = {Rio de Janeiro}, + publisher = {Forense}, + date = {1996}, + note = {5 v. em 3}, +} + +@incollection{rego1991, + keywords = {8.7}, + author = {L. L. B. Rego}, + title = {O desenvolvimento cognitivo + e a prontidão para alfabetização}, + editor = {T. N. Carraro}, + editortype = {organizer}, + booktitle = {Aprender pensando}, + edition = {6}, + location = {Petrópolis}, + publisher = {Vozes}, + date = {1991}, + pages = {31-40}, +} + +@inbook{turano1998, + keywords = {8.7}, + author = {J. C. Turano and L. M. Turano}, + title = {Fatores determinantes da ocusão em prótese total}, + booktitle = {Fundamentos de prótese total}, + bookauthor = {J. C. Turano and L. M. Turano}, + edition = {4}, + location = {São Paulo}, + publisher = {Quintessence}, + date = {1998}, + chapter = {13}, +} + +@book{marques1993, + keywords = {8.7}, + author = {M. P. Marques and R. G. Lanzelotte}, + title = {Banco de dados e hipermídia}, + subtitle = {construindo um metamodelo para o Projeto Portinari}, + location = {Rio de Janeiro}, + publisher = {\mkbibacro{PUC}, Departamento de Informática}, + date = {1993}, + note = {Paginação irregular}, +} + +@book{tamandare1993, + keywords = {8.7}, + title = {Sistema de ensino Tamandaré}, + subtitle = {sargentos do Exército e da Aeronáutica}, + location = {[Rio de Janeiro]}, + publisher = {Colégio Curso Tamandaré}, + date = {1993}, + note = {Não paginado}, +} + +% <<< + +% section 8.8 >>>2 + +@book{cesar1994, + keywords = {8.8}, + author = {A. M. Cesar}, + title = {A bala e a mitra}, + location = {Recife}, + publisher = {Bagaço}, + date = {1994}, + pagetotal = {267}, + illustrated = {il.}, +} + +@book{azevedo1994, + keywords = {8.8}, + author = {Marta R. de Azevedo}, + title = {Viva vida}, + subtitle = {estudos sociais, 4.}, + location = {São Paulo}, + publisher = {\mkbibacro{FTD}}, + date = {1994}, + pagetotal = {194}, + illustrated = {il. color.}, +} + +@book{batista1992, + keywords = {8.8}, + author = {Z. Batista and N. Batista}, + title = {O foguete do Guido}, + titleaddon = {Ilustrações de Marilda Castanha}, + location = {São Paulo}, + publisher = {Ed. do Brasil}, + date = {1992}, + pagetotal = {15}, + illustrated = {principalmente il. color.}, + % editor = {Marilda Castanha}, + % editortype = {illustrator}, +} + +@book{chueire1994, + keywords = {8.8}, + author = {C. Chueire}, + title = {Marca angelical}, + titleaddon = {Ilustração Luciane Fadel}, + location = {Petrópolis}, + publisher = {Vozes}, + date = {1994}, + pagetotal = {18}, + illustrated = {somente il.}, + isbn = {85-326-1087-0}, + % editora = {Luciane Fadel}, + % editoratype = {illustrator}, + % O ideal seria usar os campos `editora` e `editoratype` em vez de + % `titleaddon`. +} + +% <<< + +% section 8.9 >>>2 + +@book{duran1993, + keywords = {8.9}, + author = {J. J. Duran}, + title = {Iluminação para vídeo e cinema}, + location = {São Paulo}, + date = {1993}, + pagetotal = {126}, + dimensions = {21~cm}, +} + +@book{chemello1993, + keywords = {8.9}, + author = {T. Chemello}, + title = {Lãs, linhas e retalhos}, + edition = {3}, + location = {São Paulo}, + publisher = {Global}, + date = {1993}, + pagetotal = {61}, + illustrated = {il.}, + dimensions = {16 cm {$\times$} 23 cm}, +} + +@misc{taca0000, + keywords = {8.9}, + title = {Taça de vidro à maneira de Veneza, + com a imagem de Nossa Senhora e o menino + no fuste também decorado com detalhes azuis}, + year = {[170-{}-?].}, + sortyear = {1700}, + note = {1 taça, 10,7 cm de diâmetro $\times$ 24,5 cm de + altura}, + options = {noslsn}, + % É necessário pôr o ponto depois do ano manualmente + % porque o biblatex acha que o ponto de interrogação já é suficiente. +} + +% <<< + +% section 8.10 >>>2 + +@book{arbex1993, + keywords = {8.10}, + author = {Arbex Junior, J.}, + title = {Nacionalismo}, + subtitle = {o desafio à nova ordem pós-socialista}, + location = {São Paulo}, + publisher = {Scipione}, + date = {1993}, + pagetotal = {104}, + illustrated = {il.}, + dimensions = {23 cm}, + series = {História em aberto}, +} + +@book{carvalho1994, + keywords = {8.10}, + author = {M. Carvalho}, + title = {Guia prático do alfabetizador}, + location = {São Paulo}, + publisher = {Ática}, + date = {1994}, + pagetotal = {95}, + series = {Princípios}, + number = {243}, +} + +@book{migliori1993, + keywords = {8.10}, + author = {R. Migliori}, + title = {Paradigmas e educação}, + location = {São Paulo}, + publisher = {Aquariana}, + date = {1993}, + pagetotal = {20}, + series = {Visão do futuro}, + number = {v. 1}, +} + +@book{amaral1994, + keywords = {8.10}, + author = {Amaral Sobrinho, J.}, + title = {Ensino fundamental}, + subtitle = {gastos da União e do \mkbibacro{MEC} em 1991: + tendências}, + location = {Brasília, DF}, + publisher = {\mkbibacro{IPEA}}, + date = {1994}, + pagetotal = {8}, + series = {Texto para discussão}, + number = {n. 31}, +} + +@book{rodrigues1994, + keywords = {8.10}, + author = {Nelson Rodrigues}, + title = {Teatro completo}, + titleaddon = {Organização geral e prefácio Sábato Magaldi}, + location = {Rio de Janeiro}, + publisher = {Nova Aguilar}, + date = {1994}, + pagetotal = {1134}, + series = {Biblioteca luso-brasileira. Série brasileira}, + % editor = {Sábato Magaldi}, + % editortype = {genorgfo}, +} + +% <<< + +% section 8.11 >>>2 + +@book{laurenti1978, + keywords = {8.11}, + author = {R. Laurenti}, + title = {Mortalidade pré-natal}, + location = {São Paulo}, + publisher = {Centro Brasileiro de Classificação de Doenças}, + date = {1978}, + note = {Mimeografado}, +} + +@article{marins1991, + keywords = {8.11}, + author = {J. L. C. Marins}, + title = {Massa calcificada da naso-faringe}, + journaltitle = {Radiologia Brasileira}, + location = {São Paulo}, + number = {23}, + date = {1991}, + pubstate = {No prelo}, +} + +@misc{malagrino1985, + keywords = {8.11}, + author = {W. Malagrino and others}, + title = {Estudos preliminares sobre os efeitos de baixas + concentrações de detergentes amiônicos na formação + do bisso em \textit{Branchidontas solisianus}}, + date = {1985}, + note = {Trabalho apresentado ao 13º Congresso Brasileiro + de Engenharia Sanitária e Ambiental, Maceió, 1985}, + options = {noslsn}, +} + +@book{zilberman1998, + keywords = {8.11}, + author = {R. Zilberman}, + title = {A leitura e o ensino da literatura}, + location = {São Paulo}, + publisher = {Contexto}, + date = {1988}, + pagetotal = {146}, + relatedtype = {recensionof}, + related = {silva1988}, +} + +@article{silva1988, + % keywords = {8.11}, + author = {E. T. Silva}, + journaltitle = {Ci. Inf.}, + location = {Brasília, DF}, + volume = {17}, + number = {2}, + issue = {jul./dez.}, + year = {1988}, +} + +@book{matsuda1986, + keywords = {8.11}, + author = {C. T. Matsuda}, + title = {Cometas: do mito à ciência}, + date = {1986}, + publisher = {Ícone}, + location = {São Paulo}, + related = {santos1987}, + relatedtype = {reviewof}, +} + +@article{santos1987, + % keywords = {8.11}, + author = {P. M. Santos}, + title = {Cometa}, + subtitle = {divindade momentânea ou bola de gelo sujo?}, + journaltitle = {Ciência Hoje}, + location = {São Paulo}, + volume = {5}, + number = {30}, + pages = {20}, + date = {1987-04}, +} + +@misc{resprin1997, + keywords = {8.11}, + title = {Resprin}, + subtitle = {comprimidos}, + titleaddon = {Responsável técnico Delosmar R. Bastos}, + location = {São José dos Campos}, + publisher = {Johnson \& Johnson}, + date = {1997}, + note = {Bula de remédio}, +} + +@book{carruth1993, + keywords = {8.11}, + author = {Jane Carruth}, + title = {A nova casa do Bebeto}, + titleaddon = {Desenhos de Tony Hutchings. Tradução Ruth Rocha}, + location = {São Paulo}, + publisher = {Círculo do Livro}, + date = {1993}, + pagetotal = {21}, + note = {Tradução de: Moving House}, + % editor = {Tony Hutchings}, + % editortype = {illustrator}, + % translator = {Ruth Rocha}, + % O ideal seria usar os campos `editor` e `editortype` em vez de + % `titleaddon`. +} + +@book{saadi1994, + keywords = {8.11}, + author = {Saadi}, + title = {O jardim das rosas\ldots}, + titleaddon = {Tradução de Aurélio Buarque de Holanda}, + location = {Rio de Janeiro}, + publisher = {J. Olympio}, + date = {1944}, + pagetotal = {124}, + illustrated = {il.}, + series = {Coleção Rubaiyat}, + note = {Versão francesa de Franz Toussaint do original árabe}, + % translator = {Aurélio Buarque de Holanda}, +} + +@book{makau1962, + keywords = {8.11}, + author = {A. B. Makau}, + title = {Esperanza de la educación hoy}, + location = {Lisboa}, + publisher = {J.~Piaget}, + date = {1962}, + related = {moore1960b}, + relatedtype = {reprintfrom}, +} + +@book{moore1960b, + % keywords = {8.11}, + editor = {W. Moore}, + title = {Construtivismo del movimiento educacional}, + subtitle = {soluciones}, + location = {Córdoba, AR}, + date = {1960}, + pages = {309-340}, +} + +@article{lion1981, + keywords = {8.11}, + author = {M. F. Lion and J. Andrade}, + title = {Drogas cardiovasculares e gravidez}, + titleaddon = {Separata de:}, + journaltitle = {Arquivos Brasileiros de Cardiologia}, + location = {São Paulo}, + volume = {37}, + number = {2}, + pages = {125-127}, + date = {1981}, +} + +@thesis{morgado1990, + keywords = {8.11}, + author = {M. L. C. Morgado}, + title = {Reimplante dentário}, + date = {1990}, + pagetotal = {51}, + bookpagination = {sheet}, + type = {Trabalho de conclusão de curso (Especialização)}, + institution = {Faculdade de Odontologia, + Universidade Camilo Castelo Branco}, + location = {São Paulo}, + eventdate = {1990}, +} + +@mastersthesis{araujo1986, + keywords = {8.11}, + author = {U. A. M. Araujo}, + title = {Máscaras inteiriças Tukúna}, + subtitle = {possibilidade de estudo de artefatos + de museu para o conhecimento do universo indígena}, + date = {1985}, + pagetotal = {102}, + bookpagination = {sheet}, + type = {Dissertação (Mestrado em Ciências Sociais)}, + institution = {Fundação Escola de Sociologia Política de São Paulo}, + location = {São Paulo}, + eventdate = {1986}, +} + +@thesis{alentejo1999, + keywords = {8.11}, + author = {Eduardo Alentejo}, + title = {Catalogação de postais}, + titleaddon = {1999. Trabalho apresentado como requisito parcial para + aprovação na Disciplina Catalogação III}, + institution = {Escola de Biblioteconomia, Universidade do Rio de + Janeiro}, + location = {Rio de Janeiro}, + eventdate = {1999}, + % date = {1999}, + % A data foi acrescentada ao campo `titleaddon` para que ficasse antes do + % texto desse campo (que deveria ir no campo `note`, sendo impresso no fim + % da entrada, mas, pra variar, a ABNT resolveu fazer diferente). +} + +@book{holanda1994, + keywords = {8.11}, + author = {S. B. Holanda}, + title = {Caminhos e fronteiras}, + edition = {3}, + location = {São Paulo}, + publisher = {Companhia das Letras}, + date = {1994}, + pagetotal = {301}, + illustrated = {il.}, + note = {Inclui índice}, + isbn = {85-7164-411-x}, +} + +@book{pelosi1993, + keywords = {8.11}, + author = {T. Pelosi}, + title = {O caminho das cordas}, + location = {Rio de Janeiro}, + publisher = {Anais}, + date = {1993}, + pagetotal = {158}, + illustrated = {il.}, + note = {Bibliografia: p. 115-158}, +} + +@book{tringali1994, + keywords = {8.11}, + author = {Dante Tringali}, + title = {Escolas literárias}, + location = {São Paulo}, + publisher = {Musa}, + date = {1994}, + pagetotal = {246}, + note = {Inclui bibliografias}, +} + +@book{cardim1984, + keywords = {8.11}, + author = {M. S. Cardim}, + title = {Constitui o ensino de 2º grau regular noturno + uma verdadeira educação de adultos?}, + location = {Curitiba}, + publisher = {Universidade Federal do Paraná, Setor de Educação}, + date = {1984}, + note = {3 microfichas. Redução de 1:24.000}, +} + +% <<< + +% <<< + +% section 9 >>>1 + +% section 9.1 >>>2 + +@book{confederacao1993, + keywords = {9.1}, + author = {{Confederação nacional da indústria\nopunct}}, + nameaddon = {(Brasil)}, + title = {Educação básica e formação profissional}, + date = {1993}, + location = {Salvador}, + options = {noslsn}, + % Para que o "(Brasil)" fique em minúsculas, pode-se usar + % `\nopunct` para omitir o ponto depois do autor e então acrescentar + % essa informação no campo `nameaddon`. Também é possível usar o campo + % `authortype` para essa informação, mas "Brasil" nãe é exatamente um + % tipo de autor, embora a ABNT imprima como se fosse. + % Nenhuma dessas possibilidades é ideal, e provavelmente causariam + % problemas em outros estilos, mas como a ABNT é inconsistente é + % necessário fazer algo assim. +} + +@book{dreifuss1996, + keywords = {9.1}, + author = {René Dreifuss}, + title = {A era das perplexidades}, + subtitle = {mundialização, globalização e planetarização}, + date = {1996}, + publisher = {Vozes}, + location = {Petrópolis}, +} + +@book{gramsci1978, + keywords = {9.1}, + author = {Antonio Gramsci}, + title = {Concepção dialética da História}, + edition = {2}, + date = {1978}, + publisher = {Civilização Brasileira}, + location = {Rio de Janeiro}, +} + +@mvbook{freyre1943, + keywords = {9.1}, + author = {Gilberto Freyre}, + title = {Casa grande \& senzala}, + subtitle = {formação da família brasileira + sob regime de economia patriarcal}, + location = {Rio de Janeiro}, + publisher = {J. Olympio}, + date = {1943}, + volumes = {2}, +} + +@book{freyre1936a, + keywords = {9.1}, + author = {Gilberto Freyre}, + title = {Sobrados e mocambos}, + subtitle = {decadência do patriarcado rural no Brasil}, + location = {São Paulo}, + publisher = {Ed. Nacional}, + date = {1936}, + options = {repeatfields=false, repeatfirstfields=false}, +} + +@book{freyre1936b, + keywords = {9.1}, + author = {Gilberto Freyre}, + title = {Sobrados e mocambos}, + subtitle = {decadência do patriarcado rural no Brasil}, + location = {São Paulo}, + publisher = {Ed. Nacional}, + date = {1936}, + pagetotal = {405}, +} + +@book{freyre1938, + keywords = {9.1}, + author = {Gilberto Freyre}, + title = {Sobrados e mocambos}, + subtitle = {decadência do patriarcado rural no Brasil}, + location = {São Paulo}, + publisher = {Ed. Nacional}, + date = {1938}, + edition = {2}, + pagetotal = {410}, + options = {repeatfields=false, repeatfirstfields=false}, +} + +% <<< + +% section 9.2 >>>2 + +@book{cretella1992, + keywords = {9.2}, + author = {Cretella Júnior, José}, + title = {Do impeachment no direito brasileiro}, + location = {[São Paulo]}, + publisher = {R. dos Tribunais}, + date = {1992}, + pages = {107}, +} + +@booklet{boletim1965b, + keywords = {9.2}, + title = {Boletim~estatístico [da] Rede Ferroviária Federal}, + location = {Rio de Janeiro}, + date = {1965}, + pages = {20}, +} + +% <<< + +% <<< + +% vim: set foldmarker=\ >>>,\ <<< : diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.bib b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.bib new file mode 100644 index 0000000000..6b050e17e6 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.bib @@ -0,0 +1,130 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + + +@mvbook{assis08, + author = {Machado de Assis}, + title = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + volumes = {4}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. Série brasileira}, +} + +@book{assis08:1, + crossref = {assis08}, + volume = {1}, + title = {Fortuna crítica/Romance}, + pagetotal = {1340}, +} + +@bookinbook{assis08:1b, + crossref = {assis08:1}, + title = {Esaú e Jacó}, + pages = {1073-1226}, +} + +@inbook{bosi08, + crossref = {assis08:1}, + title = {Uma figura machadiana}, + author = {Alfredo Bosi}, + pages = {179-189}, +} + +@suppbook{leite08, + crossref = {assis08:1}, + title = {Nota Editorial}, + author = {Aluizio Leite and Ana Lima Cecilio and Heloisa Jahn}, + pages = {1-5}, +} + +@mvcollection{moretti09, + editor = {Franco Moretti}, + editortype = {organizer}, + translator = {Denise Bottmann}, + title = {O Romance}, + volumes = {5}, + publisher = {Cosac Naify}, + location = {São Paulo}, + year = {2009}, +} + +@collection{moretti09:1, + crossref = {moretti09}, + volume = {1}, + title = {A cultura do romance}, + pagetotal = {1120}, + illustrated = {40 ils.}, +} + +@incollection{mann09, + crossref = {moretti09:1}, + author = {Thomas Mann}, + title = {Bilse e eu}, + pages = {217}, +} + +@suppcollection{moretti09:1b, + crossref = {moretti09:1}, + title = {Apresentação geral}, + author = {Franco Moretti}, +} + +@article{negrão14, + title = {Brazilian Portuguese as a transatlantic language}, + subtitle = {agents of linguistic contact}, + author = {Esmeralda Vailati Negrão and Evani Viotti}, + journal = {Interdisciplinary Journal of Portuguese Diaspora Studies}, + volume = {3}, + pages = {135-154}, + year = {2014}, +} + +@thesis{eliseu84, + title = {Verbos ergativos do Português}, + subtitle = {descrição e análise}, + author = {André Manuel Godinho Simões Eliseu}, + type = {Dissertação (Mestrado em Linguística)}, + institution = {Universidade de Lisboa}, + location = {Lisboa}, + eventdate = {1985}, +} + +@thesis{amaral15, + title = {A alternância transitivo-intransitiva no português brasileiro}, + subtitle = {fenômenos semânticos}, + author = {Luana Lopes Amaral}, + type = {Tese (Doutorado em Linguística)}, + institution = {Universidade Federal de Minas Gerais}, + location = {Belo Horizonte}, + eventdate = {2015}, +} + +@inproceedings{negrão13, + title = {A emergência da sintaxe do português brasileiro}, + subtitle = {absolutas, alçamento do possuidor e passivas}, + author = {Esmeralda Vailati Negrão and Evani Viotti}, + eventtitle = {Encontro nacional do gt de teoria da gramática da ANPOLL}, + number = {28}, + venue = {Florianópolis}, + eventdate = {2013}, + booktitle = {Caderno de Resumos}, + publisher = {\mkbibacro{ANPOLL}}, + location = {Campinas}, + year = {2013}, +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.pdf Binary files differnew file mode 100644 index 0000000000..b75d55e02b --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.tex b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.tex new file mode 100644 index 0000000000..9af40abf29 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/doc/biblatex-abnt.tex @@ -0,0 +1,929 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + + +% Preamble >>>1 + +\documentclass[a4paper]{article} +\usepackage[brazil]{babel} +\usepackage{lmodern} +\usepackage{microtype} +\usepackage{enumitem} +\usepackage{examplep} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[autostyle]{csquotes} + +\usepackage{parskip}% >>>2 +\setlength{\parskip}{\baselineskip}% <<<2 + +\usepackage{titlesec}% >>>2 +\newcommand{\subsectionbreak}{\clearpage}% <<<2 + +\usepackage{tcolorbox}% >>>2 +\usepackage{xcolor} +\tcbuselibrary{listings} + +\newtcblisting{example}{ + colback=white, + colframe=white, + size=title, + middle=-1pt, + top=-2pt, + left=0pt, + fontlower=\small, + left skip=2em, +}% <<<2 + + +\setlength\itemsep{.6\baselineskip} + +\usepackage[%% Biblatex >>>2 + style = abnt, + language = brazil, + giveninits, + uniquename = init, + hyperref, + labelnumber, % These two options are used just to show the + defernumbers = true, % numbers properly in the abnt-numeric examples +]{biblatex} + +\addbibresource{biblatex-abnt.bib}% <<<2 + +\usepackage{hyperref}% >>>2 +% \hypersetup{ +% colorlinks=true, +% linkcolor=blue, +% citecolor=red, +% } <<<2 + + +\DeclareBibliographyCategory{singleentries}% >>>2 + +\newcommand{\singlecite}[1]{% + \addtocategory{singleentries}{#1}% + \defbibcheck{key#1}{ + \iffieldequalstr{entrykey}{#1} + {} + {\skipentry}}% + \printbibliography[heading=none,check=key#1]% +}% <<<2 + +\newcommand{\version}{3.4} +\newcommand{\requirements}{\texttt{biblatex 3.8} e \texttt{biber 2.8}} + +\title{biblatex-abnt \version} +\author{Daniel Ballester Marques} + +% <<<1 + +\begin{document}% >>>1 + +\maketitle + +\tableofcontents + +\clearpage +\section{Requisitos}% >>>2 + +O \texttt{biblatex-abnt \version} requer \requirements. Caso haja algum +problema na compilação, cheque se seus pacotes estão atualizados. +% <<<2 + +\section{Instalação}% >>>2 + +O \texttt{biblatex-abnt} está incluso no TeX Live a partir 2016. + +Para instalá-lo manualmente, copie os arquivos \texttt{.bbx}, \texttt{.cbx} e +\texttt{.lbx} para +\begin{verbatim} + <TEXMFLOCAL>/tex/latex/biblatex-contrib/biblatex-abnt/ +\end{verbatim} +e atualize o banco de dados do TeX (rodando o `texhash`, por exemplo). +% <<<2 + +\section{Uso}% >>>2 + +Para usar o {biblatex-abnt}, adicione as seguintes linhas ao preâmbulo do seu +arquivo {.tex}: + +\begin{verbatim} + \usepackage[ + style = abnt, % Sistema alfabético + % style = abnt-numeric, % Sistema numérico + % style = abnt-ibid, % Notas de referência + ]{biblatex} + + \addbibresource{arquivo.bib} % Seus arquivos de + \addbibresource{outroarquivo.bib} % bibliografia vão aqui. +\end{verbatim} + +Após a opção \texttt{style}, podem ser acrescentadas +as opções descritas na seção \ref{sec:opções}. + +Use os comandos descritos na seção \ref{sec:comandos} para citar obras. + +Use o comando \verb"\printbibliography" para imprimir a bibliografia. +% <<<2 + +\clearpage +\section{Opções}% >>>2 +\label{sec:opções} + +As opções a seguir podem ser usadas ao chamar o \texttt{biblatex} (além +daquelas descritas no manual do pacote): + +\begin{description}[itemindent=-1em,leftmargin=3em]% >>>3 + \item [ittitles] Usa itálico para os títulos na bibliografia + \item [justify] Imprime o texto justificado em vez de alinhado à esquerda + \item [indent] Indenta as entradas da bibliografia + \item [sccite] Imprime os nomes em versalete nas citações + \item [scbib] Imprime os nomes em versalete na bibliografia + \item [pretty] Ativa as cinco primeiras opções citadas de uma vez + \item [giveninits] Abrevia os primeiros nomes na bibliografia + \item [extrayear] Diferencia os anos com letras (e.g., 2017a) + também na bibliografia + \item [nosl] Oculta as abreviações [s.l.] na bibliografia + \item [nosn] Oculta as abreviações [s.n.] na bibliografia + \item [noslsn] Oculta as abreviações [s.l], [s.n] e [s.l.: s.n.] + \item [repeatfields] Imprime os campos repetidos na bibliografia, em vez de + subs\-ti\-tu\-í-los por traços sublineares + \item [repeatfirstfields] Repete apenas o primeiro campo de cada entrada, + mas substitui uma segunda ocorrência com traços sublineares + \item [repeattitles] Imprime apenas os títulos repetidos na bibliografia, + mas substitui os autores por traços sublineares + \item [usedashes] Usa os traços padrão do \texttt{biblatex} nos campos + repetidos + \item [language=brazil] Essa opção é adicionada automaticamente. Para + imprimir a bibliografia em outros idiomas, substitua o termo + \texttt{brazil} pelo código da linguagem desejada + \item [backref] Especifica as páginas em que cada entrada foi citada. + \item [citecount] Além das páginas, especifica quantas vezes cada entrada + foi citada. + \item [comp] Abrevia a numeração no estilo numérico, imprimindo, e.g., + \enquote{(1--4)} em vez de \enquote{(1, 2, 3, 4)}. +\end{description}% <<<3 + +\vspace{\baselineskip} +E.g.: \verb"\usepackage[backend=biber, style=abnt, ittitles]{biblatex}" + +\begin{sloppypar} + As opções \texttt{repeatfields}, \texttt{repeattitles}, \texttt{backref}, + \texttt{nosl}, \texttt{nosn}, \texttt{noslsn} e \texttt{extrayear} também + podem ser usadas apenas em entradas específicas. E.g.: +\end{sloppypar} + +\begin{verbatim} + @mvbook{assis08, + author = {Machado de Assis}, + title = {Obra completa em quatro volumes}, + year = {2008}, + options = {repeattitles, noslsn=false}, + } +\end{verbatim} +% <<<2 + + +\section{Comandos}% >>>2 +\label{sec:comandos} + +\subsection{Estilo \texttt{abnt}}% >>>3 + +Comandos principais: + +\begin{example} +\cite{amaral15} +\end{example} + +\begin{example} +\textcite{bosi08} +\end{example} + +\begin{example} +\apud{assis08}{bosi08} +\end{example} + +\begin{example} +\cites{moretti09}{mann09}{amaral15} +\end{example} + +\begin{example} +\textcites{moretti09}{mann09}{amaral15} +\end{example} + +Outros exemplos: + +\begin{example} +Como sabemos\footcite[Cf., e.g.,][]{assis08}, +\end{example} + +\begin{example} +\citetitle{bosi08} +\end{example} + +\begin{example} +\citeauthor{bosi08} +\end{example} + +\begin{example} +\citeyear{bosi08} +\end{example} + +\begin{example} +\cites{mann09}{moretti09:1, moretti09} +\end{example} + +\begin{example} +\apud[p.~12]{assis08}[p.~200]{bosi08} +\end{example} + +\begin{example} +\textapud[p.~200]{assis08}[p.~12]{bosi08} +\end{example} + +\begin{example} +\apud[batman][]{bosi08} +\end{example} + +\begin{example} +Assis \cite[apud][p.~200]{bosi08} +\end{example} + +% <<<3 + + +\begingroup +\let\clearpage\relax +\subsection{Estilo \texttt{abnt-numeric}}% >>>3 +\endgroup + +\DeclareCiteCommand{\supercite}[\mkbibsuperscript] + {\iffieldundef{prenote} + {} + {\BibliographyWarning{Ignoring prenote argument}}% + \iffieldundef{postnote} + {} + {\BibliographyWarning{Ignoring postnote argument}}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\supercitedelim} + {} + +\providebool{bbx:subentry} + +\renewbibmacro*{cite}{% + \printtext[bibhyperref]{% + \printfield{labelprefix}% + \printfield{labelnumber}% + \ifbool{bbx:subentry} + {\printfield{entrysetcount}} + {}}} + +\makeatletter +\renewbibmacro*{textcite}{% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\multicitedelim}} + {\ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{namelabeldelim}\bibopenparen}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite}% + \setunit{% + \ifbool{cbx:parens} + {\bibcloseparen\global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} +\makeatother + + +\begin{example} +\textcite{bosi08} +\end{example} + +\begin{example} +Bosi \cite{bosi08} +\end{example} + +\begin{example} +Bosi \supercite{bosi08} +\end{example} +% <<<3 + + +\begingroup +\let\clearpage\relax +\subsection{Estilo \texttt{abnt-ibid}}% >>>3 +\endgroup + +No estilo \texttt{abnt-ibid}, o comando \texttt{footcite} imprime, conforme as +instruções da ABNT, a referência inteira, sua versão abreviada ou as +abreviações ``id.'', ``ibid.'', ``op. cit.'' e ``loc. cit.''. O comando +\texttt{apud} também é adaptado para usar as notas de rodapé. + +% <<<3 + +% <<<2 + +\clearpage +\section{Entradas comuns}% >>>2 + +A lista completa de campos e entradas pode ser encontrada no manual do +\texttt{biblatex}. Estes são alguns exemplos de situações comuns: + +\begingroup +\let\clearpage\relax +\subsection{@mvbook}% >>>3 +\endgroup + +Um obra que abrange múltiplos volumes: + +\begin{verbatim} + @mvbook{assis08, + author = {Machado de Assis}, + title = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + volumes = {4}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. + Série brasileira}, + } +\end{verbatim} + +\singlecite{assis08} +% <<<3 + +\subsection{@book}% >>>3 + +Um único livro. Pode ser um dos volumes de uma obra que abrange múltiplos +volumes (\texttt{@mvbook}): + +\begin{verbatim} + @book{assis08:1, + volume = {1}, + title = {Fortuna crítica/Romance}, + pagetotal = {1340}, + author = {Machado de Assis}, + maintitle = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. + Série brasileira}, + } +\end{verbatim} + +\noindent +Também é possível usar o campo \texttt{crossref} para herdar as informações de +outra entrada: + +\begin{verbatim} + @book{assis08:1, + crossref = {assis08}, + volume = {1}, + title = {Fortuna crítica/Romance}, + pagetotal = {1340}, + } +\end{verbatim} + +\singlecite{assis08:1} +% <<<3 + +\subsection{@bookinbook}% >>>3 + +Uma obra originalmente publicada por si só, mas citada como parte de outro +livro: + +\begin{verbatim} + @bookinbook{assis08:1b, + title = {Esaú e Jacó}, + pages = {1073-1226}, + volume = {1}, + booktitle = {Fortuna crítica/Romance}, + pagetotal = {1340}, + author = {Machado de Assis}, + maintitle = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. + Série brasileira}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @bookinbook{assis08:1b, + crossref = {assis08:1}, + title = {Esaú e Jacó}, + pages = {1073-1226}, + } +\end{verbatim} + +\singlecite{assis08:1b} +% <<<3 + +\subsection{@inbook}% >>>3 + +Uma parte de um livro que forma uma unidade independente, com seu próprio +título: + +\begin{verbatim} + @inbook{bosi08, + title = {Uma figura machadiana}, + author = {Alfredo Bosi}, + pages = {179-189}, + volume = {1}, + booktitle = {Fortuna crítica/Romance}, + pagetotal = {1340}, + bookauthor = {Machado de Assis}, + maintitle = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. + Série brasileira}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @inbook{bosi08, + crossref = {assis08:1}, + title = {Uma figura machadiana}, + author = {Alfredo Bosi}, + pages = {179-189}, + } +\end{verbatim} + +\singlecite{bosi08} +% <<<3 + +\subsection{@suppbook}% >>>3 + +Uma parte suplementar de um livro, com um título genérico, como ``prefácio'' +ou ``introdução'': + +\begin{verbatim} + @suppbook{leite08, + title = {Nota Editorial}, + author = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + pages = {1-5}, + volume = {1}, + booktitle = {Fortuna crítica/Romance}, + pagetotal = {1340}, + bookauthor = {Machado de Assis}, + maintitle = {Obra completa em quatro volumes}, + year = {2008}, + editor = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + editortype = {organizer}, + edition = {2}, + publisher = {Nova Fronteira}, + location = {Rio de Janeiro}, + series = {Biblioteca luso-brasileira. + Série brasileira}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @suppbook{leite08, + crossref = {assis08:1}, + title = {Nota Editorial}, + author = {Aluizio Leite and + Ana Lima Cecilio and Heloisa Jahn}, + pages = {1-5}, + } +\end{verbatim} + +\singlecite{leite08} +% <<<3 + +\subsection{@mvcollection}% >>>3 + +Uma coleção abrangendo diversos volumes, cada um composto por diversas +contribuições independentes, com seus próprios autores e títulos. A obra como +um todo não possui um autor, mas geralmente possui um editor: + +\begin{verbatim} + @mvcollection{moretti09, + editor = {Franco Moretti}, + editortype = {organizer}, + translator = {Denise Bottmann}, + title = {O Romance}, + volumes = {5}, + publisher = {Cosac Naify}, + location = {São Paulo}, + year = {2009}, + } +\end{verbatim} + +\singlecite{moretti09} +% <<<3 + +\subsection{@collection}% >>>3 + +Um único livro constituindo uma coleção composta por diversas contribuições +independentes. Pode ser um dos volumes de uma coleção que abrange múltiplos +volumes (\texttt{@mvcollection}): + +\begin{verbatim} + @collection{moretti09:1, + volume = {1}, + title = {A cultura do romance}, + pagetotal = {1120}, + illustrated = {40 ils.}, + editor = {Franco Moretti}, + editortype = {organizer}, + translator = {Denise Bottmann}, + maintitle = {O Romance}, + publisher = {Cosac Naify}, + location = {São Paulo}, + year = {2009}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @collection{moretti09:1, + crossref = {moretti09}, + volume = {1}, + title = {A cultura do romance}, + pagetotal = {1120}, + illustrated = {40 ils.}, + } +\end{verbatim} + +\singlecite{moretti09:1} +% <<<3 + +\subsection{@incollection}% >>>3 + +Uma contribuição a uma coleção, formando uma unidade independente, com autor +e título próprios: + +\begin{verbatim} + @incollection{mann09, + author = {Thomas Mann}, + title = {Bilse e eu}, + pages = {217}, + volume = {1}, + booktitle = {A cultura do romance}, + pagetotal = {1120}, + illustrated = {40 ils.}, + editor = {Franco Moretti}, + editortype = {organizer}, + translator = {Denise Bottmann}, + maintitle = {O Romance}, + publisher = {Cosac Naify}, + location = {São Paulo}, + year = {2009}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @incollection{mann09, + crossref = {moretti09:1}, + author = {Thomas Mann}, + title = {Bilse e eu}, + pages = {217}, + } +\end{verbatim} + +\singlecite{mann09} +% <<<3 + +\subsection{@suppcollection}% >>>3 + +Uma parte suplementar de uma coleção, com um título genérico, como +``prefácio'' ou ``introdução'': + +\begin{verbatim} + @suppcollection{moretti09:1b, + title = {Apresentação geral}, + author = {Franco Moretti}, + pages = {217}, + volume = {1}, + booktitle = {A cultura do romance}, + pagetotal = {1120}, + illustrated = {40 ils.}, + editor = {Franco Moretti}, + editortype = {organizer}, + translator = {Denise Bottmann}, + maintitle = {O Romance}, + publisher = {Cosac Naify}, + location = {São Paulo}, + year = {2009}, + } +\end{verbatim} + +\noindent +Ou: + +\begin{verbatim} + @suppcollection{moretti09:1b, + crossref = {moretti09:1}, + title = {Apresentação geral}, + author = {Franco Moretti}, + } +\end{verbatim} + +\singlecite{moretti09:1b} +% <<<3 + +\subsection{@article}% >>>3 + +Um artigo científico/acadêmico: + +\begin{verbatim} + @article{negrão14, + title = {Brazilian Portuguese as a + transatlantic language}, + subtitle = {agents of linguistic contact}, + author = {Esmeralda Vailati Negrão and Evani Viotti}, + journal = {Interdisciplinary Journal of + Portuguese Diaspora Studies}, + volume = {3}, + pages = {135-154}, + year = {2014}, + } +\end{verbatim} + +\singlecite{negrão14} +% <<<3 + +\subsection{@thesis}% >>>3 + +Uma dissertação de mestrado: + +\begin{verbatim} + @thesis{eliseu84, + title = {Verbos ergativos do Português}, + subtitle = {descrição e análise}, + author = {André Manuel Godinho Simões Eliseu}, + type = {Dissertação (Mestrado em Linguística)}, + institution = {Universidade de Lisboa}, + location = {Lisboa}, + eventyear = {1985}, + } +\end{verbatim} + +\singlecite{eliseu84} + +Uma tese de doutorado: + +\begin{verbatim} + @thesis{amaral15, + title = {A alternância transitivo-intransitiva + no português brasileiro}, + subtitle = {fenômenos semânticos}, + author = {Luana Lopes Amaral}, + type = {Tese (Doutorado em Linguística)}, + institution = {Universidade Federal de Minas Gerais}, + location = {Belo Horizonte}, + eventyear = {2015}, + } +\end{verbatim} + +\singlecite{amaral15} +% <<<3 + +\subsection{@inproceedings}% >>>3 + +Trabalhos publicados em resumos ou anais de eventos: + +\begin{verbatim} + @inproceedings{negrão13, + title = {A emergência da sintaxe do + português brasileiro}, + subtitle = {absolutas, alçamento do + possuidor e passivas}, + author = {Esmeralda Vailati Negrão and Evani Viotti}, + eventtitle = {Encontro nacional do gt de + teoria da gramática da ANPOLL}, + number = {28}, + venue = {Florianópolis}, + eventyear = {2013}, + booktitle = {Caderno de Resumos}, + publisher = {ANPOLL}, + location = {Campinas}, + year = {2013}, + } +\end{verbatim} + +\singlecite{negrão13} +% <<<3 + +% <<<2 + +% \clearpage +% \section{Compatibilidade com o pacote \texttt{abntex2cite}}% >>>2 + +% Em geral é possível usar o mesmo arquivo \texttt{.bib} utilizado pelo +% \texttt{abntex2cite}, e para a maior parte das entradas mais simples nenhuma +% mudança é necessária; estas são as principais exceções: + +% \begin{itemize} +% \begin{sloppypar} +% \item Não consegui entender por que, mas os exemplos do +% \texttt{abntex2cite} usam \verb"\'\i" para o caractere ``í'', enquanto o +% normal me parece ser \verb"\'i" (para outras letras com acento agudo o +% \texttt{abntex2cite} usa o formato normal). Isso pode causar alguns +% problemas, o ideal é usar \verb"\'i" (ou aproveitar os recursos do biber +% e usar a codificação utf-8). Caso isso não seja possível por algum +% motivo, chamar o biblatex com a opção \texttt{safeinputenc} pode +% resolver alguns problemas (mas também causa alguns outros, interferindo, +% por exemplo, na capitalização automática de palavras acentuadas). +% \item Os campos de datas (\texttt{date}, \texttt{year}, \texttt{month} etc.) +% devem seguir o formato usado pelo \texttt{biblatex} (\texttt{yyyy-mm-dd}). +% Cf. seção 2.2.1 do manual. +% \item O \texttt{biblatex} diferencia os campos \texttt{pages} (e.g. ``p. +% 12-18'') e \texttt{pagetotal} (e.g. ``347 p.''). +% \item Quando o primeiro campo impresso é o título, a primeira palavra é +% automaticamente impressa em maiúsculas. Para que mais de uma palavra seja +% impressa em maiúsculas, coloque-as entre chaves ou separadas por um +% \emph{no breaking space} (\verb"~"). +% \item Quando o primeiro campo impresso é a organização, todo o campo é +% impresso em maiúsculas. Para que a capitalização de uma palavra não +% seja alterada, coloque-a entre chaves (e.g. \verb"{pAlaVRa}"). +% \item Pode-se incluir no campo \texttt{options} as opções \texttt{nosl} +% (para não mostrar a abreviação ``[s.l]''), \texttt{nosn} (para não +% mostrar ``[s.n.]'') ou \texttt{noslsn} (para não mostrar nenhuma das duas +% abreviações) (e.g. \texttt{options = \{noslsn\}}); essa configuração +% tem efeito em cada entrada específica. Pode-se também incluir essas +% opções +% ao chamar o \texttt{biblatex} para nunca mostrar as abreviações, e +% então abrir exceções para entradas específicas (e.g. \texttt{options = +% \{noslsn=false\}}). +% \item Para periódicos, deve se utilizar entradas \texttt{@periodical}. +% Usando-se \texttt{@book}, como no \texttt{abntex2cite}, o ISSN não +% aparece. +% \item Para teses de mestrado e doutorado, o campo \texttt{pagetotal} é +% automaticamente formatado em folhas, como requer a norma (e.g. ``347 +% f.''). Para usar páginas também nessas entradas, use +% \texttt{bookpagination = +% \{page\}}. Para usar folhas em outras entradas, use +% \texttt{bookpagination = \{sheet\}}. +% \item Ao modificar o campo \texttt{type} em teses de mestrado e doutorado, +% deve-se preenchê-lo com todo o texto desejado (e.g. ``Tese (Doutorado em +% Nutrição)''). +% \item Ao utilizar o campo \texttt{illustrated}, deve-se preenchê-lo com +% todo o texto desejado (e.g. ``il.''). +% \item Além do campo \texttt{organization}, há o campo \texttt{nameaddon}, +% de modo que organizações como ``BRASIL. Supremo Tribunal de Justiça'' e +% ``BRASIL. Supremo Tribunal Federal'' podem ter uma mesma organização, +% diferenciando-se por esse campo. Isso permite que a primeira parte, +% ``BRASIL'', não seja repetida várias vezes seguidas (e.g. +% ``\underline{\hspace*{4em}}. Supremo Tribunal Federal''). +% \item O \texttt{abntex2cite} às vezes usa o campo \texttt{type} como um +% complemento da organização (um exemplo é a entrada +% \texttt{brasil1988}). +% Com o \texttt{biblatex-abnt} deve-se usar o campo \texttt{nameaddon} em +% vez de \texttt{type}. Embora nesse caso (``Constituição (1988)'') o +% campo +% \texttt{type} faça mais sentido semanticamente, colocá-lo nessa +% posição causaria problemas na organização alfabética da bibliografia, +% já que o campo \texttt{type} às vezes aparece antes do título e às +% vezes depois. +% \item A recomendação do manual do \texttt{biblatex} (seção 2.3.3) é de +% que, para autores corporativos, utilize-se os campos \texttt{author} e +% \texttt{editor}, colocando o nome da organização entre chaves. Essa +% opção tem a vantagem de permitir que se misture autores corporativos e +% autores comuns (e.g. \texttt{editor = \{National Aeronautics and Space +% Administration\} and John Doe}). +% \item Quando o nome do autor, editor ou organização for muito grande para +% usar nas citações, pode-se acrescentar os campos \texttt{short\-author} +% e \texttt{short\-editor} (e.g. \texttt{author = \{National Aeronautics and +% Space Ad\-min\-is\-tra\-tion\},} \texttt{short\-author = \{NASA\}} +% imprimirá ``NASA'' nas citações e ``National Aeronautics and Space +% Administration'' na bibliografia). O campo \texttt{org-short}, usado pelo +% \texttt{abntex\-2\-cite}, é automaticamente convertido para +% \texttt{shortauthor}. +% \item O separador ``de'' faz com que tudo o que vem depois dele seja +% considerado um único sobrenome (e.g. na entrada \texttt{alves1995} o nome +% \texttt{Roque de Brito} \texttt{Alves} é impresso como ``BRITO ALVES, +% Roque de''). Cf. \url{http://tex.stackexchange.com/q/308625/102699}. +% \item Quando os campos \texttt{number}, \texttt{volume}, \texttt{chapter} e +% \texttt{edition} contêm apenas números, eles são formatados +% automaticamente (e.g. \texttt{edition = \{5\}} imprime ``5. ed.''). Quando +% esses campos contêm letras, deve-se preencher todo o conteúdo desejado +% (e.g. \verb"edition = {5th. ed}" imprime ``5th. ed.''). Os caracteres +% \texttt{.,-/} podem ser usados e o campo ainda será considerado como +% contendo apenas números. +% \item Em entradas dos tipos \texttt{phdthesis}, \texttt{mastersthesis} e +% \texttt{monography}, há a data de publicação, que aparece logo após o +% título, e a data da defesa, que aparece por último. O +% \texttt{abntex2cite} +% às vezes usa o campo \texttt{year-presented} para diferenciar entre as +% duas +% datas e às vezes muda as opções do pacote para mostrar uma mesma data +% em +% uma ou outra posição. No \texttt{biblatex-abnt} pode-se usar os campos +% de +% datas usuais para a data de publicação, que aparece após o título, e +% os campos \texttt{eventdate}, \texttt{eventmonth} e \texttt{eventyear} +% para a +% data da defesa, que aparece no final. O campo \texttt{year-presented}, +% usado pelo \texttt{abntex2cite}, é automaticamente convertido para +% \texttt{eventyear}. (Cf. entradas \texttt{morgado1990}, +% \texttt{morgadob1990} e \texttt{morgadoc1990} no arquivo +% \texttt{abnt-testcase.tex}.) +% \item Em vez dos campos \texttt{reprinted-from} e \texttt{reprinted-text}, +% utilizados pelo \texttt{abntex2cite}, usa-se o campo \texttt{related} para +% citar uma entrada relacionada e o campo \texttt{relatedtype} para +% especificar a natureza dessa relação. O campo \texttt{reprinted-from} é +% automaticamente convertido para \texttt{related}; esse campo deve conter a +% chave da obra relacionada. O campo \texttt{relatedtype} pode conter +% algumas +% opções: \texttt{relatedtype=\{reprintfrom\}} imprime ``Separata de'' +% (esse texto também é usado como padrão quando se escreve qualquer coisa +% no campo \texttt{reprinted-text}, usado no \texttt{abntex2cite}); +% \texttt{recensionof} imprime ``Recensão de''; \texttt{reviewof} imprime +% ``Resenha de''; \texttt{reprintof} imprime ``Reimpressão de''; +% \texttt{translationof} imprime ``Tradução de''. Outras possibilidades +% podem ser encontradas no arquivo \texttt{brazilian.lbx}, incluso na +% instalação padrão do \texttt{biblatex}. +% \item No \texttt{biblatex}, as entradas \texttt{inbook} e +% \texttt{incollection} não se comportam como no \texttt{bibtex}. Entradas +% \texttt{inbook} também podem ter um \texttt{bookauthor}; elas estão para +% as entradas \texttt{book} assim como as entradas \texttt{incollection} +% estão para as entradas \texttt{collection} (Cf. seção 2.3.1 do manual +% do \texttt{biblatex}). Para que o autor da obra principal seja +% substituído pelos traços sublineares, é necessário que o campo +% \texttt{bookauthor} seja igual ao campo \texttt{author}. +% \item É possível usar o campo \texttt{furtherresp} como no +% \texttt{abntex2cite}, mas é preferível usar os campos \texttt{editora}, +% \texttt{editoratype}, \texttt{editorb}, \texttt{editorbtype} etc. (e.g. +% \verb"editora = {Ismael Cardim}, editoratype={coeditor}" imprimirá +% ``Co-edição de Ismael Cardim'' na biblioqgrafia; cf. entradas +% \texttt{hou\-a\-iss\-1996}, \texttt{koogan1998}, \texttt{ceravi1983}, +% \texttt{riofilme1998} e pesquisar pelo campo \texttt{editor\-a\-type} para +% mais exemplos). Todas as opções para o campo \texttt{editor\-type} podem +% ser encontradas no arquivo \texttt{abnt-brazilian.lbx}. Usar esses campos +% em lugar do campo \texttt{furtherresp} assegurará que as entradas sejam +% impressas de forma consistente, embora os exemplos da própria ABNT não o +% sejam. +% \item Para tradutores pode-se usar o campo \texttt{translator}. +% \end{sloppypar} +% \end{itemize} +% % <<<2 + +\clearpage +\nocite{*} +\printbibliography + +\end{document}% <<<1 + +% vim: set foldmarker=\ >>>,\ <<< foldmethod=marker : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-ibid.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-ibid.bbx new file mode 100644 index 0000000000..0fbf7ebfb5 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-ibid.bbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt-ibid.bbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\RequireBibliographyStyle{abnt} + +\endinput + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-numeric.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-numeric.bbx new file mode 100644 index 0000000000..9e9aba2015 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt-numeric.bbx @@ -0,0 +1,72 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt-numeric.bbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\RequireBibliographyStyle{abnt} +\ExecuteBibliographyOptions{labelnumber} + + +\providebool{bbx:subentry} +\DeclareBibliographyOption[boolean]{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} + + +\defbibenvironment{bibliography}% >>> + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item}% <<< + +\defbibenvironment{shorthand}% >>> + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + {\item}% <<< + +\DeclareBibliographyDriver{set}{%% >>> + \entryset + {\ifbool{bbx:subentry} + {\printfield[bibentrysetcount]{entrysetcount}% + \printunit*{\addnbspace}} + {}} + {}% + \newunit\newblock + \usebibmacro{setpageref}% + \finentry}% <<< + +\endinput + + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt.bbx new file mode 100644 index 0000000000..ec95c836c8 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/bbx/abnt.bbx @@ -0,0 +1,2712 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt.bbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + + +% Init >>>1 + +\RequireBiber[3]% + +\RequirePackage{xparse}% +\RequirePackage{xpatch}% +\RequirePackage{expl3}% + +\DeclareLanguageMappingSuffix{-abnt} + +\RequireBibliographyStyle{standard}% + +\ExecuteBibliographyOptions{% + language=brazil,% + block=none,% + urldate=long,% + pagetracker,% + uniquename=false,% + sorting=nty,% +}% + +\InitializeBibliographyStyle{\global\undef\bbx@lasthash}% + +\let\origbibsetup\bibsetup% +\appto{\bibsetup}{\raggedright}% + +\setcounter{biburlnumpenalty}{3000}% +\setcounter{biburllcpenalty}{6000}% +\setcounter{biburlucpenalty}{9000}% + +% <<<1 + + +% Options >>>1 + +% Print titles in italics >>>2 +\newtoggle{ittitles}% +\DeclareBibliographyOption{ittitles}[true]{% + \settoggle{ittitles}{#1}}% +% <<<2 + +% Use small caps in the bibliography >>>2 +\newtoggle{scbib}% +\DeclareBibliographyOption{scbib}[true]{% + \settoggle{scbib}{#1}}% +% <<<2 + +% Hide "[s.l.]" >>>2 +\newtoggle{nosl}% +\DeclareBibliographyOption{nosl}[true]{% + \settoggle{nosl}{#1}}% +\DeclareEntryOption[boolean]{nosl}[true]{% + \settoggle{nosl}{#1}}% +% <<<2 + +% Hide "[s.n.]" >>>2 +\newtoggle{nosn}% +\DeclareBibliographyOption{nosn}[true]{% + \settoggle{nosn}{#1}}% +\DeclareEntryOption[boolean]{nosn}[true]{% + \settoggle{nosn}{#1}}% +% <<<2 + +% Hide "[S.l.: sn]" >>>2 +\newtoggle{noslsn}% +\DeclareBibliographyOption{noslsn}[true]{% + \settoggle{noslsn}{#1}% + \settoggle{nosl}{#1}% + \settoggle{nosn}{#1}}% +\DeclareEntryOption[boolean]{noslsn}[true]{% + \settoggle{noslsn}{#1}% + \settoggle{nosl}{#1}% + \settoggle{nosn}{#1}}% +% <<<2 + +% Repeat titles >>>2 +\newtoggle{repeattitle}% +\DeclareBibliographyOption[boolean]{repeattitles}[true]{% + \settoggle{repeattitle}{#1}% + \ifstrequal{#1}{true}{% + \renewbibmacro*{bbx:savetitle}{}% + \renewbibmacro*{bbx:savesubtitle}{}% + }{% + \ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savetitle}{\savefield{title}{\bbx@lasttitle}}% + \renewbibmacro*{bbx:savesubtitle}{\savefield{subtitle}{\bbx@lastsubtitle}}% + }% +}% +\DeclareEntryOption[boolean]{repeattitle}[true]{% + \settoggle{repeattitle}{#1}% +}% +\DeclareEntryOption[boolean]{repeattitles}[true]{% + \settoggle{repeattitle}{#1}% +}% +% <<<2 + +% Repeat first fields >>>2 +\newtoggle{repeatfirstfields}% +\DeclareBibliographyOption[boolean]{repeatfirstfields}[true]{% + \settoggle{repeatfirstfields}{#1}% +}% +\DeclareEntryOption[boolean]{repeatfirstfields}[true]{% + \settoggle{repeatfirstfields}{#1}% +}% +% <<<2 + +% Repeat fields >>>2 +\newtoggle{repeatfields}% +\DeclareBibliographyOption[boolean]{repeatfields}[true]{% + \settoggle{repeatfields}{#1}% + \ifstrequal{#1}{true}{% + \renewbibmacro*{bbx:savehash}{}% + \renewbibmacro*{bbx:saveorg}{}% + \renewbibmacro*{bbx:savetitle}{}% + \renewbibmacro*{bbx:savesubtitle}{}% + }{% + \ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}% + \renewbibmacro*{bbx:saveorg}{\savelist{organization}{\bbx@lasthash}}% + \renewbibmacro*{bbx:savetitle}{\savefield{title}{\bbx@lasttitle}}% + \renewbibmacro*{bbx:savesubtitle}{\savefield{subtitle}{\bbx@lastsubtitle}}% + }% +}% +\DeclareEntryOption[boolean]{repeatfields}[true]{% + \settoggle{repeatfields}{#1}% +}% +% <<<2 + +% Use original dashes instead of underscores >>>2 +\newtoggle{usedashes}% +\DeclareBibliographyOption[boolean]{usedashes}[true]{% + \settoggle{usedashes}{#1}% + \ifstrequal{#1}{true}{% + \renewcommand*{\bibnamedash}{% + \ifdimless{\leftmargin}{0.75em}{% + \mbox{\textemdash\addspace}% + }{% else + \makebox[\leftmargin][l]{% + \ifdimless{\leftmargin}{1.25em}{% + \textendash% + }{% + \textemdash% + }% + }% + }% + }% + }{}% +}% +% <<<2 + +% Use hanging indentation >>>2 +\setlength{\bibhang}{0pt}% +\DeclareBibliographyOption{indent}[true]{% + \ifstrequal{#1}{true}{% + \setlength{\bibhang}{% + \ifnumequal{\parindent}{0}{1em}{\parindent}% + }% + }{}}% +% <<<2 + +% Show extradate in bibliography >>>2 +\newtoggle{extradate}% +\DeclareBibliographyOption{extradate}[true]{% + \settoggle{extradate}{#1}}% +\DeclareEntryOption[boolean]{extradate}[true]{% + \settoggle{extradate}{#1}}% +\DeclareBibliographyOption{extrayear}[true]{% + \settoggle{extradate}{#1}}% +\DeclareEntryOption[boolean]{extrayear}[true]{% + \settoggle{extradate}{#1}}% +% <<<2 + +% Justify text >>>2 +\DeclareBibliographyOption{justify}[true]{% + % \ExecuteBibliographyOptions{block=space}% + \renewcommand*{\bibsetup}{\origbibsetup}% +}% +% <<<2 + +% Make it pretty >>>2 +\DeclareBibliographyOption{pretty}[true]{% + \ifstrequal{#1}{true}{% + \ExecuteBibliographyOptions{% + ittitles,% + sccite,% + scbib,% + indent,% + justify,% + }% + }{}% +}% +% <<<2 + +% Show count in backref >>>2 +\newtoggle{citecount}% +\DeclareBibliographyOption{citecount}[true]{% + \settoggle{citecount}{#1}% + \ifstrequal{#1}{true}{% + \ExecuteBibliographyOptions{backref, citecounter}% + }{}% +}% +% <<<2 + +% Toggle backref per entry >>>2 +\newtoggle{backref}% +\settoggle{backref}{true}% +\DeclareEntryOption[boolean]{backref}[true]{% + \settoggle{backref}{#1}% +}% +% <<<2 + +% <<<1 + + +% Data model and sorting >>>1 + +\DeclareSortingTemplate{nty}{%% >>>2 + \sort{% + \field{presort}% + }% + \sort[final]{% + \field{sortkey}% + }% + \sort{% + \field{sortname}% + \field{holder}% + \field{author}% + \field{editor}% + \field{organization}% + \field{sorttitle}% + \field{issuetitle}% + \field{title}% + \field{subtitle}% + }% + \sort{% + \field{nameaddon}% + \field{sorttitle}% + \field{issuetitle}% + \field{title}% + \field{subtitle}% + }% + \sort{% + \field{sorttitle}% + \field{issuetitle}% + \field{title}% + \field{subtitle}% + }% + \sort{% + \field{sortyear}% + \field{year}% + }% + \sort{% + \field[padside=left,padwidth=4,padchar=0]{volume}% + \literal{0000}% + }% +}% <<<2 + +\DeclareSourcemap{%% >>>2 + % This maps some fields used in abntex2cite to biblatex fields. + \maps[datatype=bibtex]{% + \map{% + \step[fieldsource=conference-number,fieldtarget=number]% + \step[fieldsource=conference-year,fieldtarget=eventdate]% + \step[fieldsource=conference-location,fieldtarget=venue]% + \step[fieldsource=conference-number,fieldtarget=number]% + \step[fieldsource=org-short,fieldtarget=shortauthor]% + \step[fieldsource=urlaccessdate,fieldtarget=urldate]% + \step[fieldsource=year-presented,fieldtarget=eventyear]% + \step[fieldsource=furtherresp,fieldtarget=titleaddon]% + \step[typesource=journalpart,typetarget=supperiodical]% + }% + \map[overwrite=false]{% + \step[fieldsource=reprinted-from, final]% + \step[fieldset=related, origfieldval]% + }% + \map[overwrite=false]{% + \step[fieldsource=reprinted-text, final]% + \step[fieldset=relatedtype, fieldvalue={reprintfrom}]% + }% + \map{% + \pertype{patent}% Use the organization as sourcekey for patents + \step[fieldsource=organization, final]% + \step[fieldset=sortkey, origfieldval]% + }% + \map[overwrite=false]{% + \pertype{thesis}% + \pertype{phdthesis}% + \pertype{mastersthesis}% + \pertype{monography}% + \step[fieldset=bookpagination, fieldvalue={sheet}]% + }% + }% +}% <<<2 + +\DeclareDatamodelFields[type=field,datatype=literal]{%% >>>2 + section,% + illustrated,% + dimensions,% + reprinted-text,% +}% <<<2 + +\DeclareDatamodelEntryfields[monography]{%% >>>2 + location,% + author,% + chapter% + pages,% + pagetotal,% + bookpagination,% + institution,% + title,% + type,% + note,% + isbn,% + doi,% + eprint,% + url,% + addendum,% + pubstate,% + pageref,% + date% +}% <<<2 + +% <<<1 + + +% Helper commands >>>1 + +\newcommand\FirstWordUpper[1]{\@firstwordupper#1 \@nil}% >>>2 +\newcommand\@firstwordupper{}% +\def\@firstwordupper#1 #2\@nil{\MakeUppercase{#1} #2\unskip}% <<<2 + +\newcommand\FirstWordSC[1]{\@firstwordsc#1 \@nil}% >>>2 +\newcommand\@firstwordsc{}% +\def\@firstwordsc#1 #2\@nil{\textsc{#1} #2\unskip}% <<<2 + +\newcommand\FirstWordLCSC[1]{\@firstwordlcsc#1 \@nil}% >>>2 +\newcommand\@firstwordlcsc{}% +\def\@firstwordlcsc#1 #2\@nil{\textsc{\MakeLowercase{#1}} #2\unskip}% <<<2 + +% Helper macros >>>2 + +\long\def\addto#1#2{\expandafter\def\expandafter#1\expandafter{#1#2}}% + +\def\traceparam#1{\def\paramL{}\traceparamA #1\end}% +\def\traceparamA{\futurelet\next\traceparamB}% +\def\traceparamB{% + \let\nexts=\undefined% + \expandafter\ifx\space\next \let\nexts=\traceparamS \fi% + \ifx\bgroup\next \let\nexts=\traceparamD \fi% + \ifx\end\next \let\nexts=\traceparamE \fi% + \ifx\nexts\undefined \let\nexts=\traceparamC\fi% + \nexts% +}% +\def\traceparamS{\addto\paramL{ }\afterassignment\traceparamA \let\next= }% +\def\traceparamC#1{\addto\paramL{#1}\traceparamA}% +\def\traceparamD#1{% + \expandafter\addto\expandafter\paramL\expandafter% + {\expandafter\noexpand\csname ll:\detokenize{#1}\endcsname}% + \expandafter\def\csname ll:\detokenize{#1}\endcsname{\normalfont #1}% + \traceparamA% +}% +\def\traceparamE\end{}% + +% <<<2 + +\def\smartuppercase#1{% >>>2 + \bgroup % + \traceparam{#1}% + \MakeUppercase{\paramL}% + \egroup% +}% <<<2 + +\def\smartlowercase#1{% >>>2 + \bgroup % + \traceparam{#1}% + \MakeLowercase{\paramL}% + \egroup% +}% <<<2 + +\def\smartlcsc#1{% >>>2 + \bgroup % + \traceparam{#1}% + \textsc{\MakeLowercase{\paramL}}% + \egroup% +}% <<<2 + +\def\smartsc#1{% >>>2 + \bgroup % + \traceparam{#1}% + \textsc{\paramL}% + \egroup% +}% <<<2 + +\renewcommand*{\mkbibacro}[1]{% >>>2 + \iftoggle{scbib}{% + \textsc{\MakeLowercase{#1}}% + }{\MakeUppercase{#1}}% +}% <<<2 + +\newcommand*{\UpperOrSC}[1]{% >>>2 + \let\MakeCapital\relax% + \iftoggle{scbib}{% + \textsc{\MakeLowercase{#1}}% + }{% + \MakeUppercase{#1}% + }% +}% <<<2 + +\newcommand*{\NormalOrSC}[1]{% >>>2 + \iftoggle{scbib}{% + \textsc{\MakeLowercase{#1}}% + }{% + #1% + }% +}% <<<2 + + +% auxiliary commands +\ExplSyntaxOn +% {<string>}{<regex>} +\NewDocumentCommand { \abntblx@regex@match } { mm } { + \regex_match:nnTF { #2 } { #1 } +} +\ExplSyntaxOff + +% define \iffieldregex{<field>}{<regex>} +\newcommand*{\blx@imc@iffieldregex}{} +\newcommand*{\iffieldregex}{} + +\protected\def\blx@imc@iffieldregex#1#2{% + \blx@imc@iffieldundef{#1} + {\@secondoftwo} + {\expandafter\expandafter + \expandafter\abntblx@regex@match + \expandafter\expandafter + \expandafter{\csname abx@field@#1\endcsname}{#2}}} + +\blx@regimcs{\iffieldregex} + +\newcommand*{\iffieldendswithpunct}[1]{% + \iffieldregex{#1}{(\.|\!|\?|\-|\:|\/)\Z}% +} + +% <<<1 + + +% Formatting >>>1 + +% Use \refname for headings >>>2 +\ifcase\abx@classtype\relax % article +\or % book/report + \defbibheading{bibliography}[\refname]{% + \chapter*{#1}% + \@mkboth{\abx@MakeMarkcase{#1}}{\abx@MakeMarkcase{#1}}} +\or % scrartcl +\or % scrbook/scrreprt + \defbibheading{bibliography}[\refname]{% + \ifcsundef{bibliography@heading} + {\ifkomabibtotocnumbered + {\chapter{#1}} + {\ifkomabibtotoc + {\addchap{#1}} + {\chapter*{#1} + \ifcsundef{@mkdouble} + {\@mkboth{\abx@MakeMarkcase{#1}}{\abx@MakeMarkcase{#1}}} + {\@mkdouble{\abx@MakeMarkcase{#1}}}}}} + {\bibliography@heading{#1}}} +\or % memoir (article) +\or % memoir (book) + \ifcsundef{memUChead}{}{\def\abx@MakeMarkcase{\memUChead}}% + \defbibheading{bibliography}[\refname]{% + \chapter*{#1}% + \if@twoside + \markboth{\abx@MakeMarkcase{#1}}{\abx@MakeMarkcase{#1}}% + \else + \markright{\abx@MakeMarkcase{#1}}% + \fi + \ifmemoirbibintoc + {\phantomsection + \addcontentsline{toc}{chapter}{#1}} + {}} +\fi +% <<<2 + +% \IfGivenIsInitial >>>2 + +\ExplSyntaxOn% + +\ProvideDocumentCommand{\IfGivenIsInitial}{mm}{% + \regex_match:nVTF {\w\w} \namepartgiven {#2} {#1}% +}% +\cs_generate_variant:Nn \regex_match:nnTF { nV }% + +\ExplSyntaxOff% + +% <<<2 + +% Name format >>>2 + +\DeclareNameFormat{LAST-first}{%% >>>3 + \renewcommand*{\mkbibnamefamily}[1]{\UpperOrSC{##1}}% + \renewcommand*{\mkbibnamegiven}[1]{\ifgiveninits{\NormalOrSC{##1}}{##1}}% + \renewcommand*{\mkbibnamegiven}[1]{% + \ifgiveninits{% + \NormalOrSC{##1}% + }{% + \IfGivenIsInitial{\NormalOrSC{##1}}{##1}% + }% + }% + \renewcommand*{\mkbibnameprefix}[1]{% + \ifuseprefix{% + \UpperOrSC{##1}% + }{% + \ifgiveninits{\NormalOrSC{##1}}{##1}% + }% + }% + \renewcommand*{\mkbibnamesuffix}[1]{\UpperOrSC{##1}}% + \ifgiveninits{% + \usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffix}% + }{% + \usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + }% + \usebibmacro{name:andothers}% +}% <<< + +\DeclareNameAlias{default}{LAST-first}% + +\DeclareNameFormat{full}{%% >>>3 + \usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% +}% <<< + +\DeclareNameAlias{byauthor}{full}% +\DeclareNameAlias{bybookauthor}{byauthor}% +\DeclareNameAlias{byeditor}{full}% +\DeclareNameAlias{byeditora}{byeditor}% +\DeclareNameAlias{byeditorb}{byeditor}% +\DeclareNameAlias{byeditorc}{byeditor}% +\DeclareNameAlias{bytranslator}{full}% + +\DeclareNameAlias{withcommentator}{given-family}% +\DeclareNameAlias{withannotator}{given-family}% +\DeclareNameAlias{withintroduction}{given-family}% +\DeclareNameAlias{withforeword}{given-family}% +\DeclareNameAlias{withafterword}{given-family}% + +\DeclareBibliographyAlias{legislation}{article}% +\DeclareBibliographyAlias{jurisdiction}{article}% +\DeclareBibliographyAlias{legal}{article}% + +% Name delimiters >>>3 +\newtoggle{byeditor+others}% + +\let\multinamedelimorig\multinamedelim% +\let\finalnamedelimorig\finalnamedelim% + +\renewcommand*{\multinamedelim}{% + \iftoggle{byeditor+others}{% + \addcomma\addspace% + }{% + \addsemicolon\addspace% + }% +}% + +\renewcommand*{\finalnamedelim}{% + \iftoggle{byeditor+others}{% + \addspace\bibstring{and}\addspace% + }{% + \addsemicolon\addspace% + }% +}% +% <<< + +% <<<2 + +% Field format >>>2 + +% Standard entry fields >>>3 + +\DeclareFieldFormat{authortype}{\printtext[parens]{\bibsentence#1}}% +\DeclareFieldFormat{editortype}{\printtext[parens]{\bibsentence#1}}% + +\DeclareFieldFormat{nameaddon}{\addspace #1}% + +% titles >>>4 + +\renewcommand*{\subtitlepunct}{\addcolon\addspace}% +\renewcommand*{\bibpagerefpunct}{\addcomma\addspace}% + +\DeclareFieldFormat{journaltitle}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat{issuetitle}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat{maintitle}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat{booktitle}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat{citetitle}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat*{title}{%% >>> + \iftoggle{ittitles}{% + \addspace\mkbibemph{#1}\isdot% + }{% + \addspace\mkbibbold{#1}\isdot% + }% +}%% <<< +\DeclareFieldFormat[% title >>> + article,% + legislation,% + jurisdiction,% + legal,% + inbook,% + incollection,% + bookinbook,% + inproceedings,% + unpublished% +]{title}{\addspace #1\isdot}%% <<< + +% <<< + +% number >>>4 +\DeclareNumChars*{,-/}% +\newcommand{\abntnum}[1]{\ifrmnum{#1}{\rmntonum{#1}}{#1}}% +\DeclareFieldFormat*{number}{%% >>> + \ifnumerals{#1}% + {\addspace \MakeLowercase{\bibstring{number}}~\abntnum{#1}}% + {\addspace #1\isdot}% +}%% <<< +\DeclareFieldFormat[% number >>> + book,% + collection,% + proceedings,% + inproceedings,% + misc% +]{number}{\addcomma\addspace #1}%% <<< +% <<< + +\DeclareFieldFormat*{volume}{%% >>>4 + \ifnumerals{#1}% + {\addspace \MakeLowercase{\bibstring{volume}}~#1}% + {\addspace #1\isdot}% +}%% <<< + +\DeclareFieldFormat*{chapter}{%% >>>4 + \ifnumerals{#1}% + {\addspace \MakeLowercase{\bibstring{chapter}~#1}}% + {\addspace #1\isdot}% +}%% <<< + +\DeclareFieldFormat{edition}{%% >>>4 + \ifnumerals{#1}% + {\addspace #1\adddot\addspace\bibstring{edition}}% + {\addspace #1\isdot}% +}%% <<< + +\DeclareFieldFormat*{pages}{%% >>>4 + \MakeLowercase{\mkpageprefix[bookpagination]{#1}}% +}%% <<< + +\DeclareFieldFormat*{pagetotal}{%% >>>4 + \MakeLowercase{\mkpagetotal[bookpagination]{#1}}% +}%% <<< + +\DeclareFieldFormat{illustrated}{\addspace #1\isdot}% + +\DeclareFieldFormat{url}{\bibstring{urlfrom}\addcolon\addspace<\url{#1}>}% +\DeclareFieldFormat{urldate}{\bibstring{urlseen}\addcolon\addspace #1}% + +\DeclareFieldFormat*{note}{\addspace #1}% + +\DeclareFieldFormat{mathesis}{\bibstring{mathesis}}% +\DeclareFieldFormat{phdthesis}{\bibstring{phdthesis}}% + +\DeclareFieldFormat[monography]{type}{%% >>>4 + \bibstring{monography}\addspace\printtext[parens]{#1}% +}%% <<< + +\DeclareListFormat{origlanguage}{%% >>>4 + \ifbibstring{#1}% + {\bibxstring{#1}}% + {\ifbibstring{from#1}% + {\bibxstring{from#1}}% + {#1}}% +}%% <<< + +% is*n >>>4 +\DeclareFieldFormat{isbn}{\mkbibacro{ISBN}\space #1}% +\DeclareFieldFormat{isrn}{\mkbibacro{ISRN}\space #1}% +\DeclareFieldFormat{issn}{\mkbibacro{ISSN}\space #1}% +% <<< + +% relatedstring >>>4 +\DeclareFieldFormat{relatedstring:reprintfrom}{#1\addcolon\addspace}% +\DeclareFieldFormat{relatedstring:reviewof}{#1\addcolon\addspace}% +\DeclareFieldFormat{relatedstring:default}{#1\addcolon\addspace}% +% <<< + +% <<< + +% Capitalization >>>3 + +\DeclareFieldFormat{lowercase}{\smartlowercase{#1}}% + +\DeclareFieldFormat{uppercase}{%% >>> + \iftoggle{scbib}{% + \textsc{\smartlowercase{#1}}% + }{% + \smartuppercase{#1}% + }% +}%% <<< + +\DeclareListFormat{uppercase}{%% >>> + \usebibmacro{list:delim}{#1}% + \iftoggle{scbib}{% + \ifgiveninits{% + \normalfont\smartsc{#1}% + }{% + \normalfont\smartlcsc{#1}% + }% + }{% + \normalfont\smartuppercase{#1}% + }% + \isdot% + \usebibmacro{list:andothers}% +}%% <<< + +\DeclareFieldFormat{upperfirst}{%% >>> + \iftoggle{scbib}{% + \ifgiveninits{% + \normalfont\FirstWordSC{#1}% + }{% + \normalfont\FirstWordLCSC{#1}% + }% + }{% + \normalfont\FirstWordUpper{#1}% + }% +}%% <<< + +\DeclareListFormat{upperfirst}{%% >>> + \usebibmacro{list:delim}{#1}% + \iftoggle{scbib}{% + \ifgiveninits{% + \normalfont\FirstWordSC{#1}% + }{% + \normalfont\FirstWordLCSC{#1}% + }% + }{% + \normalfont\FirstWordUpper{#1}% + }% + \isdot% + \usebibmacro{list:andothers}% +}%% <<< + +% <<< + +\DeclareFieldFormat{normalfont}{\normalfont{#1}}% + +% <<<2 + +% <<<1 + + +% Macros >>>1 + +% Dashed option >>>2 + +\newbool{bbx@inset}% + +\newtoggle{isdashed}% + +\newcommand*{\bibnameunderscore}{\underline{\hspace*{4em}}}% +\newcommand*{\nopunctdash}{\bibnameunderscore\addspace}% +\renewcommand*{\bibnamedash}{\bibnameunderscore\addperiod\addspace}% + +\renewbibmacro*{begrelated}{%% >>>3 + \booltrue{bbx@inset}% +}%% <<<3 + +\newbibmacro*{bbx:savehash}{%% >>>3 + \savefield{fullhash}{\bbx@lasthash}% +}%% <<<3 + +\newbibmacro*{bbx:saveorg}{%% >>>3 + \savelist{organization}{\bbx@lastorg}% +}%% <<<3 + +\newbibmacro*{bbx:savetitle}{%% >>>3 + \savefield{title}{\bbx@lasttitle}% +}%% <<<3 + +\newbibmacro*{bbx:savesubtitle}{%% >>>3 + \savefield{subtitle}{\bbx@lastsubtitle}% +}%% <<<3 + +\newbibmacro*{bbx:dashcheck}[2]{%% >>>3 + \ifboolexpr{% + (% + test {\iffieldequals{fullhash}{\bbx@lasthash}}% + or% + test {\iflistequals{organization}{\bbx@lastorg}}% + )% + and% + not test \iffirstonpage% + and% + not test {\iftoggle{repeatfields}}% + and% + not test {\iftoggle{repeatfirstfields}}% + and% + (% + not bool {bbx@inset}% + or% + test {\iffieldequalstr{entrysetcount}{1}}% + )% + }% + {\settoggle{isdashed}{true}#1}% + {\settoggle{isdashed}{false}#2}% +}%% <<<3 + +\newbibmacro*{bbx:titledashcheck}[2]{%% >>>3 + \iftoggle{isdashed}{% + \ifboolexpr{% + test {\iffieldequals{title}{\bbx@lasttitle}}% + and% + (% + test {\iffieldequals{subtitle}{\bbx@lastsubtitle}}% + or% + test {\iffieldundef{subtitle}}% + )% + and% + not test {\iftoggle{repeattitle}}% + }% + {#1}% + {#2}% + }{% + #2% + }% +}%% <<<3 + +\newbibmacro*{bbx:ineditordashcheck}[2]{%% >>>3 + \ifboolexpr{% + test {\ifnamesequal{editor}{author}}% + and% + not test {\iftoggle{repeatfields}}% + and% + (% + not bool {bbx@inset}% + or% + test {\iffieldequalstr{entrysetcount}{1}}% + )% + }% + {\settoggle{isdashed}{true}#1}% + {\settoggle{isdashed}{false}#2}% +}%% <<<3 + +% <<<2 + +% Titles >>>2 + +\newbibmacro*{titleiskey}[2]{%% >>>3 +\ifboolexpr{% + test {\ifnameundef{author}}% + and% + test {\ifnameundef{editor}}% + and% + test {\ifnameundef{holder}}% + and% + test {\ifcsundef{saveded}}% + and% + test {\ifcsundef{savedorg}}% + and% + test {\iffieldundef{eventtitle}}% +}% + {#1}% + {#2}% +}%% <<<3 + +\renewbibmacro*{title}{%% >>>3 + \ifboolexpr{% + test {\iffieldundef{title}}% + and% + test {\iffieldundef{subtitle}}% + }% + {\global\undef\bbx@lasttitle% + \global\undef\bbx@lastsubtitle}% + {\usebibmacro{bbx:titledashcheck}% + {\unspace\bibnamedash}% + {\usebibmacro{bbx:savetitle}% + \usebibmacro{bbx:savesubtitle}% + \printtext[title]{% + \usebibmacro{titleiskey}% + {\unspace\printfield[upperfirst]{title}}% + {\ifboolexpr{% + test {\iffieldundef{maintitle}}% + and% + test {\iffieldundef{related}}% + }% + {\printfield[titlecase]{title}}% + {\printfield[normalfont]{title}}}% + \normalfont{% + \iffieldendswithpunct{title}{% + \setunit*{\addspace}% + }{% + \setunit*{\subtitlepunct}% + } + \printfield[normalfont]{subtitle}% + \setunit{\addperiod\addspace}% + }}% + \newunit}}% + \printfield{titleaddon}% +}%% <<<3 + +\newbibmacro*{booktitleiskey}[2]{%% >>>3 +\ifboolexpr{% + test {\ifnameundef{bookauthor}}% + and% + test {\ifnameundef{editor}}% + and% + test {\iffieldundef{organization}}% + and% + test {\ifcsundef{saveded}}% + and% + test {\ifcsundef{savedorg}}% + and% + test {\iffieldundef{eventtitle}}% +}% + {#1}% + {#2}% +}%% <<<3 + +\renewbibmacro*{booktitle}{%% >>>3 + \ifboolexpr{% + test {\iffieldundef{booktitle}}% + and% + test {\iffieldundef{booksubtitle}}% + }% + {}% + {\printtext[booktitle]{% + \usebibmacro{booktitleiskey}{% + \printfield[upperfirst]{booktitle}% + }{% + \printfield[titlecase]{booktitle}% + }% + \iffieldendswithpunct{booktitle}{% + \normalfont{\setunit*{\addspace}}% + }{% + \normalfont{\setunit*{\subtitlepunct}}% + } + \printfield[normalfont]{booksubtitle}}% + \newunit}% + \printfield{booktitleaddon}% +}%% <<<3 + +\renewbibmacro*{maintitle}{%% >>>3 + \ifboolexpr{% + test {\iffieldundef{maintitle}}% + and% + test {\iffieldundef{mainsubtitle}}% + }% + {}% + {\printtext[maintitle]{% + \usebibmacro{titleiskey}{% + \printfield[upperfirst]{maintitle}% + }{% + \printfield[titlecase]{maintitle}% + }% + \iffieldendswithpunct{maintitle}{% + \normalfont{\setunit*{\addspace}}% + }{% + \normalfont{\setunit*{\subtitlepunct}}% + } + \printfield[normalfont]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}% +}%% <<<3 + +\newbibmacro*{in:maintitle}{%% >>>3 + \iffieldundef{maintitle}{}{% + \usebibmacro{in:}% + \iftoggle{repeatfields}% + {\addspace\usebibmacro{author/editor+others}}% + {\addspace\bibnamedash}% + \newunit% + \usebibmacro{maintitle}% + }% +}%% <<<3 + +\renewbibmacro*{maintitle+booktitle}{%% >>>3 + \iffieldundef{maintitle}% + {}% + {\usebibmacro{maintitle}% + \newunit\newblock% + \iffieldundef{volume}% + {}% + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\addspace}}}% + \usebibmacro{booktitle}% + \newunit% +}%% <<<3 + +\newbibmacro*{maintitle/booktitle}{%% >>>3 + \iffieldundef{maintitle}% + {\usebibmacro{booktitle}}% + {\usebibmacro{maintitle}}% +}%% <<<3 + +\renewbibmacro*{journal}{%% >>>3 + \iffieldundef{journaltitle}% + {}% + {\printtext[journaltitle]{% + \printfield[titlecase]{journaltitle}% + \iffieldendswithpunct{journaltitle}{% + \setunit{\addspace}% + }{% + \setunit{\subtitlepunct}% + } + \printfield[normalfont]{journalsubtitle}}}% +}%% <<<3 + +\newbibmacro{journal+section}{%% >>>3 + \usebibmacro{journal}% + \iffieldundef{section}% + {}% + {\setunit{\addspace\textendash\addspace}% + \printfield{section}}% +}%% <<<3 + +\renewbibmacro*{journal+issuetitle}{%% >>>3 + \usebibmacro{journal}% + \setunit*{\addcomma\addspace}% + \iffieldundef{series}% + {}% + {\newunit% + \printfield{series}% + \setunit{\addspace}}% + \usebibmacro{volume+number+eid}% + \newunit% +}%% <<<3 + +\renewbibmacro*{periodical}{%% >>>3 + \iffieldundef{title}{}{% + \printtext[title]{% + \iffieldundef{issue}{% + \unspace\printfield[upperfirst]{title}% + }{% + \printfield[titlecase]{title}% + } + \normalfont{% + \iffieldendswithpunct{title}{% + \setunit*{\addspace}% + }{% + \setunit*{\subtitlepunct}% + } + \printfield[normalfont]{subtitle}% + }% + }% + }% +}%% <<<3 + +% <<<2 + +% Names >>>2 + +\renewbibmacro*{author}{%% >>>3 + \ifboolexpr{% + test \ifuseauthor% + and% + not test {\ifnameundef{author}}% + }{% + \usebibmacro{bbx:dashcheck}{% + \iffieldundef{authortype}{% + \bibnamedash% + \newunit% + \printfield{nameaddon}% + }{% + \nopunctdash% + \usebibmacro{authorstrg}% + \newunit% + \printfield{nameaddon}% + }% + }{% + \usebibmacro{bbx:savehash}% + \printnames{author}% + \addspace% + \usebibmacro{authorstrg}% + \newunit% + \printfield{nameaddon}% + }% + }{% + \global\undef\bbx@lasthash% + }% +}%% <<<3 + +\renewbibmacro*{editor+others}{%% >>>3 + \ifboolexpr{% + test \ifuseeditor% + and% + not test {\ifnameundef{editor}}% + }{% + \usebibmacro{bbx:dashcheck}{% + \iffieldundef{editortype}{% + \bibnamedash% + }{% + \nopunctdash% + \usebibmacro{editor+othersstrg}% + }% + }{% + \usebibmacro{bbx:savehash}% + \printnames{editor}% + \setunit{\addspace}% + \usebibmacro{editor+othersstrg}% + }% + \savenamecs*{editor}{saveded}% + \clearname{editor}% + }{% + \global\undef\bbx@lasthash% + \usebibmacro{organization}% + }% +}%% <<<3 + +\renewbibmacro*{byeditor+others}{%% >>>3 + \toggletrue{byeditor+others}% + \ifnameundef{editor}{}{% else + \usebibmacro{byeditor+othersstrg}% + \setunit*{\addspace}% + \printnames[byeditor]{editor}% + \clearname{editor}% + \newunit% + }% + \usebibmacro{byeditorx}% + \usebibmacro{bytranslator+others}% + \togglefalse{byeditor+others}% +}%% <<<3 + +\newbibmacro*{organization}{%% >>>3 + \iflistundef{organization}% + {\global\undef\bbx@lastorg}% + {\usebibmacro{bbx:dashcheck}% + {\bibnamedash}% + {\usebibmacro{bbx:saveorg}% + \printlist[uppercase]{organization}}% + \savelistcs*{organization}{savedorg}% + \clearlist{organization}% + \newunit% + \printfield{nameaddon}}% +}%% <<<3 + +\newbibmacro*{author/organization}{%% >>>3 + \ifnameundef{author}% + {\usebibmacro{organization}}% + {\usebibmacro{author}}% +}%% <<<3 + +\newbibmacro*{editor+others/organization}{%% >>>3 + \ifnameundef{editor}% + {\usebibmacro{organization}}% + {\usebibmacro{editor+others}}% +}%% <<<3 + +\newbibmacro*{organization/eventtitle}{%% >>>3 + \iffieldundef{eventtitle}% + {\usebibmacro{organization}}% + {\printfield[uppercase]{eventtitle}}% +}%% <<<3 + +\newbibmacro*{bookauthor/editor+others}{%% >>>3 + \ifnameundef{bookauthor}{% + \usebibmacro{editor+others}}% + {\printnames{bookauthor}}% +}%% <<<3 + +\newbibmacro*{in:bookauthor+others}{%% >>>3 + \usebibmacro{in:}% + \ifnameundef{bookauthor}{% + % do nothing + }{% else + \ifnamesequal{author}{bookauthor}{% + \iftoggle{repeatfields}{% + \usebibmacro{author/editor+others}% + }{% else + \bibnamedash% + }% + }{% else + \printnames{bookauthor}% + }% + }% +}%% <<<3 + +\newbibmacro*{in:editor+others}{%% >>>3 + \usebibmacro{in:}% + \addspace% + \ifnameundef{editor}{% + \printlist[uppercase]{organization}% + }{% + \usebibmacro{bbx:ineditordashcheck}{% + \iffieldundef{editortype}{% + \bibnamedash% + }{% + \nopunctdash% + \usebibmacro{editor+othersstrg}% + \savenamecs*{editor}{saveded}% + \clearname{editor}% + }% + }{% + \printnames{editor}% + \setunit*{\addspace}% + \usebibmacro{editor+othersstrg}% + \savenamecs*{editor}{saveded}% + \clearname{editor}% + }% + }% +}%% <<<3 + +\newbibmacro*{in:eventtitle/organization/editor}{%% >>>3 + \usebibmacro{in:}% + \iffieldundef{eventtitle}{% + \ifnameundef{editor}{% + \printlist[uppercase]{organization}% + \clearlist{organization}% + }{% + \usebibmacro{editor+others}% + }% + }{% + \printfield[uppercase]{eventtitle}% + }% +}%% <<<3 + +% <<<2 + +% Publisher, location, date, issue >>>2 + +\renewbibmacro*{date}{% + \iftoggle{extradate}{% + \printdateextra% + }{% + \printdate% + }% + \printunit{\addperiod\addspace}% +}% + +\newbibmacro*{publisher}{%% >>>3 + \iflistundef{publisher}% + {\iftoggle{nosn}{}{\printtext[brackets]{\bibstring{sinenomine}}}}% + {\printlist{publisher}}% +}%% <<<3 + +\newbibmacro*{location}{%% >>>3 + \iflistundef{location}% + {\iftoggle{nosl}{}{\printtext[brackets]{\bibstring{sineloco}}}}% + {\printlist{location}}% +}%% <<<3 + +\newbibmacro*{venue}{%% >>>3 + \iffieldundef{venue}% + {\iftoggle{nosl}{}{\printtext[brackets]{\bibstring{sineloco}}}}% + {\printfield{venue}}% +}%% <<<3 + +\renewbibmacro*{location+date}{%% >>>3 + \usebibmacro{location}% + \setunit*{\addcomma\addspace}% + \usebibmacro{date}% + \newunit% +}%% <<<3 + +\renewbibmacro*{publisher+location+date}{%% >>>3 + \ifboolexpr{% + test {\iflistundef{publisher}}% + and% + test {\iflistundef{location}}% + and% + not test {\iftoggle{nosl}}% + and% + not test {\iftoggle{nosn}}% + }{% + \printtext[brackets]{\bibstring{sineloco}% + \setunit{\addcolon\addnbspace}% + \bibstring{sinenomine}}% + }{% + \ifboolexpr{% + test {\ifnameundef{author}}% + and% + test {\ifnameundef{editor}}% + and% + test {\iflistundef{publisher}}% + and% + not test {\iflistundef{organization}}% + }{% + \usebibmacro{location}% + }{% + \usebibmacro{location}% + \setunit*{\addcolon\addspace}% + \usebibmacro{publisher}% + }% + }% + \setunit*{\addcomma\addspace}% + \usebibmacro{date}% + \newunit% +}%% <<<3 + +\renewbibmacro*{issue}{%% >>>3 + \iffieldundef{issuetitle}% + {}% + {\printtext[issuetitle]{% + \printfield[upperfirst]{issuetitle}% + \iffieldendswithpunct{issuetitle}{% + \setunit*{\addspace}% + }{% + \setunit*{\subtitlepunct}% + } + \printfield[normalfont]{issuesubtitle}}}% +}%% <<<3 + +\renewbibmacro*{issue+date}{%% >>>3 + \iffieldundef{issue}% + {\usebibmacro{date}}% + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}% + \newunit% +}%% <<<3 + +\newbibmacro*{publisher+location+issue+date}{%% >>>3 + \ifboolexpr{% + test {\iflistundef{publisher}}% + and% + test {\iflistundef{location}}% + and% + not test {\iftoggle{nosl}}% + and% + not test {\iftoggle{nosn}}% + }{% + \printtext[brackets]{\bibstring{sineloco}% + \setunit{\addcolon\addnbspace}% + \bibstring{sinenomine}}% + }{% + \ifboolexpr{% + test {\ifnameundef{author}}% + and% + test {\ifnameundef{editor}}% + and% + test {\iflistundef{publisher}}% + and% + not test {\iflistundef{organization}}% + }{% + \usebibmacro{location}% + }{% + \usebibmacro{location}% + \setunit*{\addcolon\addspace}% + \usebibmacro{publisher}% + }% + }% + \setunit*{\addcomma\addspace}% + \printfield[number]{issue}% + \setunit*{\addcomma\addspace}% + \usebibmacro{date}% + \newunit% +}%% <<<3 + +% <<<2 + +% Misc >>>2 + +\renewbibmacro*{volume+number+eid}{%% >>>3 + \printfield{volume}% + \setunit*{\addcomma\addspace}% + \printfield{number}% + \setunit{\addcomma\addspace}% + \printfield{eid}% +}%% <<<3 + +\renewbibmacro*{series+number}{%% >>>3 + \iffieldundef{series}{}{% + \printtext[parens]{% + \printfield{series}% + \setunit*{\addcomma\addspace}% + \printfield[normalfont]{number}% + \newunit}% + }% +}%% <<<3 + +\renewbibmacro*{url+urldate}{%% >>>3 + \usebibmacro{url}% + \iffieldundef{urlyear}% + {}% + {\setunit*{\addperiod\addspace}% + \usebibmacro{urldate}}% +}%% <<<3 + +\newbibmacro*{mathesis}{%% >>>3 + \iffieldundef{type}{% + \bibstring{dissertation}\addspace\printtext[parens]{\bibstring{mathesis}}% + }{% + \bibstring{dissertation}\addspace\printtext[parens]{\printfield{type}}% + }% +}%% <<<3 + +\newbibmacro*{phdthesis}{%% >>>3 + \iffieldundef{type}{% + \bibstring{thesis}\addspace\printtext[parens]{\bibstring{phdthesis}}% + }{% + \bibstring{thesis}\addspace\printtext[parens]{\printfield{type}}% + }% +}%% <<<3 + +\newbibmacro*{language}{%% >>>3 + \ifboolexpr{% + test {\iflistundef{language}}% + or% + test {\iflistundef{origlanguage}}% + }% + {}% + {% + \printtext{\printlist{language}\addspace\printlist{origlanguage}}% + }% +}%% <<<3 + +\renewbibmacro*{related:reprintfrom}[1]{%% >>>3 + \entrydata*{#1}{% + \usedriver% + {\ifnameundef{savedauthor}% + {\ifnameundef{savededitor}% + {}% + {\ifnamesequal{editor}{savededitor}% + {\clearname{editor}}% + {}}}% + {\ifnamesequal{author}{savedauthor}% + {\clearname{author}}% + {}}% + \renewbibmacro*{related:init}{}% + \DeclareNameAlias{sortname}{default}% + \ifbibmacroundef{date+extradate}% + {}% + {\renewbibmacro*{date+extradate}{}% + \renewbibmacro*{date}{\printdate}}% + \renewbibmacro*{pageref}{}}% + {\thefield{entrytype}}}% +}%% <<<3 + +\renewbibmacro*{pageref}{% >>>3 + \iftoggle{backref}{% + \iftoggle{citecount}{% + \printunit{\addperiod\addspace}% + \iflistundef{pageref}{% + \bibstring{citecountnopage}% + }{% + \printtext{% + \ifnumgreater{\value{pageref}}{1}{% + \bibstring{citecountpages}\ppspace% + }{% + \bibstring{citecountpage}\ppspace% + }% + \printlist[pageref][-\value{listtotal}]{pageref}% + }% + }% + }{% + \iflistundef{pageref}{}{% + \printunit{\addperiod\addspace}% + \printtext{% + \ifnumgreater{\value{pageref}}{1}{% + \bibstring{backrefpages}\ppspace% + }{% + \bibstring{backrefpage}\ppspace% + }% + \printlist[pageref][-\value{listtotal}]{pageref}% + }% + }% + }% + }{} +}% <<<3 + +% <<<2 + +% <<<1 + + +% Drivers >>>1 + +\DeclareBibliographyDriver{article}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/organization}% + \setunit{\labelnamepunct}% + \usebibmacro{title}\newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}\newunit% + \usebibmacro{bytranslator+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{version}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iffieldundef{relatedtype}{}{% + \bibstring{\strfield{relatedtype}}}% + \setunit*{\addcolon\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{journal+section}% + \setunit*{\addcomma\addspace}% + \printlist{publisher}% + \setunit*{\addcomma\addspace}% + \printlist{location}% + \setunit*{\addcomma\addspace}% + \usebibmacro{volume+number+eid}% + \setunit{\addcomma\addspace}% + \printfield{pages}% + \setunit*{\addcomma\addspace}% + \printfield{pagetotal}% + \setunit{\addcomma\addspace}% + \usebibmacro{issue+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{issn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{book}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:maintitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volume}% + \printfield{part}% + \setunit{\addcomma\addspace}% + \printfield{chapter}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{pages}% + \newunit% + \printfield{pagetotal}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{illustrated}% + \setunit*{\addcomma\addspace}% + \printfield{dimensions}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{inbook}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:bookauthor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{maintitle/booktitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volume}% + \printfield{part}% + \setunit*{\addcomma\addspace}% + \usebibmacro{chapter+pages}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{mvbook}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:maintitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{pagetotal}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{illustrated}% + \setunit*{\addcomma\addspace}% + \printfield{dimensions}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{booklet}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{version}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{collection}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:maintitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volume}% + \printfield{part}% + \setunit{\addcomma\addspace}% + \printfield{chapter}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{pages}% + \newunit% + \printfield{pagetotal}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{illustrated}% + \setunit*{\addcomma\addspace}% + \printfield{dimensions}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{incollection}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:editor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{maintitle/booktitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volume}% + \printfield{part}% + \newunit% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \usebibmacro{chapter+pages}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{mvcollection}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:maintitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{pagetotal}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{illustrated}% + \setunit*{\addcomma\addspace}% + \printfield{dimensions}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{manual}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{version}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{monography}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \setunit*{\addspace\textendash\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{institution}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{location}% + \setunit*{\addcomma\addspace}% + \printeventdate% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{patent}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \ifnameundef{holder}{% + \iflistundef{organization}{% + \usebibmacro{author/editor+others}% + }{% + \usebibmacro{organization}% + \ifnameundef{author}{% + \printnames[given-family]{editor}% + }{% + \printnames[given-family]{author}% + }% + \newunit% + \printfield{nameaddon}% + \newunit% + }% + }{% + \printnames{holder}% + \newunit% + \printfield{nameaddon}% + \newunit% + \ifnameundef{author}{% + \printnames[given-family]{editor}% + }{% + \printnames[given-family]{author}% + }% + }% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{location}% + \setunit*{\addcomma\addspace}% + \usebibmacro{date}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{number}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{version}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{periodical}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others/organization}% + \setunit{\labelnamepunct}% + \printfield[uppercase]{title}% + \setunit*{\addcolon\addspace}% + \printfield[normalfont]{subtitle}% + \newunit% + \printfield{titleaddon}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+issue+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \setunit*{\addcomma\addspace}% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{issn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{supperiodical}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{issue}% + \setunit*{\addperiod\addspace}% + \usebibmacro{periodical}% + \setunit*{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{location}% + \setunit*{\addcolon\addspace}% + \usebibmacro{publisher}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volume}% + \setunit*{\addcomma\addspace}% + \printfield{number}% + \setunit*{\addcomma\addspace}% + \printfield{pages}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{version}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \setunit*{\addcomma\addspace}% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \printunit{\addperiod\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{proceedings}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{organization/eventtitle}% + \setunit{\addcomma\addspace}% + \printfield{number}% + \setunit*{\adddot\addcomma\addspace}% + \printeventdate% + \setunit{\addcomma\addspace}% + \usebibmacro{venue}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{maintitle+title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \printlist{organization}% % This has to be printed conditionally + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{inproceedings}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{in:eventtitle/organization/editor}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{number}% + \setunit*{\adddot\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printeventdate% + \setunit*{\addcomma\addspace}% + \printfield{venue}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{maintitle+booktitle}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ifboolexpr{% + test {\iffieldundef{booktitle}}% + and% + test {\iffieldundef{maintitle}}% + }% + {}% + {\usebibmacro{publisher+location+date}}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{organization}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{report}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{thesis}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}% + \usebibmacro{title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{type}% + \setunit*{\addspace\textendash\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{institution}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{location}% + \setunit*{\addcomma\addspace}% + \printeventdate% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{misc}{%% >>>2 + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others}% + \setunit{\labelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printlist{language}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byauthor}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{byeditor+others}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{edition}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{volumes}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{publisher+location+date}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{chapter+pages}% + \newunit% + \printfield{pagetotal}% + \setunit*{\addcomma\addspace}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{dimensions}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{howpublished}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{series+number}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printfield{note}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \printunit{\addperiod\addspace}% + \iftoggle{bbx:isbn}% + {\printfield{isbn}}% + {}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{doi+eprint+url}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{addendum+pubstate}% + \setunit*{\bibpagerefpunct}% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{pageref}% + \setunit*{\addperiod\addspace}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \iftoggle{bbx:related}% + {\usebibmacro{related:init}% + \usebibmacro{related}}% + {}% + \usebibmacro{finentry}% +}%% <<<2 + +\DeclareBibliographyDriver{set}{%% >>>2 + \booltrue{bbx@inset}% + \entryset{}{}% + \newunit% + \newblock%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \usebibmacro{setpageref}% + \finentry% +}%% <<<2 + +% <<<1 + + +\endinput% + + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-ibid.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-ibid.cbx new file mode 100644 index 0000000000..97e7cfa2db --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-ibid.cbx @@ -0,0 +1,629 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt-ibid.cbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +% Init >>>1 + +\RequirePackage{xparse}% +\RequirePackage{xpatch}% +\RequirePackage{expl3}% +\RequirePackage{l3regex}% + +% <<<1 + +% Format >>>1 + +\newcommand*{\UpperOrSCCite}[1]{% >>>2 + \iftoggle{sccite}{% + \textsc{\MakeLowercase{#1}}% + }{% + \MakeUppercase{#1}% + }% +}% <<<2 + +\newcommand*{\NormalOrSCCite}[1]{% >>>2 + \iftoggle{sccite}{% + \textsc{\MakeLowercase{#1}}% + }{% + #1% + }% +}% <<<2 + +% \IfInitial >>>2 + +\ExplSyntaxOn + +\NewDocumentCommand{\IfInitial}{mmm}{% + \regex_match:nVTF {\w\.} \namepartgiven {#2} {#3}% +} +\cs_generate_variant:Nn \regex_match:nnTF { nV } + +\ExplSyntaxOff + +% <<<2 + +\renewbibmacro*{name:family}[4]{% >>>2 + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifdefvoid{#3}{}{% + \ifcapital{% + \iftoggle{sccite}{% + \mkbibnameprefix{#3}\isdot% + }{% + \mkbibnameprefix{\MakeCapital{#3}}\isdot% + } + }{% + \mkbibnameprefix{#3}\isdot% + }% + \ifprefchar{}{\bibnamedelimc}}% + \mkbibnamefamily{#1}\isdot + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamefamily{#1}\isdot + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}}% <<<2 + +\DeclareNameFormat{labelname}{% >>>2 + % Use family-given instead of given-family + \ifcase\value{uniquename}% + \usebibmacro{name:family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \or% + \ifuseprefix% + {\usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffixi}}% + {\usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefixi}% + {\namepartsuffixi}}% + \or% + \usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \fi% + \usebibmacro{name:andothers}}% <<<2 + +\let\origmkbibnamefamily\mkbibnamefamily% +\let\origmkbibnamegiven\mkbibnamegiven% +\let\origmkbibnameprefix\mkbibnameprefix% +\let\origmkbibnamesuffix\mkbibnamesuffix% + +\renewcommand*{\mkbibnamefamily}[1]{% >>>2 + \UpperOrSCCite{#1}% +}% <<<2 +\renewcommand*{\mkbibnamegiven}[1]{% >>>2 + \ifnumequal{\value{uniquename}}{2}{% + \IfInitial{#1}{\NormalOrSCCite{#1}}{#1}% + }{% + \NormalOrSCCite{#1}% + }% +}% <<<2 +\renewcommand*{\mkbibnameprefix}[1]{% >>>2 + \ifuseprefix{% + \UpperOrSC{#1}% + }{% + \ifnumequal{\value{uniquename}}{2}{#1}{\NormalOrSCCite{#1}}% + } +}% <<<2 +\renewcommand*{\mkbibnamesuffix}[1]{% >>>2 + \UpperOrSCCite{#1}% +}% <<<2 + +\DeclareFieldFormat{firstword}{%% >>>2 + \iftoggle{sccite}{% + \normalfont\textsc{\MakeLowercase{\FirstWord{#1}}}% + }{% + \normalfont\MakeUppercase{\FirstWord{#1}}% + }% +}%% <<<2 + +\renewcommand*{\nameyeardelim}{\addcomma\addspace}% + +% <<<1 + +% Options >>>1 + +\newtoggle{sccite}% + +\DeclareBibliographyOption{sccite}[true]{ + \settoggle{sccite}{#1}% +} + +\InitializeCitationStyle{\numgdef{\cbx@resetcount}{\cbx@resetcount+1}}% + +\DeclareFieldFormat{bibhyperlink}{% + \bibhyperlink{\iffootnote{f}{t}:\cbx@resetcount:\thefield{entrykey}}{#1}}% +\DeclareFieldFormat{bibhypertarget}{% + \bibhypertarget{\iffootnote{f}{t}:\cbx@resetcount:\thefield{entrykey}}{#1}}% + +\newcommand*{\cbx@resetcount}{0}% +\providecommand*{\mkidem}[1]{#1}% +\providecommand*{\mkibid}[1]{#1}% +\providecommand*{\mkopcit}[1]{#1}% +\providecommand*{\mkloccit}[1]{#1}% +\renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}% + +\newtoggle{cbx:loccit}% + +\newbibmacro*{footcite:citepages}{}% +\newbibmacro*{footcite:full:citepages}{}% +\newbibmacro*{footcite:postnote}{}% + +\DeclareBibliographyOption[boolean]{ibidpage}[true]{% + \ifstrequal{#1}{true}% + {\ExecuteBibliographyOptions{loccittracker=constrict}}% + {\ExecuteBibliographyOptions{loccittracker=false}}}% + +\DeclareBibliographyOption[string]{citepages}[permit]{% + \ifcsdef{cbx@opt@citepages@#1}% + {\csuse{cbx@opt@citepages@#1}}% + {\PackageError{biblatex}% + {Invalid option 'citepages=#1'}% + {Valid values are 'permit', 'suppress', 'omit', 'separate'.}}}% + +\providebibmacro*{footcite:citepages}{}% +\providebibmacro*{footcite:full:citepages}{}% +\providebibmacro*{footcite:postnote}{}% + +\def\cbx@opt@citepages@permit{% >>>2 + \renewbibmacro*{footcite:citepages}{}% + \renewbibmacro*{footcite:full:citepages}{}% + \renewbibmacro*{footcite:postnote}{% + \usebibmacro{footcite:postnote:ibidpage}}}% <<<2 + +\def\cbx@opt@citepages@suppress{% >>>2 + \renewbibmacro*{footcite:citepages}{}% + \renewbibmacro*{footcite:full:citepages}{% + \clearfield{pages}% + \clearfield{pagetotal}}% + \renewbibmacro*{footcite:postnote}{% + \usebibmacro{footcite:postnote:ibidpage}}}% <<<2 + +\def\cbx@opt@citepages@omit{% >>>2 + \renewbibmacro*{footcite:citepages}{}% + \renewbibmacro*{footcite:full:citepages}{% + \ifboolexpr{% + test {\ifnumequal{\value{footcitecount}}{\value{footcitetotal}}}% + and% + test {\iffieldpages{postnote}}% + }% + {\clearfield{pages}% + \clearfield{pagetotal}}% + {}}% + \renewbibmacro*{footcite:postnote}{% + \usebibmacro{footcite:postnote:ibidpage}}}% <<<2 + +\def\cbx@opt@citepages@separate{% >>>2 + \providetoggle{cbx:fullcite}% + \renewbibmacro*{footcite:citepages}{% + \global\togglefalse{cbx:fullcite}}% + \renewbibmacro*{footcite:full:citepages}{% + \global\toggletrue{cbx:fullcite}}% + \renewbibmacro*{footcite:postnote}{% + \ifboolexpr{% + togl {cbx:fullcite}% + and% + test {\iffieldpages{postnote}}% + and% + test {\ifnumequal{\value{footcitecount}}{\value{footcitetotal}}}% + and% + (% + not test {\iffieldundef{pages}}% + or% + not test {\iffieldundef{pagetotal}}% + )% + }% + {\usebibmacro{footcite:postnote:pages}}% + {\usebibmacro{footcite:postnote:ibidpage}}}% + \providebibmacro*{footcite:postnote:pages}{% + \setunit{\postnotedelim}% + \bibstring{thiscite}% + \setunit{\addspace}% + \printfield{postnote}}}% <<<2 + +\ExecuteBibliographyOptions{% >>>2 + loccittracker=constrict,% + citetracker=context,% + ibidtracker=constrict,% + idemtracker=constrict,% + opcittracker=constrict,% + pagetracker,% + autocite=footnote,% + citepages=permit,% + labeldateparts,% + labeldate=year,% + sorting=none,% +}% <<<2 + +% <<<1 + +% Macros >>>1 + +\newbibmacro*{footcite}{% >>>2 + \usebibmacro{footcite:citepages}% + \global\togglefalse{cbx:loccit}% + \ifciteseen{% + \iffieldundef{shorthand}{% + \ifboolexpr{% + test {\ifciteibid}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:ibid}% + }{% + \ifboolexpr{% + test {\ifciteidem}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:idem}% + }{% + \ifboolexpr{% + test {\ifloccit}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:loccit}% + }{% + \ifboolexpr{% + test {\ifopcit}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:opcit}% + }{% + \usebibmacro{footcite:short}% + }% + }% + }% + }% + }{% + \usebibmacro{footcite:shorthand}% + }% + }{% + \usebibmacro{footcite:full}% + }% +}% <<<2 + +\newbibmacro*{footcitestar}{% >>>2 + \usebibmacro{footcite:citepages}% + \global\togglefalse{cbx:loccit}% + \iffieldundef{shorthand}{% + \ifboolexpr{% + test {\ifciteibid}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:ibid}% + }{% + \ifboolexpr{% + test {\ifciteidem}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:idem}% + }{% + \ifboolexpr{% + test {\ifloccit}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:loccit}% + }{% + \ifboolexpr{% + test {\ifopcit}% + and% + not test {\iffirstonpage}% + }{% + \usebibmacro{footcite:opcit}% + }{% + \usebibmacro{footcite:short}% + }% + }% + }% + }% + }{% + \usebibmacro{footcite:shorthand}% + }% +}% <<<2 + +\newbibmacro*{footcite:full}{% >>>2 + \usebibmacro{footcite:full:citepages}% + \printtext[bibhypertarget]{% + \usedriver% + {\DeclareNameAlias{sortname}{default}}% + {\thefield{entrytype}}}% + \usebibmacro{shorthandintro}}% + +\newbibmacro*{footcite:short}{% + \ifnameundef{labelname}{% + \printtext[bibhyperref]{% + \printfield[firstword]{labeltitle}% + }% + }{% + \printnames[LAST]{labelname}% + }% + \setunit*{\nameyeardelim}% + \iffieldundef{labelyear}{% + }{% + \printtext[bibhyperlink]{% + \printfield{labelyear}% + \printfield{extradate}% + }% + }% +}% <<<2 + +\newbibmacro*{footcite:loccit}{% >>>2 + \ifnameundef{labelname}{% + \printtext[bibhyperref]{% + \printfield[firstword]{labeltitle}% + }% + }{% + \printnames[LAST]{labelname}% + }% + \setunit*{\nameyeardelim}% + \printtext[bibhyperlink]{\bibstring[\mkloccit]{loccit}}% + \global\toggletrue{cbx:loccit} +}% <<<2 + +\newbibmacro*{footcite:opcit}{% >>>2 + \ifnameundef{labelname}{% + \printtext[bibhyperref]{% + \printfield[firstword]{labeltitle}% + }% + }{% + \printnames[LAST]{labelname}% + }% + \setunit*{\nameyeardelim}% + \printtext[bibhyperlink]{\bibstring[\mkopcit]{opcit}}% +}% <<<2 + +\newbibmacro*{footcite:idem}{% >>>2 + \printtext[bibhyperlink]{\bibstring[\mkidem]{idem}}% + \setunit*{\nameyeardelim}% + \iffieldundef{labelyear}{% + }{% + \printtext[bibhyperlink]{% + \printfield{labelyear}% + \printfield{extradate}% + }% + }% +}% <<<2 + +\newbibmacro*{footcite:ibid}{% >>>2 + \printtext[bibhyperlink]{\bibstring[\mkibid]{ibidem}}% + \ifloccit% + {\global\toggletrue{cbx:loccit}}% + {}}% <<<2 + +\newbibmacro*{footcite:shorthand}{% >>>2 + \printtext[bibhyperlink]{% + \printfield{shorthand}}}% <<<2 + +\newbibmacro*{footcite:postnote:ibidpage}{% >>>2 + \iftoggle{cbx:loccit}% + {}% + {\MakeLowercase{\usebibmacro{postnote}}}}% <<<2 + +% <<<1 + +% Commands >>>1 + +\DeclareCiteCommand{\cite}[\mkbibfootnote]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand*{\cite}[\mkbibfootnote]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite:citepages}% + \usebibmacro{footcite:short}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand{\parencite}[\mkbibparens]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand{\footcite}[\mkbibfootnote]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand*{\footcite}[\mkbibfootnote]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcitestar}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% >>>2 + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{footcite}}% + {\multicitedelim}% + {\usebibmacro{footcite:postnote}}% <<<2 + +% <<<1 + +% apud >>>1 + +\newcommand{\addapud}{%% >>>2 + \renewcommand*{\multicitedelim}{% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\space\bibstring{apud}}% + {\addsemicolon}% + \space}% + \renewcommand*{\textcitedelim}{% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\addspace\bibstring{apud}}% + {\addsemicolon}% + \space}% +}% <<<2 + +\DeclareCiteCommand{\@apud}% >>>2 + {\iffieldundef{prenote}{}{% + \ifnumgreater{\value{multicitetotal}}{1}{% + \usebibmacro{prenote}% + }{% + \printfield[uppercasecite]{prenote}% + \isdot\addspace\bibstring{apud}\addspace% + }% + }% + }% + {\usebibmacro{citeindex}% + \usebibmacro{footcite:short}}% + {\setunit{\multicitedelim}}% + {\usebibmacro{postnote}}% <<<2 + +\DeclareMultiCiteCommand{\apud}[\addapud\mkbibfootnote]% >>>2 + {\@apud}% + {\setunit{\multicitedelim}% +}% <<<2 + +% <<<1 + +% textcite >>>1 + +\newbibmacro*{textcite}{% >>>2 + \ifnameundef{labelname}% + {\printfield[firstword]{labeltitle}}% + {\printnames{labelname}}}% <<<2 + +\newbibmacro*{textcite:init}{% >>>2 + \citetrackerfalse% + \pagetrackerfalse% + \iffirstcitekey% + {\global\undef\cbx@lasthash}% + {}}% <<<2 + +\newbibmacro*{textcite:count}{% >>>2 + \stepcounter{textcitetotal}% + \ifnumgreater{\value{uniquelist}}{\value{maxnames}}% + {\ifnumgreater{\value{uniquelist}}{\value{textcitemaxnames}}% + {\setcounter{textcitemaxnames}{\value{uniquelist}}}% + {}}% + {\ifnumless{\value{labelname}}{\value{maxnames}}% + {\ifnumgreater{\value{labelname}}{\value{textcitemaxnames}}% + {\setcounter{textcitemaxnames}{\value{labelname}}}% + {}}% + {\ifnumgreater{\value{maxnames}}{\value{textcitemaxnames}}% + {\setcounter{textcitemaxnames}{\value{maxnames}}}% + {}}}}% <<<2 + +\DeclareCiteCommand{\cbx@textcite}% >>>2 + {\usebibmacro{textcite:init}}% + {\iffieldequals{namehash}{\cbx@lasthash}% + {}% + {\iffirstcitekey% + {}% + {\textcitedelim}% + \stepcounter{textcitecount}% + \usebibmacro{textcite}% + \savefield{namehash}{\cbx@lasthash}}}% + {}% + {}% <<<2 + +\DeclareCiteCommand{\textcite}[\cbx@textcite@init\cbx@textcite\footcite]% >>>2 + {\usebibmacro{textcite:init}% + \gdef\cbx@savedkeys{}% + \DeferNextCitekeyHook}% + {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}% + {\protected@xappto\cbx@footcite@args{% + (\thefield{multiprenote})(\thefield{multipostnote})}}% + {}% + \xappto\cbx@savedkeys{\thefield{entrykey},}% + \iffieldequals{namehash}{\cbx@lasthash}% + {}% + {\usebibmacro{textcite:count}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{\value{citetotal}}{% + \protected@xappto\cbx@textcite@args{{\cbx@savedkeys}}% + \protected@xappto\cbx@footcite@args{% + [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}% + }% + \iflastcitekey{% + \protected@xappto\cbx@textcite@args{\thefield{postpunct}}% + \protected@xappto\cbx@footcite@args{\nopunct}% + }{}% + }{}}% + {}% + {}% <<<2 + +% textcite has nested \DeclareCiteCommand definitions for +% textcite and we want to use the normal textcite context +\DeclareDelimcontextAlias{cbx@textcite}{textcite}% + +\newrobustcmd{\cbx@textcite@init}[3]{% >>>2 + \setcounter{textcitetotal}{0}% + \setcounter{textcitecount}{0}% + \setcounter{textcitemaxnames}{0}% + \def\cbx@textcite@args{#1}\def\cbx@footcite@args{#2}#3% + \cbx@textcite@args\@empty\cbx@footcite@args\@empty}% <<<2 + +\DeclareMultiCiteCommand{\cbx@textcites}{\cbx@textcite}{}% +\DeclareMultiCiteCommand{\textcites}% + [\cbx@textcites@init\cbx@textcites\footcites]{\textcite}{}% + +\let\cbx@textcites@init\cbx@textcite@init% >>>2 +\pretocmd{\cbx@textcites@init}{% + \UseNextMultiCiteHook% + \AtNextMultiCite{% + \renewbibmacro{multiprenote}{}% + \renewbibmacro{multipostnote}{}}}{}{}% <<<2 + +\xpretobibmacro{textcite}{% >>>3 + \let\multinamedelim\multinamedelimorig% + \let\finalnamedelim\finalnamedelimorig% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% +}{}{}% <<<3 + +% <<<1 + +\endinput% + + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-numeric.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-numeric.cbx new file mode 100644 index 0000000000..8be391001f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt-numeric.cbx @@ -0,0 +1,368 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt-numeric.cbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +% Init >>>1 + +\RequireCitationStyle{numeric}% + +\newtoggle{comp}% +\DeclareBibliographyOption{comp}[true]{% + \settoggle{comp}{#1}% +}% + +% <<<1 + +% Comp >>>1 + +\providebool{bbx:subentry}% +% \newbool{cbx:parens}% + +\newcounter{cbx@tempcnta}% +\newcounter{cbx@tempcntb}% + +\DeclareFieldFormat{entrysetcount}{\mknumalph{#1}}% + +\newbibmacro*{cite:init}{% + \iftoggle{comp}{% + \global\boolfalse{cbx:parens}% + \global\undef\cbx@lasthash% + \global\undef\cbx@lastnumber% + \global\undef\cbx@lastprefix% + \setcounter{cbx@tempcnta}{0}% + \setcounter{cbx@tempcntb}{-2}% + }{}% +}% + +\newbibmacro*{cite:comp}{% + \iftoggle{comp}{% + \addtocounter{cbx@tempcntb}{1}% + \iffieldundef{shorthand}% + {\ifbool{bbx:subentry}% + {\iffieldundef{entrysetcount}% + {\usebibmacro{cite:comp:comp}}% + {\usebibmacro{cite:comp:inset}}}% + {\usebibmacro{cite:comp:comp}}}% + {\usebibmacro{cite:comp:shand}}% + }{% + \usebibmacro{cite}% + }% +}% + +\newbibmacro*{cite:comp:comp}{% + \ifboolexpr{% + ( test {\iffieldundef{labelprefix}} and test {\ifundef\cbx@lastprefix} )% + or% + test {\iffieldequals{labelprefix}{\cbx@lastprefix}}% + }% + {\ifnumequal{\thefield{labelnumber}}{\value{cbx@tempcntb}}% + {\savefield{entrykey}{\cbx@lastkey}% + \savefield{labelnumber}{\cbx@lastnumber}% + \addtocounter{cbx@tempcnta}{1}}% + {\ifnumequal{\thefield{labelnumber}}{\value{cbx@tempcntb}-1}% + {}% + {\usebibmacro{cite:dump}% + \ifnumgreater{\value{cbx@tempcntb}}{-1}% + {\multicitedelim}% + {}% + \printtext[bibhyperref]{% + \printfield{labelprefix}% + \printfield{labelnumber}}}}}% + {\usebibmacro{cite:comp:end}}% + \setcounter{cbx@tempcntb}{\thefield{labelnumber}}% + \savefield{labelprefix}{\cbx@lastprefix}}% + +\newbibmacro*{cite:comp:end}{% + \usebibmacro{cite:dump}% + \ifnumgreater{\value{cbx@tempcntb}}{-1}% + {\multicitedelim}% + {}% + \printtext[bibhyperref]{% + \printfield{labelprefix}% + \printfield{labelnumber}}}% + +\newbibmacro*{cite:comp:inset}{% + \usebibmacro{cite:dump}% + \ifnumgreater{\value{cbx@tempcntb}}{-1}% + {\multicitedelim}% + {}% + \printtext[bibhyperref]{% + \printfield{labelprefix}% + \printfield{labelnumber}% + \printfield{entrysetcount}}% + \setcounter{cbx@tempcntb}{-1}}% + +\newbibmacro*{cite:comp:shand}{% + \usebibmacro{cite:dump}% + \ifnumgreater{\value{cbx@tempcntb}}{-1}% + {\multicitedelim}% + {}% + \printtext[bibhyperref]{\printfield{shorthand}}% + \setcounter{cbx@tempcntb}{-1}}% + +\newbibmacro*{cite:dump}{% + \iftoggle{comp}{% + \ifnumgreater{\value{cbx@tempcnta}}{0}% + {\ifnumgreater{\value{cbx@tempcnta}}{1}% + {\bibrangedash}% + {\multicitedelim}% + \bibhyperref[\cbx@lastkey]{% + \ifdef\cbx@lastprefix% + {\printtext[labelprefix]{\cbx@lastprefix}}% + {}% + \printtext[labelnumber]{\cbx@lastnumber}}}% + {}% + \setcounter{cbx@tempcnta}{0}% + \global\undef\cbx@lastprefix% + }{}% +}% + +% <<<1 + +\renewbibmacro*{name:family}[4]{% >>>1 + \ifuseprefix% + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifdefvoid{#3}{}{% + \ifcapital% + {\mkbibnameprefix{\MakeCapital{#3}}\isdot}% + {\mkbibnameprefix{#3}\isdot}% + \ifprefchar{}{\bibnamedelimc}}% + \mkbibnamefamily{#1}\isdot% + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}% + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamefamily{#1}\isdot% + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}}% <<<1 + +% Cite commands >>>1 + +\DeclareCiteCommand{\cite}[\mkbibparens]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {\iftoggle{comp}{}{\multicitedelim}}% + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\parencite}[\mkbibparens]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {\iftoggle{comp}{}{\multicitedelim}}% + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\footcite}[\mkbibfootnote]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {\iftoggle{comp}{}{\multicitedelim}}% + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {\iftoggle{comp}{}{\multicitedelim}}% + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {\iftoggle{comp}{}{\multicitedelim}}% + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\supercite}[\mkbibsuperscript]% >>>2 + {\usebibmacro{cite:init}% + \let\multicitedelim=\supercitedelim% + \iffieldundef{prenote}% + {}% + {\BibliographyWarning{Ignoring prenote argument}}% + \iffieldundef{postnote}% + {}% + {\BibliographyWarning{Ignoring postnote argument}}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}}% + {}% + {\usebibmacro{cite:dump}}% <<<2 + +% \textcite >>>2 + + \renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}% + + \renewbibmacro*{textcite}{% >>>3 + \iftoggle{comp}{% + \iffieldequals{namehash}{\cbx@lasthash}% + {\usebibmacro{cite:comp}}% + {\usebibmacro{cite:dump}% + \ifbool{cbx:parens}% + {\printtext{\bibcloseparen}\global\boolfalse{cbx:parens}}% + {}% + \iffirstcitekey% + {}% + {\textcitedelim}% + \usebibmacro{cite:init}% + \printtext[bibhyperref]{% + \ifnameundef{labelname}% + {\printfield[citetitle]{labeltitle}}% + {\printnames{labelname}}% + } + \setunit*{\printdelim{namelabeldelim}}% + \printtext{\bibopenparen}\global\booltrue{cbx:parens}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \usebibmacro{cite:comp}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + }{% + \iffieldequals{namehash}{\cbx@lasthash}% + {\setunit{\multicitedelim}}% + {\printtext[bibhyperref]{% + \ifnameundef{labelname}% + {\printfield[citetitle]{labeltitle}}% + {\printnames{labelname} + }}% + \setunit*{\printdelim{namelabeldelim}}% + \printtext{\bibopenparen}\global\booltrue{cbx:parens}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \usebibmacro{cite}% + \setunit{% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}% + \textcitedelim}% + }% + }% <<<3 + + \renewbibmacro*{textcite:init}{% >>>3 + \ifnumless{\value{multicitecount}}{2}% + {\global\boolfalse{cbx:parens}% + \global\undef\cbx@lasthash}% + {\global\undef\cbx@lasthash}}% <<<3 + + \renewbibmacro*{textcite:postnote}{% >>>3 + \usebibmacro{postnote}% + \ifthenelse{\value{multicitecount}=\value{multicitetotal}}% + {\setunit{}% + \printtext{% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}}}% + {\setunit{% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}% + \textcitedelim}}}% <<<3 + + \DeclareCiteCommand{\cbx@textcite}% >>>3 + {\iftoggle{comp}{\usebibmacro{cite:init}}{\usebibmacro{textcite:init}}}% + {\usebibmacro{citeindex}% + \usebibmacro{textcite}}% + {}% + {\iftoggle{comp}{% + \usebibmacro{cite:dump}% + \usebibmacro{postnote}% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}% + }{% + \usebibmacro{textcite:postnote}% + }}% <<<3 + + \DeclareCiteCommand{\textcite}[\cbx@textcite@init\cbx@textcite]% >>>3 + {\gdef\cbx@savedkeys{}% + \citetrackerfalse% + \pagetrackerfalse% + \DeferNextCitekeyHook% + \iftoggle{comp}{\usebibmacro{cite:init}}{\usebibmacro{textcite:init}}}% + {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}% + {\protected@xappto\cbx@savedcites{()(\thefield{multipostnote})}% + \global\clearfield{multipostnote}}% + {}% + \xappto\cbx@savedkeys{\thefield{entrykey},}% + \iffieldequals{namehash}{\cbx@lasthash}% + {}% + {\stepcounter{textcitetotal}% + \savefield{namehash}{\cbx@lasthash}}}% + {}% + {\protected@xappto\cbx@savedcites{% + [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}% <<<3 + + % textcite has nested \DeclareCiteCommand definitions for textcite and we want to use + % the normal textcite context + \DeclareDelimcontextAlias{cbx@textcite}{textcite}% + + \renewrobustcmd{\cbx@textcite@init}[2]{% + \setcounter{textcitetotal}{0}% + \setcounter{textcitecount}{0}% + \def\cbx@savedcites{#1}#2\cbx@savedcites\empty}% + + \DeclareMultiCiteCommand{\cbx@textcites}{\cbx@textcite}{}% + \DeclareMultiCiteCommand{\textcites}[\cbx@textcites@init\cbx@textcites]{\textcite}{}% + + \let\cbx@textcites@init\cbx@textcite@init% + \pretocmd{\cbx@textcites@init}{\UseNextMultiCiteHook}{}{}% + +% <<<2 + +\DeclareMultiCiteCommand{\cites}[\mkbibparens]{\cite}{\multicitedelim}% + +\DeclareMultiCiteCommand{\parencites}% + [\mkbibparens]{\parencite}{\multicitedelim}% + +\DeclareMultiCiteCommand{\smartcites}% + [\iffootnote\mkbibparens\mkbibfootnote]{\smartcite}{\multicitedelim}% + +% <<<1 + +% bibhyperref >>>1 + +\DeclareFieldFormat{citehyperref}{%% >>>2 + \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links + \bibhyperref{#1}% +}% <<<2 + +\savebibmacro{cite}% + +\renewbibmacro*{cite}{%% >>>2 + \printtext[citehyperref]{% + \restorebibmacro{cite}% + \usebibmacro{cite}}% +}% <<<2 + +% <<<1 + +\endinput% + + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt.cbx new file mode 100644 index 0000000000..7deb3e8199 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/cbx/abnt.cbx @@ -0,0 +1,733 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{abnt.cbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +% Init >>>1 + +\RequireBiber[3]% +\RequireCitationStyle{authoryear-comp}% + +\RequirePackage{xparse}% +\RequirePackage{xpatch}% +\RequirePackage{expl3}% + +\ExecuteBibliographyOptions{% >>>2 + pagetracker,% + block=none,% + urldate=long,% + uniquename=minfull,% + sortcites=false,% +}% <<<2 + +\DeclareLabelname{% >>>2 + \field{shortauthor}% + \field{author}% + \field{holder}% + \field{shorteditor}% + \field{editor}% + \field{translator}% +}% <<<2 + +\newtoggle{sccite}% >>>2 +\DeclareBibliographyOption{sccite}[true]{% + \settoggle{sccite}{#1}% +}% <<<2 + +% <<<1 + +% Format >>>1 + +% Name format >>>2 + +\newcommand*{\UpperOrSCCite}[1]{% >>>3 + \iftoggle{sccite}{% + \textsc{\MakeLowercase{#1}}% + }{% + \MakeUppercase{#1}% + }% +}% <<<3 + +\newcommand*{\NormalOrSCCite}[1]{% >>>3 + \let\MakeCapital\relax% + \iftoggle{sccite}{% + \textsc{\MakeLowercase{#1}}% + }{% + #1% + }% +}% <<<3 + +% \mkbibname* >>>3 + +% \IfGivenIsInit >>>4 + +\ExplSyntaxOn% + +\NewDocumentCommand{\IfGivenIsInit}{mm}{% + \regex_match:nVTF {\w\.} \namepartgiven {#1} {#2}% +}% +\cs_generate_variant:Nn \regex_match:nnTF { nV }% + +\ExplSyntaxOff% + +% <<<4 + +\let\origmkbibnamefamily\mkbibnamefamily% +\let\origmkbibnamegiven\mkbibnamegiven% +\let\origmkbibnameprefix\mkbibnameprefix% +\let\origmkbibnamesuffix\mkbibnamesuffix% + +\renewcommand*{\mkbibnamefamily}[1]{% >>>4 + \UpperOrSCCite{#1}% +}% <<<4 +\renewcommand*{\mkbibnamegiven}[1]{% >>>4 + \ifnumequal{\value{uniquename}}{2}{% + \IfGivenIsInit{\NormalOrSCCite{#1}}{#1}% + }{% + \NormalOrSCCite{#1}% + }% +}% <<<4 +\renewcommand*{\mkbibnameprefix}[1]{% >>>4 + \ifuseprefix{% + \UpperOrSCCite{#1}% + }{% + \ifnumequal{\value{uniquename}}{2}{#1}{\NormalOrSCCite{#1}}% + }% +}% <<<4 +\renewcommand*{\mkbibnamesuffix}[1]{% >>>4 + \UpperOrSCCite{#1}% +}% <<<4 + +\AtBeginBibliography{% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% +}% + +% <<<3 + +\DeclareNameFormat{labelname}{% >>>3 + % Use family-given instead of given-family + \ifcase\value{uniquename}% + \usebibmacro{name:family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \or% + \ifuseprefix% + {\usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffixi}}% + {\usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffixi}}% + \or% + \usebibmacro{name:family-given}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \fi% + \usebibmacro{name:andothers}}% <<<3 + +\DeclareNameFormat{textlabelname}{% >>>3 + % Use given-family instead of family-given + \ifcase\value{uniquename}% + \usebibmacro{name:family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \or% + \ifuseprefix% + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}}% + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}}% + \or% + \usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \fi% + \usebibmacro{name:andothers}}% <<<3 + +\renewbibmacro*{name:family}[4]{% >>>3 + % Add the suffix too + \ifuseprefix% + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifdefvoid{#3}{}{% + \ifcapital% + {\mkbibnameprefix{\MakeCapital{#3}}\isdot}% + {\mkbibnameprefix{#3}\isdot}% + \ifprefchar{}{\bibnamedelimc}}% + \mkbibnamefamily{#1}\isdot% + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}% + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamefamily{#1}\isdot% + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}}% <<<3 + +% <<<2 + +% Field format >>>2 + +\DeclareFieldFormat{emphtitle}{\emph{#1}}% + +% Get first word >>>3 +\newcommand\FirstWord[1]{\@firstword#1 \@nil}% +\def\@firstword#1 #2\@nil{\@removecomma#1,\@nil}% +\def\@removecomma#1,#2\@nil{\@removeperiod#1.\@nil}% +\def\@removeperiod#1.#2\@nil{\@removesemicolon#1;\@nil}% +\def\@removesemicolon#1;#2\@nil{#1}% +% <<<3 + +\DeclareFieldFormat{firstword}{%% >>>3 + \iftoggle{sccite}{% + \normalfont\textsc{\MakeLowercase{\FirstWord{#1}}}\ldots\isdot% + }{% + \normalfont\MakeUppercase{\FirstWord{#1}}\ldots\isdot% + }% +}%% <<<3 + +\DeclareFieldFormat{uppercasecite}{%% >>>3 + \iftoggle{sccite}{% + \textsc{\smartlowercase{#1}}% + }{% + \smartuppercase{#1}% + }% +}% <<<3 + +% <<<2 + +% Delimiter format >>>2 + +\renewcommand*{\nameyeardelim}{\addcomma\addspace}% +\renewcommand*{\nonameyeardelim}{\addcomma\addspace}% +\renewcommand*{\multicitedelim}{\addsemicolon\addspace}% + +% <<<2 + +% <<<1 + +% Macros and commands >>>1 + +% \cite >>>2 + +\renewbibmacro*{cite}{% >>>3 + \iffieldundef{shorthand}% + {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}% + {\usebibmacro{cite:label}% + \setunit{\printdelim{nonameyeardelim}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}}% + {\iffieldequals{namehash}{\cbx@lasthash}% + {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND% + \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}% + {\setunit{\addcomma}% + \usebibmacro{cite:extradate}}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}}% + {% Use `bibhyperref` for the `labelname` + \printtext[bibhyperref]{\printnames{labelname}}% + \setunit{\printdelim{nameyeardelim}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}}% + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{\multicitedelim}}% <<<3 + +\DeclareCiteCommand{\cite}[\mkbibparens]% >>>3 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {}% + {\usebibmacro{postnote}}% <<<3 + +\DeclareCiteCommand*{\cite}[\mkbibparens]% >>>3 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}}% + {}% + {\usebibmacro{postnote}}% <<<3 + +\DeclareMultiCiteCommand{\cites}[\mkbibparens]% + {\cite}{\setunit{\multicitedelim}}% + +% <<<2 + +% \textcite >>>2 + +\renewbibmacro*{textcite}{% >>>3 + \iffieldequals{namehash}{\cbx@lasthash}% + {\iffieldundef{shorthand}% + {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND% + \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}% + {\setunit{\addcomma}% + \usebibmacro{cite:extradate}}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + {\ifnameundef{labelname}% + {\iffieldundef{shorthand}% + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}\bibopenparen}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \usebibmacro{cite:labeldate+extradate}}% + {\usebibmacro{cite:shorthand}}}% + {% Use `bibhyperref` so that the names are also hyperlinked + \printtext[bibhyperref]{\printnames[textlabelname]{labelname}}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}\bibopenparen}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \iffieldundef{shorthand}% + {\iffieldundef{labelyear}% + {\usebibmacro{cite:label}}% + {\usebibmacro{cite:labeldate+extradate}}% + \savefield{labelyear}{\cbx@lastyear}}% + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}% + % Use `\bibstring{and}` before the last name and commas before the rest + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}{% + \finalnamedelim% + }{% + \multinamedelim% + }}}% <<<3 + +\xpretobibmacro{textcite}{% >>>3 + \let\multinamedelim\multinamedelimorig% + \let\finalnamedelim\finalnamedelimorig% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% +}{}{}% <<<3 + +\newbibmacro*{textcitestar}{% >>>3 + \iffieldequals{namehash}{\cbx@lasthash}% + {\iffieldundef{shorthand}% + {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND% + \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}% + {\setunit{\addcomma}% + \usebibmacro{cite:extradate}}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + {\ifnameundef{labelname}% + {\iffieldundef{shorthand}% + {\usebibmacro{cite:label}% + \setunit{% + % \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \usebibmacro{cite:labeldate+extradate}}% + {\usebibmacro{cite:shorthand}}}% + {% Use `bibhyperref` so that the names are also hyperlinked + \printtext[bibhyperref]{\printnames[textlabelname]{labelname}}% + \setunit{% + % \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}}% + \ifnumequal{\value{citecount}}{1}% + {\usebibmacro{prenote}}% + {}% + \iffieldundef{shorthand}% + {\iffieldundef{labelyear}% + {\usebibmacro{cite:label}}% + {\usebibmacro{cite:labeldate+extradate}}% + \savefield{labelyear}{\cbx@lastyear}}% + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}% + % Use `\bibstring{and}` before the last name and commas before the rest + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}{% + \finalnamedelim% + }{% + \multinamedelim% + }}}% <<<3 + +\xpretobibmacro{textcitestar}{% >>>3 + \let\multinamedelim\multinamedelimorig% + \let\finalnamedelim\finalnamedelimorig% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% +}{}{}% <<<3 + +\DeclareCiteCommand{\cbx@textcitestar}% >>>3 + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcitestar}} + {} +{\usebibmacro{textcite:postnote}}% <<<3 + +\DeclareCiteCommand*{\textcite}[\cbx@textcite@init\cbx@textcitestar]% >>>3 + {\gdef\cbx@savedkeys{}% + \citetrackerfalse% + \pagetrackerfalse% + \DeferNextCitekeyHook% + \usebibmacro{cite:init}} + {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0} + {\protected@xappto\cbx@savedcites{()(\thefield{multipostnote})}% + \global\clearfield{multipostnote}} + {}% + \xappto\cbx@savedkeys{\thefield{entrykey},}% + \iffieldequals{namehash}{\cbx@lasthash} + {} + {\stepcounter{textcitetotal}% + \savefield{namehash}{\cbx@lasthash}}} + {} + {\protected@xappto\cbx@savedcites{% +[\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}% <<<3 + +% <<<2 + +% \footcite >>>2 + +\newbibmacro*{footcite}{% >>>3 + \let\multinamedelim\multinamedelimorig% + \let\finalnamedelim\finalnamedelimorig% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% + \usebibmacro{prenote}% + \ifnameundef{labelname}% + {\iffieldundef{shorthand}% + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \addspace\bibopenparen}% + \usebibmacro{cite:labeldate+extradate}}% + {\usebibmacro{cite:shorthand}}}% + {\printtext[bibhyperref]{\printnames{labelname}}% + \setunit{% + \global\booltrue{cbx:parens}% + \addspace\bibopenparen}% + \usebibmacro{citeyear}}}% <<<3 + +\newbibmacro*{footcite:postnote}{% >>>3 + \iffieldundef{postnote}% + {\ifbool{cbx:parens}% + {\bibcloseparen}% + {}}% + {\ifbool{cbx:parens}% + {\setunit{\postnotedelim}}% + {\setunit{\extpostnotedelim\bibopenparen}}% + \printfield{postnote}\bibcloseparen}}% <<<3 + +\DeclareCiteCommand{\footcite}[\mkbibfootnote]% >>>3 + {\boolfalse{cbx:parens}}% + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\addspace\bibstring{and}}% + {\addcomma}% + \space}% + \usebibmacro{footcite}}% + {\ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}}% + {\usebibmacro{footcite:postnote}}% <<<3 + +\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}{}% + +% <<<2 + +% \citetitle >>>2 + +% \citetitle is pretty much a copy of authoryear-comp's \textcite that uses +% labeltitle instead of labelname + +\newbibmacro*{citetitle}{% >>>3 + \printtext[bibhyperref]{\printfield[labeltitle]{labeltitle}}% + \setunit{\global\booltrue{cbx:parens}\addspace\bibopenparen}% + \ifnumequal{\value{citecount}}{1}{\usebibmacro{prenote}}{}% + \iffieldundef{shorthand}{% + \usebibmacro{cite:labeldate+extradate}% + }{% + \usebibmacro{cite:shorthand}% + }% + \stepcounter{textcitecount}% + \setunit{% + \ifbool{cbx:parens}{\bibcloseparen\global\boolfalse{cbx:parens}}{}% + % Use `\bibstring{and}` before the last name and commas before the rest + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}{% + \finalnamedelim% + }{% + \multinamedelim% + }% + }% +}% <<<3 + +\DeclareCiteCommand{\cbx@citetitle}% >>>3 + {\usebibmacro{cite:init}}% + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}}% + {}% + {\usebibmacro{textcite:postnote}}% <<<3 + +\DeclareCiteCommand{\citetitle}[\cbx@textcite@init\cbx@citetitle]% >>>3 + {\gdef\cbx@savedkeys{}% + \citetrackerfalse% + \pagetrackerfalse% + \DeferNextCitekeyHook% + \usebibmacro{cite:init}}% + {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}% + {\protected@xappto\cbx@savedcites{()(\thefield{multipostnote})}% + \global\clearfield{multipostnote}}% + {}% + \xappto\cbx@savedkeys{\thefield{entrykey},}% + \iffieldequals{namehash}{\cbx@lasthash}% + {}% + {\stepcounter{textcitetotal}% + \savefield{namehash}{\cbx@lasthash}}}% + {}% + {\protected@xappto\cbx@savedcites{% + [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}% <<<3 + +% <<<2 + +% \apud >>>2 + +\newbibmacro*{apud}{% >>>3 + \iffieldundef{shorthand}% + {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}% + {\usebibmacro{cite:label}% + \setunit{\printdelim{nonameyeardelim}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}}% + {\iffieldequals{namehash}{\cbx@lasthash}% + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}}% + {\printtext[bibhyperref]{\printnames{labelname}}% + \setunit{\printdelim{nameyeardelim}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}}% + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{\multicitedelim}}% <<<3 + +\newcommand{\addapud}{%% >>>3 + \renewcommand*{\compcitedelim}{% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\space\bibstring{apud}}% + {\addsemicolon}% + \space}% + \renewcommand*{\multicitedelim}{% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\space\bibstring{apud}}% + {\addsemicolon}% + \space}% + \renewcommand*{\textcitedelim}{% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}}% + {\addspace\bibstring{apud}}% + {\addsemicolon}% + \space}% +}% <<<3 + +\DeclareCiteCommand{\@apud}% >>>3 + {\usebibmacro{cite:init}% + \iffieldundef{prenote}{}{% + \ifnumgreater{\value{multicitetotal}}{1}{% + \usebibmacro{prenote}% + }{% + \printfield[uppercasecite]{prenote}% + \isdot\addspace\bibstring{apud}\addspace% + }% + }% + }% + {\usebibmacro{citeindex}% + \usebibmacro{apud}}% + {\setunit{\multicitedelim}}% + {\usebibmacro{postnote}}% <<<3 + +\DeclareMultiCiteCommand{\apud}[\addapud\mkbibparens]% >>>3 + {\@apud}% + {\setunit{\multicitedelim}}% <<<3 + +\DeclareCiteCommand{\plaincite}% >>>3 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% <<<3 + +\DeclareCiteCommand{\citelastname}% >>>3 + {\usebibmacro{cite:init}% + \boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}% + \let\mkbibnamefamily\origmkbibnamefamily% + \let\mkbibnamegiven\origmkbibnamegiven% + \let\mkbibnameprefix\origmkbibnameprefix% + \let\mkbibnamesuffix\origmkbibnamesuffix% + \renewcommand*{\finalnamedelim}{\addspace\bibstring{and}\addspace}% + \renewcommand*{\multinamedelim}{\addcomma\addspace}}% + {\ifciteindex% + {\indexnames{labelname}}% + {}% + \printtext[bibhyperref]{\printnames{labelname}}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% <<<3 + +\NewDocumentCommand{\textapud}{o o m o o m}{%% >>>3 + \citelastname{#3}\addspace% + \mkbibparens{% + \IfNoValueTF{#2}{% + \IfNoValueTF{#1}{% + \citeyearorsh*{#3}% + }{% + \citeyearorsh*[#1]{#3}% + }% + }{% + \citeyearorsh*[#1][#2]{#3}% + }\addspace% + \IfNoValueTF{#5}{% + \IfNoValueTF{#4}{% + \plaincite[\blx@imc@bibxstring{apud}][]{#6}% + }{% + \plaincite[\blx@imc@bibxstring{apud}][#4]{#6}% + }% + }{% + \cite[\blx@imc@bibxstring{apud} #4][#5]{#6}% + }% + }% +}%% <<<3 + +% <<<2 + +\renewbibmacro*{cite:label}{%% >>>2 + \iffieldundef{label}{% + \printtext[bibhyperref]{\printfield[firstword]{labeltitle}}% + }{% + \printtext[bibhyperref]{\printfield[uppercasecite]{label}}% + }% +}% <<<2 + +\DeclareCiteCommand{\smartcite}[\mkbibparens]% >>>2 + {\usebibmacro{cite:init}% + \usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {}% + {\usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\citeauthor}[\mkbibparens]% >>>2 + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}}% + {\ifciteindex% + {\indexnames{labelname}}% + {}% + \printtext[bibhyperref]{\printnames{labelname}}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +\DeclareCiteCommand*{\citeauthor}% + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}}% + {\ifciteindex% + {\indexnames{labelname}}% + {}% + \printtext[bibhyperref]{\printnames{labelname}}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand{\citeyear}[\mkbibparens]% >>>2 + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}}% + {\printfield[bibhyperref]{year}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +\DeclareCiteCommand*{\citeyear}% + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}}% + {\printfield[bibhyperref]{year}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% <<<2 + +\DeclareCiteCommand*{\citeyearorsh}% + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}}% + {\iffieldundef{shorthand}{% + \printfield[bibhyperref]{year}% + }{% + \printfield[bibhyperref]{shorthand}% + }% + }% + {\multicitedelim}% + {\usebibmacro{postnote}}% <<<2 + +% <<<1 + +\endinput% + + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/american-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/american-abnt.lbx new file mode 100644 index 0000000000..4ebdf8ee3f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/american-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{american-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{english-abnt} +\InheritBibliographyStrings{english-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/australian-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/australian-abnt.lbx new file mode 100644 index 0000000000..5a3e9b5305 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/australian-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{australian-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{english-abnt} +\InheritBibliographyStrings{english-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazil-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazil-abnt.lbx new file mode 100644 index 0000000000..45330478f9 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazil-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{brazil-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{brazilian-abnt} +\InheritBibliographyStrings{brazilian-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazilian-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazilian-abnt.lbx new file mode 100644 index 0000000000..8b730ba0d5 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/brazilian-abnt.lbx @@ -0,0 +1,387 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{brazilian-abnt.lbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + + +% Init >>> + +\InheritBibliographyExtras{brazilian}% +\InheritBibliographyStrings{brazilian} +\DeclareBibliographyStrings{% + inherit = {brazil},% +}% + +% <<< + +% No preposition between month and year >>>1 + +\DeclareBibliographyExtras{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#3}% + {}% + {\stripzeros{\thefield{#3}}% + \iffieldundef{#2}{}{\addspace}}% + \iffieldundef{#2}% + {}% + {\mkbibmonth{\thefield{#2}}% + \iffieldundef{#1}{}{\addspace}}% + \thefield{#1}}% +}% + +% <<< + +% Publication details >>>1 + +\NewBibliographyString{% >>>2 + apud,% + sineloco,% + sinenomine,% + sheet,% + sheets,% + sheettotal,% + sheettotals,% + illustrated,% + monography,% + recensionof,% +}% <<<2 + +\DeclareBibliographyStrings{% >>>2 + apud = {{apud}{apud}},% + idem = {{idem}{id\adddot}},% + volume = {{volume}{v\adddot}},% + volumes = {{volumes}{v\adddot}},% + number = {{n\'umero}{n\adddot}},% + pages = {{p\'aginas}{p\adddot}},% + pagetotals = {{p\'aginas}{p\adddot}}, + involumes = {{in}{in}},% + in = {{in}{in}},% + inseries = {{in}{in}},% + sineloco = {{sine loco}{s\adddot l\adddot}},% + sinenomine = {{sine nomine}{s\adddot n\adddot}},% + urlfrom = {{dispon\'ivel em}{dispon\'ivel em}},% + urlseen = {{acesso em}{acesso em}},% + sheet = {{folha}{f\adddot}},% + sheets = {{folhas}{f\adddot}},% + sheettotal = {{folha}{f\adddot}},% + sheettotals = {{folhas}{f\adddot}},% + backrefpage = {{citado na p\'agina}{citado na p\adddot}},% + backrefpages = {{citado nas p\'aginas}{citado nas pp\adddot}},% + illustrated = {{ilustrado}{il\adddot}},% + monography = {{monografia}{monografia}},% + phdthesis = {{Tese (Doutorado)}{Tese (Doutorado)}},% + mathesis = {{Disserta\c{c}\~ao (Mestrado)}{Diss. (Mestrado)}},% + reprintfrom = {{separata de}{separata de}},% + recensionof = {{recens\~ao de}{recens\~ao de}},% + reviewof = {{resenha de}{resenha de}},% +}% <<<2 + +% <<<1 + +% citecounter >>>1 + +\NewBibliographyString{% >>>2 + citecountpage,% + citecountpages,% + citecountnopage,% +}% <<<2 + +\DeclareBibliographyStrings{% >>>2 + citecountpage = {{% + \ifnumgreater{\value{citecounter}}{1}{% + Citado \arabic{citecounter} vezes na p\'agina% + }{% + Citado \arabic{citecounter} vez na p\'agina% + }% + }{% + \ifnumgreater{\value{citecounter}}{1}{% + Citado \arabic{citecounter} vezes na p\'agina% + }{% + Citado \arabic{citecounter} vez na p\'agina% + }% + }},% + citecountpages = {{% + \ifnumgreater{\value{citecounter}}{1}{% + Citado \arabic{citecounter} vezes nas p\'aginas% + }{% + Citado \arabic{citecounter} vez nas p\'aginas% + }% + }{% + \ifnumgreater{\value{citecounter}}{1}{% + Citado \arabic{citecounter} vezes nas p\'aginas% + }{% + Citado \arabic{citecounter} vez nas p\'aginas% + }% + }},% + citecountnopage = {{Nenhuma cita\c{c}\~ao no texto}% + {Nenhuma cita\c{c}\~ao no texto}} +}% <<<2 + +% <<<1 + +% Languages >>>1 + +\DeclareBibliographyStrings{% + langamerican = {{vers\~ao americana}{vers\~ao americana}},% + langbrazilian = {{vers\~ao brasileira}{vers\~ao brasileira}},% + langcatalan = {{vers\~ao catal\~a}{vers\~ao catal\~a}},% + langcroatian = {{vers\~ao croata}{vers\~ao croata}},% + langczech = {{vers\~ao tcheca}{vers\~ao tcheca}},% + langdanish = {{vers\~ao dinamarquesa}{vers\~ao dinamarquesa}},% + langdutch = {{vers\~ao holandesa}{vers\~ao holandesa}},% + langenglish = {{vers\~ao inglesa}{vers\~ao inglesa}},% + langfinnish = {{vers\~ao finlandesa}{vers\~ao finlandesa}},% + langfrench = {{vers\~ao francesa}{vers\~ao francesa}},% + langgerman = {{vers\~ao alem\~a}{vers\~ao alem\~a}},% + langgreek = {{vers\~ao grega}{vers\~ao grega}},% + langitalian = {{vers\~ao italiana}{vers\~ao italiana}},% + langlatin = {{vers\~ao latina}{vers\~ao latina}},% + langnorwegian = {{vers\~ao norueguesa}{vers\~ao norueguesa}},% + langpolish = {{vers\~ao polonesa}{vers\~ao polonesa}},% + langportuguese = {{vers\~ao portuguesa}{vers\~ao portuguesa}},% + langrussian = {{vers\~ao russa}{vers\~ao russa}},% + langslovene = {{vers\~ao eslovena}{vers\~ao eslovena}},% + langspanish = {{vers\~ao espanhola}{vers\~ao espanhola}},% + langswedish = {{vers\~ao sueca}{vers\~ao sueca}},% + fromamerican = {{do original ingl\^es}{do original ingl\^es}},% + frombrazilian = {{do original portugu\^es}{do original portugu\^es}},% + fromcatalan = {{do original catal\~ao}{do original catal\~ao}},% + fromcroatian = {{do original croata}{do original croata}},% + fromczech = {{do original tcheco}{do original tcheco}},% + fromdanish = {{do original dinamarqu\^es}{do original dinamarqu\^es}},% + fromdutch = {{do original holand\^es}{do original holand\^es}},% + fromenglish = {{do original ingl\^es}{do original ingl\^es}},% + fromfinnish = {{do original finland\^es}{do original finland\^es}},% + fromfrench = {{do original franc\^es}{do original franc\^es}},% + fromgerman = {{do original alem\~ao}{do original alem\~ao}},% + fromgreek = {{do original grego}{do original grego}},% + fromitalian = {{do original italiano}{do original italiano}},% + fromlatin = {{do original em latim}{do original em latim}},% + fromnorwegian = {{do original noruegu\^es}{do original noruegu\^es}},% + frompolish = {{do original polon\^es}{do original polon\^es}},% + fromportuguese = {{do original portugu\^es}{do original portugu\^es}},% + fromrussian = {{do original russo}{do original russo}},% + fromslovene = {{do original esloveno}{do original esloveno}},% + fromspanish = {{do original espanhol}{do original espanhol}},% + fromswedish = {{do original sueco}{do original sueco}},% +}% + +% <<< + +% Roles >>>1 + +% Roles expressed as functions >>>2 + +\NewBibliographyString{% + organizer,% + organizers,% + coordinator,% + coordinators,% +}% + +\DeclareBibliographyStrings{% + editors = {{editores}{ed\adddot}},% + collaborators = {{colaboradores}{col\adddot}},% + translators = {{tradutores}{trad\adddot}},% + commentators = {{comentadores}{coment\adddot}},% + annotators = {{anotadores}{anot\adddot}},% + organizer = {{organizador}{org\adddot}},% + organizers = {{organizadores}{org\adddot}},% + coordinator = {{coordenador}{coord\adddot}},% + coordinators = {{coordenadores}{coord\adddot}},% +}% + +% <<<2 + +% Roles expressed as objects >>>2 + +\DeclareBibliographyStrings{% + withcommentator = {{coment\'ario\addcolon}{coment\'ario\addcolon}},% + withannotator = {{notas\addcolon}{notas\addcolon}},% + withintroduction = {{introdu\c{c}\~ao\addcolon}{introdu\c{c}\~ao\addcolon}},% + withforeword = {{pref\'acio\addcolon}{pref\'acio\addcolon}},% + withafterword = {{posf\'acio\addcolon}{posf\'acio\addcolon}},% +}% + +% <<<2 + +% Roles expressed as actions >>>2 + +\NewBibliographyString{% >>>3 + byorganizer,% + byorganizerfo,% + bytechrev,% + byupdater,% + byupdateran,% + byphotographer,% + byartdir,% + byrecorder,% + byinterviewer,% + bygenorg,% + bygenorgfo,% + bycoordinator,% + bycoeditor,% + bydirector,% + bygendir,% + byproducer,% + byscreenwriter,% + byinterpreter,% + byillustrator,% + bytechrev,% +}% <<<3 + +\DeclareBibliographyStrings{% >>>3 + bycoeditor = {{co-edi\c{c}\~ao\addcolon}% + {co-edi\c{c}\~ao\addcolon}},% + bydirector = {{dire\c{c}\~ao\addcolon}% + {dire\c{c}\~ao\addcolon}},% + bygendir = {{dire\c{c}\~ao geral\addcolon}% + {dire\c{c}\~ao geral\addcolon}},% + bycoordinator = {{coordena\c{c}\~ao\addcolon}% + {coordena\c{c}\~ao\addcolon}},% + byproducer = {{produ\c{c}\~ao\addcolon}% + {produ\c{c}\~ao\addcolon}},% + byscreenwriter = {{roteiro\addcolon}% + {roteiro\addcolon}},% + byinterpreter = {{interpreta\c{c}\~ao\addcolon}% + {interpreta\c{c}\~ao\addcolon}},% + byillustrator = {{ilustra\c{c}\~oes\addcolon}% + {ilustra\c{c}\~oes\addcolon}},% + byorganizer = {{organiza\c{c}\~ao\addcolon}% + {organiza\c{c}\~ao\addcolon}},% + bytechrev = {{revis\~ao t\'ecnica\addcolon}% + {revis\~ao t\'ecnica\addcolon}},% + byartdir = {{dire\c{c}\~ao art\'istica\addcolon}% + {dire\c{c}\~ao art\'istica\addcolon}},% + byinterviewer = {{entrevista por}% + {entrevista por}},% + byrecorder = {{grava\c{c}\~ao\addcolon}% + {grava\c{c}\~ao\addcolon}},% + byphotographer = {{fotografia\addcolon}% + {fotografia\addcolon}},% + bygenorg = {{organiza\c{c}\~ao geral\addcolon}% + {organiza\c{c}\~ao geral\addcolon}},% + byauthor = {{por}% + {por}},% + byeditor = {{edi\c{c}\~ao\addcolon}% + {edi\c{c}\~ao\addcolon}},% + bycompiler = {{compila\c{c}\~ao\addcolon}% + {compila\c{c}\~ao\addcolon}},% + byredactor = {{redigido por}% + {redigido por}},% + byreviser = {{revis\~ao\addcolon}% + {revis\~ao\addcolon}},% + bytechrev = {{revis\~ao t\'ecnica\addcolon}% + {revis\~ao t\'ecnica\addcolon}},% + byreviewer = {{resenha\addcolon}% + {resenha\addcolon}},% + byfounder = {{fundado por}% + {fundado por}},% + bycontinuator = {{continuado por}% + {continuado por}},% + bycollaborator = {{em colabora\c{c}\~ao com}% + {em colabora\c{c}\~ao com}},% + bytranslator = {{tradu\c{c}\~ao\addcolon}% + {tradu\c{c}\~ao\addcolon}},% + bycommentator = {{coment\'ario\addcolon}% + {coment\'ario\addcolon}},% + byannotator = {{notas\addcolon}% + {notas\addcolon}},% + byupdateran = {{atualiza\c{c}\~ao e notas\addcolon}% + {atualiza\c{c}\~ao e notas\addcolon}},% + byupdater = {{atualiza\c{c}\~ao\addcolon}% + {atualiza\c{c}\~ao\addcolon}},% + byorganizerfo = {{organiza\c{c}\~ao e pref\'acio\addcolon}% + {organiza\c{c}\~ao e pref\'acio\addcolon}},% + bygenorgfo = {{organiza\c{c}\~ao geral e pref\'acio\addcolon}% + {organiza\c{c}\~ao geral e pref\'acio\addcolon}},% + byeditortr = {{edi\c{c}\~ao e tradu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao e tradu\c{c}\~ao\addcolon}},% + byeditorco = {{edi\c{c}\~ao e coment\'ario\addcolon}% + {edi\c{c}\~ao e coment\'ario\addcolon}},% + byeditoran = {{edi\c{c}\~ao e notas\addcolon}% + {edi\c{c}\~ao e notas\addcolon}},% + byeditorin = {{edi\c{c}\~ao e introdu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao e introdu\c{c}\~ao\addcolon}},% + byeditorfo = {{edi\c{c}\~ao e pref\'acio\addcolon}% + {edi\c{c}\~ao e pref\'acio\addcolon}},% + byeditoraf = {{edi\c{c}\~ao e posf\'acio\addcolon}% + {edi\c{c}\~ao e posf\'acio\addcolon}},% + byeditortrco = {{edi\c{c}\~ao, tradu\c{c}\~ao e coment\'ario\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao e coment\'ario\addcolon}},% + byeditortran = {{edi\c{c}\~ao, tradu\c{c}\~ao e notas\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao e notas\addcolon}},% + byeditortrin = {{edi\c{c}\~ao, tradu\c{c}\~ao e introdu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao e introdu\c{c}\~ao\addcolon}},% + byeditortrfo = {{edi\c{c}\~ao, tradu\c{c}\~ao e pref\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao e pref\'acio\addcolon}},% + byeditortraf = {{edi\c{c}\~ao, tradu\c{c}\~ao e posf\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao e posf\'acio\addcolon}},% + byeditorcoin = {{edi\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}},% + byeditorcofo = {{edi\c{c}\~ao, coment\'ario e pref\'acio\addcolon}% + {edi\c{c}\~ao, coment\'ario e pref\'acio\addcolon}},% + byeditorcoaf = {{edi\c{c}\~ao, coment\'ario e posf\'acio\addcolon}% + {edi\c{c}\~ao, coment\'ario e posf\'acio\addcolon}},% + byeditoranin = {{edi\c{c}\~ao, introdu\c{c}\~ao e notas\addcolon}% + {edi\c{c}\~ao, introdu\c{c}\~ao e notas\addcolon}},% + byeditoranfo = {{edi\c{c}\~ao, pref\'acio e notas\addcolon}% + {edi\c{c}\~ao, pref\'acio e notas\addcolon}},% + byeditoranaf = {{edi\c{c}\~ao, posf\'acio e notas\addcolon}% + {edi\c{c}\~ao, posf\'acio e notas\addcolon}},% + byeditortrcoin = {{edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}},% + byeditortrcofo = {{edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e pref\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e pref\'acio\addcolon}},% + byeditortrcoaf = {{edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e posf\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, coment\'ario e posf\'acio\addcolon}},% + byeditortranin = {{edi\c{c}\~ao, tradu\c{c}\~ao, notas e introdu\c{c}\~ao\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, notas e introdu\c{c}\~ao\addcolon}},% + byeditortranfo = {{edi\c{c}\~ao, tradu\c{c}\~ao, notas e pref\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, notas e pref\'acio\addcolon}},% + byeditortranaf = {{edi\c{c}\~ao, tradu\c{c}\~ao, notas e posf\'acio\addcolon}% + {edi\c{c}\~ao, tradu\c{c}\~ao, notas e posf\'acio\addcolon}},% + bytranslatorco = {{tradu\c{c}\~ao e coment\'ario\addcolon}% + {tradu\c{c}\~ao e coment\'ario\addcolon}},% + bytranslatoran = {{tradu\c{c}\~ao e notas\addcolon}% + {tradu\c{c}\~ao e notas\addcolon}},% + bytranslatorin = {{tradu\c{c}\~ao e introdu\c{c}\~ao\addcolon}% + {tradu\c{c}\~ao e introdu\c{c}\~ao\addcolon}},% + bytranslatorfo = {{tradu\c{c}\~ao e pref\'acio\addcolon}% + {tradu\c{c}\~ao e pref\'acio\addcolon}},% + bytranslatoraf = {{tradu\c{c}\~ao e posf\'acio\addcolon}% + {tradu\c{c}\~ao e posf\'acio\addcolon}},% + bytranslatorcoin = {{tradu\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}% + {tradu\c{c}\~ao, coment\'ario e introdu\c{c}\~ao\addcolon}},% + bytranslatorcofo = {{tradu\c{c}\~ao, coment\'ario e pref\'acio\addcolon}% + {tradu\c{c}\~ao, coment\'ario e pref\'acio\addcolon}},% + bytranslatorcoaf = {{tradu\c{c}\~ao, coment\'ario e posf\'acio\addcolon}% + {tradu\c{c}\~ao, coment\'ario e posf\'acio\addcolon}},% + bytranslatoranin = {{tradu\c{c}\~ao, notas e introdu\c{c}\~ao\addcolon}% + {tradu\c{c}\~ao, notas e introdu\c{c}\~ao\addcolon}},% + bytranslatoranfo = {{tradu\c{c}\~ao, notas e pref\'acio\addcolon}% + {tradu\c{c}\~ao, notas e pref\'acio\addcolon}},% + bytranslatoranaf = {{tradu\c{c}\~ao, notas e posf\'acio\addcolon}% + {tradu\c{c}\~ao, notas e posf\'acio\addcolon}},% +}% <<<3 + +% <<<2 + +% <<<1 + +\endinput% + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/british-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/british-abnt.lbx new file mode 100644 index 0000000000..dfa7d387b4 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/british-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{british-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{english-abnt} +\InheritBibliographyStrings{english-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/canadian-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/canadian-abnt.lbx new file mode 100644 index 0000000000..94fdd02823 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/canadian-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{canadian-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{english-abnt} +\InheritBibliographyStrings{english-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/english-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/english-abnt.lbx new file mode 100644 index 0000000000..41792e3a4e --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/english-abnt.lbx @@ -0,0 +1,184 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. +%% +%% Tradução para o espanhol de Juan-Ernesto Sepúlveda. Obrigado! + +\ProvidesFile{english-abnt.lbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + + +% Init >>> + +\InheritBibliographyExtras{english}% +\InheritBibliographyStrings{english} +\DeclareBibliographyStrings{% + inherit = {english},% +}% + +% <<< + +% No preposition between month and year >>>1 + +\DeclareBibliographyExtras{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#3}% + {}% + {\stripzeros{\thefield{#3}}% + \iffieldundef{#2}{}{\addspace}}% + \iffieldundef{#2}% + {}% + {\mkbibmonth{\thefield{#2}}% + \iffieldundef{#1}{}{\addspace}}% + \thefield{#1}}% +}% + +% <<< + +% Publication details >>>1 + +\NewBibliographyString{% + apud,% + sineloco,% + sinenomine,% + sheet,% + sheets,% + illustrated,% + monography,% + recensionof,% +}% + +\DeclareBibliographyStrings{% + apud = {{apud}{apud}},% + idem = {{idem}{id\adddot}},% + volume = {{volume}{v\adddot}},% + volumes = {{volumes}{v\adddot}},% + number = {{number}{n\adddot}},% + pages = {{pages}{p\adddot}},% + involumes = {{in}{in}},% + in = {{in}{in}},% + inseries = {{in}{in}},% + sineloco = {{sine loco}{s\adddot l\adddot}},% + sinenomine = {{sine nomine}{s\adddot n\adddot}},% + sheet = {{sheet}{s\adddot}},% + sheets = {{sheets}{s\adddot}},% + illustrated = {{illustrated}{il\adddot}},% + monography = {{monography}{monography}},% + recensionof = {{recension of}{recension of}},% + reviewof = {{review of}{review of}},% +}% + +% <<< + +% Roles expressed as functions >>>1 + +\NewBibliographyString{% + organizer,% + organizers,% + coordinator,% + coordinators,% +}% + +\DeclareBibliographyStrings{% + organizer = {{organizer}{org\adddot}},% + organizers = {{organizers}{org\adddot}},% + coordinator = {{coordinator}{coord\adddot}},% + coordinators = {{coordinators}{coord\adddot}},% +}% + +% <<< + +% Roles expressed as objects >>>1 + +\DeclareBibliographyStrings{% + withcommentator = {{commentary\addcolon}{commentary\addcolon}},% + withannotator = {{notes\addcolon}{notes\addcolon}},% + withintroduction = {{introduction\addcolon}{introduction\addcolon}},% + withforeword = {{foreword\addcolon}{foreword\addcolon}},% + withafterword = {{afterword\addcolon}{afterword\addcolon}},% +}% + +% <<< + +% Roles expressed as actions >>>1 + +\NewBibliographyString{% >>>2 + byorganizer,% + byorganizerfo,% + bytechrev,% + byupdater,% + byupdateran,% + byphotographer,% + byartdir,% + byrecorder,% + byinterviewer,% + bygenorg,% + bygenorgfo,% + bycoordinator,% + bycoeditor,% + bydirector,% + bygendir,% + byproducer,% + byscreenwriter,% + byinterpreter,% + byillustrator,% + bytechrev,% +}% <<< + +\DeclareBibliographyStrings{% >>>2 + byorganizer = {{organized by\addcolon}% + {organized by\addcolon}},% + byorganizerfo = {{organized, with a foreword, by\addcolon}% + {organized, with a foreword, by\addcolon}},% + bytechrev = {{technical revision by\addcolon}% + {technical revision by\addcolon}},% + byupdater = {{updated by\addcolon}% + {updated by\addcolon}},% + byupdateran = {{updated and annotated by\addcolon}% + {updated and annotated by\addcolon}},% + byphotographer = {{photography by\addcolon}% + {photography by\addcolon}},% + byartdir = {{art direction by\addcolon}% + {art direction by\addcolon}},% + byrecorder = {{recorded by\addcolon}% + {recorded by\addcolon}},% + byinterviewer = {{interviewed by\addcolon}% + {interviewed by\addcolon}},% + bygenorg = {{general organization by\addcolon}% + {general organization by\addcolon}},% + bygenorgfo = {{general organization and foreword by\addcolon}% + {general organization and foreword by\addcolon}},% + bycoordinator = {{coordinated by\addcolon}% + {coordinated by\addcolon}},% + bycoeditor = {{coedited by\addcolon}% + {coedited by\addcolon}},% + bydirector = {{directed by\addcolon}% + {directed by\addcolon}},% + bygendir = {{general direction by\addcolon}% + {general direction by\addcolon}},% + byproducer = {{produced by\addcolon}% + {produced by\addcolon}},% + byscreenwriter = {{script written by\addcolon}% + {script written by\addcolon}},% + byinterpreter = {{interpreted by\addcolon}% + {interpreted by\addcolon}},% + byillustrator = {{illustrated by\addcolon}% + {illustrated by\addcolon}},% +}% <<< + +% <<< + +\endinput% + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuges-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuges-abnt.lbx new file mode 100644 index 0000000000..f1ae7541c4 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuges-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{portuges-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{brazilian-abnt} +\InheritBibliographyStrings{brazilian-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuguese-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuguese-abnt.lbx new file mode 100644 index 0000000000..36baf6bc43 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/portuguese-abnt.lbx @@ -0,0 +1,21 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\ProvidesFile{portuguese-abnt.lbx} +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + +\InheritBibliographyExtras{brazilian-abnt} +\InheritBibliographyStrings{brazilian-abnt} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/spanish-abnt.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/spanish-abnt.lbx new file mode 100644 index 0000000000..a1ff9ed64f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/latex/lbx/spanish-abnt.lbx @@ -0,0 +1,339 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. +%% +%% Tradução para o espanhol de Juan-Ernesto Sepúlveda. Obrigado! + +\ProvidesFile{spanish-abnt.lbx}% +[2018-11-17\space v3.4\space ABNT BibLaTeX citation style]% + + +% Init >>> + +\InheritBibliographyExtras{spanish}% +\InheritBibliographyStrings{spanish}% +\DeclareBibliographyStrings{% + inherit = {spanish},% +}% + +% <<< + +% No preposition between month and year >>>1 + +\DeclareBibliographyExtras{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#3}% + {}% + {\stripzeros{\thefield{#3}}% + \iffieldundef{#2}{}{\addspace}}% + \iffieldundef{#2}% + {}% + {\mkbibmonth{\thefield{#2}}% + \iffieldundef{#1}{}{\addspace}}% + \thefield{#1}}% +}% + +% <<< + +% Publication details >>>1 + +\NewBibliographyString{% + apud,% + sineloco,% + sinenomine,% + sheet,% + sheets,% + illustrated,% + monography,% + recensionof,% +}% + +\DeclareBibliographyStrings{% + apud = {{apud}{apud}},% + idem = {{idem}{id\adddot}},% + volume = {{volumen}{v\adddot}},% + volumes = {{volumenes}{v\adddot}},% + number = {{n\'umero}{n\adddot}},% + pages = {{p\'aginas}{p\adddot}},% + involumes = {{in}{in}},% + in = {{in}{in}},% + inseries = {{in}{in}},% + sineloco = {{sine loco}{s\adddot l\adddot}},% + sinenomine = {{sine nomine}{s\adddot n\adddot}},% + urlfrom = {{disponible en}{disponible en}},% + urlseen = {{acceso en}{acceso en}},% + sheet = {{hoja}{h\adddot}},% + sheets = {{hojas}{h\adddot}},% + backrefpage = {{citado en la p\'agina}{citado en la p\adddot}},% + backrefpages = {{citado en las p\'aginas}{citado en las pp\adddot}},% + illustrated = {{ilustrado}{il\adddot}},% + monography = {{monograf\'ia}{monograf\'ia}},% + phdthesis = {{Tesis (Doctorado)}{Tesis (Doctorado)}},% + mathesis = {{Tesis (Mag\'ister)}{Tesis (Mag\'ister)}},% + reprintfrom = {{separata de}{separata de}},% + recensionof = {{recensi\'on de}{recensi\'on de}},% + reviewof = {{rese\~na de}{rese\~na de}},% +}% + +% <<< + +% Languages >>>1 + +\DeclareBibliographyStrings{% + langamerican = {{versi\'on americana}{versi\'on americana}},% + langbrazilian = {{versi\'on brasile\~na}{versi\'on brasile\~na}},% + langcatalan = {{versi\'on catalana}{versi\'on catalana}},% + langcroatian = {{versi\'on croata}{versi\'on croata}},% + langczech = {{versi\'on checa}{versi\'on checa}},% + langdanish = {{versi\'on danesa}{versi\'on danesa}},% + langdutch = {{versi\'on holandesa}{versi\'on holandesa}},% + langenglish = {{versi\'on inglesa}{versi\'on inglesa}},% + langfinnish = {{versi\'on finlandesa}{versi\'on finlandesa}},% + langfrench = {{versi\'on francesa}{versi\'on francesa}},% + langgerman = {{versi\'on alemana}{versi\'on alemana}},% + langgreek = {{versi\'on griega}{versi\'on griega}},% + langitalian = {{versi\'on italiana}{versi\'on italiana}},% + langlatin = {{versi\'on latina}{versi\'on latina}},% + langnorwegian = {{versi\'on noruega}{versi\'on noruega}},% + langpolish = {{versi\'on polaca}{versi\'on polaca}},% + langportuguese = {{versi\'on portuguesa}{versi\'on portuguesa}},% + langrussian = {{versi\'on rusa}{versi\'on rusa}},% + langslovene = {{versi\'on eslovena}{versi\'on eslovena}},% + langspanish = {{versi\'on espa\~nola}{versi\'on espa\~nola}},% + langswedish = {{versi\'on sueca}{versi\'on sueca}},% + fromamerican = {{del original ingl\'es}{del original ingl\'es}},% + frombrazilian = {{del original portugu\'es}{del original portugu\'es}},% + fromcatalan = {{del original catalana}{del original catalana}},% + fromcroatian = {{del original croata}{del original croata}},% + fromczech = {{del original checo}{del original checo}},% + fromdanish = {{del original dan\'es}{del original dan\'es}},% + fromdutch = {{del original holand\'es}{del original holand\'es}},% + fromenglish = {{del original ingl\'es}{del original ingl\'es}},% + fromfinnish = {{del original finland\'es}{del original finland\'es}},% + fromfrench = {{del original franc\'es}{del original franc\'es}},% + fromgerman = {{del original alem\'an}{del original alem\'an}},% + fromgreek = {{del original griego}{del original griego}},% + fromitalian = {{del original italiano}{del original italiano}},% + fromlatin = {{del original em latin}{del original em latin}},% + fromnorwegian = {{del original noruego}{del original noruego}},% + frompolish = {{del original polaco}{del original polaco}},% + fromportuguese = {{del original portugu\'es}{del original portugu\'es}},% + fromrussian = {{del original ruso}{del original ruso}},% + fromslovene = {{del original esloveno}{del original esloveno}},% + fromspanish = {{del original espa\~nol}{del original espa\~nol}},% + fromswedish = {{del original sueco}{del original sueco}},% +}% + +% <<< + +% Roles expressed as functions >>>1 + +\NewBibliographyString{% + organizer,% + organizers,% + coordinator,% + coordinators,% +}% + +\DeclareBibliographyStrings{% + editors = {{editores}{ed\adddot}},% + collaborators = {{colaboradores}{col\adddot}},% + translators = {{traductores}{trad\adddot}},% + commentators = {{comentadores}{coment\adddot}},% + annotators = {{anotadores}{anot\adddot}},% + organizer = {{organizador}{org\adddot}},% + organizers = {{organizadores}{org\adddot}},% + coordinator = {{coordinador}{coord\adddot}},% + coordinators = {{coordinadores}{coord\adddot}},% +}% + +% <<< + +% Roles expressed as objects >>>1 + +\DeclareBibliographyStrings{% + withcommentator = {{comentario\addcolon}{comentario\addcolon}},% + withannotator = {{notas\addcolon}{notas\addcolon}},% + withintroduction = {{introducci\'on\addcolon}{introducci\'on\addcolon}},% + withforeword = {{prefacio\addcolon}{prefacio\addcolon}},% + withafterword = {{postfacio\addcolon}{postfacio\addcolon}},% +}% + +% <<< + +% Roles expressed as actions >>>1 + +\NewBibliographyString{% >>>2 + byorganizer,% + byorganizerfo,% + bytechrev,% + byupdater,% + byupdateran,% + byphotographer,% + byartdir,% + byrecorder,% + byinterviewer,% + bygenorg,% + bygenorgfo,% + bycoordinator,% + bycoeditor,% + bydirector,% + bygendir,% + byproducer,% + byscreenwriter,% + byinterpreter,% + byillustrator,% + bytechrev,% +}% <<< + +\DeclareBibliographyStrings{% >>>2 + bycoeditor = {{co-edici\'on\addcolon}% + {co-edici\'on\addcolon}},% + bydirector = {{direcci\'on\addcolon}% + {direcci\'on\addcolon}},% + bygendir = {{direcci\'on general\addcolon}% + {direcci\'on general\addcolon}},% + bycoordinator = {{coordinaci\'ono\addcolon}% + {coordinaci\'on\addcolon}},% + byproducer = {{producci\'on\addcolon}% + {producci\'on\addcolon}},% + byscreenwriter = {{gui\'on\addcolon}% + {gui\'on\addcolon}},% + byinterpreter = {{interpretaci\'on\addcolon}% + {interpretaci\'on\addcolon}},% + byillustrator = {{ilustraciones\addcolon}% + {ilustraciones\addcolon}},% + byorganizer = {{organizador\addcolon}% + {organizador\addcolon}},% + bytechrev = {{revisi\'on t\'ecnica\addcolon}% + {revisi\'on t\'ecnica\addcolon}},% + byartdir = {{direcci\'on art\'istica\addcolon}% + {direcci\'on art\'istica\addcolon}},% + byinterviewer = {{entrevista por}% + {entrevista por}},% + byrecorder = {{gravaci\'on\addcolon}% + {gravaci\'on\addcolon}},% + byphotographer = {{fotograf\'ia\addcolon}% + {fotograf\'ia\addcolon}},% + bygenorg = {{organizaci\'on general\addcolon}% + {organizaci\'on general\addcolon}},% + byauthor = {{por}% + {por}},% + byeditor = {{edici\'on\addcolon}% + {edici\'on\addcolon}},% + bycompiler = {{compilaci\'on\addcolon}% + {compilaci\'on\addcolon}},% + byredactor = {{redactado por}% + {redactado por}},% + byreviser = {{revisi\'on\addcolon}% + {revisis\'on\addcolon}},% + bytechrev = {{revisi\'on t\'ecnica\addcolon}% + {revisi\'on t\'ecnica\addcolon}},% + byreviewer = {{rese\~na\addcolon}% + {rese\~na\addcolon}},% + byfounder = {{fundado por}% + {fundado por}},% + bycontinuator = {{continuado por}% + {continuado por}},% + bycollaborator = {{en colaboraci\'on con}% + {en colaboraci\'on com}},% + bytranslator = {{traducci\'on\addcolon}% + {traducci\'ono\addcolon}},% + bycommentator = {{comentario\addcolon}% + {comentario\addcolon}},% + byannotator = {{notas\addcolon}% + {notas\addcolon}},% + byupdateran = {{actualizaci\'on y notas\addcolon}% + {actualizaci\'on y notas\addcolon}},% + byupdater = {{actualizaci\'on\addcolon}% + {actualizaci\'on\addcolon}},% + byorganizerfo = {{organizaci\'on y prefacio\addcolon}% + {organizaci\'on y prefacio\addcolon}},% + bygenorgfo = {{organizaci\'on general y prefacio\addcolon}% + {organizaci\'on general y prefacio\addcolon}},% + byeditortr = {{edici\'on y traducci\'on\addcolon}% + {edici\'on y traducci\'on\addcolon}},% + byeditorco = {{edici\'on y comentario\addcolon}% + {edici\'on y comentario\addcolon}},% + byeditoran = {{edici\'on y notas\addcolon}% + {edici\'on y notas\addcolon}},% + byeditorin = {{edici\'on y introducci\'on\addcolon}% + {edici\'on y introducci\'on\addcolon}},% + byeditorfo = {{edici\'on y prefacio\addcolon}% + {edici\'on y prefacio\addcolon}},% + byeditoraf = {{edici\'on y postfacio\addcolon}% + {edici\'on y postfacio\addcolon}},% + byeditortrco = {{edici\'on, traducci\'on y comentario\addcolon}% + {edici\'on, traducci\'on y comentario\addcolon}},% + byeditortran = {{edici\'on, traducci\'on y notas\addcolon}% + {edici\'on, traducci\'on y notas\addcolon}},% + byeditortrin = {{edici\'on, traducci\'on y introducci\'on\addcolon}% + {edici\'on, traducci\'on y introducci\'on\addcolon}},% + byeditortrfo = {{edici\'on, traducci\'on y prefacio\addcolon}% + {edici\'on, traducci\'on y prefacio\addcolon}},% + byeditortraf = {{edici\'on, traducci\'on y postfacio\addcolon}% + {edici\'on, traducci\'on y postfacio\addcolon}},% + byeditorcoin = {{edici\'on, comentario y introducci\'on\addcolon}% + {edici\'on, comentario y introducci\'on\addcolon}},% + byeditorcofo = {{edici\'on, comentario y prefacio\addcolon}% + {edici\'on, comentario y prefacio\addcolon}},% + byeditorcoaf = {{edici\'on, comentario y postfacio\addcolon}% + {edici\'on, comentario y postfacio\addcolon}},% + byeditoranin = {{edici\'on, introducci\'on y notas\addcolon}% + {edici\'on, introducci\'on y notas\addcolon}},% + byeditoranfo = {{edici\'on, prefacio y notas\addcolon}% + {edici\'on, prefacio y notas\addcolon}},% + byeditoranaf = {{edici\'on, postfacio y notas\addcolon}% + {edici\'on, postfacio y notas\addcolon}},% + byeditortrcoin = {{edici\'on, traducci\'on, comentario y introducci\'on\addcolon}% + {edici\'on, traducci\'on, comentario y introducci\'on\addcolon}},% + byeditortrcofo = {{edici\'on, traducci\'on, comentario y prefacio\addcolon}% + {edici\'on, traducci\'on, comentario y prefacio\addcolon}},% + byeditortrcoaf = {{edici\'on, traducci\'on, comentario y postfacio\addcolon}% + {edici\'on, traducci\'on, comentario y postfacio\addcolon}},% + byeditortranin = {{edici\'on, traducci\'on, notas y introducci\'on\addcolon}% + {edici\'on, traducci\'on, notas y introducci\'on\addcolon}},% + byeditortranfo = {{edici\'on, traducci\'on, notas y prefacio\addcolon}% + {edici\'on, traducci\'on, notas y prefacio\addcolon}},% + byeditortranaf = {{edici\'on, traducci\'on, notas y postfacio\addcolon}% + {edici\'on, traducci\'on, notas y postfacio\addcolon}},% + bytranslatorco = {{traducci\'on y comentario\addcolon}% + {traducci\'on y comentario\addcolon}},% + bytranslatoran = {{traducci\'on y notas\addcolon}% + {traducci\'on y notas\addcolon}},% + bytranslatorin = {{traducci\'on y introducci\'on\addcolon}% + {traducci\'on y introducci\'on\addcolon}},% + bytranslatorfo = {{traducci\'on y prefacio\addcolon}% + {traducci\'on y prefacio\addcolon}},% + bytranslatoraf = {{traducci\'on y postfacio\addcolon}% + {traducci\'on y postfacio\addcolon}},% + bytranslatorcoin = {{traducci\'on, comentario y introducci\'on\addcolon}% + {traducci\'on, comentario y introducci\'on\addcolon}},% + bytranslatorcofo = {{traducci\'on, comentario y prefacio\addcolon}% + {traducci\'on, comentario y prefacio\addcolon}},% + bytranslatorcoaf = {{traducci\'on, comentario y postfacio\addcolon}% + {traducci\'on, comentario y postfacio\addcolon}},% + bytranslatoranin = {{traducci\'on, notas y introducci\'on\addcolon}% + {traducci\'on, notas y introducci\'on\addcolon}},% + bytranslatoranfo = {{traducci\'on, notas y prefacio\addcolon}% + {traducci\'on, notas y prefacio\addcolon}},% + bytranslatoranaf = {{traducci\'on, notas y postfacio\addcolon}% + {traducci\'on, notas y postfacio\addcolon}},% +}% <<< + +% <<< + +\endinput% + +% vim: set foldmarker=\ >>>,\ <<< : + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002.tex b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002.tex new file mode 100644 index 0000000000..583442f9d3 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002.tex @@ -0,0 +1,199 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\documentclass[a4paper]{article} +\usepackage[brazil]{babel} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{textcomp} +\usepackage{microtype} +\usepackage{etoolbox} +\usepackage{xcolor} + +\usepackage[backend=biber, style=abnt]{biblatex} +\usepackage[autostyle]{csquotes} + +\addbibresource{../bibtex/bib/biblatex-abnt/NBR10520-2002.bib} + +\setlength{\parskip}{\baselineskip}% +\setlength{\parindent}{0pt}% +\emergencystretch=1em + +\makeatletter +\newcommand{\globalcolor}[1]{% + \color{#1}\global\let\default@color\current@color +} +\makeatother +\AtBeginDocument{\iftoggle{reference}{}{\globalcolor{red!50}}} + +\usepackage{hyperref} + + +\newtoggle{reference} +\toggletrue{reference} + +\title{NBR 10520:2002 - \iftoggle{reference}{Referência}{Teste}} +\author{Daniel Ballester Marques} + +\begin{document} + +\frenchspacing + +\maketitle + +Este documento imprime \textit{ipsis litteris} todas as entradas citadas na +NBR 10520:2002 usando o sistema autor-data. + +\tableofcontents + +\clearpage + +\setcounter{section}{5} + +\section{Regras gerais de apresentação} + +A ironia seria assim uma forma implícita de heterogeneidade mostrada, conforme +a classificação proposta por \textcite{authier1982}. + +\enquote{Apesar das aparências, a desconstrução do logocentrismo não é uma +psicanálise da filosofia [\ldots]} \cite[293]{derrida1967}. + +A produção de lítio começa em Searles Lake, Califórnia, em 1928 +\cite[513]{mumford1949}. + +\textcite[146]{oliveira1943} dizem que a \enquote{[\ldots] relação da série +São Roque com os granitos porfiróides pequenos é muito clara.} + +Meyer parte de uma passagem da crônica de \enquote{14 de maio}, de A Semana: +\enquote{Houve sol, e grande sol, naquele domingo de 1888, em que o Senado +votou a lei, que a regente sancionou [\ldots]} \cite[v. 3, p. 583]{assis1994}. + +\textcite[35]{barbour1971} descreve: \enquote{O estudo da morfologia dos +terrenos [\ldots] ativos [\ldots]} + +\enquote{Não se mova, faça de conta que está morta.} \cite[72]{clarac1985}. + +Segundo \textcite[27]{sa1995}: \enquote{[\ldots] por meio da mesma \enquote{arte de +conversação} que abrange tão extensa e significativa parte da nossa existência +cotidiana [\ldots]} + +A teleconferência permite ao indivíduo participar de um encontro nacional ou +regional sem a necessidade de deixar seu local de origem. Tipos comuns de +teleconferência incluem o uso da televisão, telefone, e computador. Através de +áudio-conferência, utilizando a companhia local de telefone, um sinal de áudio +pode ser emitido em um salão de qualquer dimensão. \cite[181]{nichols1993}. + +\enquote{[\ldots] para que não tenha lugar a producção de degenerados, quer +physicos quer moraes, misérias, verdadeiras ameaças à sociedade.} \cite[p. 46, +grifo nosso]{souto1916}. + +\enquote{[\ldots] b) desejo de criar uma literatura independente, diversa, de +vez que, aparecendo o classicismo como manifestação de passado colonial +[\ldots]} \cite[v. 2, p. 12, grifo do autor]{candido1993}. + +\enquote{Ao fazê-lo pode estar envolto em culpa, perversão, ódio de si mesmo +[\ldots] pode julgar-se pecador e identificar-se com seu pecado.} \cite[v. 4, +p. 463, tradução nossa]{rahner1962}. + + +\section{Sistema de chamada} + +Em \citetitle{teatro1963} relata-se a emergência do teatro do absurdo. + +Segundo \textcite[32]{morais1955} assinala \enquote{[\ldots] a presença de +concreções de bauxita no Rio Cricon.} + +\cite{barbosa1958} + +\cite{barbosa1959} + +\cite{barbosa1965a} + +\cite{barbosa1965b} + +De acordo com \textcite{reeside1927a} + +\cite{reeside1927b} + +\cites{dreyfuss1989}{dreyfuss1991}{dreyfuss1995} + +\cites{cruz1998}{cruz1999}{cruz2000} + +Ela polariza e encaminha, sob a forma de \enquote{demanda coletiva}, as +necessidades de todos \cites{fonseca1997}{paiva1997}{silva1997}. + +Diversos autores salientam a importância do \enquote{acontecimento +desencadeador} no início de um processo de aprendizagem +\cites{cross1984}{knox1986}{mezirow1991}. + +A chamada \enquote{pandectística havia sido a forma particular pela qual +o direito romano fora integrado no século XIX na Alemanha em particular.} +\cite[225]{lopes2000}. + +\textcite[30]{bobbio1995} com muita propriedade nos lembra, ao comentar esta +situação, que os \enquote{juristas medievais justificaram formalmente + a validade do direito romano ponderando que este era o direito do Império + Romano que tinha sido reconstituído por Carlos Magno com o nome de Sacro +Império Romano.} + +De fato, semelhante equacionamento do problema conteria o risco de se +considerar a literatura meramente como uma fonte a mais de conteúdos já +previamente disponíveis, em outros lugares, para a teologia +\cite[3]{jossua1976}. + +\textcite{merriam1991} observam que a localização de recursos tem um papel +crucial no processo de aprendizagem autodirigida. + +\enquote{Comunidade tem que poder ser intercambiada em qualquer circunstância, +sem quaisquer restrições estatais, pelas moedas dos outros Estados-membros.} +\cite[34]{comissao1992}. + +O mecanismo proposto para viabilizar esta concepção é o chamado Contrato de +Gestão, que conduziria à captação de recursos privados como forma de reduzir +os investimentos públicos no ensino superior \cite{brasil1995}. + +\enquote{As IES implementarão mecanismos democráticos, legítimos +e transparentes de avaliação sistemática das suas atividades, levando em conta +seus objetivos institucionais e seus compromissos para com a sociedade.} +\cite[55]{anteprojeto1987}. + +E eles disseram \enquote{globalização}, e soubemos que era assim que chamavam +a ordem absurda em que dinheiro é a única pátria à qual se serve e as +fronteiras se diluem, não pela fraternidade, mas pelo sangramento que engorda +poderosos sem nacionalidade. \cite[4]{aflor1995}. + +\enquote{Em Nova Londrina (PR), as crianças são levadas às lavouras a partir +dos 5 anos.} \cite[12]{noscanaviais1995}. + + +\section{Notas de rodapé} + +Segundo \textapud{silva1983}[3]{abreu1999} diz ser [\ldots] + +\enquote{[\ldots] o viés organicista da burocracia estatal e o antiliberalismo +da cultura política de 1937, preservado de modo encapuçado na Carta de 1946.} +\apud[172]{vianna1986}[214--215]{segatto1995}. + +No modelo serial de \textapud{gough1972}{nardi1993}, o ato de ler envolve um +processamento serial que começa com uma fixação ocular sobre o texto, +prosseguindo da esquerda para a direita de forma linear. + +\setcounter{footnote}{3} +Os pais estão sempre confrontados diante das duas alternativas: vinculação +escolar ou vinculação profissional.\footcite[Sobre essa opção dramática, ver +também][269--290]{morice1996} + +\end{document} + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_reference.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_reference.pdf Binary files differnew file mode 100644 index 0000000000..04f1ee064e --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_reference.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_test.tex b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_test.tex new file mode 100644 index 0000000000..7ad1af0e51 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR10520-2002_test.tex @@ -0,0 +1,24 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\documentclass{article} + +\usepackage{pdfpagediff} + +\begin{document} + +\layerPages{NBR10520-2002.pdf}{NBR10520-2002_reference.pdf} + +\end{document} + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002.tex b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002.tex new file mode 100644 index 0000000000..00356bc3a8 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002.tex @@ -0,0 +1,220 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\documentclass[a4paper]{article} +\usepackage[brazil]{babel} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{textcomp} +\usepackage{microtype} +\usepackage{etoolbox} +\usepackage{xcolor} + +\usepackage[style=abnt, sorting=none, repeatfirstfields]{biblatex} +\usepackage[autostyle]{csquotes} + +\addbibresource{../bibtex/bib/biblatex-abnt/NBR6023-2002.bib} + +\defbibheading{bibliography}[]{\subsection{#1}} + +\defbibenvironment{bibliography} + {\list{}{% + \leftmargin 6em + \itemsep\bibitemsep + \parsep\bibparsep}} + {\endlist} + {\item} + +\defbibheading{subbib}[]{\subsubsection{#1}} + +\let\origsection\section +\renewcommand\section{\clearpage\origsection} + +\makeatletter +\newcommand{\globalcolor}[1]{% + \color{#1}\global\let\default@color\current@color +} +\makeatother +\AtBeginDocument{\iftoggle{reference}{}{\globalcolor{red!50}}} + + +\newtoggle{reference} +\toggletrue{reference} + +\title{NBR 6023:2002 - \iftoggle{reference}{Referência}{Teste}} +\author{Daniel Ballester Marques} + +\begin{document} + +\maketitle + +Este documento imprime \textit{ipsis litteris} todas as entradas citadas na +NBR 6023:2002, da ABNT. + +Para expor as diferentes maneiras como cada campo pode ser usado, a ABNT +imprime-os de modo diferente a cada entrada. A vantagem dos sistemas como +o \texttt{biblatex}, por outro lado, é \emph{uniformizar} a bibliografia, +imprimindo os campos do mesmo modo em todas as entradas. Para reproduzir +fielmente o texto do manual, este documento faz \emph{mau uso} dos recursos do +\texttt{biblatex}, aproveitando-se frequentemente de campos que devem ser +evitados, como \texttt{note}, \texttt{addendum}, \texttt{nameaddon}, +\texttt{titleaddon} et al. Ele não deve ser usado, portanto, como referência +para o uso do \texttt{biblatex-abnt}, mas apenas como exemplo de suas +capacidades, mostrando que é possível (embora não seja recomendado) reproduzir +todas as entradas do manual e expondo o modo de fazê-lo. Para o uso correto do +\texttt{biblatex-abnt}, conferir o manual do estilo e o manual do próprio +\texttt{biblatex}. + +\tableofcontents + +\nocite{*} + + +\setcounter{section}{6} + +\section{Modelos de referências} + + + \printbibliography[keyword=7.1, title={Monografia no todo}] + + \printbibliography[keyword=7.2, + title={Monografia no todo em meio eletrônico}] + + \printbibliography[keyword=7.3, title={Parte de monografia}] + + \printbibliography[keyword=7.4, + title={Parte de monografia em meio eletrônico}] + + \subsection{Publicação periódica} + + \printbibliography[heading=subbib, keyword=7.5.1, + title={Publicação periódica como um todo}] + \printbibliography[heading=subbib, keyword=7.5.2, + title={Partes de revista, boletim etc.}] + \printbibliography[heading=subbib, keyword=7.5.3, + title={Artigo e/ou matéria de revista, boletim etc.}] + \printbibliography[heading=subbib, keyword=7.5.4, + title={Artigo e/ou matéria de revista, + boletim etc.\ em meio eletrônico}] + \printbibliography[heading=subbib, keyword=7.5.5, + title={Artigo e/ou matéria de jornal}] + + \printbibliography[heading=subbib, keyword=7.5.6, + title={Artigo e/ou matéria de jornal em meio eletrônico}] + + \subsection{Evento como um todo} + + \printbibliography[heading=subbib, keyword=7.6.1, + title={Elementos essenciais}] + \printbibliography[heading=subbib, keyword=7.6.2, + title={Elementos complementares}] + \printbibliography[heading=subbib, keyword=7.6.3, + title={Evento como um todo em meio eletrônico}] + + \subsection{Trabalho apresentado em evento} + + \printbibliography[heading=subbib, keyword=7.7.1, + title={Elementos essenciais}] + \printbibliography[heading=subbib, keyword=7.7.2, + title={Elementos complementares}] + \printbibliography[heading=subbib, keyword=7.7.3, + title={Trabalho apresentado em evento em meio eletrônico}] + + \printbibliography[keyword=7.8, title={Patente}] + + \subsection{Documento jurídico} + + \printbibliography[heading=subbib, keyword=7.9.1, title={Legislação}] + \printbibliography[heading=subbib, keyword=7.9.2, + title={Jurisprudência (decisões judiciais)}] + \printbibliography[heading=subbib, keyword=7.9.3, title={Doutrina}] + \printbibliography[heading=subbib, keyword=7.9.4, + title={Documento jurídico em meio eletrônico}] + + \printbibliography[keyword=7.10, title={Imagem em movimento}] + + \subsection{Documento iconográfico} + + \printbibliography[heading=subbib, keyword=7.11.1, + title={Elementos essenciais}] + \printbibliography[heading=subbib, keyword=7.11.2, + title={Elementos complementares}] + \printbibliography[heading=subbib, keyword=7.11.3, + title={Documento iconográfico em meio eletrônico}] + + \subsection{Documento cartográfico} + + \printbibliography[heading=subbib, keyword=7.12.1, + title={Elementos essenciais}] + \printbibliography[heading=subbib, keyword=7.12.2, + title={Elementos complementares}] + \printbibliography[heading=subbib, keyword=7.12.3, + title={Documento cartográfico em meio eletrônico}] + + \printbibliography[keyword=7.13, title={Documento sonoro no todo}] + + \printbibliography[keyword=7.14, title={Documento sonoro em parte}] + + \subsection{Partitura} + + \printbibliography[heading=subbib, keyword=7.15.1, + title={Elementos essenciais}] + \printbibliography[heading=subbib, keyword=7.15.2, + title={Elementos complementares}] + \printbibliography[heading=subbib, keyword=7.15.3, + title={Partitura em meio eletrônico}] + + \printbibliography[keyword=7.16, title={Documento tridimensional}] + + \printbibliography[keyword=7.17, + title={Documento de acesso exclusivo em meio eletrônico}] + + \section{Transcrição dos elementos} + + \subsection{Autoria} + + \printbibliography[heading=subbib, keyword=8.1.1, title={Autor pessoal}] + \printbibliography[heading=subbib, keyword=8.1.2, title={Autor entidade}] + \printbibliography[heading=subbib, keyword=8.1.3, + title={Autoria desconhecida}] + + \printbibliography[keyword=8.2, title={Título e subtítulo}] + + \printbibliography[keyword=8.3, title={Edição}] + + \printbibliography[keyword=8.4, title={Local}] + + \printbibliography[keyword=8.5, title={Editora}] + + \printbibliography[keyword=8.6, title={Data}] + + \printbibliography[keyword=8.7, title={Descrição física}] + + \printbibliography[keyword=8.8, title={Ilustrações}] + + \printbibliography[keyword=8.9, title={Dimensões}] + + \printbibliography[keyword=8.10, title={Séries e coleções}] + + \printbibliography[keyword=8.11, title={Notas}] + + \section{Ordenação das referências} + + \printbibliography[keyword=9.1, title={Sistema alfabético}] + + \printbibliography[keyword=9.2, title={Sistema numérico}] + + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_reference.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_reference.pdf Binary files differnew file mode 100644 index 0000000000..cf687927be --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_reference.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_test.tex b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_test.tex new file mode 100644 index 0000000000..28711b57cb --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/NBR6023-2002_test.tex @@ -0,0 +1,24 @@ +%% Copyright 2016 Daniel Ballester Marques +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel Ballester Marques. + +\documentclass{article} + +\usepackage{pdfpagediff} + +\begin{document} + +\layerPages{NBR6023-2002.pdf}{NBR6023-2002_reference.pdf} + +\end{document} + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/README.md new file mode 100644 index 0000000000..317875723b --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/README.md @@ -0,0 +1,33 @@ + +# biblatex-abnt/tests + +- The files `NBR10520-2002.tex` and `NBR6023-2002.tex` use the biblatex-abnt + style to print every entry mentioned on the respective ABNT rules. + +- The files `NBR10520-2002_reference.pdf` and `NBR6023-2002_reference.pdf` are + the latest compilation of the files above that was manually checked against + ABNT's rules and confirmed to be accurate. + +- The files `NBR10520-2002_test.tex` and `NBR6023-2002_test.tex` compare the + reference files with a current compilation (which has to be generated from + the original tex files), making it easy to check if the style has strayed + from the rules. + +- The `test.sh` script automates that last step. + +--- + +- Os arquivos `NBR10520-2002.tex` e `NBR6023-2002.tex` usam o biblatex-abnt + para imprimir todas as entradas citadas nas respectivas normas. + +- Os arquivos `NBR10520-2002_reference.pdf` e `NBR6023-2002_reference.pdf` são + a última compilação dos arquivos acima que foi manualmente comparada à norma + da ABNT com um resultado favorável. + +- Os arquivos `NBR10520-2002_test.tex` e `NBR6023-2002_test.tex` comparam os + arquivos de referência com uma compilação atual (que deve ser gerada + a partir dos arquivos tex originais), permitindo visualizar facilmente os + pontos em que o estilo distanciou-se da norma. + +- O script `test.sh` automatiza esse último passo. + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/test.sh b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/test.sh new file mode 100755 index 0000000000..8b5ff1f4ac --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/test.sh @@ -0,0 +1,65 @@ +#!/bin/bash + +set -e + +echo "Running tests..." + +pass=true + + +sed -i.bak 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR10520-2002.tex +pdflatex -draftmode -interaction=batchmode NBR10520-2002.tex +biber NBR10520-2002 +pdflatex -draftmode -interaction=batchmode NBR10520-2002.tex +pdflatex -interaction=batchmode NBR10520-2002.tex +pdflatex -interaction=batchmode NBR10520-2002_test.tex +sed -i.bak 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR10520-2002.tex + +while read -r line ; do + C=$(echo $line | awk '{print $1}') + Y=$(echo $line | awk '{print $2}') + M=$(echo $line | awk '{print $3}') + if [ "$C" != 0.00000 ] || [ "$Y" != 0.00000 ] || [ "$M" != 0.00000 ] ; then + pass=false + fi +done < <(gs -q -o - -sDEVICE=inkcov NBR10520-2002_test.pdf | sed -e '1d') + + +sed -i.bak 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR6023-2002.tex +pdflatex -draftmode -interaction=batchmode NBR6023-2002.tex +biber NBR6023-2002 +pdflatex -draftmode -interaction=batchmode NBR6023-2002.tex +pdflatex -draftmode -interaction=batchmode NBR6023-2002.tex +pdflatex -interaction=batchmode NBR6023-2002.tex +pdflatex -interaction=batchmode NBR6023-2002_test.tex +sed -i.bak 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR6023-2002.tex + +while read -r line ; do + C=$(echo $line | awk '{print $1}') + Y=$(echo $line | awk '{print $2}') + M=$(echo $line | awk '{print $3}') + if [ "$C" != 0.00000 ] || [ "$Y" != 0.00000 ] || [ "$M" != 0.00000 ] ; then + pass=false + fi +done < <(gs -q -o - -sDEVICE=inkcov NBR6023-2002_test.pdf | sed -e '1d') + + +if [ "$pass" = true ] ; then + echo "ALL GOOD!" + exit 0 +else + echo "" + echo "OOPS, THERE'S SOMETHING WRONG!" + echo "" + echo "NBR10520-2002_test.pdf" + gs -q -o - -sDEVICE=inkcov NBR10520-2002_test.pdf + echo "" + echo "NBR6023-2002_test.pdf" + gs -q -o - -sDEVICE=inkcov NBR6023-2002_test.pdf + echo "" + curl --upload-file ./NBR6023-2002_test.pdf https://transfer.sh/ + echo "" + curl --upload-file ./NBR10520-2002_test.pdf https://transfer.sh/ + exit 1 +fi + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/texlive.sh b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/texlive.sh new file mode 100644 index 0000000000..ec338703a8 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-abnt/tests/texlive.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz +tar -xzf install-tl-unx.tar.gz +cd install-tl-20* + +cat << EOF >> texlive.profile +selected_scheme scheme-minimal +TEXDIR /tmp/texlive +TEXMFCONFIG ~/.texlive/texmf-config +TEXMFHOME ~/texmf +TEXMFLOCAL /tmp/texlive/texmf-local +TEXMFSYSCONFIG /tmp/texlive/texmf-config +TEXMFSYSVAR /tmp/texlive/texmf-var +TEXMFVAR ~/.texlive/texmf-var +option_doc 0 +option_src 0 +EOF + +./install-tl --no-verify-downloads --profile=./texlive.profile +export PATH=/tmp/texlive/bin/x86_64-linux:$PATH + +tlmgr --no-verify-downloads install latex-bin lm ec biblatex biber babel babel-portuges \ + hyphen-portuguese logreq xstring xpatch csquotes substr pdfpagediff \ + microtype graphics etoolbox xcolor oberdiek url l3packages hyperref \ + geometry l3kernel + |