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
Command \smartcite does not take autopunct feature into account #749
Comments
As far as I know only This is known and we have a ticket open for discussion #733. |
The documentation (see section 3.8) suggests that all *cite commands are affected by this feature :
Here, I understand that “they” refers to all the following commands. But I'm not English-speeking native. |
As far as I can see this only applies to generally scanning ahead for spurious punctuation (which indeed works for all commands), but it does not specifically refer to moving around the punctuation marks, which only happens for
Anyway, I can see that it would be useful to have other citation commands move the punctuation, that's why I started the discussion in #733 in the first place. But this requires changes to lower-level bits of the code and we need to ensure that we don't break older documents or change their behaviour significantly, which makes the implementation more tricky. Since no one responded on the other issue I did not investigate further, but I think it would be quite a complicated operation. |
Is there any specific reason why you can't use |
There is no specific reason. In fact, I do not expect that a footnote call (a citation, here) moves after the punctuation mark, in general, because this should not be the case in French as far I know. So, the best option for me would be to set autopunct to false, I suppose. But I still can not figure out what is a "spurious punctuation mark after citation". An example of such problem would be very useful. |
It is probably safer to just set up
instead of disabling the entire A spurious punctuation mark situation would appear if the citation as typeset with \documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authortitle-terse, backend=biber, autopunct=true]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \cite{aksin}.
Lorem \cite{aksin},
\printbibliography
\end{document} which produces
and with
The undesired double . is suppressed, while |
Is there anything left to discuss here? I'm closing this as a duplicate of #733 for now. Everyone is very much welcome to share their thoughts about moving punctuation there. If you feel we need to tie up some loose ends in the discussion here (documentation improvements?), don't hesitate to comment here. |
Duplicate of #733 |
Using authortitle style with, e.g.,
My reference is awesome\smartcite{myref}!
produces “My reference is awesome²!” instead of “My reference is awesome!²”, i.e., the footnote call is located at the same place that the \smartcite call, unlike other *cite commands.The text was updated successfully, but these errors were encountered: