From: Carsten Dominik <carsten.dominik@gmail.com>
To: Marvin Doyley <doyley@ece.rochester.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: org mode and preview-latex
Date: Fri, 5 Jun 2009 11:01:07 +0200 [thread overview]
Message-ID: <F5D1C877-0569-4F20-8546-E26149918040@gmail.com> (raw)
In-Reply-To: <046D3E5D-567A-4008-94DF-50AD237338A5@ece.rochester.edu>
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}
Is the documentation unclear about this? What documentation
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
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
prev parent reply other threads:[~2009-06-05 9:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 21:51 org mode and preview-latex Marvin Doyley
2009-05-30 5:02 ` Carsten Dominik
2009-05-30 12:54 ` Marvin Doyley
2009-05-30 13:17 ` Carsten Dominik
2009-05-30 22:12 ` Marvin Doyley
2009-06-02 9:46 ` Carsten Dominik
2009-06-02 15:44 ` Marvin Doyley
2009-06-04 9:44 ` Carsten Dominik
2009-06-04 12:11 ` Marvin Doyley
2009-06-05 7:23 ` Carsten Dominik
2009-06-05 8:27 ` Marvin Doyley
2009-06-05 9:01 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F5D1C877-0569-4F20-8546-E26149918040@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=doyley@ece.rochester.edu \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.