emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maximilian Matthe <maxi.matthe@googlemail.com>
To: David Maus <dmaus@ictsoc.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-cdlatex after environment
Date: Sun, 09 Jan 2011 12:07:58 +0100	[thread overview]
Message-ID: <87lj2u2v3l.fsf@googlemail.com> (raw)
In-Reply-To: <878vyuuzn7.wl%dmaus@ictsoc.de> (David Maus's message of "Sun, 09 Jan 2011 11:42:20 +0100")

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

David Maus <dmaus@ictsoc.de> writes:

> At Fri, 17 Dec 2010 14:28:22 +0100,
> Maximilian Matthé wrote:
>>
>> Hi guys,
>>
>> I'm using fresh pulled orgmode, emacs 23.1
>>
>> Having this:
>>
>> ,----
>> | \begin{eqnarray*}
>> | b&=&
>> | \begin{cases}
>> | 1 & a>0 \\ 2 & \mbox{else}   # (1)
>> | \end{cases}
>> |   # (2)
>> | \end{eqnarray*}
>> `----
>>
>> typing _ at # (1) shows up _{}, but typing this at #(2) does nothing
>> special. It seems, as if cdlatex thinks, the math block has ended
>> after \end{cases}, since fr<TAB> does not expand, too etc.
>>
>> It would be really great to have it fixed :)
>
> Could you provide a small Org mode file to reproduce this problem?  I
> am not very familar with the usage of Org mode and LaTex so I
> currently have no clue how to reproduce the problem.
>
> Thanks,
>   -- David

Sure, it's attached, with some  comments in it to reproduce.
Thanks, Max


[-- Attachment #2: cld-bug.org --]
[-- Type: application/octet-stream, Size: 329 bytes --]

* Heading
#+BEGIN_SRC emacs-lisp
;; Turn on cdlatex-mode
(org-cdlatex-mode 1)
#+END_SRC


\begin{eqnarray*}
 & & \\
\end{eqnarray*}

\begin{eqnarray*}
b&=&
\begin{cases}
1 & 2 \\ 3 & 4
\end{cases}
5
\end{eqnarray*}


Typing _ after 4 prints _{}. Typing _ after 5 only gives _. 5 isn't
considered to be part of math-mode anymore.

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-01-09 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 13:28 [BUG] org-cdlatex after environment Maximilian Matthé
2011-01-09 10:42 ` David Maus
2011-01-09 11:07   ` Maximilian Matthe [this message]
2011-01-19 10:13 ` Carsten Dominik

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=87lj2u2v3l.fsf@googlemail.com \
    --to=maxi.matthe@googlemail.com \
    --cc=dmaus@ictsoc.de \
    --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).