For the same author, I want a reference like Doe (1990; 1997) rather than Doe (1990) and Doe (1997), and I want (Doe 1990; 1997) rather than (Doe 1990; Doe 1997).
In other words, my question is very close to this question but I am using biblatex, not natbib.
Is there a straightforward, simple way to do this? Apologies if I am overlooking something.
Here is the MWE:
\documentclass{standalone}
\usepackage[applemac]{inputenc}
\usepackage[backend=biber,style=authoryear,giveninits]{biblatex}
\bibliography{Literature}
\begin{document}
I get \textcite{Doe1996,Doe1990}" but I wantDoe (1990; 1997)". I get \autocite{Doe1996,Doe1990}" but I want(Doe 1990; 1997)"
\end{document}
style=authoryear-compshould give you the desired result. From thebiblatexdocumentation: "A compact variant of the authoryearstyle which prints the author only once if subsequent references passed to a single citation command share the same author. ". See also: Biblatex - Combine Papers using citet for a similar question. – leandriis Jul 20 '20 at 08:11csquotes,giveninitsetc. does seem to not make a difference.When I add
– NCH32 Jul 20 '20 at 11:55\addbibresource{biblatex-examples.bib}and\textcite{knuth:ct:a,knuth:ct:b}to my MWE above, I get ``Knuth (1984, 1986)" as desired but the other references remain the same.style=authoryear-comp,as suggested by leandriis should get you pretty far. The only difference is that it uses a comma to separate years and not a semicolon, but that could be changed if desired. If you don't get 'compact' citations despite usingstyle=authoryear-comp,, you need to show us a compilable example complete with.bibentries (you can usebiblatex-examples.biband the two entriesknuth:ct:aandknuth:ct:b). The following works for me https://gist.github.com/moewew/4f45ab210f29494406b7b08848d817a1 – moewe Jul 20 '20 at 14:41filecontentswill not overwrite an existing file. This is a problem when your are experimenting and adding entries one by one. Of course you could always remove the automatically generated.bibfile when you add a new entry, but that is cumbersome. There are ways to allowfilecontentsto overwrite existing files. In a current LaTeX version write\begin{filecontents}[force]{\jobname.bib}instead of\begin{filecontents}{\jobname.bib}to allow overwriting. In an older LaTeX version load\usepackage{filecontents}. – moewe Jul 24 '20 at 19:36Doe, TerenceandDoe, Terryare treated as nonidentical people, which seems legit. Renaming one of them yields the desired result. – NCH32 Jul 25 '20 at 07:42uniquenameoption. If you want to stick with the original names as they are on the publication, you may be interested https://tex.stackexchange.com/q/134535/35864. – moewe Jul 25 '20 at 07:46uniquename) it probably isn't that useful to close the question as a duplicate. So I suggest you either ask leandriis to turn their comments into an answer (with an added note aboutuniquename) or you write a self-answer so this can be wrapped up. – moewe Jul 25 '20 at 07:51