From: Jeff Trull <edaskel@att.net>
To: emacs-orgmode@gnu.org
Subject: ATTR_LATEX :options ignored for source code
Date: Sat, 14 May 2016 14:09:32 -0700 [thread overview]
Message-ID: <CAF_DUeFKhK9AP0gG00tc9wFNbuT5geXStKKXmoTV4oDVG=hb4g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 394 bytes --]
According to the manual users can supply #+ATTR_LATEX: :options ... prior
to a source section and the options present will be supplied to the
environment (lstlistings in my case). I find that this does not work -
regardless of settings, no options are supplied to the lstlistings
environment. Attached is a test case that demonstrates the problem. It is
taken from the manual.
Thanks,
Jeff
[-- Attachment #1.2: Type: text/html, Size: 468 bytes --]
[-- Attachment #2: testcase.org --]
[-- Type: application/octet-stream, Size: 342 bytes --]
#+TITLE: Beamer Export Test Case
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [aspectratio=1610]
#+OPTIONS: H:3 toc:t
#+BEAMER_THEME: PaloAlto
* First Level
** Second Level
*** Slide
#+ATTR_LATEX: :options commentstyle=\bfseries
#+begin_src C++
using foo_t = int;
struct bar_t {
foo_t a; // this comment should be bold
};
#+end_src
next reply other threads:[~2016-05-14 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-14 21:09 Jeff Trull [this message]
2016-05-15 7:33 ` ATTR_LATEX :options ignored for source code Nicolas Goaziou
2016-05-16 6:25 ` Jeff Trull
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='CAF_DUeFKhK9AP0gG00tc9wFNbuT5geXStKKXmoTV4oDVG=hb4g@mail.gmail.com' \
--to=edaskel@att.net \
--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).