emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strange problems when exporting asynchronously in beamer mode
@ 2016-02-04 23:05 Julien Cubizolles
  2016-02-05 23:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2016-02-04 23:05 UTC (permalink / raw)
  To: emacs-orgmode

I recently upgraded to the latest git version and every asynchronous
export to pdf in beamer mode fails whereas the asynchronous mode has no
problem. I didn't change anything in my setup, and it was working fine
before.

With the following Org file (the first lines are to ensure that the
latest git version of Org is used)

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC emacs-lisp :exports none :results none
  (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp"))
  (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/contrib/lisp"))
  (setq org-export-async-init-file "/home/wilk/configuration/elisp/org-export-async-init.el")
  (org-reload)
  (setq org-export-async-debug t)
#+END_SRC

* Test
essai
--8<---------------cut here---------------end--------------->8---

Calling (in emacs -Q) an asynchronous export to Tex for Beamer (C-c C-e
l b) gives the following error
--8<---------------cut here---------------start------------->8---
Unknown "nil" back-end: Aborting export
--8<---------------cut here---------------end--------------->8---

There is no error for an export to TeX in LateX mode (C-c C-e l l), of
if the export to TeX in beamer mode isn't asynchronous.

The contents of the
"/home/wilk/configuration/elisp/org-export-async-init-test.el" file are:

--8<---------------cut here---------------start------------->8---
;;~/.emacs -*- mode: lisp-*-
(setq org-export-async-debug t)

(add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name  "~/info/emacs/org-mode/contrib/lisp"))

(require 'org)
(require 'ox)
--8<---------------cut here---------------end--------------->8---

Any idea what went wrong ?

Julien.

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

* Re: Strange problems when exporting asynchronously in beamer mode
  2016-02-04 23:05 Strange problems when exporting asynchronously in beamer mode Julien Cubizolles
@ 2016-02-05 23:32 ` Nicolas Goaziou
  2016-02-08 14:13   ` Julien Cubizolles
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-02-05 23:32 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> The contents of the
> "/home/wilk/configuration/elisp/org-export-async-init-test.el" file are:
>
> ;;~/.emacs -*- mode: lisp-*-
> (setq org-export-async-debug t)
>
> (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp"))
> (add-to-list 'load-path (expand-file-name  "~/info/emacs/org-mode/contrib/lisp"))
>
> (require 'org)
> (require 'ox)
>
> Any idea what went wrong ?

You could try adding (require 'ox-beamer) above.

Regards,

-- 
Nicolas Goaziou

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

* Re: Strange problems when exporting asynchronously in beamer mode
  2016-02-05 23:32 ` Nicolas Goaziou
@ 2016-02-08 14:13   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2016-02-08 14:13 UTC (permalink / raw)
  To: emacs-orgmode, Nicolas Goaziou

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:


> You could try adding (require 'ox-beamer) above.

That did it. For some reason, it wasn't needed before.

Julien.

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

end of thread, other threads:[~2016-02-08 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 23:05 Strange problems when exporting asynchronously in beamer mode Julien Cubizolles
2016-02-05 23:32 ` Nicolas Goaziou
2016-02-08 14:13   ` Julien Cubizolles

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