Hello,
Yesterday I've updated my git clone of org-mode after a few weeks of
not found time to. I noticed the latex fragment preview (C-c C-x C-l)
broke. I get messages like
org-create-formula-image-with-dvipng: Removing old name: No such
file or directory, /tmp/orgtex17198KSG.out
Interesti
My bad, I wrote:
> if the point is at the beginning of a headline cdlatex-tab advances to the
> next word rather than leaving it alone.
because I evidently didn't read your email closely enough
2011/11/13 Nicolas Goaziou :
> ... (I had forgotten to take care of headlines case).
Sorry for the
2011/11/13 Nicolas Goaziou :
>>> I've slightly modified your patch to repair that. Could you test it and
>>> report back the result?
>>
>> From what i can tell it works flawlessly.
I'm sorry, but I just caught a flaw. I actually remember it being the reason
why I chose to test if the point is in
2011/11/12 Nicolas Goaziou :
> Your patch prevents cdlatex expansion for LaTeX environments, since
> point must be in a LaTeX fragment to trigger `cdlatex-tab'.
That actually bit me yesterday :P
> I've slightly modified your patch to repair that. Could you test it and
> report back the result?
= a_0 + a_1$[TAB]
+ foo
result:
- $y = a_0 + a_1$...
From 43ae3ff0393d8a43c02938ae621ae7a1c1d67b61 Mon Sep 17 00:00:00 2001
From: Maik Beckmann
Date: Thu, 10 Nov 2011 11:51:07 +0100
Subject: [PATCH] When in a Latex fragment, try cdlatex-tab before the trying
to cyle the list.
---
lisp/org.el |
* The observed behavior
Inside a list item cdlatex-tab isn't considered. An example:
To circumvent emacs' fill-paragrah issue with \[ \] I prefer using a
inline math environment in a single item list. Unfortunately cdlatex
isn't considered when hitting TAB then
- $y = a_0 + a_{1[TAB]}$
For the sake of completeness, here a pastebin link that works
- http://pastebin.com/izaBK6fH
Looks like the former one didn't work because I uploaded it via
pastebin.el and pastebin.com wanted me to enter a captcha, in
time. I missed that because I didn't open it in a browser before
posting it he
Without any idea what I'm doing, I just searched for verbatim. The
"\n\n" in org-export-latex-fixed-width
http://pastebin.com/CzkB4thP
looked suspecious, so I deleted one:
- (insert "\\end{verbatim}\n\n"))
# (insert "\\end{verbatim}\n"))
It works like I want it to now, but this seemed too eas
Hello,
Given this example
{{{
#+Title: Test
* Section
This paragraph isn't broken by this
\[
c^2 = a^2 + b^2
\]
#
equation
This paragraph is broken by this
: e = m c^2
literal example
}}}
the result is (well, the interesting part of it)
{{{
\section{Section}
\label{sec-1}
This paragraph i