[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug(?) in LaTeX export?
From: |
Thorsten Jolitz |
Subject: |
[O] Bug(?) in LaTeX export? |
Date: |
Tue, 29 Jan 2013 15:44:54 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Hi List,
when I export an Org file with Source blocks to LaTeX (:exports code),
the blocks are converted into environments of package 'listings':
,----------------------
| \lstset{language=...}
| \begin{lstlisting}
| (def ... )
| \end{lstlisting}
`----------------------
but:
1. the package is not loaded in the preamble (there is no
\usepackage{listings}).
2. the language name in {language=XXX} is simply copied from
'#+begin_src XXX' and might not be defined in the listings package.
Both points cause LaTeX errors.
--
cheers,
Thorsten
- [O] Bug(?) in LaTeX export?,
Thorsten Jolitz <=