You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading a BibTeX file written by BibDesk and rewriting results in corruption and loss of library management settings that BibDesk encodes into comment fields in XML format. See before and after below.
It seems to me only linefeeds have been removed, which must not have any effect on parsing of the XML format, yet BibDesk can't find the script groups anymore. The only explanation I can come up with is that when all linefeeds are removed, the length of a comment field may become longer than the maximum line length conventionally supported by XML parsers. This limit is normally set to 32kb, while in my file the longest comment field is less than 14kb long. But still, the parser used in BibDesk may be over-sensitive or not standard-based.
Is there any way to prevent bibtex-ruby from reformatting these fields?
Interesting! A quick look reveals that printing out comments is slightly problematic, because there are extra spaces around the outer braces. The parser does not seem to care about line-breaks at all for comments -- so it's probably the lexer that swallows the breaks.
Loading a BibTeX file written by BibDesk and rewriting results in corruption and loss of library management settings that BibDesk encodes into comment fields in XML format. See before and after below.
It seems to me only linefeeds have been removed, which must not have any effect on parsing of the XML format, yet BibDesk can't find the script groups anymore. The only explanation I can come up with is that when all linefeeds are removed, the length of a comment field may become longer than the maximum line length conventionally supported by XML parsers. This limit is normally set to 32kb, while in my file the longest comment field is less than 14kb long. But still, the parser used in BibDesk may be over-sensitive or not standard-based.
Is there any way to prevent bibtex-ruby from reformatting these fields?
Before:
After:
The text was updated successfully, but these errors were encountered: