From: Thorsten Jolitz <tjolitz@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Bug(?) in LaTeX export?
Date: Tue, 29 Jan 2013 15:44:54 +0100 [thread overview]
Message-ID: <87k3qw2gm1.fsf@googlemail.com> (raw)
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
next reply other threads:[~2013-01-29 14:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 14:44 Thorsten Jolitz [this message]
2013-01-29 17:22 ` Bug(?) in LaTeX export? Thomas S. Dye
2013-01-29 18:08 ` Thorsten Jolitz
2013-01-29 18:42 ` Thomas S. Dye
2013-01-30 12:24 ` Thorsten Jolitz
-- strict thread matches above, loose matches on Subject: below --
2013-04-27 10:05 bug in latex export? renato
2013-04-27 11:13 ` Suvayu Ali
2013-04-28 7:42 ` Nicolas Goaziou
2019-06-13 20:38 Bug in LaTeX export? Thomas S. Dye
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=87k3qw2gm1.fsf@googlemail.com \
--to=tjolitz@googlemail.com \
--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).