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