Hello,

with an up to date org, I cannot get the attached minimal example to
export using the new exporter.  I have try exporting to latex-pdf, in
case that matters.  The (line-length truncated) error trace is:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-readable-p(nil)
  (not (file-readable-p file))
  (cond ((not (file-readable-p file)) (error "Cannot include file %s" file))
  (let* ((value (match-string 1)) (ind (org-get-indentation)) (file (and (st
  (progn (beginning-of-line) (let* ((value (match-string 1)) (ind (org-get-i
  (if (eq (org-element-type (save-match-data (org-element-at-point))) (quote
  (when (eq (org-element-type (save-match-data (org-element-at-point))) (quo
  (while (re-search-forward "^[         ]*#\\+INCLUDE: \\(.*\\)" nil t) (whe
  (let ((case-fold-search t)) (goto-char (point-min)) (while (re-search-forw
  org-export-expand-include-keyword()
  [...]
--8<---------------cut here---------------end--------------->8---

Note that the uml.org file referred to by the #+include exists.  Also
note that the old exporter works.

I am not entirely sure what the semantics for included files in the new
exporter are.  For instance, is an include statement /within/ a
non-exported headline meant to be processed?

Regardless, the fact that it fails to export is a bug, I guess.

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.1.1 and Org release_7.9.2-516-g796fca
# -*- org-confirm-babel-evaluate: nil; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fr...@ucl.ac.uk
#+DATE:      2012-01-09 Mon
#+EXPORT_EXCLUDE_TAGS: noexport

* introduction
  This is some text that should be exported
* conclusions     :noexport:
  This is some text that will not be exported.  It includes some text
  from another file.  The presence of this include causes the new
  exporter to fail.
#+include: uml.org

Reply via email to