-
-
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
BibTeX source should not start with two empty lines #559
Comments
Should be terribly easy to implement by using trim() in the preview panel, shouldn't it? Just go ahead and fixt it. |
Side effect: When I use "send as Email", I also want to have the same rendering as in the BibTeX source. What if I do an HTML export? Then I also want to get the trimmed representation. What of other accesses of the BibTeX source. Does that quick fix really work for all usages? |
We could offer a second getter for the representation |
What is the reason for this two empty lines? Personally I would always expect the serialization of a sole entry to start with @ and end with }. |
Because we decided that entries that have not changed should be written back exactly as they were read from the file: #116 That means newlines have to stored somewhere and prepending newlines are stored with the parsed serialization of an entry. It seems that the entry editor uses the |
It cannot be changed easily as it goes through the BibEntryWriter. |
This has already been fixed with JabRef 3.2. |
Due to #391, the "BibTeX source" contains two empty lines. This is explainable when discussing the implementation, but not understandable why JabRef breaks with the existing display of source and why users have to see two empty lines for each entry.
The source in the "BibTeX source tab" should contain the content from
@
until}
.Current state:
Wanted display:
The only enhancement I would agree if comments in front of the entry would be stored. Currently, JabRef does not support comments.
The text was updated successfully, but these errors were encountered: