[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nick Dokos: Re: [Orgmode] Problem exporting to LaTeX/PDF from comman
From: |
Francesco Pizzolante |
Subject: |
Re: Nick Dokos: Re: [Orgmode] Problem exporting to LaTeX/PDF from command line |
Date: |
Thu, 22 Apr 2010 17:04:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Nick,
Thanks a lot for having made those tests and sorry for my late reply.
I didn't have time to go the direction you suggest: I will to check my
load-path and I'll let you know.
Thanks again.
Francesco
Nick Dokos wrote:
> Talking to myself again...
>
> From: Nick Dokos <address@hidden>
> Subject: Re: [Orgmode] Problem exporting to LaTeX/PDF from command line
> To: address@hidden
> Date: Tue, 20 Apr 2010 11:46:41 -0400
>
>
> Nick Dokos <address@hidden> wrote:
>
>> Nick Dokos <address@hidden> wrote:
>>
>> > Francesco Pizzolante <address@hidden> wrote:
>> >
>> > > Hi,
>> > >
>> > > I forgot to mention that, of course, when I do the same operation within
>> > > Emacs, using the C-c C-e l, the file is exported without problem.
>> > >
>> > > Any idea?
>> > >
>> >
>> > I tried a little debugging on this, but I didn't get very far before I
>> > ran out of time. The re-search-forward for "#+LaTeX_CLASS_OPTIONS" in
>> > org-export-latex-set-initial-vars fails and it looks to me like a rather
>> > subtle problem: the temp file buffer looks empty. Whether that's the
>> > fault of the with-temp-file-buffer macro or something else, I'm not
>> > sure.
>> >
>>
>> Still not sure what is going on, but this modified org-interaction.el
>> file (it loads the necessary org-XXX.el files explicitly - be sure to
>> change the load-path appropriately) seems to work for me. I have not tried
>> to load org-XXX.elc files to see whether that works or not.
>>
>> Nick
>>
>> ---------------------------------------------------------------------------
>> (add-to-list 'load-path "/home/nick/src/emacs/org/org-mode/lisp")
>> ...
>
> I think that's the problem: picking up org from the *right* place works.
> Picking it up from whatever is built-in with your emacs does not. So just
> fix the load-path before you (require 'org) and all shall be well (famous
> last words...)
>
> Nick
>
>
> ----------
>