From mboxrd@z Thu Jan 1 00:00:00 1970 From: feng shu Subject: [PATCH] Add "latex" option to ox-bibtex.el Date: Fri, 12 Jul 2013 15:26:08 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b6226d0a3cf0004e14b6c0d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxXk4-0003FC-4j for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 03:26:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxXk1-0005o8-S1 for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 03:26:12 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:48894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxXk1-0005ns-Dv for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 03:26:09 -0400 Received: by mail-we0-f177.google.com with SMTP id m19so7731908wev.36 for ; Fri, 12 Jul 2013 00:26:08 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7b6226d0a3cf0004e14b6c0d Content-Type: multipart/alternative; boundary=047d7b6226d0a3cefd04e14b6c0b --047d7b6226d0a3cefd04e14b6c0b Content-Type: text/plain; charset=UTF-8 --047d7b6226d0a3cefd04e14b6c0b Content-Type: text/html; charset=UTF-8

--047d7b6226d0a3cefd04e14b6c0b-- --047d7b6226d0a3cf0004e14b6c0d Content-Type: application/octet-stream; name="0001-Add-latex-optional-option-to-ox-bibtex.patch" Content-Disposition: attachment; filename="0001-Add-latex-optional-option-to-ox-bibtex.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hj12a0a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eCcgIHByb3BlcnRpZXMuIFRoZSBmaXJzdCBvbmUKIGNvbnRhaW5zIGEgbGlzdCBvZiBzdHJpbmdz IHRvIGJlIHBhc3NlZCBhcyBvcHRpb25zIG90Ci1cImJpYnRleDJodG1sXCIgcHJvY2Vzcy4gVGhl IGxhdHRlciBjb250YWlucyBhIGJvb2xlYW4uIgorXCJiaWJ0ZXgyaHRtbFwiIHByb2Nlc3MuIFRo ZSByZXN0IGNvbnRhaW5zIGEgYm9vbGVhbi4iCiAgIChsZXQgKCh2YWx1ZSAob3JnLWVsZW1lbnQt cHJvcGVydHkgOnZhbHVlIGtleXdvcmQpKSkKICAgICAoYW5kIHZhbHVlCiAgICAgICAgICAoc3Ry aW5nLW1hdGNoICJcXChcXFMtK1xcKVsgXHRdK1xcKFxcUy0rXFwpXFwoLipcXCkiIHZhbHVlKQot ICAgICAgICAgKGxldCAob3B0aW9ucyBsaW1pdCkKKyAgICAgICAgIChsZXQgKG9wdGlvbnMgbGlt aXQgbGF0ZXgpCiAgICAgICAgICAgIChkb2xpc3QgKGFyZyAob3JnLXNwbGl0LXN0cmluZyAobWF0 Y2gtc3RyaW5nIDMgdmFsdWUpKQogICAgICAgICAgICAgICAgICAgICAgICAgOzsgUmV0dXJuIHZh bHVlLgotICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgOm9wdGlvbnMgKG5yZXZlcnNlIG9w dGlvbnMpIDpsaW1pdCBsaW1pdCkpCisgICAgICAgICAgICAgICAgICAgICAgICAobGlzdCA6b3B0 aW9ucyAobnJldmVyc2Ugb3B0aW9ucykgOmxpbWl0IGxpbWl0IDpsYXRleCBsYXRleCkpCiAgICAg ICAgICAgICAgKGxldCogKChzIChzcGxpdC1zdHJpbmcgYXJnICI6IikpCiAgICAgICAgICAgICAg ICAgICAgIChrZXkgKGNhciBzKSkKICAgICAgICAgICAgICAgICAgICAgKHZhbHVlIChudGggMSBz KSkpCiAgICAgICAgICAgICAgICAoY29uZCAoKGVxdWFsICJsaW1pdCIga2V5KQogICAgICAgICAg ICAgICAgICAgICAgIChzZXRxIGxpbWl0IChub3QgKGVxdWFsICJuaWwiIHZhbHVlKSkpKQorCQkg ICAgICgoZXF1YWwgImxhdGV4IiBrZXkpCisgICAgICAgICAgICAgICAgICAgICAgKHNldHEgbGF0 ZXggKG5vdCAoZXF1YWwgIm5pbCIgdmFsdWUpKSkpCiAgICAgICAgICAgICAgICAgICAgICAoKGVx dWFsICJvcHRpb24iIGtleSkgKHB1c2ggdmFsdWUgb3B0aW9ucykpKSkpKSkpKQogCiAoZGVmdW4g b3JnLWJpYnRleC1jaXRhdGlvbi1wIChvYmplY3QpCkBAIC0xNDgsOSArMTU2LDEwIEBAIEZhbGxi YWNrIHRvIGBsYXRleCcgYmFjay1lbmQgZm9yIG90aGVyIGtleXdvcmRzLiIKICAgICAoaWYgKG5v dCAoZXF1YWwgKG9yZy1lbGVtZW50LXByb3BlcnR5IDprZXkga2V5d29yZCkgIkJJQkxJT0dSQVBI WSIpKQogICAgICAgICBhZC1kby1pdAogICAgICAgKGxldCAoKGZpbGUgKG9yZy1iaWJ0ZXgtZ2V0 LWZpbGUga2V5d29yZCkpCi0gICAgICAgICAgICAoc3R5bGUgKG9yZy1iaWJ0ZXgtZ2V0LXN0eWxl IGtleXdvcmQpKSkKKyAgICAgICAgICAgIChzdHlsZSAob3JnLWJpYnRleC1nZXQtc3R5bGUga2V5 d29yZCkpCisJICAgIChveC1iaWJ0ZXgtZXhwb3J0LWxhdGV4LXAgKHBsaXN0LWdldCAob3JnLWJp YnRleC1nZXQtYXJndW1lbnRzIGtleXdvcmQpIDpsYXRleCkpKQogICAgICAgICAoc2V0cSBhZC1y ZXR1cm4tdmFsdWUKLSAgICAgICAgICAgICAgKHdoZW4gZmlsZQorICAgICAgICAgICAgICAod2hl biAoYW5kIGZpbGUgb3gtYmlidGV4LWV4cG9ydC1sYXRleC1wKQogICAgICAgICAgICAgICAgIChj b25jYXQgKGFuZCBzdHlsZSAoZm9ybWF0ICJcXGJpYmxpb2dyYXBoeXN0eWxleyVzfVxuIiBzdHls ZSkpCiAgICAgICAgICAgICAgICAgICAgICAgICAoZm9ybWF0ICJcXGJpYmxpb2dyYXBoeXslc30i IGZpbGUpKSkpKSkpKQogCi0tIAoxLjcuMTAuNAoK --047d7b6226d0a3cf0004e14b6c0d--