From: "Zihan, Sheldon Liu" <updogliu@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, 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 18:35:28 +0800 [thread overview]
Message-ID: <CAGhA3dfkFK2BL5Z+Q=jGR8dumCJzA+3wohS2QKUt1L328T0UvA@mail.gmail.com> (raw)
In-Reply-To: <34BBBA25-9FF3-4C53-AF7E-55F0F46DE780@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
Thanks. I forgot to mention that it also wrongly parsed when exporting to
html at my place.
On Tue, Jun 26, 2012 at 6:29 PM, Carsten Dominik
<carsten.dominik@gmail.com>wrote:
>
> 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
>
>
>
--
Regards,
Zihan, Sheldon Liu
------------------------
The Media Computing Group (MCG)
where Media Spectrum unleashes Digital Potential for Fun in Life.
School of Creative Media (SCM)
City University of Hong Kong
[-- Attachment #2: Type: text/html, Size: 2082 bytes --]
prev parent reply other threads:[~2012-06-26 10:35 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
2012-06-26 10:35 ` Zihan, Sheldon Liu [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGhA3dfkFK2BL5Z+Q=jGR8dumCJzA+3wohS2QKUt1L328T0UvA@mail.gmail.com' \
--to=updogliu@gmail.com \
--cc=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.