From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ATTR_LATEX :options ignored for source code Date: Sun, 15 May 2016 09:33:28 +0200 Message-ID: <87lh3bwzav.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1qYR-0006ve-Rb for emacs-orgmode@gnu.org; Sun, 15 May 2016 03:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1qYQ-00070e-Q2 for emacs-orgmode@gnu.org; Sun, 15 May 2016 03:33:35 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:37421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1qYQ-00070Q-KG for emacs-orgmode@gnu.org; Sun, 15 May 2016 03:33:34 -0400 In-Reply-To: (Jeff Trull's message of "Sat, 14 May 2016 14:09:32 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jeff Trull Cc: emacs-orgmode@gnu.org Hello, Jeff Trull 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