Dominic-DallOsto / zotero-reading-list

Keep track of whether you've read items in Zotero
GNU General Public License v3.0
273 stars 7 forks source link

Syncing with overleaf outputs read status to export .bib file #36

Open Dominic-DallOsto opened 3 months ago

Dominic-DallOsto commented 3 months ago

I get this issue when syncing the library directly with Overleaf, and using biblatex. The format of the exportet .bib file is like this:

@article{actor_data-driven_2024,
  title = {Data-driven Whitney forms for structure-preserving control volume analysis},
  volume = {496},
  issn = {0021-9991},
  url = {...},
  doi = {10.1016/j.jcp.2023.112520},
  abstract = {...},
  pages = {112520},
  journaltitle = {Journal of Computational Physics},
  shortjournal = {Journal of Computational Physics},
  author = {Actor, Jonas A. and Hu, Xiaozhe and Huang, Andy and Roberts, Scott A. and Trask, Nathaniel},
  date = {2024-01-01},
  note = {Read\_Status: In Progress
Read\_Status\_Date: 2024-06-24T07:27:24.312Z},
  keywords = {Whitney forms},
}

The problem is therefore the read status being exportet as 'note', which by default is displayed for \printbibliography. It can be circumvented using \AtEveryBibitem{\clearfield{note}} Originally posted by @skjelanger in https://github.com/Dominic-DallOsto/zotero-reading-list/issues/6#issuecomment-2230081022

It seems like the fix to #6 only works when using an "export" option from Zotero, but not when directly syncing.

Need to find which code path this takes.