From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Can't export LaTeX source code blocks Date: Mon, 22 Apr 2013 21:34:08 +0200 Message-ID: <86obd67427.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, As shown by the following ECM, I can't export the LaTeX code blocks. --8<---------------cut here---------------start------------->8--- #+TITLE: ECM exports LaTeX code #+Time-stamp: <2013-04-22 Mon 21:31> #+LANGUAGE: en #+PROPERTY: exports both * Context My goal is to explain different LaTeX blocks which I use to construct a LaT= eX class. The document should be exportable to both LaTeX and HTML. * TODO Documentation Here is the LaTeX code: #+name: doc-macro-a #+begin_src latex \DescribeMacro{\dummyMacro} This macro does nothing.\index{doing nothing|usage} It is merely an example. If this were a real macro, you would put a paragraph here describing \textbf{what} the macro is supposed to do, what its mandatory and optional arguments are, and so forth. #+end_src followed by the LaTeX output: #+results: doc-macro-a #+BEGIN_LaTeX \DescribeMacro{\dummyMacro} This macro does nothing.\index{doing nothing|usage} It is merely an example. If this were a real macro, you would put a paragraph here describing \textbf{what} the macro is supposed to do, what its mandatory and optional arguments are, and so forth. #+END_LaTeX * Results As you can see, the code block is NEVER exported. I don't understand why? The results block is exported, but then (interpreted and) only visible in t= he LaTeX back-end. The HTML document is completely empty... --8<---------------cut here---------------end--------------->8--- Am I "besides my shoes"=C2=A0;-) ? Best regards, Seb -- Sebastien Vauban