BibTeX, biblatex and biberbiber - Quotation marks in bibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
ge0rg
Posts: 9
Joined: Sat Jul 25, 2015 7:00 am

biber - Quotation marks in bibliography

Post by ge0rg »

Hello people,
When I thought that after my last paper I had LaTex set up perfectly for my needs, I overlooked the fact that I would have to write future papers - like the current one - in a different language, namely German.

Now, my biber configuration is a little off: The items all look like the following:

Feldman, Richard (2010). "Contextualism" (...)

The problem with this is that I need the first quotation mark to be down, I basically want ,,Contextualism", but I have no idea how to do that.

I use a slightly modified author-year style, by the way.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

biber - Quotation marks in bibliography

Post by cgnieder »

I am willing to bet that this has nothing to do with biber.

Does your document have

Code: Select all

\usepackage[ngerman]{babel}
If yes I need to see a Infominimal working example so I can reproduce your issue on my computer so I can look for a solution.

Regards
site moderator & package author
ge0rg
Posts: 9
Joined: Sat Jul 25, 2015 7:00 am

biber - Quotation marks in bibliography

Post by ge0rg »

Well, it has

Code: Select all

\usepackage[ngerman, english]{babel}
If I remove the english bit, I get an error at:

Code: Select all

\usepackage[
    backend=biber,
    style=authoryear-icomp,
    sortlocale=de_DE,
    natbib=true,
    url=false, 
    doi=true,
    eprint=false
]{biblatex}
but I don't know why.

I give you a "minimal" examlple, but as I am fairly new to latex I don't know if everything in there is really essential (I put this together by trial and error and it served me well for english documents):

Code: Select all

\documentclass[12pt,a4paper]{article}


\usepackage[
    backend=biber,
    style=authoryear-icomp,
    sortlocale=de_DE,
    natbib=true,
    url=false, 
    doi=true,
    eprint=false
]{biblatex}

\usepackage[utf8]{inputenc}

\renewcommand*{\postnotedelim}{\addcolon\space}

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

\renewcommand*{\nameyeardelim}{\space}


\usepackage[onehalfspacing]{setspace}

\usepackage{mathptmx}
\usepackage[scaled=.92]{helvet}
\usepackage{courier}
\usepackage[paper=a4paper,left=30mm,right=25mm,top=25mm,bottom=25mm]{geometry}

\usepackage[ngerman, english]{babel}

\usepackage{enumitem}
\usepackage{fixltx2e}





\addbibresource{hausarbeitBib.bib}

\begin{document}

\selectlanguage{ngerman}



\section{Some Text}
Text.

\nocite{*}

 \printbibliography


\end{document}
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Re: biber - Quotation marks in bibliography

Post by cgnieder »

Thanks: can you give us at least one entry of your bib-file which shows the error? Otherwise the example still doesn't help us very much…

Regards
site moderator & package author
ge0rg
Posts: 9
Joined: Sat Jul 25, 2015 7:00 am

biber - Quotation marks in bibliography

Post by ge0rg »

Okay, now something weird happened. After I got the error after removing "english" again and compiling two times, I didn't get it anymore (it happened at "sortlocale=de_DE" in the bibtex initialization). So that seems okay now.

But quotation marks still like before.

EDIT:
Oh, sorry, you meant the bib file...
here:

Code: Select all

@InCollection{fld_ce,
  Title                    = {Contextualism},
  Author                   = {Richard Feldman},
  Booktitle                = {A Companion to Epistemology},
  Publisher                = {Blackwell Publishing Ltd.},
  Year                     = {2010},

  Address                  = {West Sussex},
  Chapter                  = {2},
  Editor                   = {Jonathan Dancy, Ernest Sosa and Matthias Steup},
  Pages                    = {12-22},

  Owner                    = {ge0rg},
  Timestamp                = {2015.07.25}
}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

biber - Quotation marks in bibliography

Post by Johannes_B »

\usepackage[autostyle=true]{csquotes}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
ge0rg
Posts: 9
Joined: Sat Jul 25, 2015 7:00 am

Re: biber - Quotation marks in bibliography

Post by ge0rg »

Johannes, great, that works. Thanks!
Post Reply