texlive[47291] Master/texmf-dist: biblatex-abnt (4apr18)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 4 22:19:49 CEST 2018


Revision: 47291
          http://tug.org/svn/texlive?view=revision&revision=47291
Author:   karl
Date:     2018-04-04 22:19:49 +0200 (Wed, 04 Apr 2018)
Log Message:
-----------
biblatex-abnt (4apr18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/NBR6023-2002.tex
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/README.md
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.tex
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.cbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.cbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazil-abnt.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazilian-abnt.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/english-abnt.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuges-abnt.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuguese-abnt.lbx
    trunk/Master/texmf-dist/tex/latex/biblatex-abnt/spanish-abnt.lbx

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/biblatex-abnt/texlive.sh

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/CHANGELOG.md	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/CHANGELOG.md	2018-04-04 20:19:49 UTC (rev 47291)
@@ -3,6 +3,15 @@
 This project adheres to [Semantic Versioning](http://semver.org/).
 
 
+## [3.3] - 2018-04-04
+
+### Added
+- Add `comp` option to numeric style
+
+### Fixed
+- Fix problem with English translation
+
+
 ## [3.2] - 2017-10-23
 
 ### Added
@@ -95,6 +104,7 @@
 - Add "et al." in citations
 
 
+[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

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/NBR6023-2002.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/NBR6023-2002.tex	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/NBR6023-2002.tex	2018-04-04 20:19:49 UTC (rev 47291)
@@ -49,9 +49,7 @@
 \makeatother
 \AtBeginDocument{\iftoggle{reference}{}{\globalcolor{red!50}}}
 
-\usepackage{hyperref}
 
-
 \newtoggle{reference}
 \toggletrue{reference}
 

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/README.md	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/README.md	2018-04-04 20:19:49 UTC (rev 47291)
@@ -1,35 +1,32 @@
 # 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 Norms)
+
+BibLaTeX style for Brazil's ABNT (Brazilian Association of Technical Standards)
 rules.
 
-Version 3.2
+Version 3.3
 
-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)). With special
-thanks to [@moewew](https://github.com/moewew) and all the awesome people
-behind BibLaTeX.
-
 ---
 
 Estilo para BibLaTeX compatível com as normas da ABNT.
 
-Substitui o pacote [`abntex2cite`](https://github.com/abntex/abntex2).
+Versão 3.3
 
-**Requer `biblatex v3.8` e `biber v2.8`.**
+---
 
-O arquivo `biblatex-abnt.pdf` apresenta algumas informações sobre o uso do
-pacote. Os arquivos `NBR6023-2002.pdf` e `NBR10520-2002.pdf` imprimem *ipsis
-litteris* todas as entradas usadas nas respectivas normas da ABNT.
+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.
+O biblatex-abnt está incluso no TeX Live a partir de 2016.
 
 Para instalá-lo manualmente, copie os arquivos `.bbx`, `.cbx` e `.lbx` para
 
@@ -37,6 +34,8 @@
 
 e atualize o banco de dados do TeX (rodando o `texhash`, por exemplo).
 
+**O biblatex-abnt requer `biblatex v3.8` e `biber v2.8`.**
+
 ## Uso
 
 1. Adicione as seguintes linhas ao preâmbulo do seu arquivo `.tex`:
@@ -52,5 +51,5 @@
 
 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.*
+*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.*
 

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.tex	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/biblatex-abnt.tex	2018-04-04 20:19:49 UTC (rev 47291)
@@ -80,7 +80,7 @@
   \printbibliography[heading=none,check=key#1]%
 }% <<<2
 
-\newcommand{\version}{3.2}
+\newcommand{\version}{3.3}
 \newcommand{\requirements}{\texttt{biblatex 3.8} e \texttt{biber 2.8}}
 
 \title{biblatex-abnt \version}
@@ -141,7 +141,8 @@
 \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):
+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
@@ -151,7 +152,8 @@
   \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] Mostra os anos diferenciados com letras (e.g., 2017a) também 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.]
