emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CDLaTeX (4.0) not working in Org mode (8.0.3)?
@ 2013-05-20  3:14 Omid
  2013-05-20  7:57 ` Longmin WANG
  0 siblings, 1 reply; 4+ messages in thread
From: Omid @ 2013-05-20  3:14 UTC (permalink / raw)
  To: emacs-orgmode

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

I see the following strange behavior from Org-CDLaTeX (OCDL).

Outside a * heading it works. Inside a * heading (or anything under that)
it does NOT work. What can be causing this?

Here is a minimal example:

# Org CDLaTeX (OCDL) works here (at least does not issue an error)
\[
x^2
\]

* heading
** subheading
   # Org CDLaTeX (OCDL) does NOT work here. Pressing ^ (caret) or _
   # (underscore) causes the following error to appear in *Messages*
   # buffer:
   #
   # call-interactively: Symbol's value as variable is void:
   # last-command-char
   \[
   x
   \]
   # Same error here.
   \begin{align*}
   x
   \end{align*}

[-- Attachment #2: Type: text/html, Size: 751 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CDLaTeX (4.0) not working in Org mode (8.0.3)?
  2013-05-20  3:14 CDLaTeX (4.0) not working in Org mode (8.0.3)? Omid
@ 2013-05-20  7:57 ` Longmin WANG
  2013-05-20  8:59   ` Omid
  0 siblings, 1 reply; 4+ messages in thread
From: Longmin WANG @ 2013-05-20  7:57 UTC (permalink / raw)
  To: emacs-orgmode

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

On Mon, May 20, 2013 at 11:14 AM, Omid <omidlink@gmail.com> wrote:

> I see the following strange behavior from Org-CDLaTeX (OCDL).
>
> Outside a * heading it works. Inside a * heading (or anything under that)
> it does NOT work. What can be causing this?
>
> Here is a minimal example:
>
> # Org CDLaTeX (OCDL) works here (at least does not issue an error)
> \[
> x^2
> \]
>
> * heading
> ** subheading
>    # Org CDLaTeX (OCDL) does NOT work here. Pressing ^ (caret) or _
>    # (underscore) causes the following error to appear in *Messages*
>    # buffer:
>    #
>    # call-interactively: Symbol's value as variable is void:
>    # last-command-char
>    \[
>    x
>    \]
>    # Same error here.
>    \begin{align*}
>    x
>    \end{align*}
>
>
last-command-char should be changed to last-command-event in cdlatex.el.

-- 
Longmin Wang (http://wanglm.droppages.com/)
Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
<http://math.nankai.edu.cn/~wanglm/>

[-- Attachment #2: Type: text/html, Size: 1507 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CDLaTeX (4.0) not working in Org mode (8.0.3)?
  2013-05-20  7:57 ` Longmin WANG
@ 2013-05-20  8:59   ` Omid
  2013-08-31  6:16     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Omid @ 2013-05-20  8:59 UTC (permalink / raw)
  To: Longmin WANG; +Cc: emacs-orgmode

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

Thanks. I confirm that this in fact solves the problem.


On Mon, May 20, 2013 at 3:57 AM, Longmin WANG <longminwang@gmail.com> wrote:

>
>
> On Mon, May 20, 2013 at 11:14 AM, Omid <omidlink@gmail.com> wrote:
>
>> I see the following strange behavior from Org-CDLaTeX (OCDL).
>>
>> Outside a * heading it works. Inside a * heading (or anything under that)
>> it does NOT work. What can be causing this?
>>
>> Here is a minimal example:
>>
>> # Org CDLaTeX (OCDL) works here (at least does not issue an error)
>> \[
>> x^2
>> \]
>>
>> * heading
>> ** subheading
>>    # Org CDLaTeX (OCDL) does NOT work here. Pressing ^ (caret) or _
>>    # (underscore) causes the following error to appear in *Messages*
>>    # buffer:
>>    #
>>    # call-interactively: Symbol's value as variable is void:
>>    # last-command-char
>>    \[
>>    x
>>    \]
>>    # Same error here.
>>    \begin{align*}
>>    x
>>    \end{align*}
>>
>>
> last-command-char should be changed to last-command-event in cdlatex.el.
>
> --
> Longmin Wang (http://wanglm.droppages.com/)
> Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
> <http://math.nankai.edu.cn/~wanglm/>
>

[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CDLaTeX (4.0) not working in Org mode (8.0.3)?
  2013-05-20  8:59   ` Omid
@ 2013-08-31  6:16     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2013-08-31  6:16 UTC (permalink / raw)
  To: Omid; +Cc: Longmin WANG, emacs-orgmode

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


On 20.5.2013, at 10:59, Omid <omidlink@gmail.com> wrote:

> Thanks. I confirm that this in fact solves the problem.


This is also fixed in CDLaTeX 4.6 at http://staff.science.uva.nl/~dominik/Tools/cdlatex

- Carsten

> 
> 
> On Mon, May 20, 2013 at 3:57 AM, Longmin WANG <longminwang@gmail.com> wrote:
> 
> 
> On Mon, May 20, 2013 at 11:14 AM, Omid <omidlink@gmail.com> wrote:
> I see the following strange behavior from Org-CDLaTeX (OCDL).
> 
> Outside a * heading it works. Inside a * heading (or anything under that) it does NOT work. What can be causing this?
> 
> Here is a minimal example:
> 
> # Org CDLaTeX (OCDL) works here (at least does not issue an error)
> \[
> x^2
> \]
> 
> * heading
> ** subheading
>    # Org CDLaTeX (OCDL) does NOT work here. Pressing ^ (caret) or _
>    # (underscore) causes the following error to appear in *Messages*
>    # buffer:
>    # 
>    # call-interactively: Symbol's value as variable is void:
>    # last-command-char
>    \[
>    x
>    \]
>    # Same error here.
>    \begin{align*}
>    x
>    \end{align*}
> 
> 
> last-command-char should be changed to last-command-event in cdlatex.el. 
> 
> -- 
> Longmin Wang (http://wanglm.droppages.com/)
> Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
> 


[-- Attachment #2: Type: text/html, Size: 2839 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-31  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20  3:14 CDLaTeX (4.0) not working in Org mode (8.0.3)? Omid
2013-05-20  7:57 ` Longmin WANG
2013-05-20  8:59   ` Omid
2013-08-31  6:16     ` Carsten Dominik

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).