From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: listings and the new LaTeX exporter
Date: Thu, 24 May 2012 21:49:35 +0200 [thread overview]
Message-ID: <87aa0xwe9c.fsf@med.uni-goettingen.de> (raw)
Hi all,
in my exported LaTeX-document all code blocks are wrapped in
#+begin_latex
\begin{verbatim}
% the code
\end{verbatim}
#+end_latex
With the "old" LaTeX-exporter I get
#+begin_latex
\lstset{language=Renhanced}
\begin{lstlisting}
% the code
\end{lstlisting}
#+end_latex
which is also what I want.
How do I configure the new exporter to wrap code blocks in =lstlisting=
and set the listings language (to =Renhanced= in my case)?
Thanks in advance,
Andreas
next reply other threads:[~2012-05-24 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 19:49 Andreas Leha [this message]
2012-05-24 20:13 ` listings and the new LaTeX exporter Jambunathan K
2012-05-24 20:58 ` Andreas Leha
2012-05-24 21:09 ` Nick Dokos
2012-05-24 21:23 ` Andreas Leha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aa0xwe9c.fsf@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.