@@ -161,23 +163,26 @@
     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} em vez de
-    traços sublineares nos campos repetidos
+  \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, na bibliografia, as páginas em que cada entrada
-    foi citada.
+  \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}"
 
-As opções \texttt{repeatfields}, \texttt{repeattitles}, \texttt{nosl},
-\texttt{nosn}, \texttt{noslsn} e \texttt{extrayear} também podem ser usadas apenas em entradas
-específicas. E.g.:
+\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,

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/test.sh	2018-04-04 20:19:49 UTC (rev 47291)
@@ -1,28 +1,54 @@
 #!/bin/bash
 
-sed -i '' 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR10520-2002.tex
+set -e
 
-sed -i '' 's/\\toggletrue{reference}/% \\toggletrue{reference}/' NBR6023-2002.tex
+echo "Running tests..."
 
-latexmk -pdf -norc NBR10520-2002.tex
+pass=true
 
-latexmk -pdf -norc NBR6023-2002.tex
 
-pdflatex NBR10520-2002_test.tex
+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
 
-pdflatex NBR6023-2002_test.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')
 
-latexmk -norc -c
 
-rm NBR10520-2002.bbl
+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
 
-rm NBR6023-2002.bbl
+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')
 
-rm NBR10520-2002.run.xml
 
-rm NBR6023-2002.run.xml
+if [ "$pass" = true ] ; then
+    echo "ALL GOOD!"
+    exit 0
+else
+    echo "OOPS, THERE'S SOMETHING WRONG!"
+    exit 1
+fi
 
-sed -i '' 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR10520-2002.tex
-
-sed -i '' 's/% \\toggletrue{reference}/\\toggletrue{reference}/' NBR6023-2002.tex
-

Added: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/texlive.sh
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-abnt/texlive.sh	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-abnt/texlive.sh	2018-04-04 20:19:49 UTC (rev 47291)
@@ -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
+


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-abnt/texlive.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.bbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.bbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt-ibid.bbx}
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 \RequireBibliographyStyle{abnt}
 

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.cbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-ibid.cbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt-ibid.cbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 % Init >>>1
 

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.bbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.bbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt-numeric.bbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 \RequireBibliographyStyle{abnt}
 \ExecuteBibliographyOptions{labelnumber}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.cbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt-numeric.cbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,90 +13,337 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt-numeric.cbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
-\RequireCitationStyle{numeric}
+% Init >>>1
 
