-
-
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
jabref automatically deletes entries showing wrong syntax #9668
Comments
Thank you for reporting this! The tricky thing is that the character @misc{test,
comment={The set \{\} denotes the empty set, too},
} In your context, this surely makes no sence to interpret the backslash as escaping character. I am working on an improved parser. Workaround: Until there is a fix, please replace |
Other thing, I never saw JabRef itself offers another sophisticated method to denote file directories: https://docs.jabref.org/finding-sorting-and-cleaning-entries/filelinks#directories-for-files. @Processeer |
Code comment: This is caused by
|
Note that JabRef "simply" removed all entries following the inserted ones. Example: @Article{,
author = {test\},
journal = {Sci China Inf Sci},
title = {a\b\c\},
year = {2022},
month = sep,
annote = {lala},
fjournal = {IEEE Transactions on Medical Imaging},
}
@Article{ostgaard2002,
title = {energy},
month = sep,
year = {2012},
}
Maybe, we need to refine our parsing logic to "terminate" parsing the current entry and start parsing a new entry if |
... we used this field exactly for this reason. The challenge was to be
able to sort the files according to its "library" in a specific folder
or subfolder on the hard drive. The library dependent folder does not
work in this Case because we use only one Bib.
It works really nice until you copy the specific subfolder from Windows
Explorer into the field. Then you get the backslashes automatically.
Thats the way it hapened.
I know, it might be a little far of the normal usage. I just wanted to
report this behaviour. I know whats behind it now, so you can decide If
its important enough to be tackled.
Am 17.03.2023 um 08:26 schrieb Oliver Kopp:
…
Other thing, I never saw |library| in BibTeX. @Processeer
<https://github.com/Processeer> Is this the way your institution puts
the file path into a BibTeX entry? (This somehow refs #98
<#98>).
JabRef itself offers another sophisticated method to denote file
directories:
https://docs.jabref.org/finding-sorting-and-cleaning-entries/filelinks#directories-for-files.
@Processeer <https://github.com/Processeer>
—
Reply to this email directly, view it on GitHub
<#9668 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6OZQPFAZASX5KOR5SHJLHTW4QG3DANCNFSM6AAAAAAVZIBRLI>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
JabRef offers the grouping feature. They can be hierarchical, too. I think, there should be work done to have groups synchronized with the file directories. I opened an issue at JabRef#638 to refine the requirements. Please comment there if you have more ideas.
We really thank you for this, because you surely are not the first one hitting that behavior - and would not have been the last one.
We already tackled it at #9677. The build at https://builds.jabref.org/main/ contains the fix and should work. |
@koppor with File Directory Pattern you can also use the group field |
Since this is fixed in |
JabRef version
5.9 (latest release)
Operating system
Windows
Details on version and operating system
Windows 11 Pro - 22H2
Checked with the latest development build
Steps to reproduce the behaviour
It took me a wile to check that the backslashes lead to this automatik removal of the entire entry. I would expect an error message or an automatic reeplacement into slashes.
Appendix
The text was updated successfully, but these errors were encountered: