From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org mode and preview-latex Date: Fri, 5 Jun 2009 11:01:07 +0200 Message-ID: References: <9C2E991C-4C10-432D-A0CF-DEFCA7B6E296@ece.rochester.edu> <21DFC8AD-568D-4814-BA35-206E1377F1D8@gmail.com> <097F6914-3E51-413B-ABA4-C2CD033E6CFA@ece.rochester.edu> <5F41C869-B660-4C64-896B-EC320A2F6C18@ece.rochester.edu> <3DC6E8D6-8C80-4ADC-B1A4-1702791C105E@gmail.com> <3D25A10B-7B3D-4AAE-8CB5-CAA9DB630667@gmail.com> <3CB8ADA0-2049-4E71-B6C2-A23D1B921EDE@ece.rochester.edu> <2F92314C-ABCC-4CA0-9EF7-93A4308B4169@gmail.com> <046D3E5D-567A-4008-94DF-50AD237338A5@ece.rochester.edu> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCVIa-0002aM-Kk for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 05:01:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCVIW-0002ZG-T1 for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 05:01:16 -0400 Received: from [199.232.76.173] (port=45992 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCVIW-0002ZD-Oy for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 05:01:12 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:49292) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCVIW-00044v-3e for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 05:01:12 -0400 Received: by ewy6 with SMTP id 6so2759359ewy.42 for ; Fri, 05 Jun 2009 02:01:11 -0700 (PDT) In-Reply-To: <046D3E5D-567A-4008-94DF-50AD237338A5@ece.rochester.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marvin Doyley Cc: emacs-orgmode@gnu.org 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 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> >