emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ATTR_LATEX :options ignored for source code


From: Nicolas Goaziou
Subject: Re: [O] ATTR_LATEX :options ignored for source code
Date: Sun, 15 May 2016 09:33:28 +0200

Hello,

Jeff Trull <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]