BibTeX, biblatex and biberDouble parenthesis

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
rolandk
Posts: 2
Joined: Tue Mar 01, 2016 6:09 pm

Double parenthesis

Post by rolandk »

Hi,

I get double parenthesis in text about references like: (Anyone, (2003)) where it should be (Anyone, 2003)

I use \citep{any03} in text and in thebibliography as below:

Code: Select all

\begin{thebibliography}{}
\citeindexfalse
%
\bibitem[2003]{any03}
Anyone \ 2011, AB, 500, 6
Has anyone a solution to this problem?

Thanks,
Roland
Last edited by cgnieder on Mon Mar 07, 2016 4:58 pm, edited 1 time in total.

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Double parenthesis

Post by Stefan Kottwitz »

Hi Roland,

welcome to the forum!

Do you have a small but compilable example showing it? (Infominimal working example) I mean, I can just guess you may be using natbib or a biblatex citep-feature, but I don't know your document preamble.

Stefan
LaTeX.org admin
rolandk
Posts: 2
Joined: Tue Mar 01, 2016 6:09 pm

Double parenthesis

Post by rolandk »

Hi Stefan, and thanks for your effort,

Yes, I am using natbib, with the same setting in the bibliography that was used for the journal papers, without the double parenthesis trouble. However, it complains after an otherwise successful compilation. It also seems insensitive to what bibliographic style I use from the list below.

Cheers,
Roland

Package natbib Error: Bibliography not compatible with author-year citations.

(natbib) Press <return> to continue in numerical citation style.

Code: Select all

\documentclass[twoside,11pt]{Latex/Classes/PhDthesis}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{mathscr}
\input{abbrev2}                                                                              
\usepackage{url}

\bibpunct{(}{)}{;}{a}{}{,}                                                                    %%  to follow the A&A style

\bibliographystyle{aa}
\citeindexfalse

%\bibliographystyle{plainnat} % calls style file plainnat.bst

%\bibliographystyle{Latex/Classes/PhDbiblio-url2} %Default style file. Change according to your preferences.
%\bibliographystyle{Latex/Classes/jmb} 
\end{scriptsize}

%Various bibliography styles exit. Replace above style as desired.

% in-text refs: (1) (1; 2)
% ref list: alphabetical; author(s) in small caps; initials last name; page(s)
%\bibliographystyle{Latex/Classes/PhDbiblio-case} % title forced lower case
%\bibliographystyle{Latex/Classes/PhDbiblio-bold} % title as in bibtex but bold
%\bibliographystyle{Latex/Classes/PhDbiblio-url} % bold + www link if provided
%\bibliographystyle{Latex/Classes/jmb} % calls style file jmb.bst
%in-text refs: author (year) without brackets
%ref list: alphabetical; author(s) in normal font; last name, initials; page(s)

\bibliographystyle{plainnat} % calls style file plainnat.bst
% in-text refs: author (year) without brackets
% (this works with package natbib)
\end{document}
Post Reply