all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode wrongly parse asterisk (*) in a math equation as mark of bold font
Date: Tue, 26 Jun 2012 12:29:49 +0200	[thread overview]
Message-ID: <34BBBA25-9FF3-4C53-AF7E-55F0F46DE780@gmail.com> (raw)
In-Reply-To: <808vfa8j7v.fsf@somewhere.org>


On 26.6.2012, at 12:23, Sebastien Vauban wrote:

> Hi Carsten,
> 
> Carsten Dominik wrote:
>> On 26.6.2012, at 10:45, Zihan, Sheldon Liu wrote:
>> 
>>> I wrote the following line in org-mode, which contains two equations.
>>> 
>>> $(Z^{*}_{m}, \cdot m)$  $(Z^{*}_{m}, \cdot m)$
>>> 
>>> But the org-mode didn't identify them as equations. Instead, it highlight
>>> the part between the two *s, i.e. }_{m}, \cdot m)$ $(Z^{, making this part
>>> bold. Is this a bug of org-mode or my own mistake?
>> 
>> Is this with the new exporter? I tried the old one just now, and it did this
>> correctly in both cases….
> 
> AFAIU, the OP is not talking of export, only of how it's visible in the Org
> buffer itself.
> 
> It's true that the equation is not shown as it should (in this case) because
> `*' are interpreted as bold markers.

Ah, OK.  Sorry for the Noise.  Difficult to fix, this would require a better parser.

One work-around would be to use \ast for the star..

- Carsten

  parent reply	other threads:[~2012-06-26 10:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26  8:45 org-mode wrongly parse asterisk (*) in a math equation as mark of bold font Zihan, Sheldon Liu
2012-06-26 10:08 ` Carsten Dominik
2012-06-26 10:23   ` Sebastien Vauban
2012-06-26 10:27     ` Zihan, Sheldon Liu
2012-06-26 10:29     ` Carsten Dominik [this message]
2012-06-26 10:35       ` Zihan, Sheldon Liu

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

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

  git send-email \
    --in-reply-to=34BBBA25-9FF3-4C53-AF7E-55F0F46DE780@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.