Re: [O] CDLaTeX (4.0) not working in Org mode (8.0.3)?
On Mon, May 20, 2013 at 11:14 AM, Omid omidl...@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/
Re: [O] CDLaTeX (4.0) not working in Org mode (8.0.3)?
Thanks. I confirm that this in fact solves the problem. On Mon, May 20, 2013 at 3:57 AM, Longmin WANG longminw...@gmail.com wrote: On Mon, May 20, 2013 at 11:14 AM, Omid omidl...@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/
[O] CDLaTeX (4.0) not working in Org mode (8.0.3)?
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*}