-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hex encoded character breakes entry #8303
Comments
Thanks for the report and also for the investigation/debugging. I guess the problem is related to the issue #7010 and #7012 |
Yes. I guess it might make sense to transform such characters while reading the field to Unicode characters. |
@Mercynary I think I found a workaround/solution. In the Preferences -> File -> Check "Resolve strings for all fields exept" |
* Change default behavior of resolve bibtex strings Fixes #7010 Fixes #7012 Fixes #8303 * Renaming of fields * fix prefs, remove migration * Fix gui properties and l10n * adjust defaults, fix bst tests * remove obsolete test Fix changelog * fix checkstyle * fix another test * fix comment * Fix typos * add institution * Sort fields alphabetically * Group prefernces at "File": BibTeX strings, Loading, Saving * Remove unused imports * Add ADR-0024 * Add test for comment field * fix tests * Fix markdown in ADR-0024 * ADR-0024: Fix filename and addr to adr.md * ADR-0019: Fix typo * Remove obsolete empty line * Introduce BIBTEX_STRING_START_END_SYMBOL and remove negation - Add org.jabref.logic.bibtex.FieldWriter#BIBTEX_STRING_START_END_SYMBOL - !doNotResolveStrings -> resolveStrings * Remove deprecated constructor FieldWriterPreferences() * Fix test on Windows (CRLF issue) * Add missing context information * Add more tests * Fix negation Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
@Mercynary In the latest development version we changed the whole logic and enable BibTeX string resolving only for a couple of fields. This can be adjusted in the options |
JabRef version
5.3 (latest release)
Operating system
GNU / Linux
Details on version and operating system
No response
Checked with the latest development build
Steps to reproduce the behaviour
I was able to track down the bug to the
formatAndResolveStrings
method in theorg.jabref.logic.bibtex.FieldWriter
class where the first encounter of the#
enforces that the abstract field is closed with a}
.Appendix
bug-1.txt
bug-2.txt
The text was updated successfully, but these errors were encountered: