zotero-better-bibtex: [Bug]: missing field breaks import
Debug log ID
J2GQXW4D-refs-euc
What happened?
The function “Import from Clipboard” stopped working for me. Currently using Zotero 6.0.19, and disabling BetterBibTeX makes the function work again.
I semi-automatically create items using this function and lines of text created automatically by the browser, such as the example below:
@techreport{TBD, title = {Report number 2PTE3 - 3D transport model under operative regime}, , number = {2PTE3}, institution = {{Research Institute X}}, url = {https://website.org/?uid=2PTE3}, Accessed = {2023-01-13}}
Now, when attempting an import, Zotero creates a note instead with comments such as: " Import errors found:
- line 1, column 127: Expected “%”, Optional Horizontal Whitespace, Optional Whitespace, [\r\n], [_:a-zA-Z0-9-], or [})] but “,” found. "
Just to be clear, the found error is not always the same.
I already tried selecting “no” in both “Sentence-case titles on import” and “Insert case-protection for braces”, but it does not change the problem. I did notice, however, that after attempting an import the selector for “Sentence-case titles on import” automatically changes to “yes”.
Any ideas how to remedy this?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 27 (16 by maintainers)
Commits related to this issue
- fixes #2377 — committed to retorquere/zotero-better-bibtex by retorquere a year ago
I don’t think that would work, you’re applying my text2latex after doing your own tex conversions, and those backslashes that end up in title_tex would end up escaped. tltle_tex should be removed entirely.
This is not the problem BTW. It’s just an import error, import from clipboard just calls the importer. The same problem would occur if the same content were imported from a file.
Translators cannot set the
accesseDatefield directly. After import, you can right-click the item and select “Better BibTeX” -> “Copy date-added…”