Referencer does not export notes to BibTeX
Bug #289250 reported by
bkloppenborg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Referencer |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
There should be an option to export the Notes field to the BibTeX "annote" or "note" field or include the traditional BibTeX fields (Author, Journal, etc.) in a HTML-exported file.
Changed in referencer: | |
status: | New → Confirmed |
To post a comment you must log in.
I am also interested in this feature. The annote field is used by many programs, and working with the field within referencer would be nice.
You can get basic note writing support with two lines of code:
diff -r e477f85683a5 src/Document.C
--- a/src/Document.C Sun Mar 08 17:50:56 2009 +0000
+++ b/src/Document.C Fri May 15 13:57:18 2009 -0700
@@ -370,6 +370,7 @@
writeBibKey (out, "pages", bib_.getPages(), useBraces, utf8);
writeBibKey (out, "year", bib_.getYear(), useBraces, utf8);
writeBibKey (out, "doi", bib_.getDoi(), useBraces, utf8);
+ writeBibKey (out, "annote", getNotes(), useBraces, utf8);
out << "}\n\n";
@@ -410,6 +411,7 @@
writeBibKey (out, "pages", bib_.getPages(), usebraces, utf8);
writeBibKey (out, "year", bib_.getYear(), usebraces, utf8);
writeBibKey (out, "doi", bib_.getDoi(), usebraces, utf8);
+ writeBibKey (out, "annote", getNotes(), usebraces, utf8);
if (tagUids_.size () > 0) {
out << "\ttags = \"";
Of course this does not support reading... but that does not look too much harder, and if I need it I will try and submit a patch.