emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Problem when previewing latex fragments
Date: Sat, 18 Sep 2010 07:29:21 +0200	[thread overview]
Message-ID: <AANLkTikdTcbc4scZsG9od-YcwWnJ5q4SXXh7XM3+ezRh@mail.gmail.com> (raw)
In-Reply-To: <4c93732a.16e9640a.1ca5.ffffe74b@mx.google.com>

On Fri, Sep 17, 2010 at 3:54 PM, Darlan Cavalcante Moreira
<darcamo@gmail.com> 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.

Strange indeed, because in the latest Org repo version, (require 'org-latex) is
explicitly done just before calling org-export-latex-fix-inputenc.

I would guess that you have some load path shadowing going on and that the wrong
org-latex is being loaded.

- Carsten

>
> --
> Darlan
>
>
> At Thu, 16 Sep 2010 21:38:58 +0200,
> Sebastian Rose <sebastian_rose@gmx.de> wrote:
>>
>> Darlan Cavalcante Moreira <darcamo@gmail.com> 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
>>
>>
>> ???
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

  parent reply	other threads:[~2010-09-18  5:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 19:18 Problem when previewing latex fragments Darlan Cavalcante Moreira
2010-09-16 19:38 ` Sebastian Rose
2010-09-17 13:54   ` Darlan Cavalcante Moreira
2010-09-18  2:07     ` Nick Dokos
2010-09-18  4:13       ` Darlan Cavalcante Moreira
2010-09-18  5:29     ` Carsten Dominik [this message]
2010-09-20  1:43       ` Darlan Cavalcante Moreira

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikdTcbc4scZsG9od-YcwWnJ5q4SXXh7XM3+ezRh@mail.gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=darcamo@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).