diff options
Diffstat (limited to 'macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst')
-rw-r--r-- | macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst | 50 |
1 files changed, 35 insertions, 15 deletions
diff --git a/macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst b/macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst index 214bf6dc40..570f8f93b3 100644 --- a/macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst +++ b/macros/latex/contrib/unbtex/unbtexcite/unbtex-num-en.bst @@ -6,13 +6,13 @@ %% https://github.com/abntex/abntex2/issues/97 %% %% abntex2-num.bst, v-1.9.7 laurocesar -%% Copyright 2012-2018 by abnTeX2 group at http://www.abntex.net.br/ +%% Copyright 2012-2018 by abnTeX2 group at https://www.abntex.net.br/ %% %% 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 +%% https://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. %% @@ -20,7 +20,7 @@ %% %% The Current Maintainer of this work is the abnTeX2 team, led by Lauro %% César Araujo. Further information are available on -%% http://www.abntex.net.br/ +%% https://www.abntex.net.br/ %% ENTRY @@ -33,7 +33,7 @@ ENTRY isbn issn journal key month note marginnote number organization org-short pages pagename publisher reprinted-from reprinted-text school - series subtitle section title type url urlaccessdate + series subtitle section title type doi url urlaccessdate volume year year-presented abnt-and-type abnt-doi abnt-dont-use-etal @@ -249,7 +249,7 @@ FUNCTION {bbl.edby} { "edited by" } FUNCTION {bbl.edition} { "ed." } FUNCTION {bbl.empty} {""} FUNCTION {bbl.etal}{abnt.etal.text "" = {""} {" " abnt.etal.text *} if$} -FUNCTION {bbl.doi.url} {"http://dx.doi.org/"} +FUNCTION {bbl.doi.url} {"https://dx.doi.org/"} FUNCTION {bbl.in}{ "In" iso.abbreviation 'skip$ { bbl.colon *} if$} FUNCTION {bbl.ldots} %#0 use nothing, #1 use \ldots, #2 use $\ldots$, 3# use {...} {abnt.ldots.type @@ -261,14 +261,14 @@ if$} FUNCTION {bbl.master} { "Master of Science" } FUNCTION {bbl.missing.year} {abnt.missing.year - {""} %{"[s.d.]"} %#1 + {"[\emph{n.d.}]"} %#1 {""} %#0 if$} FUNCTION {bbl.monography} { "Monography" } FUNCTION {bbl.mthesis} { "Dissertation" } -FUNCTION {bbl.no.address} {""}%{"[S.l.]"} -FUNCTION {bbl.no.address.no.publisher} {""}%{"[S.l.: s.n.]"} -FUNCTION {bbl.no.publisher} {""}%{"[s.n.]"} +FUNCTION {bbl.no.address} {"[\emph{S.l.}]"} +FUNCTION {bbl.no.address.no.publisher} {"[\emph{S.l.}: \emph{s.n.}]"} +FUNCTION {bbl.no.publisher} {"[\emph{s.n.}]"} FUNCTION {bbl.number} { iso.abbreviation {"no."} {"n."} if$ } FUNCTION {bbl.nr} { "n." } FUNCTION {bbl.of} { "of" } @@ -399,6 +399,7 @@ FUNCTION {write.entry.verbatim2} } FUNCTION {write.entry.verbatim3} { + "doi" doi write.field.verbatim "url" url write.field.verbatim "urlaccessdate" urlaccessdate write.field.verbatim "volume" volume write.field.verbatim @@ -610,6 +611,13 @@ FUNCTION {format.issn} if$ } +FUNCTION {format.doi} +{ doi "doi" bibinfo.check + duplicate$ empty$ 'skip$ + {new.block duplicate$ "DOI \href{https://dx.doi.org/" swap$ * "}{" * swap$ * "}" *} + if$ +} + FUNCTION {format.note} { note empty$ { "" } @@ -899,7 +907,7 @@ FUNCTION {format.journal.pages} } FUNCTION {get.url.type} -{s #1 #5 substring$ "http:" = {http.url} +{s #1 #5 substring$ "https:" = {http.url} {s #1 #6 substring$ "https:" = {http.url} {s #1 #5 substring$ "file:" = {file.url} {s #1 #4 substring$ "ftp:" = {ftp.url} @@ -1086,8 +1094,8 @@ FUNCTION {format.type} FUNCTION {format.year} {year empty$ { "campo year vazio ou faltando em " cite$ * - abnt.missing.year {" (vou colocar [s.d.])" *} 'skip$ if$ warning$ - abnt.missing.year {", " } {""} if$ bbl.missing.year *} + abnt.missing.year {" (reference with [n.d.] no data)" *} 'skip$ if$ warning$ + abnt.missing.year {" " } {""} if$ bbl.missing.year *} {year n.dashify "year" bibinfo.check} if$ } @@ -1637,6 +1645,7 @@ FUNCTION {article} non.iso.date format.issn output new.block format.note output new.block + format.doi output new.block format.url fin.entry } @@ -1660,6 +1669,7 @@ FUNCTION {book} format.note output format.issn output %pode parecer curioso, mas revistas inteiras são tratadas como livro format.isbn output new.sentence + format.doi output new.block format.url fin.entry } @@ -1679,6 +1689,7 @@ FUNCTION {booklet} format.volume.number.series output new.sentence format.note output format.isbn output new.sentence + format.doi output new.block format.url fin.entry } @@ -1704,6 +1715,7 @@ FUNCTION {inbook} format.chapter.pages output new.sentence format.isbn output new.block format.note output new.block + format.doi output new.block format.url fin.entry } @@ -1724,6 +1736,7 @@ FUNCTION {incollection} format.chapter.pages output new.sentence format.isbn output new.block format.note output new.block + format.doi output new.block format.url fin.entry } @@ -1743,6 +1756,7 @@ FUNCTION {inproceedings} format.isbn output format.issn output new.sentence format.note output new.sentence + format.doi output new.block format.url fin.entry } @@ -1766,6 +1780,7 @@ FUNCTION {journalpart} format.note output format.issn output %pode parecer curioso, mas revistas inteiras são tratadas como livro format.isbn output new.sentence + format.doi output new.block format.url fin.entry } @@ -1785,6 +1800,7 @@ FUNCTION {manual} format.book.pages output new.sentence format.volume.number.series output new.sentence format.note output new.sentence + format.doi output new.block format.url fin.entry } @@ -1806,6 +1822,7 @@ FUNCTION {misc} format.howpublished output new.block format.volume.number.series output new.sentence format.note output new.block + format.doi output new.block format.url fin.entry empty.misc.check @@ -1870,6 +1887,7 @@ FUNCTION {thesis} abnt.thesis.year #0 = abnt.thesis.year #2 = or {format.date "year" output.check new.sentence} 'skip$ if$ format.note output new.block + format.doi output new.block format.url fin.entry } @@ -1904,6 +1922,7 @@ FUNCTION {proceedings} format.isbn output format.issn output new.block format.note output new.block + format.doi output new.block format.url fin.entry } @@ -1919,6 +1938,7 @@ FUNCTION {unpublished} %format.date output new.sentence iso.date.place {abnt.alf 'skip$ {format.year output new.sentence} if$} {format.year output new.sentence} if$ + format.doi output new.block format.url fin.entry } @@ -2031,7 +2051,7 @@ FUNCTION {set.default.abnt.variables} #0 'abnt.full.initials := #0 'abnt.last.names := %#0 abnt-style, #1 bibtex-style #1 'abnt.ldots.type := %#0 use nothing, #1 use \ldots, #2 use $\ldots$, 3# use {...} - #0 'abnt.missing.year := %#0 "void"; #1 "[s.d.]" + #0 'abnt.missing.year := %#0 "void"; #1 "[n.d.]" #0 'repeated.author := #0 'abnt.repeated.author.omit := #0 'abnt.repeated.title.omit := @@ -2122,7 +2142,7 @@ FUNCTION {begin.bib} 'skip$ if$ "\abntbstabout{" abnt.bst.revision * "}" * write$ newline$ % Ajusta o espaçamento entre linhas nas referências bibliográficas -"\setlength{\baselineskip}{1.2\baselineskip}" write$ newline$ +"\setlength{\baselineskip}{1.25\baselineskip}" write$ newline$ "\setlength{\itemsep}{0pt}" write$ newline$ } EXECUTE {begin.bib} @@ -2135,7 +2155,7 @@ FUNCTION {end.bib} EXECUTE {end.bib} FUNCTION {apresentacao} { "+---------------------------------------------------------+" - "| http://www.abntex.net.br/ |" + "| https://www.abntex.net.br/ |" "| Em caso de dúvidas ou problemas com este estilo procure |" abnt.alf {"| Estilo bibliográfico abntex2-alf.bst versão " abnt.bst.revision * " |" *} |