zotero-better-bibtex: Cleared (undefined) `rawLaTag` disables raw #LaTeX processing

Description of the problem

Despite a #LaTeX tag, some fields are not exported as if they’re wrapped in <script>...</script>. For instance, for an entry with such a #LaTeX tag with the following characteristics:

  • Item Type: Journal Article
  • Title: Completeness of $\mathbb{R}$
  • Author: Bar, Foo
  • Short Title: $\mathbb{R}$: complete!
  • Extra: <script>$\mathbb{R}$ !</script>
  • Tag: #LaTeX

I get the following actual behavior where:

Required informations

Report ID: U2Z8CJBC-euc Exporter used: Better BibLaTeX Expected behavior:

@article{BarCompletenessmathbbR,
  shorttitle = {$\mathbb{R}$: Complete!},
  author = {Bar, Foo},
  annotation = {$\mathbb{R}$ !},
  keywords = {\#LaTeX},
  title = {Completeness of {$\mathbb{R}$}}
}
% == BibLateX quality report for BarCompletenessmathbbR:
% Exactly one of 'date' / 'year' must be present
% Missing required field 'journaltitle'

Actual behavior:

@article{BarCompletenessmathbbR,
  shorttitle = {\$\textbackslash mathbb\{\vphantom\}{{R}}\vphantom\{\}\$: Complete!},
  author = {Bar, Foo},
  annotation = {$\mathbb{R}$ !},
  keywords = {\#LaTeX},
  title = {Completeness of {$\mathbb{R}$}}
}
% == BibLateX quality report for BarCompletenessmathbbR:
% Exactly one of 'date' / 'year' must be present
% Missing required field 'journaltitle'

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 25 (12 by maintainers)

Commits related to this issue

Most upvoted comments

https://retorque.re/zotero-better-bibtex/exporting/#add-your-own-biblatex-fields

It’s added in the extra field. What I showed would be the actual content - when using = instead of :, that line is treated as raw LaTeX. This would override the zotero title for BBT exports, so this would even allow use in both word and latex.