BibTeX, biblatex and biberExtra }, or forgotten $

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
sjkiss
Posts: 30
Joined: Tue Nov 15, 2011 12:23 am

Extra }, or forgotten $

Post by sjkiss »

I'm getting this error:
./bpa.canada.working.tex:263: Extra }, or forgotten $.
<recently read> }

l.263

?
./bpa.canada.working.tex:263: Missing } inserted.
<inserted text>
}
l.263
The a minimal working example of my text is:

Code: Select all

\documentclass{article}
\usepackage[authordate, natbib, useprefix]{biblatex-chicago}
\usepackage[pdftex]{graphicx}
\usepackage{hyperref}
\usepackage{enumerate}
\usepackage{endnotes}
\usepackage{rotating}
\bibliography{/users/simon/Documents/simon.bib}
\newcommand{\degree}{\ensuremath{^\circ}}
\title{Title}
\author{Author}
\begin{document}
\maketitle

\section{Abstract}
\section{Introduction}
Test Text
\citep{Nagel:1999ui}
%\printbibliography
\end{document}
I think I've isolated the error to the \printbibliography command, but it's very weird.

Uncommenting it in the minimal code example above allows me to compile this fine, but as I start adding in text and tables to the minimal example then I recreate the error reported above. Can anyone clarify what is going on here?
Note: I was using biblatex (not biblatex-chicago) and it was compiling nicely.

Referred bibliographic entry is as follows:

Code: Select all

@article{Nagel:1999ui,
author = {Nagel, S and Vom Saal, F},
title = {{Developmental effects of estrogenic chemicals are predicted by an in vitro assay incorporating modification of cell uptake by serum* 1}},
journal = {The Journal of Steroid {\ldots}},
year = {1999}
}

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

sjkiss
Posts: 30
Joined: Tue Nov 15, 2011 12:23 am

Re: Extra }, or forgotten $

Post by sjkiss »

I should say: clicking through the errors compiles a file that looks good, but I'd like to clarify this error.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Extra }, or forgotten $

Post by Johannes_B »

Code: Select all

\documentclass{article}
\usepackage[authordate, natbib, useprefix]{biblatex-chicago}
\usepackage[pdftex]{graphicx}
\usepackage{hyperref}
\usepackage{enumerate}
\usepackage{endnotes}
\usepackage{rotating}
\bibliography{\jobname}
\newcommand{\degree}{\ensuremath{^\circ}}
\title{Title}
\author{Author}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Nagel:1999ui,
author = {Nagel, S and Vom Saal, F},
title = {{Developmental effects of estrogenic chemicals are predicted by an in vitro assay incorporating modification of cell uptake by serum* 1}},
journal = {The Journal of Steroid {\ldots}},
year = {1999}
}
\end{filecontents}
\begin{document}
\maketitle

\section{Abstract}
\section{Introduction}
Test Text
\citep{Nagel:1999ui}
\printbibliography
\end{document}
Your example works for me, the error must be somewwhere else. Please have a look at Creating a LaTeX Minimal Example.

Also, you should drop the option for graphicx.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply