4

I am using the biblatex chicago package. It's producing dashes for a repeating author in the bibliography.

I tried different solution like, for example, including

\makeatletter
\AtEveryBibitem{%
  \global\undef\bbx@lasthash%
  \clearfield{extrayear}}
\makeatother

but that does not work. How can I avoid dashes?

lockstep
  • 250,273
user42754
  • 281

2 Answers2

6

Overwrite the macro with an empty box:

\renewcommand*\bibnamedash{\makebox[\leftmargin]{}}

or if you want to repeat the author name:

\usepackage[dashed=false,...]{biblatex}

And if it does not work than your bibstyle dowsn't support it. The style authoryear does it. For biblatex-chicago try:

...
\usepackage{biblatex-chicago}
\renewbibmacro*{author}{%
  \ifboolexpr{
    test \ifuseauthor
    and
    not test {\ifnameundef{author}}
  }
    {\printnames{author}%
        \iffieldundef{authortype}
          {\setunit{\addspace}}
          {\setunit{\addcomma\space}}%
     \iffieldundef{authortype}
       {}
       {\usebibmacro{authorstrg}%
        \setunit{\addspace}}}%
    {\global\undef\bbx@lasthash
     \usebibmacro{labeltitle}%
     \setunit*{\addspace}}%
  \usebibmacro{date}}
 ...

which worked for me.

3

If you just need to supress dashes try only

\makeatletter
\AtEveryBibitem{
  \global\undef\bbx@lasthash}
\makeatother

The part \clearfield{extrayear} is irrelevant to your problem. It should be removed.

Emanuel
  • 169