Hi,
I face a similar problem with my org-mode. So several months my
org-mode installation won't export to LaTeX and as I noticed today the
export of a project with org-jekyll etc. doesn't work either (but I do
not cover that error in this post):
- GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)\n of 2011-03-04
on allspice, modified by Debian
- I installed org-mode via a git repository in my home directory and put
the following lines in my .emacs file:
(setq load-path (cons "/home/dbr/sw/org-mode/lisp" load-path))
(setq load-path (cons "/home/dbr/sw/org-mode/contrib/lisp" load-path))
(require 'org-install)
- Therefore org-version is: Org-mode version 7.7 (release_7.7.380.g54d7df.dirty)
I then created a file "a.org":
--8<--
#+TITLE: a.org
#+AUTHOR: Daniel
#+EMAIL: daniel@monkey
#+DATE: 2011-10-14 Fr
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0
path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
* Heading
Export me !
--8<--
The options have been included with C-c C-e t.
After a org-export-as-latex I got the message:
org-export-preprocess-string: Cannot open load file: org-nil
The *Backtrace* is:
--8<--
Debugger entered--Lisp error: (file-error "Cannot open load file" "org-nil")
require(org-nil nil)
org-export-preprocess-string(#("#+TITLE: a.org\n#+AUTHOR:
Daniel\n#+EMAIL: daniel@monkey\n#+DATE: 2011-10-14
Fr\n#+DESCRIPTION:\n#+KEYWORDS:\n#+LANGUAGE: en\n#+OPTIONS: H:3 num:t toc:t
\\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t\n#+OPTIONS: TeX:t LaTeX:t skip:nil
d:nil todo:t pri:nil tags:not-in-toc\n#+INFOJS_OPT: view:nil toc:nil ltoc:t
mouse:underline buttons:0
path:http://orgmode.org/org-info.js\n#+EXPORT_SELECT_TAGS:
export\n#+EXPORT_EXCLUDE_TAGS: noexport\n#+LINK_UP: \n#+LINK_HOME:
\n#+XSLT:\n\n" 0 8 (fontified nil font-lock-fontified t) 8 13 (fontified nil)
13 18 (fontified nil font-lock-fontified t) 18 19 (fontified nil
font-lock-fontified t) 19 28 (fontified nil font-lock-fontified t) 28 32
(fontified nil font-lock-fontified t) 32 38 (fontified nil font-lock-fontified
t) 38 39 (fontified nil) 39 47 (fontified nil font-lock-fontified t) 47 52
(fontified nil) 52 65 (fontified nil font-lock-fontified t) 65 66 (fontified
nil) 66 73 (fontified nil font-lock-fontified t) 73 79 (fontified nil) 79 92
(fontified nil font-lock-fontified t) 92 93 (fontified nil) 93 107 (fontified
nil font-lock-fontified t) 107 108 (fontified nil font-lock-fontified t) 108
119 (fontified nil font-lock-fontified t) 119 120 (fontified nil
font-lock-fontified t) 120 135 (fontified nil font-lock-fontified t) 135 136
(fontified nil font-lock-fontified t) 136 203 (fontified nil
font-lock-fontified t) 203 204 (fontified nil font-lock-fontified t) 204 276
(fontified nil font-lock-fontified t) 276 277 (fontified nil
font-lock-fontified t) 277 346 (fontified nil font-lock-fontified t) 346 375
(fontified nil font-lock-fontified t) 375 376 (fontified nil rear-nonsticky
(mouse-face highlight keymap invisible intangible help-echo org-linked-text)
font-lock-fontified t) 376 377 (fontified nil font-lock-fontified t) 377 405
(fontified nil font-lock-fontified t) 405 406 (fontified nil
font-lock-fontified t) 406 437 (fontified nil font-lock-fontified t) 437 438
(fontified nil font-lock-fontified t) 438 451 (fontified nil
font-lock-fontified t) 451 452 (fontified nil font-lock-fontified t) 452 465
(fontified nil font-lock-fontified t) 465 466 (fontified nil
font-lock-fontified t) 466 473 (fontified nil font-lock-fontified t) 473 474
(fontified nil font-lock-fontified t) 474 475 (fontified nil)) :for-LaTeX t
:emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil
:LaTeX-fragments nil :timestamps t :footnotes t)
org-export-latex-first-lines((:latex-image-options "width=10em" :exclude-tags
("noexport") :select-tags ("export") :publishing-directory nil :timestamp nil
:expand-quoted-html t :html-table-tag "<table border=\"2\" cellspacing=\"0\"
cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">" :xml-declaration (("html"
. "<?xml version=\"1.0\" encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml
version=\\\"1.0\\\" encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble auto
:html-preamble t :html-extension "html" :inline-images maybe :convert-org-links
t :agenda-style "" :style-extra "" :style "" :style-include-scripts t
:style-include-default t :table-auto-headline t :tables t :time-stamp-file t
:creator-info t :email-info nil :author-info t :email "daniel@monkey" ...) nil)
org-export-as-latex(nil)
call-interactively(org-export-as-latex)
org-export(nil)
call-interactively(org-export nil nil)
--8<--
I read in an older post that there may be a problem with parts of the
old installation that is still "somewhere". But I installed the newest
version as written in the manual.
Kind regards,
Daniel