blsqr / citationweb

map the citation relations in your bibliography (WIP)
0 stars 0 forks source link

Preserve line breaks from BibDesk-created bibliography files #10

Open blsqr opened 6 years ago

blsqr commented 6 years ago

The abstract and annote fields in BibDesk-created bibfiles do not have a special character for encoding line breaks; thus, they are stripped during reading and are not preserved when writing out the bibliography file again.

Find a way to preserve these. Maybe, the pybtex.database.parse_file method allows this already. If not, it might be necessary to parse these manually from the file to detect the line breaks and make them available to the writer. Worst case, writing also has to happen manually.