emacs-orgmode
[Top][All Lists]

## Re: [Orgmode] org mode and preview-latex

 From: Carsten Dominik Subject: Re: [Orgmode] org mode and preview-latex Date: Fri, 5 Jun 2009 11:01:07 +0200


On Jun 5, 2009, at 10:27 AM, Marvin Doyley wrote:


Hi Carsten,

The message displayed in the buffer is as follows:
"Creating image for buffer...done. Use C-c C-C' to remove image"


Ha ha, I think I solved the problem. I have to switch to math mode in org i.e., $\alpha$ not \alpha then C-c C-x C-l works likes a charm.

Yes, this will only work for things that are identified as
quoted LaTeX, i.e. things in LaTeX math delimiters,
and also full environments like

\begin{tabular}
......
\end{tabular}

should be added where so that you would have seen it?

- Carsten



Thanks

cheers
M
On Jun 5, 2009, at 3:23 AM, Carsten Dominik wrote:



On Jun 4, 2009, at 2:11 PM, Marvin Doyley wrote:


Sorry Carsten,


What I meant to say was that org-export-with-Latex-fragment was set to t. The problem still continues :(

Should I try a different value ?


No.


Can you see anything in the *Messages* buffer after you tried C-c C-x C-l'
on a LaTeX fragment?

If it says "failed to Failed to create png file from .....

then try to go to this directory and to process that file by hand,
first with latex file.tex and then with dvipng file.dvi.
Does that work?

- Carsten


thanks

M
On Jun 4, 2009, at 5:44 AM, Carsten Dominik wrote:



On Jun 2, 2009, at 5:44 PM, Marvin Doyley wrote:


(setq org-export-with-LaTeX-fragments t)

thanks
M




Does that mean doing this did solve your problems, or does that mean you already had it set to t? Please take the time to reply with enough information so that I can figure out what you are talking about.

- Carsten


On Jun 2, 2009, at 5:46 AM, Carsten Dominik wrote:


What is your value of

org-export-with-LaTeX-fragments

??

- Carsten
On May 31, 2009, at 12:12 AM, Marvin Doyley wrote:


dvipng is installed on my system, it is included with texlive 2008 I am curious to know if anybody got this work with carbon emacs on the mac.

thanks
MMD
On May 30, 2009, at 9:17 AM, Carsten Dominik wrote:



On May 30, 2009, at 2:54 PM, Marvin Doyley wrote:


Hi Carsten,


I tried this but for some reason it didn't work. More specifically, I was unable to visualize my latex snippet. Could this be a limitation of carbon emacs or maybe I didn't configured org properly ?

Do you have dvipng installed?

- Carsten



thanks

M
On May 30, 2009, at 1:02 AM, Carsten Dominik wrote:



On May 29, 2009, at 11:51 PM, Marvin Doyley wrote:


Dear all,


Is there a way to visualize latex snippets on the fly using auctex's latex-preview ?


It would appear the only way to do this is select latex- mode once I have finished completed my notes, it would be nice to do this on the fly when I am drafting articles.


Not with preview-latex, but Org has a similar mechanism built-in.

http://orgmode.org/manual/Processing-LaTeX-fragments.html#Processing-LaTeX-fragments

- Carsten




























reply via email to