retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.39k stars 290 forks source link

[Bug?] Original-date in extra field does not appear in the bibtex file #3022

Closed gitsroid closed 1 month ago

gitsroid commented 1 month ago

Debug log ID

See the issue

What happened?

I want to add the original date of some works to my references. For that I put original-date: YYYY in the extra field. The problem: the original date is not added to my bibtex file. It generates the reference well when using zotero but not when using pandoc. If I put tex.original-date: YYYY then it works with pandoc (because the original date is added to my bibtex file) but not via zotero.

What is expected:

When adding original-date: YYYY to the extra field to be able to add to the references the original date via zotero and pandoc.

Zotero version: 7.0.5 Betterbibtex version: 6.7.240

About the debug log: I have some private items and I have not seen the way of sending an edited debug log within betterbibtex menu. If you really need it for this issue, please, tell me a way of sending it edited (I also do not want to post it here).

github-actions[bot] commented 1 month ago

Hello @gitsroid,

@retorquere is ready to assist you with Better BibTeX. In order to do so efficiently, a debug log is generally required. The information it containst is key to him understanding, replicating, and resolving your issue. If you have shared a D<number> log, those go to the Zotero team, @retorquere cannot access those.

Here’s how you can share your debug log:

  1. If your issue involves specific references, citekey generation, or exports, right-click on the relevant item(s) and select "Better BibTeX -> Submit Better BibTeX debug log" from the menu.
  2. For issues where items do not play a role, follow these steps:
    • Restart Zotero with debugging enabled (Help -> Debug Output Logging -> Restart with logging enabled).
    • Reproduce the problem.
    • Choose "Send Better BibTeX debug report..." from the help menu.

After these steps, you will receive debug ID displayed in red. Please share this ID with @retorquere in this issue thread. If your query is about an export, include both the actually exported result and your expected/desired outcome.

Sharing your debug log gives @retorquere a view of your Better BibTeX configuration and the elements contributing to the issue. This helps him address your concerns more efficiently.

Thank you.

PS: If the Debug Log menu is not available, or if it fails to send the debug log, you can use the option under “Help” > “Send debug log to file.io”.

retorquere commented 1 month ago

Are you exporting as Better BibLaTeX? BibTeX doesn't know about origdate.

gitsroid commented 1 month ago

Exporting as Better BibLaTex solves the problem. Thanks!