emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jeff Trull <edaskel@att.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: ATTR_LATEX :options ignored for source code
Date: Sun, 15 May 2016 09:33:28 +0200	[thread overview]
Message-ID: <87lh3bwzav.fsf@saiph.selenimh> (raw)
In-Reply-To: <CAF_DUeFKhK9AP0gG00tc9wFNbuT5geXStKKXmoTV4oDVG=hb4g@mail.gmail.com> (Jeff Trull's message of "Sat, 14 May 2016 14:09:32 -0700")

Hello,

Jeff Trull <edaskel@att.net> writes:

> 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.

FWIW, I cannot reproduce it. I get

  \lstset{language=C++,label= ,caption= ,captionpos=b,numbers=none,commentstyle=\bfseries}
  \begin{lstlisting}
  using foo_t = int;
  struct bar_t {
      foo_t a;     // this comment should be bold
  };
  \end{lstlisting}

What Org version are you using?

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-05-15  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-14 21:09 ATTR_LATEX :options ignored for source code Jeff Trull
2016-05-15  7:33 ` Nicolas Goaziou [this message]
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=87lh3bwzav.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=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).