From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export with listings: multicolumn support broken? Date: Wed, 11 Dec 2013 16:02:38 +0100 Message-ID: <874n6fzb01.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqlIz-0002pT-Hu for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:02:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqlIq-0001Bs-VH for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:02:29 -0500 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:52544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqlIq-0001Bm-PC for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:02:20 -0500 Received: by mail-ea0-f178.google.com with SMTP id d10so2945957eaj.37 for ; Wed, 11 Dec 2013 07:02:19 -0800 (PST) In-Reply-To: (James Harkins's message of "Wed, 11 Dec 2013 22:54:37 +0800") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: James Harkins Cc: orgmode Hello, James Harkins writes: > A few months ago, I wrote an academic paper with code examples, using the > listings environment like so: > > #+ATTR_LaTeX: :starred t :options [htb] > #+BEGIN_figure > #+CAPTION: Simple sequencer, implementing the musical flow from Figure > [[basicseq_graph]]. > #+NAME: basicseq > #+BEGIN_SRC {} -i > TLSequenceIterator([ > bpCmd: (name: \rumble, dur: 40), > 15, > bpCmd: (name: \whine, dur: 20) > ]); > #+END_SRC > #+END_figure > > Now I need to submit revisions for the same paper, and ":starred t" is > ignored. I get \begin{figure}, not \begin{figure*} as before. > > I have also tried > > #+ATTR_LaTeX: :float multicolumn :options [htb] > > per documentation at [1]. I still get \begin{figure}, not \begin{figure*}. > > What happened? I could be a suggested feature that didn't make it into code base. Anyway, you can use: #+begin_figure* ... #+end_figure* instead. Regards, -- Nicolas Goaziou