emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Nick Dokos: Re: Problem exporting to LaTeX/PDF from command line
@ 2010-04-20 16:14 Nick Dokos
       [not found] ` <13212.1271780054-TJrFXA7iIeCe3OBdgWQskqjhntL6z2xtQH7oEaQurus@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Dokos @ 2010-04-20 16:14 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: nicholas.dokos, emacs-orgmode

Talking to myself again...

------- Forwarded Message

Date:    Tue, 20 Apr 2010 11:46:41 -0400
From:    Nick Dokos <nicholas.dokos@hp.com>
To:      nicholas.dokos@hp.com
Subject: Re: [Orgmode] Problem exporting to LaTeX/PDF from command line

Nick Dokos <nicholas.dokos@hp.com> wrote:

> Nick Dokos <nicholas.dokos@hp.com> wrote:
> 
> > Francesco Pizzolante <fpz@missioncriticalit.com> 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


------- End of Forwarded Message

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Nick Dokos: Re: Problem exporting to LaTeX/PDF from command line
       [not found] ` <13212.1271780054-TJrFXA7iIeCe3OBdgWQskqjhntL6z2xtQH7oEaQurus@public.gmane.org>
@ 2010-04-22 15:04   ` Francesco Pizzolante
  0 siblings, 0 replies; 2+ messages in thread
From: Francesco Pizzolante @ 2010-04-22 15:04 UTC (permalink / raw)
  To: nicholas.dokos-VXdhtT5mjnY; +Cc: emacs-orgmode-mXXj517/zsQ

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 <nicholas.dokos-VXdhtT5mjnY@public.gmane.org>
> Subject: Re: [Orgmode] Problem exporting to LaTeX/PDF from command line
> To:      nicholas.dokos-VXdhtT5mjnY@public.gmane.org
> Date:    Tue, 20 Apr 2010 11:46:41 -0400
>
>
> Nick Dokos <nicholas.dokos-VXdhtT5mjnY@public.gmane.org> wrote:
>
>> Nick Dokos <nicholas.dokos-VXdhtT5mjnY@public.gmane.org> wrote:
>> 
>> > Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> 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
>
>
> ----------
>


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-22 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 16:14 Nick Dokos: Re: Problem exporting to LaTeX/PDF from command line Nick Dokos
     [not found] ` <13212.1271780054-TJrFXA7iIeCe3OBdgWQskqjhntL6z2xtQH7oEaQurus@public.gmane.org>
2010-04-22 15:04   ` Francesco Pizzolante

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).