Hi Seb, Sébastien Vauban writes: [...] > > Tested it (yesterday) for HTML. Per-fect! Thanks a lot... It's of great use. > great, thanks for testing > > Tried to test it (now) for LaTeX. Can't, for the same reason as > described in: > > [[http://mid.gmane.org/80eiadw0dh.fsf%40missioncriticalit.com][Email from Sébastien Vauban: Debugger entered--Lisp error: ]]** TODO Debugger entered--Lisp error: (void-function -mode) > [2010-11-22 Mon 21:48] > After looking at this message I don't understand what the error is, are you getting a "void-function -mode" error when exporting to LaTeX? The following exports fine to LaTeX for me w/o error. ** introducing =wrap= header argument #+begin_src emacs-lisp :results wrap :exports both (mapcar (lambda (el) (list el (+ 1 (* el el)))) (number-sequence 0 10)) #+end_src #+results: #+BEGIN_RESULT | 0 | 1 | | 1 | 2 | | 2 | 5 | | 3 | 10 | | 4 | 17 | | 5 | 26 | | 6 | 37 | | 7 | 50 | | 8 | 65 | | 9 | 82 | | 10 | 101 | #+END_RESULT now indented - first - second #+begin_src emacs-lisp :results wrap :exports both "something else" #+end_src #+results: #+BEGIN_RESULT : something else #+END_RESULT > > Though, already a couple of comments: > > 1. I guess there is one little typo in your patch: > + (wrap "#+BEGIN_LaTe\n" "#+END_LaTeX")) > ^ > Fixed version attached, Thanks > > 2. Could you make the wrap on by default? > No, but you can by adding (:results . "wrap") to `org-babel-default-header-args' in your personal configuration. Although I guess if this is turned on by default then there should be a way to turn it off, either a "nowrap" header argument or a "plain" header argument or something that would be on by default. So do you think this could be applied to the core? If not what changes would you recommend? Thanks -- Eric > > Best regards, > Seb