From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Re: org mode and preview-latex Date: Fri, 5 Jun 2009 04:27:28 -0400 Message-ID: <046D3E5D-567A-4008-94DF-50AD237338A5@ece.rochester.edu> 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> 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 1MCUm6-000628-Lc for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 04:27:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCUm2-00061d-8F for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 04:27:42 -0400 Received: from [199.232.76.173] (port=36481 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCUm2-00061a-5y for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 04:27:38 -0400 Received: from cowpens.ceas.rochester.edu ([128.151.162.25]:43533) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCUm1-0005Px-3v for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 04:27:38 -0400 In-Reply-To: <2F92314C-ABCC-4CA0-9EF7-93A4308B4169@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org 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. 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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>> >>> >>> >> > >