diff --git a/chrome/content/zotero-better-bibtex/xul/preferences.xul b/chrome/content/zotero-better-bibtex/xul/preferences.xul index 39cd240f57..3a8eeda886 100644 --- a/chrome/content/zotero-better-bibtex/xul/preferences.xul +++ b/chrome/content/zotero-better-bibtex/xul/preferences.xul @@ -43,6 +43,7 @@ + @@ -207,7 +208,7 @@ - + @@ -218,6 +219,14 @@ `\citep{key1,key2,...}` --> + + + + diff --git a/chrome/locale/en-US/zotero-better-bibtex/zotero-better-bibtex.dtd b/chrome/locale/en-US/zotero-better-bibtex/zotero-better-bibtex.dtd index 8d91de4a78..b02fea065d 100644 --- a/chrome/locale/en-US/zotero-better-bibtex/zotero-better-bibtex.dtd +++ b/chrome/locale/en-US/zotero-better-bibtex/zotero-better-bibtex.dtd @@ -67,7 +67,8 @@ If you are OK with sending this data, please click "Continue" and post - + + diff --git a/defaults/preferences/defaults.yml b/defaults/preferences/defaults.yml index 93daa99ca9..470623a10d 100644 --- a/defaults/preferences/defaults.yml +++ b/defaults/preferences/defaults.yml @@ -36,6 +36,7 @@ bibtexParticleNoOp: false biblatexExtendedNameFormat: false biblatexExtendedDateFormat: false quickCopyMode: latex +quickCopyPandocBrackets: false jurismPreferredLanguage: zh-alalc97 ZotFile: true qualityReport: false diff --git a/resource/translators/Better BibTeX Quick Copy.coffee b/resource/translators/Better BibTeX Quick Copy.coffee index c017f21384..af234808f3 100644 --- a/resource/translators/Better BibTeX Quick Copy.coffee +++ b/resource/translators/Better BibTeX Quick Copy.coffee @@ -37,7 +37,9 @@ Mode = keys = [] while item = Translator.nextItem() keys.push("@#{item.__citekey__}") - Zotero.write(keys.join('; ')) + keys = keys.join('; ') + keys = "[#{keys}]" if Zotero.getHiddenPref('better-bibtex.quickCopyPandocBrackets') + Zotero.write(keys) orgmode: -> while item = Translator.nextItem()