summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx b/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx
index 3b3ed80deb7..8d52c873f3a 100644
--- a/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle.cbx
@@ -9,8 +9,10 @@
\newbibmacro*{cite}{%
\iffieldundef{shorthand}
- {\printnames{labelname}%
- \setunit*{\printdelim{nametitledelim}}%
+ {\ifnameundef{labelname}
+ {}
+ {\printnames{labelname}%
+ \setunit{\printdelim{nametitledelim}}}%
\usebibmacro{cite:title}}%
{\usebibmacro{cite:shorthand}}}
@@ -20,10 +22,12 @@
{\usebibmacro{cite:shorthand}}}
\newbibmacro*{textcite}{%
- \printnames{labelname}%
- \setunit*{%
- \global\booltrue{cbx:parens}%
- \printdelim{nametitledelim}\bibopenparen}%
+ \ifnameundef{labelname}
+ {}
+ {\printnames{labelname}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \printdelim{nametitledelim}\bibopenparen}}%
\ifnumequal{\value{citecount}}{1}
{\usebibmacro{prenote}}
{}%