emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Mediawiki export bugs and export to Doxygen
@ 2011-08-24  9:55 Michal Sojka
  0 siblings, 0 replies; only message in thread
From: Michal Sojka @ 2011-08-24  9:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I wanted to try the experimental Mediawiki exporter and it fails to
export documents with dot code blocks (as the one provided below). I
tried to fix that myself but my elisp and org-babel knowledge is not
sufficient for that. I used org-mode 7.7.

The error was: "file-name-extension: Wrong type argument: stringp, nil".
I tracked it down and it seems that it is caused by (nth 2 info) being
nil in org-babel-exp-do-export, whereas in org-babel-exp-src-block,
which calls org-babel-exp-do-export, the information about :file and
:cmdline is still present.

Another problem is that the Mediawiki export doesn't obey the
org-confirm-babel-evaluate variable - it always wants to confirm the
evaluation of code block.

I have also seen
http://thread.gmane.org/gmane.emacs.orgmode/40746/focus=40749 but this
seems to solve different thing. Does anybody have a suggestion how to
solve this.

Additionally, I'm thinking about writing org exporter to Doxygen syntax.
I wanted to based it on Mediawiki exporter but I'm not sure whether it
is a good idea since the Mediawiki exporter doesn't seem to be
maintained. Again, any suggestions are welcomed.

And finally, the example that fails to export to mediawiki:
--8<---------------cut here---------------start------------->8---
#+TITLE: Test

#+begin_src dot :file generic_proto.png :cmdline -Tpng
digraph com {
in -> out;
in -> call
}
#+end_src

# Local Variables:
# org-confirm-babel-evaluate: nil
# End:
--8<---------------cut here---------------end--------------->8---

Thanks,
-Michal

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-24  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24  9:55 Mediawiki export bugs and export to Doxygen Michal Sojka

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