-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expression 'citedas' not always appropriate #1300
Comments
@moewew - we already have the mechanism for this with the |
Exactly, on TeX.SX there are https://tex.stackexchange.com/q/12679/35864, https://tex.stackexchange.com/q/325159/35864, https://tex.stackexchange.com/q/73753/35864, https://tex.stackexchange.com/q/517306/35864 all using I can see that it would make sense to default to not printing the |
For the overhead, I think that's alright in a verbose style. But I'm not sure what you mean with the filter? |
I meant that the following MWE will not use the \documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=verbose, citecounter]{biblatex}
\renewbibmacro*{shorthandintro}{%
\ifnumgreater{\value{citecounter}}{1}
{\iffieldundef{shorthandintro}
{\iffieldundef{shorthand}
{}
{\setunit{\addspace}%
\printtext[parens]{%
\bibstring{citedas}\space
\printfield{shorthand}}}}
{\setunit{\addspace}%
\printtext[parens]{\printfield{shorthandintro}}}}
{}}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{kant:kpv}
ipsum \autocite{kant:ku}
dolor \autocite{kant:kpv}
\printbibliography
\printshorthands
\end{document} |
And what should be done for the shorthand list? Would it be possible to intervene there too? |
We would have to alter |
You can try the verbose
However, without the extra |
In verbose-styles, Biblatex provides the
citedas
expression for introducing shorthand into a citation, but has no mechanism to check whether the shorthand will actually be used.I ask the developers if they should introduce a control mechanism so that Biblatex does not add the expression
citedas
if the citation is used only once.The text was updated successfully, but these errors were encountered: