LaTeX forum ⇒ BibTeX, biblatex and biberBiblatex error depends on style Topic is solved

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

Biblatex error depends on style

Postby kaszpore » Wed Dec 13, 2017 3:33 pm

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!

User avatar
Stefan Kottwitz
Site Admin
Posts: 8596
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Wed Dec 13, 2017 5:51 pm

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
Site admin

kaszpore
Posts: 5
Joined: Fri Aug 11, 2017 3:15 pm

Postby kaszpore » Thu Dec 14, 2017 10:26 pm

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: 8596
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Dec 15, 2017 9:37 pm

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
Site admin


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests