Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#749 closed enhancement (fixed)

BibTeX issues

Reported by: simon Owned by: codec
Priority: major Milestone: 1.0.2
Component: export Version: 1.0
Keywords: Cc:

Description (last modified by dstillman)

We should:

  1. Add an option to export BibTeX as UTF-8, zotero.extensions.exportUnicodeBibTeX
  2. Use Matthias's TeX entity list to improve the ASCII mappings when the pref is off (see http://forums.zotero.org/discussion/1067/importing-of-bibtex-with-texencoded-characters/#Item_6)

When the pref is off, what do we do with the unmapped characters? Convert to question marks as we do currently?

Attachments (1)

bibtex-translator.sql (86.2 KB) - added by dstillman 9 years ago.
Updated BibTeX translator

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by simon

  • Description modified (diff)

comment:2 Changed 9 years ago by dstillman

We probably should accept UTF-8-encoded BibTeX files, too, since it seems a number of popular programs have the option of exporting UTF-8.

comment:3 Changed 9 years ago by dstillman

  • Description modified (diff)

comment:4 Changed 9 years ago by dstillman

  • Milestone changed from 1.0.0 to 1.0.2

comment:5 Changed 9 years ago by codec

  • Owner changed from simon to codec
  • Status changed from new to accepted

comment:6 Changed 9 years ago by codec

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [2013]) closes #749 - BibTeX issues - import/export of BibTex characters
Much more translation done now. Preference for direct UTF-8 export/import included.

comment:7 Changed 9 years ago by simon

(In [2023]) Addresses #749, BibTeX issues

  • import UTF-8 by default (as far as I can tell, this is no worse than the previous behavior, which would probably have read all BibTeX files as ASCII)
  • use only ascii characters in cite keys
  • present BibTeX UTF-8 export option on export
  • hide disabled export options, rather than graying them out, to avoid the indication that other formats will not be exported as UTF-8

comment:8 Changed 9 years ago by dstillman

(In [2025]) Addresses #749, BibTeX issues

Set character set to 'us-ascii' if not UTF-8 (avoid a problem with certain characters)

Changed 9 years ago by dstillman

Updated BibTeX translator

comment:9 Changed 9 years ago by dstillman

Due to its size, the attached BibTeX translator will not be pushed via repo in Zotero 1.0.* and must be installed manually from here. (New installations of 1.0.* will include the updated translator.)

Note: See TracTickets for help on using tickets.