emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: "Holst Thomas (DGS-EC/ESE4)" <Thomas.Holst@de.bosch.com>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-pretty-entities and org-cdlatex
Date: Fri, 7 Sep 2012 10:19:41 +0200	[thread overview]
Message-ID: <ywodehmekzxe@de.bosch.com> (raw)
In-Reply-To: <1346843404.92786.YahooMailNeo@web29806.mail.ird.yahoo.com> (Giovanni Ridolfi's message of "Wed, 5 Sep 2012 13:10:04 +0200")

Hi,

· Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> wrote:
> Da: Thomas Holst <thomas.holst@de.bosch.com>
> Inviato: Mercoledì 5 Settembre 2012 12:20
>>· Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
>>> On 5.9.2012, at 11:08, Thomas Holst wrote:
>>
>>>> Hello,
>>> 
>>>> there is a different behaviour of sub (_) and superscripts (^) depending
>>>> on =org-pretty-entities=. When I type:
>>>> 
>>>>  =ab_cdef=
>>>> 
>>>> inside LaTeX fragments with =org-pretty-entities= enabled I get:
>>>> 
>>>>  \( ab_{c}def \)
>>>>         ^^^^
>>>> 
>>>> With =org-pretty-entities= disabled I get:
>>>> 
>>>>  \( ab_{cdef} \)
>>>>          ^^^^
>>>
>>> I am not able to reproduce this, I get the second behavior always.
>
>> I also tested it with emacs 23.2 on WinXP. 
>
>> Maybe it is a problem related to emacs on Windows.
> Hi, Thomas and Carsten,
> [ confirms behaviour on Windows ]
> Giovanni

yesterday I tested it under Ubuntu 12.04 and emacs 23.2.

Typing =ab_cdef= inside a LaTeX fragment results in

\( ab_{c}def \) with org-pretty-entities enabled and
\( ab_{cdef} \) with org-pretty-entities disabled

I even tested it in a terminal with emacs 23.2.1 under cygwin. Same
result.

I tried to debug this. But my elisp is too limited to get a clue what is
going on here.

Thanks for looking into this.
-- 
Bis neulich ...
  Thomas

      reply	other threads:[~2012-09-07  8:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05  9:08 org-pretty-entities and org-cdlatex Thomas Holst
2012-09-05 10:03 ` Carsten Dominik
2012-09-05 10:20   ` Thomas Holst
2012-09-05 10:29     ` Carsten Dominik
2012-09-05 10:41       ` Thomas Holst
2012-09-05 11:32         ` Thomas Holst
2012-09-05 11:10     ` Giovanni Ridolfi
2012-09-07  8:19       ` Thomas Holst [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=ywodehmekzxe@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=carsten.dominik@gmail.com \
    --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).