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