From: Jambunathan K <kjambunathan@gmail.com>
To: Andreas Leha <andreas.leha@med.uni-goettingen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: listings and the new LaTeX exporter
Date: Fri, 25 May 2012 01:43:29 +0530 [thread overview]
Message-ID: <81zk8xxrpy.fsf@gmail.com> (raw)
In-Reply-To: <87aa0xwe9c.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Thu, 24 May 2012 21:49:35 +0200")
M-x customize-group RET org-export-e-latex RET
(Hint: Search for listing)
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> 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 prev parent reply other threads:[~2012-05-24 20:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 19:49 listings and the new LaTeX exporter Andreas Leha
2012-05-24 20:13 ` Jambunathan K [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81zk8xxrpy.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=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 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).