1

Related to my other question: I cite in my text using footnotes and have the bibliography sorted by date. I need the reflist option in windycity to ensure that the bibliography is sorted by date and has the date immediately following the author. When I cite works from the same author from the same year, letters are added behind the year in the bibliography. This makes sense for inline author-date citations, but not for notes citations. Can I prevent this from happening?

MWE:

\documentclass{article}
\usepackage[reflist=true, style=windycity, date=year]{biblatex}
\bibliography{biblatex-examples}
\begin{document}
    \cite{knuth:ct:c}
\cite{knuth:ct:b}   
\printbibliography

\end{document}

enter image description here

cktai
  • 823

2 Answers2

2

The conceptually nicest way to get rid of the extradate field/the disambiguation letter after the year is to tell biblatex not to calculate the labeldate at all by passing the option labeldateparts=false.

But windycity assumes labeldateparts=true and does not work properly if the option is set to false.

So here is the next best workaround that suppresses the field extradata (and the companion field extradatescope) as they are read from the .bbl file.

\documentclass{article}
\usepackage[reflist=true, style=windycity, date=year]{biblatex}
\addbibresource{biblatex-examples.bib}

\DeclareFieldInputHandler{extradate}{\def\NewValue{}} \DeclareFieldInputHandler{extradatescope}{\def\NewValue{}}

\begin{document} \cite{knuth:ct:c}

\cite{knuth:ct:b} \printbibliography \end{document}

Knuth, Donald E. 1986. TeX: The Program. Vols. B of Computers & Typesetting. Reading, Mass. Addison-Wesley.

Of course that means the extradate is really gone and \parencites are no longer unique.

If you want the letters gone only in the bibliography, use

\AtEveryBibitem{%
  \clearfield{extradate}%
  \clearfield{extradatescope}}
moewe
  • 175,683
1

Answering to your edit:

You can modify the environment using the code form here: https://tex.stackexchange.com/a/63865/29873

\documentclass{article}
\usepackage[reflist=true, style=windycity, date=year]{biblatex}
\bibliography{biblatex-examples}

\defbibenvironment{nodis} {\list {} {\setlength{\leftmargin}{\bibhang}% \setlength{\itemindent}{-\leftmargin}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}} {\endlist} {\clearfield{extradate}\item}

\begin{document} \cite{knuth:ct:c}

\cite{knuth:ct:b}   
\printbibliography
\printbibliography[env=nodis]

\end{document}

enter image description here


From the manual:

reflist

Use this option to print a bibliography in the author-date format, what CMOS calls a reference list.

If you don't want that format, don't use that option:

\documentclass{article}
\usepackage[style=windycity, date=year]{biblatex}
\bibliography{biblatex-examples}
\begin{document}
    \cite{knuth:ct:c}
\cite{knuth:ct:b}   
\printbibliography

\end{document}

enter image description here

DG'
  • 21,727
  • As I mentioned in my question, I need the bibliography to be sorted by date. I need reflist is the way to achieve that. I have rephrased the question to make that more clear. – cktai Jun 19 '20 at 10:14