closes #749 - BibTeX issues - import/export of BibTex characters

Much more translation done now. Preference for direct UTF-8 export/import included.
This commit is contained in:
Julian Onions 2007-12-12 17:05:54 +00:00
parent ae4ec20b94
commit 911360f83c
3 changed files with 1457 additions and 83 deletions

View File

@ -661,6 +661,7 @@ Zotero.Translate.prototype._generateSandbox = function() {
this._sandbox.Zotero.Utilities = new Zotero.Utilities();
}
this._sandbox.Zotero.useBibtexUTF8 = Zotero.Prefs.get("export.unicodeBibTeX");
if(this.type == "export") {
// add routines to retrieve items and collections
@ -690,7 +691,7 @@ Zotero.Translate.prototype._generateSandbox = function() {
this._sandbox.Zotero.addOption = function(option, value) {me._addOption(option, value) };
// for getting the value of displayed options
this._sandbox.Zotero.getOption = function(option) { return me._getOption(option) };
// for loading other translators and accessing their methods
this._sandbox.Zotero.loadTranslator = function(type) {
var translation = new Zotero.Translate(type, false);

View File

@ -61,6 +61,7 @@ pref("extensions.zotero.export.lastStyle", 'http://www.zotero.org/styles/chicago
pref("extensions.zotero.export.bibliographySettings", 'save-as-rtf');
pref("extensions.zotero.export.bibliographyLocale", '');
pref("extensions.zotero.export.citePaperJournalArticleURL", false);
pref("extensions.zotero.export.unicodeBibTeX", false);
pref("extensions.zotero.export.quickCopy.setting", 'bibliography=http://www.zotero.org/styles/chicago-note.csl');

File diff suppressed because it is too large Load Diff