Opened 7 years ago
Closed 7 years ago
#1514 closed enhancement (fixed)
Patch for Improved BibTex Import/Export: shorttitle, bookSection->incollection, character mapping, translator, seriesNumber, space-delimited keywords, note/annote/comment/review <-> notes/extra, file import
| Reported by: | karnesky | Owned by: | mcburton |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | translators | Version: | 1.0 |
| Keywords: | Cc: |
Description (last modified by karnesky)
This addresses various issues on Trac and in the forums and fixes some minor syntax flaws.
The shortTitle field is imported/exported, per http://forums.zotero.org/discussion/2906/ This is not a standard BibTeX field, but is used in BibLaTeX & JuraBib & there are no other possible fields that I'm aware of for this information.
The editor+author check for which type to export booksections to was not adequate: any booksection with a title should be 'incollection' and not 'inbook'. I don't think it hurts to make all exports 'incollection'. See http://groups.google.com/group/zotero-dev/browse_thread/thread/8f50dd667e8e6a02
\l{} and \L{} are mapped to/from ł and Ł, per http://forums.zotero.org/discussion/4331/ and http://forums.zotero.org/discussion/7344/
Redundant mappings in the reversemappingtable have been commented out. Because a character can only be mapped to one thing, this clarifies what mapping is made, but it may be somewhat controversial which mapping is left uncommented. Fortunately, there is not too much overlap.
Translators are exported/imported as a separate field (rather than as an author). This field is not standard BibTeX, but is common to BibLaTeX, bibutils, and many other tools. I can find no other possible fields for this information. See http://forums.zotero.org/discussion/2906/ http://forums.zotero.org/discussion/3038/ and others. Various other contributor types should be fixed too, but there is less demand for them in the forums & they might not be as non-controversial as "translator."
Series Number is imported/exported, per http://forums.zotero.org/discussion/1302/ http://forums.zotero.org/discussion/3160/ http://forums.zotero.org/discussion/6800/
keywords are now delimited with ", " (comma and space). This improves readability & also makes the per-word capitalization preserver ([3582],#1183) work as intended. See http://forums.zotero.org/discussion/6600/ http://forums.zotero.org/discussion/7400/
note/annote/comment/review <-> notes/extra mapping is done per http://forums.zotero.org/discussion/6426/ http://forums.zotero.org/discussion/31/
Support for new file import schemes has been added, per #1180.
Attachments (1)
Change History (3)
Changed 7 years ago by karnesky
comment:1 Changed 7 years ago by karnesky
- Description modified (diff)
- Summary changed from Patch for Improved BibTex Import/Export: shorttitle, bookSection->incollection, character mapping, translator, seriesNumber, space-delimited keywords, file import to Patch for Improved BibTex Import/Export: shorttitle, bookSection->incollection, character mapping, translator, seriesNumber, space-delimited keywords, note/annote/comment/review <-> notes/extra, file import
comment:2 Changed 7 years ago by dstillman
- Resolution set to fixed
- Status changed from new to closed
(In [4686]) Closes #1514, Patch for Improved BibTex Import/Export: shorttitle, bookSection->incollection, character mapping, translator, seriesNumber, space-delimited keywords, note/annote/comment/review <-> notes/extra, file import
Closes #1180, Support more schemes for PDF URIs in BibTeX Import
Thanks for the patch.