+\RequireCitationStyle{numeric}%
+
+\newtoggle{comp}%
+\DeclareBibliographyOption{comp}[true]{%
+  \settoggle{comp}{#1}%
+}%
+
+% <<<1
+
+% Comp >>>1
+
+\providebool{bbx:subentry}%
+% \newbool{cbx:parens}%
+
+\newcounter{cbx at tempcnta}%
+\newcounter{cbx at tempcntb}%
+
+\DeclareFieldFormat{entrysetcount}{\mknumalph{#1}}%
+
+\newbibmacro*{cite:init}{%
+  \iftoggle{comp}{%
+    \global\boolfalse{cbx:parens}%
+    \global\undef\cbx at lasthash%
+    \global\undef\cbx at lastnumber%
+    \global\undef\cbx at lastprefix%
+    \setcounter{cbx at tempcnta}{0}%
+    \setcounter{cbx at tempcntb}{-2}%
+  }{}%
+}%
+
+\newbibmacro*{cite:comp}{%
+  \iftoggle{comp}{%
+    \addtocounter{cbx at 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 at lastprefix} )%
+    or%
+    test {\iffieldequals{labelprefix}{\cbx at lastprefix}}%
+  }%
+    {\ifnumequal{\thefield{labelnumber}}{\value{cbx at tempcntb}}%
+       {\savefield{entrykey}{\cbx at lastkey}%
+        \savefield{labelnumber}{\cbx at lastnumber}%
+        \addtocounter{cbx at tempcnta}{1}}%
+       {\ifnumequal{\thefield{labelnumber}}{\value{cbx at tempcntb}-1}%
+          {}%
+          {\usebibmacro{cite:dump}%
+           \ifnumgreater{\value{cbx at tempcntb}}{-1}%
+             {\multicitedelim}%
+             {}%
+           \printtext[bibhyperref]{%
+             \printfield{labelprefix}%
+             \printfield{labelnumber}}}}}%
+    {\usebibmacro{cite:comp:end}}%
+  \setcounter{cbx at tempcntb}{\thefield{labelnumber}}%
+  \savefield{labelprefix}{\cbx at lastprefix}}%
+
+\newbibmacro*{cite:comp:end}{%
+  \usebibmacro{cite:dump}%
+  \ifnumgreater{\value{cbx at tempcntb}}{-1}%
+    {\multicitedelim}%
+    {}%
+  \printtext[bibhyperref]{%
+    \printfield{labelprefix}%
+    \printfield{labelnumber}}}%
+
+\newbibmacro*{cite:comp:inset}{%
+  \usebibmacro{cite:dump}%
+  \ifnumgreater{\value{cbx at tempcntb}}{-1}%
+    {\multicitedelim}%
+    {}%
+  \printtext[bibhyperref]{%
+    \printfield{labelprefix}%
+    \printfield{labelnumber}%
+    \printfield{entrysetcount}}%
+  \setcounter{cbx at tempcntb}{-1}}%
+
+\newbibmacro*{cite:comp:shand}{%
+  \usebibmacro{cite:dump}%
+  \ifnumgreater{\value{cbx at tempcntb}}{-1}%
+    {\multicitedelim}%
+    {}%
+  \printtext[bibhyperref]{\printfield{shorthand}}%
+  \setcounter{cbx at tempcntb}{-1}}%
+
+\newbibmacro*{cite:dump}{%
+  \iftoggle{comp}{%
+    \ifnumgreater{\value{cbx at tempcnta}}{0}%
+      {\ifnumgreater{\value{cbx at tempcnta}}{1}%
+        {\bibrangedash}%
+        {\multicitedelim}%
+      \bibhyperref[\cbx at lastkey]{%
+        \ifdef\cbx at lastprefix%
+          {\printtext[labelprefix]{\cbx at lastprefix}}%
+          {}%
+        \printtext[labelnumber]{\cbx at lastnumber}}}%
+      {}%
+    \setcounter{cbx at tempcnta}{0}%
+    \global\undef\cbx at lastprefix%
+  }{}%
+}%
+
+% <<<1
+
 \renewbibmacro*{name:family}[4]{% >>>1
-  \ifuseprefix
+  \ifuseprefix%
     {\usebibmacro{name:delim}{#3#1}%
      \usebibmacro{name:hook}{#3#1}%
      \ifdefvoid{#3}{}{%
-       \ifcapital
-         {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+       \ifcapital%
+         {\mkbibnameprefix{\MakeCapital{#3}}\isdot}%
          {\mkbibnameprefix{#3}\isdot}%
        \ifprefchar{}{\bibnamedelimc}}%
-     \mkbibnamefamily{#1}\isdot
-     \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}
+     \mkbibnamefamily{#1}\isdot%
+     \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%
     {\usebibmacro{name:delim}{#1}%
      \usebibmacro{name:hook}{#1}%
-     \mkbibnamefamily{#1}\isdot
+     \mkbibnamefamily{#1}\isdot%
      \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}}% <<<1
 
 % Cite commands >>>1
 
 \DeclareCiteCommand{\cite}[\mkbibparens]% >>>2
-  {\usebibmacro{prenote}}
+  {\usebibmacro{cite:init}%
+   \usebibmacro{prenote}}%
   {\usebibmacro{citeindex}%
-   \usebibmacro{cite}}
-  {\multicitedelim}
-  {\usebibmacro{postnote}}% <<<2
+   \usebibmacro{cite:comp}}%
+  {\iftoggle{comp}{}{\multicitedelim}}%
+  {\usebibmacro{cite:dump}%
+   \usebibmacro{postnote}}% <<<2
 
 \DeclareCiteCommand{\parencite}[\mkbibparens]% >>>2
-  {\usebibmacro{prenote}}
+  {\usebibmacro{cite:init}%
+   \usebibmacro{prenote}}%
   {\usebibmacro{citeindex}%
-   \usebibmacro{cite}}
-  {\multicitedelim}
-  {\usebibmacro{postnote}}% <<<2
+   \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{prenote}}
+  {\usebibmacro{cite:init}%
+   \usebibmacro{prenote}}%
   {\usebibmacro{citeindex}%
-   \usebibmacro{cite}}
-  {\multicitedelim}
-  {\usebibmacro{postnote}}% <<<2
+   \usebibmacro{cite:comp}}%
+  {\iftoggle{comp}{}{\multicitedelim}}%
+  {\usebibmacro{cite:dump}%
+   \usebibmacro{postnote}}% <<<2
 
-\DeclareCiteCommand{\cbx at textcite}% >>>2
-  {\usebibmacro{textcite:init}% Mudar \multinamedelim e \finalnamedelim.
-  \boolfalse{cbx:parens}%
-  \renewcommand*{\finalnamedelim}{\addspace\bibstring{and}\addspace}%
-  \renewcommand*{\multinamedelim}{\addcomma\addspace}}%
+\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{textcite}}
-  {}
-  {\usebibmacro{textcite:postnote}}% <<<2
+   \usebibmacro{cite:comp}}%
+  {}%
+  {\usebibmacro{cite:dump}}% <<<2
 
-\DeclareMultiCiteCommand{\cites}[\mkbibparens]{\cite}{\multicitedelim}
+% \textcite >>>2
 
+  \renewcommand*{\iffinalcitedelim}{%
+    \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}%
+
+  \renewbibmacro*{textcite}{% >>>3
+    \iftoggle{comp}{%
+      \iffieldequals{namehash}{\cbx at 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 at lasthash}}%
+    }{%
+      \iffieldequals{namehash}{\cbx at 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 at 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 at lasthash}%
+      {\global\undef\cbx at 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 at 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 at textcite@init\cbx at textcite]% >>>3
+    {\gdef\cbx at savedkeys{}%
+    \citetrackerfalse%
+    \pagetrackerfalse%
+    \DeferNextCitekeyHook%
+    \iftoggle{comp}{\usebibmacro{cite:init}}{\usebibmacro{textcite:init}}}%
+    {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}%
+      {\protected at xappto\cbx at savedcites{()(\thefield{multipostnote})}%
+        \global\clearfield{multipostnote}}%
+      {}%
+    \xappto\cbx at savedkeys{\thefield{entrykey},}%
+    \iffieldequals{namehash}{\cbx at lasthash}%
+      {}%
+      {\stepcounter{textcitetotal}%
+        \savefield{namehash}{\cbx at lasthash}}}%
+    {}%
+    {\protected at xappto\cbx at savedcites{%
+      [\thefield{prenote}][\thefield{postnote}]{\cbx at savedkeys}}}% <<<3
+
+  % textcite has nested \DeclareCiteCommand definitions for textcite and we want to use
+  % the normal textcite context
+  \DeclareDelimcontextAlias{cbx at textcite}{textcite}%
+
+  \renewrobustcmd{\cbx at textcite@init}[2]{%
+    \setcounter{textcitetotal}{0}%
+    \setcounter{textcitecount}{0}%
+    \def\cbx at savedcites{#1}#2\cbx at savedcites\empty}%
+
+  \DeclareMultiCiteCommand{\cbx at textcites}{\cbx at textcite}{}%
+  \DeclareMultiCiteCommand{\textcites}[\cbx at textcites@init\cbx at textcites]{\textcite}{}%
+
+  \let\cbx at textcites@init\cbx at textcite@init%
+  \pretocmd{\cbx at textcites@init}{\UseNextMultiCiteHook}{}{}%
+
+% <<<2
+
+\DeclareMultiCiteCommand{\cites}[\mkbibparens]{\cite}{\multicitedelim}%
+
 \DeclareMultiCiteCommand{\parencites}%
-  [\mkbibparens]{\parencite}{\multicitedelim}
+  [\mkbibparens]{\parencite}{\multicitedelim}%
 
 \DeclareMultiCiteCommand{\smartcites}%
-  [\iffootnote\mkbibparens\mkbibfootnote]{\smartcite}{\multicitedelim}
+  [\iffootnote\mkbibparens\mkbibfootnote]{\smartcite}{\multicitedelim}%
 
 % <<<1
 
-\renewbibmacro*{textcite}{%% >>>1
-  \iffieldequals{namehash}{\cbx at lasthash}
-    {\setunit{\multicitedelim}}
-    {\ifnameundef{labelname}
-       {\printfield[citetitle]{labeltitle}}
-       {\printnames{labelname}}%
-     \setunit{%
-       \global\booltrue{cbx:parens}%
-       \printdelim{namelabeldelim}\bibopenparen}%
-     \stepcounter{textcitecount}%
-     \savefield{namehash}{\cbx at lasthash}}%
-  \ifnumequal{\value{citecount}}{1}
-    {\usebibmacro{prenote}}
-    {}%
-  \usebibmacro{cite}%
-  \setunit{%
-    \ifbool{cbx:parens}
-      {\bibcloseparen\global\boolfalse{cbx:parens}}
-      {}%
-    \textcitedelim}}% <<<1
-
 % bibhyperref >>>1
 
 \DeclareFieldFormat{citehyperref}{%% >>>2
@@ -104,17 +351,7 @@
   \bibhyperref{#1}%
 }% <<<2
 
-\DeclareFieldFormat{textcitehyperref}{%% >>>2
-  \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links
-  \bibhyperref{%
-    #1%
-    \ifbool{cbx:parens}%
-      {\bibcloseparen\global\boolfalse{cbx:parens}}%
-      {}}%
-}% <<<2
-
 \savebibmacro{cite}%
-\savebibmacro{textcite}%
 
 \renewbibmacro*{cite}{%% >>>2
   \printtext[citehyperref]{%
@@ -122,30 +359,9 @@
     \usebibmacro{cite}}%
 }% <<<2
 
-\renewbibmacro*{textcite}{%% >>>2
-  \ifboolexpr{%
-    (%
-      not test {\iffieldundef{prenote}}%
-      and%
-      test {\ifnumequal{\value{citecount}}{1}}%
-    )%
-    or%
-    (%
-      not test {\iffieldundef{postnote}}%
-      and%
-      test {\ifnumequal{\value{citecount}}{\value{citetotal}}}%
-    )%
-  }%
-    {\DeclareFieldAlias{textcitehyperref}{noformat}}%
-    {}%
-  \printtext[textcitehyperref]{%
-    \restorebibmacro{textcite}%
-    \usebibmacro{textcite}}%
-}% <<<2
-
 % <<<1
 
-\endinput
+\endinput%
 
 
 % vim: set foldmarker=\ >>>,\ <<< :

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.bbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.bbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt.bbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 
 % Init >>>1
@@ -219,6 +219,14 @@
 }%
 % <<<2
 
+% Toggle backref per entry >>>2
+\newtoggle{backref}%
+\settoggle{backref}{true}%
+\DeclareEntryOption[boolean]{backref}[true]{%
+  \settoggle{backref}{#1}%
+}%
+% <<<2
+
 % <<<1
 
 
@@ -293,6 +301,7 @@
 	      \step[fieldset=sortkey, origfieldval]%
 	}%
     \map[overwrite=false]{%
+      \pertype{thesis}%
       \pertype{phdthesis}%
       \pertype{mastersthesis}%
       \pertype{monography}%
@@ -332,23 +341,21 @@
 % <<<1
 
 
-% Formatting >>>1
+% Helper commands >>>1
 
-% Capitalization commands >>>2
-
-\newcommand\FirstWordUpper[1]{\@firstwordupper#1 \@nil}% >>>3
+\newcommand\FirstWordUpper[1]{\@firstwordupper#1 \@nil}% >>>2
 \newcommand\@firstwordupper{}%
-\def\@firstwordupper#1 #2\@nil{\MakeUppercase{#1} #2\unskip}% <<<3
+\def\@firstwordupper#1 #2\@nil{\MakeUppercase{#1} #2\unskip}% <<<2
 
-\newcommand\FirstWordSC[1]{\@firstwordsc#1 \@nil}% >>>3
+\newcommand\FirstWordSC[1]{\@firstwordsc#1 \@nil}% >>>2
 \newcommand\@firstwordsc{}%
-\def\@firstwordsc#1 #2\@nil{\textsc{#1} #2\unskip}% <<<3
+\def\@firstwordsc#1 #2\@nil{\textsc{#1} #2\unskip}% <<<2
 
-\newcommand\FirstWordLCSC[1]{\@firstwordlcsc#1 \@nil}% >>>3
+\newcommand\FirstWordLCSC[1]{\@firstwordlcsc#1 \@nil}% >>>2
 \newcommand\@firstwordlcsc{}%
-\def\@firstwordlcsc#1 #2\@nil{\textsc{\MakeLowercase{#1}} #2\unskip}% <<<3
+\def\@firstwordlcsc#1 #2\@nil{\textsc{\MakeLowercase{#1}} #2\unskip}% <<<2
 
-% Helper macros >>>3
+% Helper macros >>>2
 
 \long\def\addto#1#2{\expandafter\def\expandafter#1\expandafter{#1#2}}%
 
@@ -372,43 +379,43 @@
 }%
 \def\traceparamE\end{}%
 
-% <<<3
+% <<<2
 
-\def\smartuppercase#1{% >>>3
+\def\smartuppercase#1{% >>>2
    \bgroup %
    \traceparam{#1}%
    \MakeUppercase{\paramL}%
    \egroup%
-}% <<<3
+}% <<<2
 
-\def\smartlowercase#1{% >>>3
+\def\smartlowercase#1{% >>>2
    \bgroup %
    \traceparam{#1}%
    \MakeLowercase{\paramL}%
    \egroup%
-}% <<<3
+}% <<<2
 
-\def\smartlcsc#1{% >>>3
+\def\smartlcsc#1{% >>>2
    \bgroup %
    \traceparam{#1}%
    \textsc{\MakeLowercase{\paramL}}%
    \egroup%
-}% <<<3
+}% <<<2
 
-\def\smartsc#1{% >>>3
+\def\smartsc#1{% >>>2
    \bgroup %
    \traceparam{#1}%
    \textsc{\paramL}%
    \egroup%
-}% <<<3
+}% <<<2
 
-\renewcommand*{\mkbibacro}[1]{% >>>3
+\renewcommand*{\mkbibacro}[1]{% >>>2
   \iftoggle{scbib}{%
     \textsc{\MakeLowercase{#1}}%
   }{\MakeUppercase{#1}}%
-}% <<<3
+}% <<<2
 
-\newcommand*{\UpperOrSC}[1]{% >>>3
+\newcommand*{\UpperOrSC}[1]{% >>>2
   \let\MakeCapital\relax%
   \iftoggle{scbib}{%
     \textsc{\MakeLowercase{#1}}%
@@ -415,24 +422,47 @@
   }{%
     \MakeUppercase{#1}%
   }%
-}% <<<3
+}% <<<2
 
-\newcommand*{\NormalOrSC}[1]{% >>>3
+\newcommand*{\NormalOrSC}[1]{% >>>2
   \iftoggle{scbib}{%
     \textsc{\MakeLowercase{#1}}%
   }{%
     #1%
   }%
-}% <<<3
+}% <<<2
 
-% <<<2
+\newcommand{\iffieldendswith}[4]{% >>>2
+  \IfEndWith{\strfield{#1}}{#2}{#3}{#4}%
+}% <<<2
 
+\newcommand{\iffieldendswithpunct}[3]{% >>>2
+  \ifboolexpr{%
+    test {\iffieldendswith{#1}{.}}%
+    or%
+    test {\iffieldendswith{#1}{!}}%
+    or%
+    test {\iffieldendswith{#1}{?}}%
+    or%
+    test {\iffieldendswith{#1}{-}}%
+    or%
+    test {\iffieldendswith{#1}{:}}%
+    or%
+    test {\iffieldendswith{#1}{/}}%
+  }{#2}{#3}%
+}% <<<2
+
+% <<<1
+
+
+% Formatting >>>1
+
 % \IfGivenIsInitial >>>2
 
 \ExplSyntaxOn%
 
 \ProvideDocumentCommand{\IfGivenIsInitial}{mm}{%
-  \regex_match:nVTF {\w\.} \namepartgiven {#1} {#2}%
+  \regex_match:nVTF {\w\w} \namepartgiven {#2} {#1}%
 }%
 \cs_generate_variant:Nn \regex_match:nnTF { nV }%
 
@@ -877,9 +907,15 @@
           }%
 						{\printfield[titlecase]{title}}%
 						{\printfield[normalfont]{title}}}%
-				\normalfont{\setunit*{\subtitlepunct}%
-				\printfield[normalfont]{subtitle}%
-				\setunit{\addperiod\addspace}}}%
+				\normalfont{%
+          \iffieldendswithpunct{title}{%
+            \setunit*{\addspace}%
+          }{%
+            \setunit*{\subtitlepunct}%
+          }
+          \printfield[normalfont]{subtitle}%
+          \setunit{\addperiod\addspace}%
+        }}%
 		\newunit}}%
 	\printfield{titleaddon}%
 }%% <<<3
@@ -915,7 +951,11 @@
       }{%
         \printfield[titlecase]{booktitle}%
       }%
-      \normalfont{\setunit*{\subtitlepunct}}%
+      \iffieldendswithpunct{booktitle}{%
+        \normalfont{\setunit*{\addspace}}%
+      }{%
+        \normalfont{\setunit*{\subtitlepunct}}%
+      }
       \printfield[normalfont]{booksubtitle}}%
       \newunit}%
   \printfield{booktitleaddon}%
@@ -934,7 +974,11 @@
       }{%
         \printfield[titlecase]{maintitle}%
       }%
-      \normalfont{\setunit*{\subtitlepunct}}%
+      \iffieldendswithpunct{maintitle}{%
+        \normalfont{\setunit*{\addspace}}%
+      }{%
+        \normalfont{\setunit*{\subtitlepunct}}%
+      }
       \printfield[normalfont]{mainsubtitle}}%
       \newunit}%
   \printfield{maintitleaddon}%
@@ -976,7 +1020,11 @@
     {}%
     {\printtext[journaltitle]{%
        \printfield[titlecase]{journaltitle}%
-       \setunit{\subtitlepunct}%
+       \iffieldendswithpunct{journaltitle}{%
+          \setunit{\addspace}%
+       }{%
+          \setunit{\subtitlepunct}%
+       }
        \printfield[normalfont]{journalsubtitle}}}%
 }%% <<<3
 
@@ -1001,19 +1049,23 @@
 }%% <<<3
 
 \renewbibmacro*{periodical}{%% >>>3
-  \iffieldundef{title}%
-    {}%
-    {\iffieldundef{issue}{%
-		\printtext[title]{%
-	       \unspace\printfield[upperfirst]{title}%
-		\normalfont{\setunit*{\subtitlepunct}%
-	       \printfield[normalfont]{subtitle}}}%
+  \iffieldundef{title}{}{%
+    \printtext[title]{%
+      \iffieldundef{issue}{%
+        \unspace\printfield[upperfirst]{title}%
+      }{%
+        \printfield[titlecase]{title}%
+      }
+      \normalfont{%
+        \iffieldendswithpunct{title}{%
+          \setunit*{\addspace}%
+        }{%
+          \setunit*{\subtitlepunct}%
+        }
+        \printfield[normalfont]{subtitle}%
+      }%
+    }%
 	}%
-	{\printtext[title]{%
-       \printfield[titlecase]{title}%
-	   \normalfont{\setunit*{\subtitlepunct}%
-       \printfield[normalfont]{subtitle}}}}%
-	}%
 }%% <<<3
 
 % <<<2
@@ -1262,7 +1314,11 @@
     {}%
     {\printtext[issuetitle]{%
        \printfield[upperfirst]{issuetitle}%
-       \setunit*{\subtitlepunct}%
+        \iffieldendswithpunct{issuetitle}{%
+          \setunit*{\addspace}%
+        }{%
+          \setunit*{\subtitlepunct}%
+        }
        \printfield[normalfont]{issuesubtitle}}}%
 }%% <<<3
 
@@ -1393,33 +1449,35 @@
 }%% <<<3
 
 \renewbibmacro*{pageref}{% >>>3
-  \iftoggle{citecount}{%
-    \printunit{\addperiod\addspace}%
-    \iflistundef{pageref}{%
-      \bibstring{citecountnopage}%
-    }{%
-      \printtext{%
-        \ifnumgreater{\value{pageref}}{1}{%
-          \bibstring{citecountpages}\ppspace%
-        }{%
-          \bibstring{citecountpage}\ppspace%
+  \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}%
         }%
-        \printlist[pageref][-\value{listtotal}]{pageref}%
       }%
-    }%
-  }{%
-    \iflistundef{pageref}{}{%
-      \printunit{\addperiod\addspace}%
-      \printtext{%
-        \ifnumgreater{\value{pageref}}{1}{%
-          \bibstring{backrefpages}\ppspace%
-        }{%
-          \bibstring{backrefpage}\ppspace%
+    }{%
+      \iflistundef{pageref}{}{%
+        \printunit{\addperiod\addspace}%
+        \printtext{%
+          \ifnumgreater{\value{pageref}}{1}{%
+            \bibstring{backrefpages}\ppspace%
+          }{%
+            \bibstring{backrefpage}\ppspace%
+          }%
+          \printlist[pageref][-\value{listtotal}]{pageref}%
         }%
-        \printlist[pageref][-\value{listtotal}]{pageref}%
       }%
     }%
-  }%
+  }{}
 }% <<<3
 
 % <<<2

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt.cbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 % Init >>>1
 

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazil-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazil-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazil-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{brazil-abnt.lbx}
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 \InheritBibliographyExtras{brazilian-abnt}
 \InheritBibliographyStrings{brazilian-abnt}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazilian-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazilian-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/brazilian-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{abnt-brazilian.lbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 
 % Init >>>

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/english-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/english-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/english-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -15,7 +15,7 @@
 %% Tradução para o espanhol de Juan-Ernesto Sepúlveda. Obrigado!
 
 \ProvidesFile{abnt-english.lbx}%
-2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 
 % Init >>>

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuges-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuges-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuges-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{portuges-abnt.lbx}
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 \InheritBibliographyExtras{brazilian-abnt}
 \InheritBibliographyStrings{brazilian-abnt}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuguese-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuguese-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/portuguese-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -13,7 +13,7 @@
 %% The Current Maintainer of this work is Daniel Ballester Marques.
 
 \ProvidesFile{portuguese-abnt.lbx}
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 \InheritBibliographyExtras{brazilian-abnt}
 \InheritBibliographyStrings{brazilian-abnt}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-abnt/spanish-abnt.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-abnt/spanish-abnt.lbx	2018-04-04 20:19:31 UTC (rev 47290)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-abnt/spanish-abnt.lbx	2018-04-04 20:19:49 UTC (rev 47291)
@@ -15,7 +15,7 @@
 %% Tradução para o espanhol de Juan-Ernesto Sepúlveda. Obrigado!
 
 \ProvidesFile{abnt-spanish.lbx}%
-[2017/11/09\space v3.2\space ABNT BibLaTeX citation style]%
+[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
 
 
 % Init >>>



More information about the tex-live-commits mailing list