From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: [Accepted] Quote \[cmd] in docstring of org-export-with-LaTeX-fragments Date: Wed, 26 Jan 2011 19:08:09 +0100 (CET) Message-ID: <20110126180809.3D3983FC8D@myhost.localdomain> References: <1295529226-12765-1-git-send-email-wence@gmx.li> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37210 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi9nB-0001Pe-QO for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:08:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi9nA-0004XB-8i for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:08:29 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:65460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi9nA-0004X7-02 for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 13:08:28 -0500 Received: by wyj26 with SMTP id 26so1288085wyj.0 for ; Wed, 26 Jan 2011 10:08:27 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Patch 550 (http://patchwork.newartisans.com/patch/550/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1295529226-12765-1-git-send-email-wence%40gmx.li%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Quote \[cmd] in docstring of org-export-with-LaTeX-fragments > Date: Thu, 20 Jan 2011 18:13:46 -0000 > From: Lawrence Mitchell > X-Patchwork-Id: 550 > Message-Id: <1295529226-12765-1-git-send-email-wence@gmx.li> > To: emacs-orgmode@gnu.org > Cc: Lawrence Mitchell > > * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so that > \\[ a = b \\] is not interpreted as a keybinding by > `substitute-command-keys'. > > In a docstring \\[text] is used to indicate that text should be > interpreted by `substitute-command-keys'. To avoid this > interpretation, we need to prefix it with \\=. > > --- > lisp/org-exp.el | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index 7c814cd..9954227 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -475,8 +475,8 @@ This option can also be set with the +OPTIONS line, e.g. \"TeX:nil\"." > "Non-nil means process LaTeX math fragments for HTML display. > When set, the exporter will find and process LaTeX environments if the > \\begin line is the first non-white thing on a line. It will also find > -and process the math delimiters like $a=b$ and \\( a=b \\) for inline math, > -$$a=b$$ and \\[ a=b \\] for display math. > +and process the math delimiters like $a=b$ and \\( a=b \\) for inline math, > +$$a=b$$ and \\=\\[ a=b \\] for display math. > > This option can also be set with the +OPTIONS line, e.g. \"LaTeX:mathjax\". > >