summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx76
1 files changed, 50 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx b/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
index afc7aeef0e9..5789a2a2557 100644
--- a/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-abnt/abnt.cbx
@@ -13,7 +13,7 @@
%% The Current Maintainer of this work is Daniel B. Marques.
\ProvidesFile{abnt.cbx}%
-[2016/10/03\space v3.0\space ABNT BibLaTeX citation style]%
+[2017/03/15\space v3.0.1\space ABNT BibLaTeX citation style]%
% Init >>>1
@@ -125,9 +125,17 @@
\DeclareFieldFormat{citetitle}{%% >>>3
\iftoggle{sccite}{%
- \normalfont\textsc{\MakeLowercase{\FirstWord{#1}}}%
+ \normalfont\textsc{\MakeLowercase{\FirstWord{#1}}}\ldots\isdot%
}{%
- \normalfont\MakeUppercase{\FirstWord{#1}}%
+ \normalfont\MakeUppercase{\FirstWord{#1}}\ldots\isdot%
+ }%
+}%% <<<3
+
+\DeclareFieldFormat{noname}{%% >>>3
+ \iftoggle{sccite}{%
+ \normalfont\textsc{\MakeLowercase{\FirstWord{#1}}}\ldots\isdot%
+ }{%
+ \normalfont\MakeUppercase{\FirstWord{#1}}\ldots\isdot%
}%
}%% <<<3
@@ -335,39 +343,55 @@
% <<<2
+\DeclareCiteCommand*{\footcite}[\mkbibfootnote]% >>>2
+ {\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \usebibmacro{footcite}}%
+ {\multicitedelim}%
+ {\usebibmacro{footcite:postnote}}% <<<2
+
+\DeclareCiteCommand{\footcite}[\mkbibfootnote]% >>>2
+ {\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \usebibmacro{footcitestar}}%
+ {\multicitedelim}%
+ {\usebibmacro{footcite:postnote}}% <<<2
+
% <<<1
% Macros >>>1
\renewbibmacro*{cite}{%% >>>2
- \iffieldequals{fullhash}{\cbx@lasthash}%
- {\usebibmacro{cite:plabelyear+extrayear}}%
- {\iffieldundef{shorthand}{%
+ \iffieldequals{fullhash}{\cbx@lasthash}{%
+ \usebibmacro{cite:plabelyear+extrayear}%
+ }{%
+ \iffieldundef{shorthand}{%
\ifnameundef{shortauthor}{%
- \ifnameundef{holder}{%
- \ifnameundef{labelname}{%
- \iflistundef{organization}{%
- \usebibmacro{cite:noname}%
- }{%
- \printlist[uppercase]{organization}%
- }%
- }{%
- \printtext[bibhyperref]{\printnames[LAST]{labelname}}%
- }%
+ \ifnameundef{holder}{%
+ \ifnameundef{labelname}{%
+ \iflistundef{organization}{%
+ \usebibmacro{cite:noname}%
}{%
- \printnames[LAST]{holder}%
+ \printlist[uppercase]{organization}%
}%
}{%
- \printnames[LAST]{shortauthor}%
+ \printtext[bibhyperref]{\printnames[LAST]{labelname}}%
}%
+ }{%
+ \printnames[LAST]{holder}%
+ }%
}{%
- \usebibmacro{cite:shorthand}%
+ \printnames[LAST]{shortauthor}%
}%
- \setunit{\nameyeardelim}%
- \usebibmacro{cite:plabelyear+extrayear}%
- \savefield{fullhash}{\cbx@lasthash}}%
- \setunit{\multicitedelim}%
+ \setunit{\nameyeardelim}%
+ \usebibmacro{cite:plabelyear+extrayear}%
+ }{%
+ \usebibmacro{cite:shorthand}%
+ }%
+ \savefield{fullhash}{\cbx@lasthash}%
+ }%
+ \setunit{\multicitedelim}%
}% <<<2
\renewbibmacro*{textcite}{%% >>>2
@@ -423,7 +447,7 @@
}% <<<2
\newbibmacro*{cite:noname}{%% >>>2
- \printfield[citetitle]{title}%
+ \printfield[noname]{title}%
}% <<<2
\def\citeresetabnt{\global\let\cbx@abnt@names\@empty}%
@@ -448,7 +472,7 @@
\newbibmacro*{cite:plabelyear+extrayear}{%% >>>2
\iffieldundef{labelyear}{}{%
\printtext[bibhyperref]{%
- \printfield[noformat]{origyear}%
+ \printfield[normalfont]{origyear}%
\setunit*{\addslash}%
\printfield{labelyear}%
\printfield{extrayear}%
@@ -461,7 +485,7 @@
\renewbibmacro*{cite:shorthand}{%% >>>2
\printtext[bibhyperref]{%
- \emph{\printfield{shorthand}}%
+ \printfield{shorthand}%
}%
}% <<<2