oxedyne/fe2o3/fe2o3_text/tests/data/csl/corpus/bibliography_style.csl
43.9 KiB, 1 run
created by r1870400018:72758, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Estilo CSL — ABNT |
| 5 | NBR 6023:2025 (referências bibliográficas) |
| 6 | NBR 10520:2023 (citações em documentos) |
| 7 | Sistema: autor-data |
| 8 | |
| 9 | Para citações em prosa ("Silva, Souza e Oliveira (2023)"), use o arquivo |
| 10 | bibliography_style_prose.csl em conjunto com cite(form: "prose") no Typst. |
| 11 | --> |
| 12 | |
| 13 | <!-- |
| 14 | Nota sobre sobrenomes compostos: |
| 15 | o atributo demote-non-dropping-particle="never" preserva partículas como "Van", "De", "Von" no |
| 16 | lugar original sem desmontagem. |
| 17 | --> |
| 18 | |
| 19 | <style |
| 20 | xmlns="http://purl.org/net/xbiblio/csl" |
| 21 | version="1.0.2" |
| 22 | class="in-text" |
| 23 | demote-non-dropping-particle="never" |
| 24 | default-locale="pt-BR" |
| 25 | > |
| 26 | |
| 27 | <!-- ============================================================ |
| 28 | Metadados. |
| 29 | ============================================================ --> |
| 30 | |
| 31 | <info> |
| 32 | <title>ABNT — NBR 6023:2025 (Português - Brasil)</title> |
| 33 | <title-short>ABNT</title-short> |
| 34 | <id>https://gabdumal.com/csl/abnt-nbr6023-2025</id> |
| 35 | <link href="https://gabdumal.com/csl/abnt-nbr6023-2025" rel="self" /> |
| 36 | |
| 37 | <!-- Autores do estilo-base original (Zotero ABNT). --> |
| 38 | <contributor> |
| 39 | <name>Juliana Geyna Régis</name> |
| 40 | <email>juliana.regis@ipea.gov.br</email> |
| 41 | </contributor> |
| 42 | <contributor> |
| 43 | <name>Lucas Mation</name> |
| 44 | <email>lucas.mation@ipea.gov.br</email> |
| 45 | </contributor> |
| 46 | <contributor> |
| 47 | <name>Eduardo Michelotti Bettoni</name> |
| 48 | <email>webtur@ufpr.br</email> |
| 49 | </contributor> |
| 50 | <contributor> |
| 51 | <name>Paulo Augusto Nascimento</name> |
| 52 | <email>paulo.nascimento@ipea.gov.br</email> |
| 53 | </contributor> |
| 54 | <contributor> |
| 55 | <name>Iuri Gavronski</name> |
| 56 | <email>iuri at ufrgs dot br</email> |
| 57 | </contributor> |
| 58 | <contributor> |
| 59 | <name>José Antonio Meira da Rocha</name> |
| 60 | <email>joseantoniorocha@gmail.com</email> |
| 61 | <uri>http://meiradarocha.jor.br</uri> |
| 62 | </contributor> |
| 63 | <contributor> |
| 64 | <name>Mario José</name> |
| 65 | <email>gnumario [at-mark] gmail [dot-mark] com</email> |
| 66 | </contributor> |
| 67 | <contributor> |
| 68 | <name>Pedro P. Palazzo</name> |
| 69 | <email>palazzo@unb.br</email> |
| 70 | <uri>https://palazzo.pt</uri> |
| 71 | </contributor> |
| 72 | <contributor> |
| 73 | <name>Daniel Corrêa Lobato</name> |
| 74 | <email>daniel@lobato.org</email> |
| 75 | </contributor> |
| 76 | |
| 77 | <!-- Refatoração e atualização para NBR 6023:2025. --> |
| 78 | <author> |
| 79 | <name>Gabriel Malosto</name> |
| 80 | <email>professional@gabdumal.com</email> |
| 81 | </author> |
| 82 | |
| 83 | <category citation-format="author-date" /> |
| 84 | <category field="generic-base" /> |
| 85 | |
| 86 | <summary>Estilo ABNT conforme NBR 10520:2023 (citações) e NBR 6023:2025 |
| 87 | (referências). Sistema autor-data. Para citações em prosa, use |
| 88 | bibliography_style_prose.csl com cite(form: "prose") no Typst.</summary> |
| 89 | |
| 90 | <updated>2026-03-03T00:00:00+00:00</updated> |
| 91 | |
| 92 | <rights license="http://creativecommons.org/licenses/by-sa/3.0/"> |
| 93 | This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. |
| 94 | </rights> |
| 95 | </info> |
| 96 | |
| 97 | <!-- ============================================================ |
| 98 | Localização — Português (Brasil). |
| 99 | ============================================================ --> |
| 100 | |
| 101 | <locale xml:lang="pt-BR"> |
| 102 | <terms> |
| 103 | <!-- Abreviações de meses — NBR 6023:2025. --> |
| 104 | <term name="month-01" form="short">jan.</term> |
| 105 | <term name="month-02" form="short">fev.</term> |
| 106 | <term name="month-03" form="short">mar.</term> |
| 107 | <term name="month-04" form="short">abr.</term> |
| 108 | <term name="month-05" form="short">maio</term> |
| 109 | <term name="month-06" form="short">jun.</term> |
| 110 | <term name="month-07" form="short">jul.</term> |
| 111 | <term name="month-08" form="short">ago.</term> |
| 112 | <term name="month-09" form="short">set.</term> |
| 113 | <term name="month-10" form="short">out.</term> |
| 114 | <term name="month-11" form="short">nov.</term> |
| 115 | <term name="month-12" form="short">dez.</term> |
| 116 | |
| 117 | <!-- Rótulos de responsabilidade editorial. --> |
| 118 | <term name="editor" form="short"> |
| 119 | <single>org</single> |
| 120 | <multiple>orgs</multiple> |
| 121 | </term> |
| 122 | <term name="container-author" form="short"> |
| 123 | <single>ed</single> |
| 124 | <multiple>eds</multiple> |
| 125 | </term> |
| 126 | <term name="collection-editor" form="short"> |
| 127 | <single>ed</single> |
| 128 | <multiple>eds</multiple> |
| 129 | </term> |
| 130 | |
| 131 | <!-- Termos gerais. --> |
| 132 | <term name="in">in</term> |
| 133 | <term name="and">e</term> |
| 134 | </terms> |
| 135 | </locale> |
| 136 | |
| 137 | <!-- ============================================================ |
| 138 | MACROS — Autores e responsáveis. |
| 139 | ============================================================ --> |
| 140 | |
| 141 | <!-- |
| 142 | `names-bibliography`: lista completa de autores para a lista de referências. |
| 143 | Formato: SOBRENOME, Prenome N.; SOBRENOME2, Prenome N. — NBR 6023:2025. |
| 144 | Todos os autores são listados integralmente (sem truncamento por "et al."). |
| 145 | Fallback: editor → tradutor → título da obra. |
| 146 | --> |
| 147 | <macro name="names-bibliography"> |
| 148 | <names variable="author"> |
| 149 | <name |
| 150 | name-as-sort-order="all" |
| 151 | sort-separator=", " |
| 152 | initialize="false" |
| 153 | initialize-with=". " |
| 154 | delimiter="; " |
| 155 | delimiter-precedes-last="always" |
| 156 | > |
| 157 | <name-part name="family" text-case="uppercase" /> |
| 158 | <name-part name="given" /> |
| 159 | </name> |
| 160 | <label |
| 161 | form="short" |
| 162 | prefix=" (" |
| 163 | suffix=".)" |
| 164 | text-case="uppercase" |
| 165 | /> |
| 166 | <substitute> |
| 167 | <names variable="editor" /> |
| 168 | <names variable="translator" /> |
| 169 | <text macro="title" /> |
| 170 | </substitute> |
| 171 | </names> |
| 172 | </macro> |
| 173 | |
| 174 | <!-- |
| 175 | `names-citation`: autores para citação parentética no corpo do texto. |
| 176 | Formato: Sobrenome; Sobrenome2 — NBR 10520:2023. |
| 177 | A partir de 4 autores: primeiro + et al. (itálico), conforme <citation>. |
| 178 | Fallback: editor → tradutor → título. |
| 179 | --> |
| 180 | <macro name="names-citation"> |
| 181 | <names variable="author"> |
| 182 | <name |
| 183 | form="short" |
| 184 | name-as-sort-order="all" |
| 185 | sort-separator=", " |
| 186 | initialize="false" |
| 187 | initialize-with=". " |
| 188 | delimiter="; " |
| 189 | delimiter-precedes-last="always" |
| 190 | > |
| 191 | <name-part name="family" text-case="capitalize-first" /> |
| 192 | <name-part name="given" /> |
| 193 | </name> |
| 194 | <et-al font-style="italic" /> |
| 195 | <substitute> |
| 196 | <names variable="editor" /> |
| 197 | <names variable="translator" /> |
| 198 | <text macro="title-short" /> |
| 199 | </substitute> |
| 200 | </names> |
| 201 | </macro> |
| 202 | |
| 203 | <!-- |
| 204 | `names-container`: responsáveis pela obra contenedora (organizadores/editores). |
| 205 | Usado em "In: EDITOR (org.). Título." — NBR 6023:2025. |
| 206 | Fallback: editor → editor de coleção. |
| 207 | --> |
| 208 | <macro name="names-container"> |
| 209 | <names variable="container-author"> |
| 210 | <name |
| 211 | name-as-sort-order="all" |
| 212 | sort-separator=", " |
| 213 | initialize="false" |
| 214 | initialize-with=". " |
| 215 | delimiter="; " |
| 216 | delimiter-precedes-last="always" |
| 217 | > |
| 218 | <name-part name="family" text-case="uppercase" /> |
| 219 | <name-part name="given" /> |
| 220 | </name> |
| 221 | <et-al font-style="italic" /> |
| 222 | <label |
| 223 | form="short" |
| 224 | prefix=" (" |
| 225 | suffix=".)" |
| 226 | text-case="lowercase" /> |
| 227 | <substitute> |
| 228 | <names variable="editor" /> |
| 229 | <names variable="collection-editor" /> |
| 230 | </substitute> |
| 231 | </names> |
| 232 | </macro> |
| 233 | |
| 234 | <!-- |
| 235 | `translator`: tradutores prefixados por "Tradução:". |
| 236 | Formato: Tradução: Prenome Sobrenome — NBR 6023:2025. |
| 237 | --> |
| 238 | <macro name="translator"> |
| 239 | <names variable="translator" delimiter="; "> |
| 240 | <name |
| 241 | delimiter="; " |
| 242 | sort-separator=" " |
| 243 | delimiter-precedes-last="always" |
| 244 | prefix="Tradução: " |
| 245 | > |
| 246 | <name-part name="given" /> |
| 247 | <name-part name="family" text-case="capitalize-first" /> |
| 248 | </name> |
| 249 | <et-al font-style="italic" /> |
| 250 | </names> |
| 251 | </macro> |
| 252 | |
| 253 | <!-- ============================================================ |
| 254 | MACROS — Títulos. |
| 255 | ============================================================ --> |
| 256 | |
| 257 | <!-- |
| 258 | `title`: título principal da obra. |
| 259 | Negrito para obras autônomas (livro, tese, relatório, mapa, etc.). |
| 260 | Fonte normal para partes de obras (capítulo, artigo, trabalho em evento, |
| 261 | projeto de lei), pois o destaque recai sobre a obra contenedora. |
| 262 | --> |
| 263 | <macro name="title"> |
| 264 | <choose> |
| 265 | <if |
| 266 | type="chapter bill article-newspaper article-magazine article-journal paper-conference" |
| 267 | match="any"> |
| 268 | <text variable="title" /> |
| 269 | </if> |
| 270 | <else> |
| 271 | <text variable="title" font-weight="bold" /> |
| 272 | </else> |
| 273 | </choose> |
| 274 | </macro> |
| 275 | |
| 276 | <!-- |
| 277 | `title-short`: título abreviado para citações parentéticas no corpo do texto. |
| 278 | Livros: sem aspas. Demais tipos: entre aspas — NBR 10520:2023. |
| 279 | --> |
| 280 | <macro name="title-short"> |
| 281 | <choose> |
| 282 | <if type="book"> |
| 283 | <text variable="title" form="short" /> |
| 284 | </if> |
| 285 | <else> |
| 286 | <text variable="title" form="short" quotes="true" /> |
| 287 | </else> |
| 288 | </choose> |
| 289 | </macro> |
| 290 | |
| 291 | <!-- |
| 292 | `title-container`: título da obra contenedora — sempre em negrito. |
| 293 | --> |
| 294 | <macro name="title-container"> |
| 295 | <text variable="container-title" font-weight="bold" /> |
| 296 | </macro> |
| 297 | |
| 298 | <!-- |
| 299 | `in-container`: indicação completa da obra contenedora com seus responsáveis. |
| 300 | Formato: In: RESPONSÁVEL (rótulo). Título. — NBR 6023:2025. |
| 301 | Renderizado apenas quando container-title está presente. |
| 302 | --> |
| 303 | <macro name="in-container"> |
| 304 | <choose> |
| 305 | <if variable="container-title"> |
| 306 | <text term="in" font-style="italic" text-case="capitalize-first" suffix=": " /> |
| 307 | <text macro="names-container" suffix=". " /> |
| 308 | <text macro="title-container" suffix=". " /> |
| 309 | </if> |
| 310 | </choose> |
| 311 | </macro> |
| 312 | |
| 313 | <!-- ============================================================ |
| 314 | MACROS — Datas. |
| 315 | ============================================================ --> |
| 316 | |
| 317 | <!-- |
| 318 | `date-full`: data completa "DD mês. AAAA". |
| 319 | Ausência: [S.d.] em itálico — NBR 6023:2025. |
| 320 | --> |
| 321 | <macro name="date-full"> |
| 322 | <choose> |
| 323 | <if variable="issued" match="any"> |
| 324 | <date variable="issued"> |
| 325 | <date-part name="day" suffix=" " /> |
| 326 | <date-part name="month" form="short" suffix=" " /> |
| 327 | <date-part name="year" /> |
| 328 | </date> |
| 329 | </if> |
| 330 | <else> |
| 331 | <text value="[S.d.]" font-style="italic" /> |
| 332 | </else> |
| 333 | </choose> |
| 334 | </macro> |
| 335 | |
| 336 | <!-- |
| 337 | `date-year`: apenas o ano — para citações e obras sem data completa. |
| 338 | Ausência: [S.d.] em itálico. |
| 339 | --> |
| 340 | <macro name="date-year"> |
| 341 | <choose> |
| 342 | <if variable="issued" match="any"> |
| 343 | <date variable="issued"> |
| 344 | <date-part name="year" /> |
| 345 | </date> |
| 346 | </if> |
| 347 | <else> |
| 348 | <text value="[S.d.]" font-style="italic" /> |
| 349 | </else> |
| 350 | </choose> |
| 351 | </macro> |
| 352 | |
| 353 | <!-- ============================================================ |
| 354 | MACROS — Identificação e acesso. |
| 355 | ============================================================ --> |
| 356 | |
| 357 | <!-- |
| 358 | `access`: URL e data de acesso para recursos online. |
| 359 | Formato: Disponível em: URL. Acesso em: DD mês. AAAA. — NBR 6023:2025. |
| 360 | --> |
| 361 | <macro name="access"> |
| 362 | <choose> |
| 363 | <if variable="DOI" match="none"> |
| 364 | <text variable="URL" prefix="Disponível em: " suffix=". " /> |
| 365 | </if> |
| 366 | </choose> |
| 367 | <date variable="accessed" prefix="Acesso em: " suffix="."> |
| 368 | <date-part name="day" suffix=" " /> |
| 369 | <date-part name="month" form="short" suffix=" " /> |
| 370 | <date-part name="year" /> |
| 371 | </date> |
| 372 | </macro> |
| 373 | |
| 374 | <!-- |
| 375 | `doi`: identificador DOI. |
| 376 | Formato: DOI: 10.XXXX/... — NBR 6023:2025. |
| 377 | --> |
| 378 | <macro name="doi"> |
| 379 | <choose> |
| 380 | <if variable="DOI"> |
| 381 | <text variable="DOI" prefix="DOI: " /> |
| 382 | </if> |
| 383 | </choose> |
| 384 | </macro> |
| 385 | |
| 386 | <!-- ============================================================ |
| 387 | MACROS — Detalhes bibliográficos. |
| 388 | ============================================================ --> |
| 389 | |
| 390 | <!-- |
| 391 | `edition`: número ou descrição de edição. |
| 392 | Numérica: "3. ed." | Texto livre: "texto ed." — NBR 6023:2025. |
| 393 | --> |
| 394 | <macro name="edition"> |
| 395 | <choose> |
| 396 | <if variable="edition"> |
| 397 | <choose> |
| 398 | <if is-numeric="edition"> |
| 399 | <group delimiter=" "> |
| 400 | <number variable="edition" form="numeric" suffix="." /> |
| 401 | <text term="edition" form="short" suffix="." /> |
| 402 | </group> |
| 403 | </if> |
| 404 | <else> |
| 405 | <text variable="edition" suffix=" ed." /> |
| 406 | </else> |
| 407 | </choose> |
| 408 | </if> |
| 409 | </choose> |
| 410 | </macro> |
| 411 | |
| 412 | <!-- |
| 413 | `publisher`: local, editora e data de publicação. |
| 414 | Formato: Local: Editora, Data — NBR 6023:2025. |
| 415 | Ausências substituídas por [S.l.], [S.n.], [S.d.] em itálico. |
| 416 | --> |
| 417 | <macro name="publisher"> |
| 418 | <choose> |
| 419 | <if variable="publisher-place"> |
| 420 | <text variable="publisher-place" suffix=": " /> |
| 421 | </if> |
| 422 | <else> |
| 423 | <text value="[S.l.]" font-style="italic" suffix=": " /> |
| 424 | </else> |
| 425 | </choose> |
| 426 | <choose> |
| 427 | <if variable="publisher"> |
| 428 | <text variable="publisher" suffix=", " /> |
| 429 | </if> |
| 430 | <else> |
| 431 | <text value="[S.n.]" font-style="italic" suffix=", " /> |
| 432 | </else> |
| 433 | </choose> |
| 434 | <text macro="date-full" /> |
| 435 | </macro> |
| 436 | |
| 437 | <!-- |
| 438 | `locators`: volume, número e páginas por tipo de documento. |
| 439 | Artigos periódicos : v. N, n. N, p. N–N. |
| 440 | Livros e capítulos : v. N, p. N–N. |
| 441 | Projetos de lei : data da publicação, seção e página no diário. |
| 442 | --> |
| 443 | <macro name="locators"> |
| 444 | <choose> |
| 445 | <if type="bill"> |
| 446 | <group delimiter=", "> |
| 447 | <date variable="issued"> |
| 448 | <date-part name="day" /> |
| 449 | <date-part name="month" form="short" prefix=" " /> |
| 450 | <date-part name="year" prefix=" " /> |
| 451 | </date> |
| 452 | <text variable="section" prefix="Sec. " /> |
| 453 | <text variable="page" prefix="p. " /> |
| 454 | </group> |
| 455 | </if> |
| 456 | <else-if type="article-journal article-magazine article-newspaper" match="any"> |
| 457 | <group delimiter=", "> |
| 458 | <text variable="volume" prefix="v. " /> |
| 459 | <text variable="issue" prefix="n. " /> |
| 460 | <text variable="page" prefix="p. " /> |
| 461 | </group> |
| 462 | </else-if> |
| 463 | <else-if type="book chapter paper-conference" match="any"> |
| 464 | <group delimiter=", "> |
| 465 | <text variable="volume" prefix="v. " /> |
| 466 | <text variable="page" prefix="p. " /> |
| 467 | </group> |
| 468 | </else-if> |
| 469 | </choose> |
| 470 | </macro> |
| 471 | |
| 472 | <!-- ============================================================ |
| 473 | MACROS — Eventos. |
| 474 | ============================================================ --> |
| 475 | |
| 476 | <!-- |
| 477 | `event-name`: nome do evento formatado. |
| 478 | Sem gênero : NOME EM CAIXA-ALTA. |
| 479 | Com gênero : "Gênero apresentado em Nome do Evento". |
| 480 | --> |
| 481 | <macro name="event-name"> |
| 482 | <choose> |
| 483 | <if variable="event"> |
| 484 | <choose> |
| 485 | <if variable="genre" match="none"> |
| 486 | <text variable="event" text-case="uppercase" suffix=". " /> |
| 487 | </if> |
| 488 | <else> |
| 489 | <group delimiter=" " suffix=". "> |
| 490 | <text variable="genre" text-case="capitalize-first" /> |
| 491 | <text value="apresentado em" /> |
| 492 | <text variable="event" /> |
| 493 | </group> |
| 494 | </else> |
| 495 | </choose> |
| 496 | </if> |
| 497 | </choose> |
| 498 | </macro> |
| 499 | |
| 500 | <!-- |
| 501 | `event-proceedings`: identificação do evento seguida do título dos anais. |
| 502 | NBR 6023:2025. |
| 503 | In: NOME DO EVENTO[, ano][, Cidade]. Título dos Anais. |
| 504 | In: Título dos Anais. ← sem nome de evento (somente container-title). |
| 505 | Ano usa event-date quando disponível, caso contrário usa issued. |
| 506 | Usado em trabalhos em eventos (paper-conference). |
| 507 | --> |
| 508 | <macro name="event-proceedings"> |
| 509 | <choose> |
| 510 | <if variable="event"> |
| 511 | <text term="in" font-style="italic" text-case="capitalize-first" suffix=": " /> |
| 512 | <group suffix=". "> |
| 513 | <text variable="event" text-case="uppercase" /> |
| 514 | <choose> |
| 515 | <if variable="event-date"> |
| 516 | <date variable="event-date" prefix=", "> |
| 517 | <date-part name="year" /> |
| 518 | </date> |
| 519 | </if> |
| 520 | <else> |
| 521 | <date variable="issued" prefix=", "> |
| 522 | <date-part name="year" /> |
| 523 | </date> |
| 524 | </else> |
| 525 | </choose> |
| 526 | <text variable="event-place" prefix=", " /> |
| 527 | </group> |
| 528 | <choose> |
| 529 | <if variable="container-title"> |
| 530 | <text variable="container-title" font-weight="bold" suffix=". " /> |
| 531 | </if> |
| 532 | <else> |
| 533 | <text value="Anais" font-weight="bold" suffix=". " /> |
| 534 | </else> |
| 535 | </choose> |
| 536 | </if> |
| 537 | <else-if variable="container-title"> |
| 538 | <text term="in" font-style="italic" text-case="capitalize-first" suffix=": " /> |
| 539 | <text variable="container-title" font-weight="bold" suffix=". " /> |
| 540 | </else-if> |
| 541 | </choose> |
| 542 | </macro> |
| 543 | |
| 544 | <!-- ============================================================ |
| 545 | MACRO — Localizador de citação. |
| 546 | ============================================================ --> |
| 547 | |
| 548 | <!-- |
| 549 | `citation-locator`: localizador usado na citação (página, seção etc.). |
| 550 | Sufixo da citação parentética: (Autor, Ano, p. N). |
| 551 | --> |
| 552 | <macro name="citation-locator"> |
| 553 | <group> |
| 554 | <label variable="locator" form="short" /> |
| 555 | <text variable="locator" prefix=" " /> |
| 556 | </group> |
| 557 | </macro> |
| 558 | |
| 559 | <!-- ============================================================ |
| 560 | CITAÇÃO PARENTÉTICA — NBR 10520:2023. |
| 561 | A partir de 4 autores: exibe apenas o primeiro + et al. (itálico). |
| 562 | Ordenação: sobrenome do primeiro autor, depois ano. |
| 563 | ============================================================ --> |
| 564 | |
| 565 | <citation |
| 566 | et-al-min="4" |
| 567 | et-al-use-first="1" |
| 568 | collapse="year" |
| 569 | disambiguate-add-year-suffix="true" |
| 570 | > |
| 571 | <sort> |
| 572 | <key macro="names-bibliography" /> |
| 573 | <key variable="issued" /> |
| 574 | </sort> |
| 575 | <layout prefix="(" suffix=")" delimiter="; "> |
| 576 | <group> |
| 577 | <text macro="names-citation" suffix=", " /> |
| 578 | <text macro="date-year" /> |
| 579 | <text variable="year-suffix" /> |
| 580 | <text macro="citation-locator" prefix=", " /> |
| 581 | </group> |
| 582 | </layout> |
| 583 | </citation> |
| 584 | |
| 585 | <!-- ============================================================ |
| 586 | LISTA DE REFERÊNCIAS — NBR 6023:2025. |
| 587 | Todos os autores são listados integralmente (sem et al.). |
| 588 | Ordenação alfabética pelo sobrenome do primeiro autor. |
| 589 | ============================================================ --> |
| 590 | |
| 591 | <bibliography hanging-indent="false" entry-spacing="1"> |
| 592 | <sort> |
| 593 | <key macro="names-bibliography" /> |
| 594 | <key variable="issued" /> |
| 595 | </sort> |
| 596 | <layout> |
| 597 | <choose> |
| 598 | |
| 599 | <!-- |
| 600 | Livros (monografias) — NBR 6023:2025. |
| 601 | |
| 602 | Entradas BibLaTeX que chegam a este branch: |
| 603 | |
| 604 | As entradas @book e @mvbook (multi-volume) são convertidas pelo hayagriva para o tipo interno |
| 605 | `book`. |
| 606 | |
| 607 | O @bookinbook também produz `book`, mas com |
| 608 | um parent do mesmo tipo, representando o livro que o contém. |
| 609 | |
| 610 | As entradas @proceedings e @mvproceedings (anais completos, sem trabalho específico associado) |
| 611 | são convertidas pelo hayagriva para o tipo interno `proceedings`. |
| 612 | |
| 613 | Como o CSL seleciona este branch: |
| 614 | |
| 615 | O hayagriva considera `book`, `anthology` e `proceedings` como categorias |
| 616 | equivalentes de "obra autônoma contenedora". |
| 617 | |
| 618 | Ao determinar o tipo CSL, ele |
| 619 | verifica qual das subcategorias se aplica: |
| 620 | se a entrada for `anthology`, o tipo CSL resultante é `collection`; |
| 621 | se for `periodical`, o tipo CSL é `periodical`. |
| 622 | |
| 623 | Caso nenhuma dessas condições seja atendida, |
| 624 | o tipo CSL atribuído é `book` — o que engloba tanto `book` quanto `proceedings`. |
| 625 | |
| 626 | Atenção: |
| 627 | |
| 628 | @collection e @mvcollection produzem o tipo interno `anthology`, |
| 629 | cujo tipo CSL resultante é `collection`. |
| 630 | Esse tipo não possui branch dedicado neste |
| 631 | estilo e cai no fallback genérico abaixo. |
| 632 | --> |
| 633 | <if type="book"> |
| 634 | <text macro="names-bibliography" suffix=". " /> |
| 635 | <text macro="title" suffix=". " /> |
| 636 | <text macro="translator" suffix=". " /> |
| 637 | <text macro="edition" suffix=". " /> |
| 638 | <text macro="publisher" suffix=". " /> |
| 639 | <text macro="locators" suffix=". " /> |
| 640 | <text macro="access" /> |
| 641 | </if> |
| 642 | |
| 643 | <!-- |
| 644 | Capítulos de livro — NBR 6023:2025. |
| 645 | |
| 646 | Entradas BibLaTeX que chegam a este branch: |
| 647 | |
| 648 | As entradas @inbook e @inbookinbook são convertidas pelo hayagriva para o tipo interno `chapter`, |
| 649 | sempre acompanhado de um parent do tipo `book` representando o livro que os contém. |
| 650 | |
| 651 | Como o CSL seleciona este branch: |
| 652 | |
| 653 | O hayagriva só atribui o tipo CSL `chapter` quando a entrada é do tipo interno `chapter` |
| 654 | e possui um parent reconhecido como `book`, `anthology` ou `proceedings`. |
| 655 | A presença do parent é obrigatória: sem ele, a entrada não é selecionada por este seletor. |
| 656 | |
| 657 | Atenção: |
| 658 | |
| 659 | @incollection produz o tipo interno `anthos` com parent `anthology`, |
| 660 | estrutura que não é selecionada pelo seletor CSL `chapter` nem por nenhum outro tipo CSL nomeado. |
| 661 | Essas entradas caem no fallback genérico. |
| 662 | |
| 663 | Já @inreference produz o tipo interno `entry` com parent `reference`, |
| 664 | que resulta em CSL `entry-encyclopedia` — tratado no branch dedicado abaixo. |
| 665 | --> |
| 666 | <else-if type="chapter"> |
| 667 | <text macro="names-bibliography" suffix=". " /> |
| 668 | <text macro="title" suffix=". " /> |
| 669 | <text macro="in-container" /> |
| 670 | <text macro="translator" suffix=". " /> |
| 671 | <text macro="edition" suffix=". " /> |
| 672 | <text macro="publisher" suffix=". " /> |
| 673 | <text macro="locators" suffix=". " /> |
| 674 | <text macro="access" /> |
| 675 | </else-if> |
| 676 | |
| 677 | <!-- |
| 678 | Artigos de periódico (jornal, revista, journal) — NBR 6023:2025. |
| 679 | |
| 680 | Entradas BibLaTeX que chegam a este branch: |
| 681 | |
| 682 | A entrada @article é convertida pelo hayagriva para o tipo interno `article`. |
| 683 | O campo `crossref` (ou campos equivalentes de periódico) |
| 684 | determina qual tipo de parent é gerado automaticamente: |
| 685 | um @article cruzado com um @periodical produz um parent do tipo `periodical`; |
| 686 | já com um @newspaper produz um parent `newspaper`. |
| 687 | |
| 688 | Como o CSL seleciona este branch: |
| 689 | |
| 690 | O tipo CSL final é determinado pelo parent da entrada. |
| 691 | Se o parent for `periodical`, o tipo CSL é `article-journal`. |
| 692 | Se for `newspaper`, o tipo CSL é `article-newspaper`. |
| 693 | Sem parent reconhecido, o tipo CSL é o genérico `article`, |
| 694 | que também é capturado pelo match="any" deste bloco. |
| 695 | |
| 696 | Atenção: |
| 697 | |
| 698 | @periodical produz o tipo interno `periodical`, cujo tipo CSL resultante é também `periodical` — |
| 699 | tipo não listado no match deste bloco. |
| 700 | Essas entradas caem no fallback genérico. |
| 701 | |
| 702 | O tipo CSL `article-magazine` nunca é gerado pelo hayagriva (a implementação está marcada como |
| 703 | pendente). |
| 704 | --> |
| 705 | <else-if type="article-journal article-magazine article-newspaper" match="any"> |
| 706 | <text macro="names-bibliography" suffix=". " /> |
| 707 | <text macro="title" suffix=". " /> |
| 708 | <text macro="title-container" suffix=", " /> |
| 709 | <text variable="publisher-place" suffix=", " /> |
| 710 | <text macro="locators" suffix=", " /> |
| 711 | <text macro="date-full" suffix=". " /> |
| 712 | <text macro="doi" suffix=". " /> |
| 713 | <text macro="access" /> |
| 714 | </else-if> |
| 715 | |
| 716 | <!-- |
| 717 | Trabalhos em eventos (anais) — NBR 6023:2025. |
| 718 | |
| 719 | Entradas BibLaTeX que chegam a este branch: |
| 720 | |
| 721 | As entradas @inproceedings e @conference são convertidas pelo hayagriva para o tipo interno |
| 722 | `article` com um parent do tipo `proceedings`, |
| 723 | representando a coleção de trabalhos do evento. |
| 724 | |
| 725 | Como o CSL seleciona este branch: |
| 726 | |
| 727 | O tipo CSL `paper-conference` é atribuído quando a entrada é do tipo interno `article` |
| 728 | e o seu parent é do tipo `proceedings`. |
| 729 | |
| 730 | Sem esse parent, a entrada cairia no branch de `article-journal` acima. |
| 731 | |
| 732 | Condição especial para dados do evento: |
| 733 | |
| 734 | Quando a entrada BibLaTeX possui os campos |
| 735 | `venue` (local do evento), `eventtitle` (nome do evento) ou `eventdate` (data do evento), |
| 736 | o hayagriva cria automaticamente um segundo parent do tipo `conference`. |
| 737 | |
| 738 | As variáveis CSL `event-place`, `event` e `event-date` — |
| 739 | usadas pelo macro `event-proceedings` para formatar a identificação do evento |
| 740 | conforme a NBR 6023:2025 — |
| 741 | só ficam disponíveis quando esse parent `conference` existe. |
| 742 | Sem ele, apenas o `container-title` dos anais é exibido. |
| 743 | --> |
| 744 | <else-if type="paper-conference"> |
| 745 | <text macro="names-bibliography" suffix=". " /> |
| 746 | <text macro="title" suffix=". " /> |
| 747 | <text macro="event-proceedings" /> |
| 748 | <text macro="publisher" /> |
| 749 | <text macro="locators" prefix=", " /> |
| 750 | <text macro="doi" prefix=". " suffix=". " /> |
| 751 | <text macro="access" /> |
| 752 | </else-if> |
| 753 | |
| 754 | <!-- |
| 755 | Teses e dissertações — NBR 6023:2025. |
| 756 | |
| 757 | Entradas BibLaTeX que chegam a este branch: |
| 758 | |
| 759 | As entradas @thesis, @mastersthesis e @phdthesis são todas convertidas |
| 760 | pelo hayagriva para o tipo interno `thesis`, |
| 761 | que o CSL reconhece diretamente como tipo `thesis`. |
| 762 | Caso queira definir o tipo do trabalho, utilize a entrada @thesis, com o atributo `type`. |
| 763 | |
| 764 | Como o CSL seleciona este branch: |
| 765 | |
| 766 | O tipo CSL é sempre `thesis`, independentemente da modalidade. |
| 767 | Para diferenciar mestrado de doutorado, o hayagriva preenche automaticamente |
| 768 | o campo `genre` com o rótulo correspondente ("Master's thesis" ou "PhD thesis"). |
| 769 | Este estilo exibe esse campo antes do publisher para indicar a modalidade, |
| 770 | conforme previsto na NBR 6023:2025. |
| 771 | --> |
| 772 | <else-if type="thesis"> |
| 773 | <text macro="names-bibliography" suffix=". " /> |
| 774 | <text macro="title" suffix=". " /> |
| 775 | <text variable="genre" suffix=" — " /> |
| 776 | <text macro="publisher" suffix=". " /> |
| 777 | <text macro="access" /> |
| 778 | </else-if> |
| 779 | |
| 780 | <!-- |
| 781 | Projetos de lei e normas legais — NBR 6023:2025. |
| 782 | |
| 783 | Entradas BibLaTeX que chegam a este branch: |
| 784 | |
| 785 | A entrada @legislation é convertida pelo hayagriva para o tipo interno `legislation`. |
| 786 | Não existe um tipo @legislation no BibLaTeX padrão; para |
| 787 | criar entradas legais, utilize @misc com campos customizados |
| 788 | ou um pacote de extensão como `biblatex-juradis`. |
| 789 | |
| 790 | Como o CSL seleciona este branch: |
| 791 | |
| 792 | O hayagriva distingue dois sub-tipos de `legislation` com base na presença do campo `publisher`. |
| 793 | |
| 794 | Se o publisher estiver ausente, a entrada é |
| 795 | considerada um projeto não promulgado e recebe o tipo CSL `bill`, que chega a este branch. |
| 796 | |
| 797 | Se o publisher estiver preenchido, a entrada é |
| 798 | considerada uma norma publicada e recebe o tipo CSL `legislation` — |
| 799 | para o qual este estilo não tem branch dedicado, caindo no fallback. |
| 800 | --> |
| 801 | <else-if type="bill"> |
| 802 | <text macro="names-bibliography" suffix=". " /> |
| 803 | <text variable="number" suffix=". " /> |
| 804 | <text macro="title" suffix=". " /> |
| 805 | <text variable="references" font-weight="bold" suffix=", " /> |
| 806 | <text macro="locators" suffix=". " /> |
| 807 | <text macro="access" /> |
| 808 | </else-if> |
| 809 | |
| 810 | <!-- |
| 811 | Verbetes de dicionário e enciclopédia — NBR 6023:2025. |
| 812 | |
| 813 | Entradas BibLaTeX que chegam a este branch: |
| 814 | |
| 815 | A entrada @inreference é convertida pelo hayagriva para o tipo interno `entry`, |
| 816 | sempre acompanhado de um parent do tipo `reference` representando |
| 817 | a obra de referência (dicionário, enciclopédia) que contém o verbete. |
| 818 | |
| 819 | Como o CSL seleciona este branch: |
| 820 | |
| 821 | O hayagriva atribui o tipo CSL `entry-encyclopedia` a qualquer entrada que possua um parent |
| 822 | do tipo `reference`, independentemente do tipo da própria entrada. |
| 823 | |
| 824 | O tipo CSL `entry-dictionary` nunca é gerado pelo |
| 825 | hayagriva (a implementação está marcada como pendente na fonte), |
| 826 | por isso este bloco trata ambos os tipos CSL com a mesma formatação unificada. |
| 827 | --> |
| 828 | <else-if type="entry-dictionary entry-encyclopedia" match="any"> |
| 829 | <text macro="names-bibliography" suffix=". " /> |
| 830 | <text macro="title" suffix=". " /> |
| 831 | <text macro="in-container" /> |
| 832 | <text macro="publisher" suffix=". " /> |
| 833 | <text macro="access" /> |
| 834 | </else-if> |
| 835 | |
| 836 | <!-- |
| 837 | Páginas e documentos web — NBR 6023:2025. |
| 838 | |
| 839 | Entradas BibLaTeX que chegam a este branch: |
| 840 | |
| 841 | As entradas @online, @www e @electronic são convertidas pelo hayagriva |
| 842 | para o tipo interno `web`, que o CSL seleciona como `webpage`. |
| 843 | |
| 844 | A entrada @misc também pode chegar a este branch, mas somente se o campo `url` estiver preenchido. |
| 845 | Nesse caso, o tipo interno hayagriva é `misc`, |
| 846 | mas o hayagriva identifica recursos online com a condição de presença do campo `url`; |
| 847 | sem ele, a mesma entrada @misc resulta em CSL `document` e cai no fallback genérico. |
| 848 | |
| 849 | Como o CSL seleciona este branch: |
| 850 | |
| 851 | O tipo CSL `webpage` é atribuído tanto a entradas do tipo interno `web` |
| 852 | quanto a entradas `misc` que tenham url preenchido. |
| 853 | |
| 854 | A condição é avaliada pelo hayagriva antes de o CSL ver o tipo: |
| 855 | o que chega ao CSL já é `webpage` ou `document`, não `misc`. |
| 856 | --> |
| 857 | <else-if type="webpage"> |
| 858 | <text macro="names-bibliography" suffix=". " /> |
| 859 | <text macro="title" suffix=". " /> |
| 860 | <text macro="in-container" /> |
| 861 | <choose> |
| 862 | <if variable="publisher-place publisher" match="any"> |
| 863 | <text macro="publisher" suffix=". " /> |
| 864 | </if> |
| 865 | </choose> |
| 866 | <text macro="access" /> |
| 867 | </else-if> |
| 868 | |
| 869 | <!-- |
| 870 | Relatórios técnicos — NBR 6023:2025. |
| 871 | |
| 872 | Entradas BibLaTeX que chegam a este branch: |
| 873 | |
| 874 | As entradas @report e @techreport são convertidas pelo hayagriva para o |
| 875 | tipo interno `report`, que o CSL reconhece diretamente como `report`. |
| 876 | |
| 877 | Como o CSL seleciona este branch: |
| 878 | |
| 879 | O tipo CSL `report` é atribuído não apenas a entradas cujo tipo interno é `report`, |
| 880 | mas também a qualquer entrada que possua um parent do tipo `report`. |
| 881 | Isso significa que trabalhos publicados dentro de uma série de relatórios |
| 882 | (com crossref para um @report) também chegam a este branch. |
| 883 | --> |
| 884 | <else-if type="report"> |
| 885 | <text macro="names-bibliography" suffix=". " /> |
| 886 | <text macro="title" suffix=". " /> |
| 887 | <text variable="collection-title" prefix=": " suffix=". " /> |
| 888 | <text macro="locators" suffix=". " /> |
| 889 | <text macro="publisher" suffix=". " /> |
| 890 | <text macro="access" /> |
| 891 | </else-if> |
| 892 | |
| 893 | <!-- |
| 894 | Mapas e documentos cartográficos — NBR 6023:2025. |
| 895 | |
| 896 | Entradas BibLaTeX que chegam a este branch: nenhuma. |
| 897 | |
| 898 | Este branch é inalcançável pelo pipeline BibLaTeX. |
| 899 | O hayagriva não converte nenhum tipo BibLaTeX para o tipo CSL `map`; |
| 900 | a verificação correspondente no código-fonte do hayagriva sempre retorna falso. |
| 901 | |
| 902 | O branch só seria ativado por uma entrada em formato CSL-JSON com o campo `"type": "map"`, |
| 903 | sem passar pelas camadas BibLaTeX e hayagriva. |
| 904 | --> |
| 905 | <else-if type="map"> |
| 906 | <text macro="names-bibliography" suffix=". " /> |
| 907 | <text macro="title" suffix=". " /> |
| 908 | <text macro="date-full" suffix=". " /> |
| 909 | <text macro="access" /> |
| 910 | <text variable="note" prefix=" " suffix="." /> |
| 911 | </else-if> |
| 912 | |
| 913 | <!-- |
| 914 | Manuscritos e documentos não publicados. |
| 915 | |
| 916 | Entradas BibLaTeX que chegam a este branch: |
| 917 | |
| 918 | A entrada @unpublished é convertida pelo hayagriva para o tipo interno `manuscript`, |
| 919 | que o CSL reconhece diretamente como `manuscript`. |
| 920 | --> |
| 921 | <else-if type="manuscript"> |
| 922 | <text macro="names-bibliography" suffix=". " /> |
| 923 | <text macro="title" suffix=". " /> |
| 924 | <text macro="edition" suffix=". " /> |
| 925 | <text variable="publisher-place" suffix=", " /> |
| 926 | <text macro="date-full" suffix=". " /> |
| 927 | <text macro="access" /> |
| 928 | <text variable="archive" prefix=" " suffix="." /> |
| 929 | </else-if> |
| 930 | |
| 931 | <!-- |
| 932 | Palestras e discursos. |
| 933 | |
| 934 | Entradas BibLaTeX que chegam a este branch: nenhuma. |
| 935 | |
| 936 | Este branch é inalcançável pelo pipeline BibLaTeX. |
| 937 | O hayagriva não converte nenhum tipo BibLaTeX para os |
| 938 | tipos CSL `speech`, `hearing`, `interview` ou `performance`; |
| 939 | todas essas verificações retornam falso no |
| 940 | código-fonte do hayagriva. |
| 941 | |
| 942 | O branch só seria ativado por uma entrada em formato CSL-JSON com o campo `"type": "speech"`. |
| 943 | --> |
| 944 | <else-if type="speech"> |
| 945 | <text macro="names-bibliography" suffix=". " /> |
| 946 | <text macro="title" suffix=". " /> |
| 947 | <text macro="event-name" /> |
| 948 | <text macro="title-container" /> |
| 949 | <text macro="publisher" prefix=". " suffix=". " /> |
| 950 | <text macro="access" /> |
| 951 | </else-if> |
| 952 | |
| 953 | <!-- |
| 954 | Eventos (sem trabalho específico associado). |
| 955 | |
| 956 | Entradas BibLaTeX que chegam a este branch: nenhuma. |
| 957 | |
| 958 | Este branch é inalcançável pelo pipeline BibLaTeX. |
| 959 | O hayagriva só atribui o tipo CSL `event` a entradas do tipo interno `exhibition`, |
| 960 | e nenhum tipo BibLaTeX é convertido para `exhibition`. |
| 961 | |
| 962 | Em particular, @proceedings e @mvproceedings (anais completos) produzem o |
| 963 | tipo interno `proceedings`, que resulta em CSL `book` — chegando ao primeiro branch deste estilo. |
| 964 | |
| 965 | Para trabalhos individuais em eventos, use @inproceedings, que produz |
| 966 | CSL `paper-conference` (branch acima). |
| 967 | --> |
| 968 | <else-if type="event"> |
| 969 | <text macro="names-bibliography" suffix=". " /> |
| 970 | <text macro="event-name" /> |
| 971 | <text macro="publisher" suffix=". " /> |
| 972 | <text macro="access" /> |
| 973 | </else-if> |
| 974 | |
| 975 | <!-- |
| 976 | Repositórios e pacotes de software. |
| 977 | |
| 978 | Entradas BibLaTeX que chegam a este branch: |
| 979 | |
| 980 | A entrada @dataset é convertida pelo hayagriva para o tipo interno `repository`. |
| 981 | |
| 982 | Como o CSL seleciona este branch: |
| 983 | |
| 984 | O tipo CSL `software` é atribuído exclusivamente a entradas |
| 985 | cujo tipo interno hayagriva é `repository`. |
| 986 | |
| 987 | Atenção: |
| 988 | |
| 989 | A entrada BibLaTeX @software não produz `repository` — o hayagriva a converte para `misc`, e |
| 990 | ela seguirá o caminho do branch de documentos web (se tiver url preenchido) |
| 991 | ou do fallback genérico (caso não tenha). |
| 992 | |
| 993 | Portanto, para que uma entrada de software chegue a este branch, |
| 994 | o tipo BibLaTeX correto é @dataset. |
| 995 | --> |
| 996 | <else-if type="software"> |
| 997 | <text macro="names-bibliography" suffix=". " /> |
| 998 | <text macro="title" suffix=". " /> |
| 999 | <text variable="version" prefix="Versão " suffix=". " /> |
| 1000 | <text macro="publisher" suffix=". " /> |
| 1001 | <text macro="doi" suffix=". " /> |
| 1002 | <text macro="access" /> |
| 1003 | </else-if> |
| 1004 | |
| 1005 | <!-- |
| 1006 | Fallback genérico para demais tipos. |
| 1007 | |
| 1008 | Entradas BibLaTeX que chegam a este branch: |
| 1009 | |
| 1010 | @patent produz o tipo interno `patent`, que o CSL reconhece como `patent`. |
| 1011 | |
| 1012 | @misc e @booklet sem url produzem o tipo interno `misc`, que o CSL reconhece como `document`. |
| 1013 | O mesmo ocorre com @software sem url, pois esse tipo BibLaTeX também é |
| 1014 | convertido para `misc` pelo hayagriva. |
| 1015 | |
| 1016 | @collection e @mvcollection produzem o tipo interno `anthology`, |
| 1017 | que o CSL reconhece como `collection`. |
| 1018 | |
| 1019 | @reference, @mvreference e @manual produzem o tipo interno `reference`. |
| 1020 | @incollection produz o tipo interno `anthos` com parent `anthology`. |
| 1021 | Nenhum desses tipos possui um tipo CSL correspondente no hayagriva; |
| 1022 | o CSL os trata como tipo desconhecido, e nenhum branch anterior os seleciona, |
| 1023 | de modo que inevitavelmente chegam aqui. |
| 1024 | |
| 1025 | Como o CSL seleciona este branch: |
| 1026 | |
| 1027 | Por ser um `else`, este bloco renderiza tudo que não foi capturado |
| 1028 | por nenhum dos branches anteriores. |
| 1029 | |
| 1030 | Quando presente, o campo `collection-title` é exibido para indicar o título de série ou coleção. |
| 1031 | --> |
| 1032 | <else> |
| 1033 | <text macro="names-bibliography" suffix=". " /> |
| 1034 | <text macro="title" suffix=". " /> |
| 1035 | <text macro="edition" suffix=". " /> |
| 1036 | <text macro="in-container" /> |
| 1037 | <text variable="collection-title" prefix=": " suffix=". " /> |
| 1038 | <text macro="locators" suffix=". " /> |
| 1039 | <text macro="event-name" /> |
| 1040 | <text macro="publisher" suffix=". " /> |
| 1041 | <text macro="access" /> |
| 1042 | </else> |
| 1043 | |
| 1044 | </choose> |
| 1045 | |
| 1046 | <!-- Notas extras. --> |
| 1047 | <text variable="note" prefix=" " suffix="." /> |
| 1048 | </layout> |
| 1049 | </bibliography> |
| 1050 | |
| 1051 | </style> |