-
-
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
Save custom entry types in bib file #365
Comments
How does this relate to #181? I thought, JabRef writes custom entry types. The experiments state that custom entry types are only written if they are used in the |
This is a bug introduced in the last updates of JabRef. Reproduce by: Load and save issue_181_1.8.0_60-b27.bib. Then, the following line gets lost:
When creating that file on October, 11th by JabRef, the line was written. Only if a |
It might be because collection is natively supported in Biblatex? |
@koppor Does this bug still exist in the new version, where we implemented file-based BibTeX/Biblatex support? |
Yes, the bug still exists. Not sure whether it is really a bug. Steps to reproduce:
Expected result: Real result: That line is deleted. |
There is a test |
The BibDatabaseWriter contains the following comment
The code explicitly checks if the type is a standard type and in this case does not write the type. If this check is removed then one probably runs into a lot of "has the same name" problems. |
I implemented in the course of #2331 a notification (upon opening a bibfile with customtypes) that warns if some customizations will be overwritten. Regarding the file link by @koppor ( https://github.com/JabRef/jabref/blob/master/src/test/resources/testbib/issue_181_1.8.0_60-b27.bib) this file is automatically detected as a Biblatex file (due to the usage of collection) and thus the entry customization is ignored (see last comment by @tobiasdiez). What should we do with this behavior? Shall we stick to the comment with the following semantics "Our criterion is that all non-standard types (not all customized standard types) must be written." - or should all customizations of types be added? Using the mentioned notification serializing (and loading) customizations of standard types might be an option... |
DevCall decision:
Possibly future work could be: Specific export/import functionality for customized entry types. |
Problems might occur when custom types are stored in the file and in the preferences and have the same name. How are these and other similar cases handled?
The text was updated successfully, but these errors were encountered: