Adjust fshowcited, which is also used for books

This commit is contained in:
Simon Bruder 2023-04-02 16:01:30 +02:00
parent 810c44b445
commit 8ba531be29
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -142,3 +142,32 @@
% Incollection: No shorttitle in footnote, caveat: Makes footnote no longer clickable
\newbibmacro*{cite:title:incollection}{}
\newbibmacro{fshowcited}{%
\iftoggle{tnbcbx@fshowcited}
{\iffieldundef{shorttitle}
{}
{\setunit{\addspace}%
\printtext[parens]{%
\bibstring{zitiertals}%
\setunit{\space}%
\printnames[labelname]{author}%
\setunit{\addcomma\space}%
\printfield{shorttitle}%
}}}%
{}}%
\renewbibmacro{finentry}{%
\ifentrytype{commentary}{%
\usebibmacro{howcited}\newunit\newblock}%
{}%
\ifentrytype{book}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\ifentrytype{incollection}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\ifentrytype{online}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\finentry}%