emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] problems with :exports results [6.33trans (release_6.3


From: Martin G. Skjæveland
Subject: [Orgmode] [babel] problems with :exports results [6.33trans (release_6.33c.7.g69b46)]
Date: Mon, 16 Nov 2009 15:27:23 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Hi,

I pulled a fresh version of org-mode today and have some problems
including source block results in my export.

When I export the file

-------------------------------------start
* testing 123
** 1
#+begin_src sh
echo "test 1"
#+end_src
** 2
#+begin_src sh :results output
echo "test 2"
#+end_src
** 3
#+begin_src sh :exports results
echo "test 3"
#+end_src
** 4
#+begin_src sh :results output :exports results
echo "test 4"
#+end_src
** 5
#+begin_src sh :results output :exports both
echo "test 5"
#+end_src
-------------------------------------end

it gives me

-------------------------------------start
1 testing 123
~~~~~~~~~~~~~~

1.1 1
======
  echo "test 1"

1.2 2
======
  echo "test 2"


test 2

1.3 3
======

1.4 4
======

1.5 5
======
  echo "test 5"
-------------------------------------end


The result is only exported in test no. 2. I have written my source blocks in the same format as test no. 4, which before the weekend gave me only the results of the source block execution in the export.


A perhaps related issue is that when I try to export my working document
I get the error

  Symbol's function definition is void: org-babel-execute:xml :

Exporting to PDF...
Exporting to LaTeX...
(New file)
org-babel-exp processing... [21 times]
funcall: Symbol's function definition is void: org-babel-execute:xml

I have added xml with

(org-babel-add-interpreter "xml")
(add-to-list 'org-babel-tangle-langs '("xml" "xml" nil t))

This error did not appear before the upgrade I did today.

I hope this report is clear.

Thanks!
Martin


Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
 of 2009-09-27 on palmer, modified by Debian
Package: Org-mode version 6.33trans (release_6.33c.7.g69b46)

current state:
==============
(setq
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
org-babel-interpreters '("n3" "xml" "java" "python" "dot" "sh" "emacs-lisp")
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all
                    append local]
                   5]
                 )
 org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe
                          org-babel-execute-src-block-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
                          (src org-babel-exp-inline-src-blocks))
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\<Martin G\\. Skjæveland\\>"
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-blocks nil)
                     (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
 )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]