TransWikia.com

Same author name is not allowed in subsequent references, replaced by dashes

TeX - LaTeX Asked by vipin8169 on March 12, 2021

I am writing a document using this template which is using this bib style file.
Having the same author for multiple references is leading to dashes as shown below.

I tried looking for name.or.dash or the source code which is responsible for this behavior but I could not. Kindly help!
enter image description here

Update: I just found out that .sty file I linked above is not used as it is part of an if/else block. biblatex-chicago.sty which is not even there in the project source, is being used. when I try to use biblatex-apa it gives me an error that biblatex-apa.sty is not found, wondering how is it able to locate biblatex-chicago.sty on its own.

One Answer

When the usebiblatex flag in the template is set, its bibliography setup very roughly comes down to

documentclass[american]{article}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{csquotes}
usepackage[
  backend=biber,
  authordate,
  doi=only,
  isbn=false
]{biblatex-chicago}

addbibresource{biblatex-examples.bib}

begin{document}
Lorem autocite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c}

printbibliography
end{document}

which indeed produces dashes instead of repeated author names

Dashes for repeated Knuth

You can use the option dashed=false, to turn this behaviour off and give you repeated names in the bibliography.

documentclass[american]{article}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{csquotes}
usepackage[
  backend=biber,
  authordate,
  dashed=false,
  doi=only,
  isbn=false
]{biblatex-chicago}

addbibresource{biblatex-examples.bib}

begin{document}
Lorem autocite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c}

printbibliography
end{document}

Repeated Knuth

If you want to switch the biblatex style completely, you need to switch from usepackage{biblatex-chicago} to usepackage{biblatex}. AFAIK biblatex-chicago styles are the only styles that are loaded via a wrapper package, all other biblatex styles are loaded via biblatex, e.g. biblatex-apa is used as

documentclass[american]{article}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{csquotes}
usepackage[
  backend=biber,
  style=apa,
]{biblatex}

addbibresource{biblatex-examples.bib}

begin{document}
Lorem autocite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c}

printbibliography
end{document}

APA bibliography

Correct answer by moewe on March 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP