From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Problem when previewing latex fragments Date: Sat, 18 Sep 2010 01:13:36 -0300 Message-ID: <4c943c76.07a5640a.1664.0317@mx.google.com> References: <4c926d6e.2a48960a.70de.ffffba8a@mx.google.com> <87d3sdqy0d.fsf@gmx.de> <4c93732a.16e9640a.1ca5.ffffe74b@mx.google.com> <24439.1284775674@gamaville.dokosmarshall.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=50354 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owoo6-0000nZ-Hu for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 00:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owoo4-00076K-Vj for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 00:13:46 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:43836) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owoo4-000768-RC for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 00:13:44 -0400 Received: by gxk24 with SMTP id 24so777827gxk.0 for ; Fri, 17 Sep 2010 21:13:43 -0700 (PDT) In-Reply-To: <24439.1284775674@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: Orgmode Mailing List Unfortunately it didn't work. I think I'll live with the problem for now and when I upgrade to the next ubuntu version next month (and probably to a different emacs version than what I use now) I'll report again if the problem still exists. -- Darlan At Fri, 17 Sep 2010 22:07:54 -0400, Nick Dokos wrote: > > Darlan Cavalcante Moreira wrote: > > > > > Hi Sebastian, > > > > Make only tells me that there is nothing to be done. All I do (since a > > long time) is calling "git pull" to get the latest changes and then make to > > compile everything. It worked before (the preview and everything else) and > > only lately I realized that the preview didn't work, unless I run > > org-reload before. > > > > I tried to checkout a fresh copy from the repo and run only make autoloads, > > but the problem remains, which is strange if I'm the only one with this > > problem. > > > > -- > > Darlan > > > > > > At Thu, 16 Sep 2010 21:38:58 +0200, > > Sebastian Rose wrote: > > > > > > Darlan Cavalcante Moreira writes: > > > > Hello list, > > > > > > > > When I run org-preview-latex-fragment (C-c C-x C-l) I get the error > > > > ,---- > > > > ! org-create-formula-image: Symbol's function definition is void: > > > > ! org-export-latex-fix-inputenc > > > > `---- > > > > > > > > However, I run org-reload it works (until I close my gtd.org file and open > > > > it again). I'm running the latest version of org and the variable > > > > org-export-with-LaTeX-fragments is set to nil (but as I understand it is > > > > only used for exporting and not for previewing). > > > > > > > > To test if this is due to some configuration, I run emacs with the -q > > > > option and executed in the scratch buffer only the code below to load the > > > > new version > > > > > > > > (progn (cd "~/Org-mode-dev/") (normal-top-level-add-subdirs-to-load-path)) > > > > (org-reload) > > > > Then I oppened my gtd.org file and tryed C-c C-x C-l, but I got the same > > > > error. > > > > > > > > Does anyone else has this problem? > > > > > > > > -- > > > > Darlan > > > > > > > > ps: Emacs version is 23.1.50.1 (emacs-snapshot in Ubuntu 10.04) > > > > > > > > > make autoloads > > > > > > > > > ??? > > > > org-preview-latex-fragment is in org.el and > org-export-latex-fix-inputenc is in org-latex.el, so that sounds like a > require is missing somewhere (just guessing, mind you: I haven't even > looked at the code, let alone tried anything.) > > Maybe adding a (require 'org-latex) at the beginning of > org-preview-latex-fragment helps? > > HTH, > Nick >