When exporting references to Bibtex that contain a sub or superscript in one of the export fields, then the generated Bibtex entry contains curly braces that are not closed. This happens across a larger number of references that I have in my library.
An example is the title "L^1-minimization methods for Hamilton-Jacobi equations: the one-dimensional case", which generates the Bibtex line:
title = {L\textsuperscript{1-minimization methods for Hamilton-Jacobi equations: the one-dimensional case},
Alternatively, using dollar signs in line with Latex/Markdown conventions, having "$L^1$-minimization methods for Hamilton-Jacobi equations: the one-dimensional case" in Bookends' title field yields
title = {$L\textsuperscript{1$-minimization methods for Hamilton-Jacobi equations: the one-dimensional case},
In the settings ^ is selected as the superscript character.
How can it be ensured that Bibtex fields have closed braces or that the substitution of ^ by \textsuperscript is avoided?
Bibtex output missing } when sub/superscripts are used
-
- Posts: 6
- Joined: Tue Aug 15, 2023 6:33 am
Re: Bibtex output missing } when sub/superscripts are used
What version of Bookends?
The first line doesn't contain a "close superscript" character. It should be
"L^1^-minimization methods for Hamilton-Jacobi equations: the one-dimensional case
Jon
Sonny Software
The first line doesn't contain a "close superscript" character. It should be
"L^1^-minimization methods for Hamilton-Jacobi equations: the one-dimensional case
Jon
Sonny Software
-
- Posts: 6
- Joined: Tue Aug 15, 2023 6:33 am
Re: Bibtex output missing } when sub/superscripts are used
The version is 15.0.2. [In fact, I produced the same error with 14.2.1 and was hoping that updating would resolve the problem]
Re: Bibtex output missing } when sub/superscripts are used
I think we cross-posted, please see the comment about closing the superscript.
Also, you can change the superscript character to something other than ^
Jon
Sonny Software
Also, you can change the superscript character to something other than ^
Jon
Sonny Software
-
- Posts: 6
- Joined: Tue Aug 15, 2023 6:33 am
Re: Bibtex output missing } when sub/superscripts are used
My mistake. Thanks. Once I changed the sub- and superscript characters to None, the generated BibTeX was without error.