emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: [Accepted] Quote \[cmd] in docstring of org-export-with-LaTeX-fragments
Date: Wed, 26 Jan 2011 19:08:09 +0100 (CET)	[thread overview]
Message-ID: <20110126180809.3D3983FC8D@myhost.localdomain> (raw)
In-Reply-To: 1295529226-12765-1-git-send-email-wence@gmx.li

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 <wence@gmx.li>
> X-Patchwork-Id: 550
> Message-Id: <1295529226-12765-1-git-send-email-wence@gmx.li>
> To: emacs-orgmode@gnu.org
> Cc: Lawrence Mitchell <wence@gmx.li>
> 
> * 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\".
>  
> 

      reply	other threads:[~2011-01-26 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 13:13 [PATCH] Quote \[cmd] in docstring of org-export-with-LaTeX-fragments Lawrence Mitchell
2011-01-26 18:08 ` Bastien Guerry [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110126180809.3D3983FC8D@myhost.localdomain \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).