Skip to content

tex.title= is not copied verbatim if Zotero title contains math #3376

@warwickmm

Description

@warwickmm

Debug log ID

BJFSMGGR-refs-euc/✓/✓

What happened?

I created an item where the title in Zotero is Title with math $\ell_1$. In the Extra field, I have tex.title=Title with math $\ell_1$. Exporting this results in

@article{TitleMath$ell_1$,
  title = {Title with Math \$\textbackslash ell\_1\$}
}

According to the documentation,

Finally, you can use = instead of : as a delimiter, and that will indicate to BBT that what follows the = is “raw LaTeX”; BBT will not do any escaping and just copy it out unchanged.

so by using tex.title= I expected that no escaping/substitutions would be made. However, that does not seem to be the case.

If I remove the math symbol from the Zotero title (Title with math), then the exported result does reflect the specified tex.title

@article{TitleMatha,
  title = {Title with math $\ell_1$}
}

Am I misunderstanding how tex.title= is supposed to behave?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Awaiting user input

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions