emacs 24.3 from http://emacsformacosx.com/ cannot export html after upgrading org-mode to org-version-8.2.1-15

StackOverflow https://stackoverflow.com/questions/19639198

  •  01-07-2022
  •  | 
  •  

Вопрос

What I did: emacs 24.3 for OS X was downloaded from http://emacsformacosx.com/, which comes with bundled org-mode version 7.9.3f.

I upgraded org-mode by following the method from here: http://orgmode.org/manual/Installation.html#Installation with the method#1 Using Emacs packaging system.

I included (package-initialize) in my .emacs profile.

Problems: I no longer can run org-babel C-c, C-e, b to export selected portion for html export.

When I run C-c C-e h h, it says "Invalid Key"

When I run M-x org-publish-project , it says "Invalid function: (......)".

Can anyone can shed some lights on the problem?

Это было полезно?

Решение

D'oh!

The HTML export problem can be solved if I simply remove (require 'org-publish) for org-version 7.x.x, and replace it with (require 'ox-publish) for org-version 8.x.x at the very top of my .emacs file.

Why the didn't the official site just say so? D'oh!

As of 2013 Oct 31, the babel problem is still unsolved as babel site mentions that it is integrated in org-version 7.x.x but does not mention anything about 8.x.x. (see http://orgmode.org/worg/org-contrib/babel/). Is there anyone using the bleeding edge version of babel with org-version 8.x.x without problem?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top