BibTeX, biblatex and biberBiblatex error depends on style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
kaszpore
Posts: 5
Joined: Fri Aug 11, 2017 3:15 pm

Biblatex error depends on style

Post by kaszpore »

Hi,

I'm trying to compile my thesis using latexmk / biblatex. It does compile without any problems when using style=chem-acs in biblatex, but I receive a bunch of error messages if I try it with style=phys (missing "{" inserted, the message points to the line when I actually invoke \printbibliography).

Any ideas? What additional information shall I provide so someone could help me?

Many thanks!

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: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Biblatex error depends on style

Post by Stefan Kottwitz »

Hi,
kaszpore wrote:but I receive a bunch of error messages
please post that bunch of error messages here. ;-)

The best would be posting original code that produces the error (called Infominimal working example).

Stefan
LaTeX.org admin
kaszpore
Posts: 5
Joined: Fri Aug 11, 2017 3:15 pm

Biblatex error depends on style

Post by kaszpore »

They were all the same messages: missing "{" inserted.

In the meantime I have figured out what is causing the problem. Apparently, if the title of the cited reference contains formulae in math mode, they must be enclosed in {} brackets, e.g. {$10^{-3}$}, otherwise the phys style does not accept it. I have no idea why :)

Thank you for your time anyway!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Biblatex error depends on style

Post by Stefan Kottwitz »

Great that you found it!

It seems that the style does something with the title, such as using \Makelowercase or \Makeuppercase on it, that cannot work on math formulas. The additional braces protect it, kind of hide it.

Stefan
LaTeX.org admin
Post Reply