emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Can't export LaTeX source code blocks
@ 2013-04-22 19:34 Sebastien Vauban
  2013-04-22 20:14 ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastien Vauban @ 2013-04-22 19:34 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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 LaTeX
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 the
LaTeX back-end. The HTML document is completely empty...
--8<---------------cut here---------------end--------------->8---

Am I "besides my shoes" ;-) ?

Best regards,
  Seb

--
Sebastien Vauban

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-06 20:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22 19:34 Can't export LaTeX source code blocks Sebastien Vauban
2013-04-22 20:14 ` Nicolas Goaziou
2013-04-22 21:46   ` Sebastien Vauban
2013-04-22 22:25     ` Thomas S. Dye
2013-04-24 21:32       ` Sebastien Vauban
2013-04-27  9:16       ` Sebastien Vauban
2013-04-27  9:45         ` [PATCH] " Sebastien Vauban
2013-05-03 20:40           ` Sebastien Vauban
2013-05-06 20:32           ` Eric Schulte

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