From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lixin Chin Subject: Re: [PATCH] ox-latex.el: Wrap 'minted' src blocks in a 'listing', environment Date: Tue, 31 Jan 2017 16:22:58 +0800 Message-ID: <2199a689-dd89-c604-4a93-a31c3c4a1e44@gmail.com> References: <87tw8fodtp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYTib-0007EZ-12 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:23:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYTiS-0004hf-23 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:23:13 -0500 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:34940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYTiR-0004hO-SO for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:23:03 -0500 Received: by mail-pf0-x242.google.com with SMTP id f144so26701988pfa.2 for ; Tue, 31 Jan 2017 00:23:03 -0800 (PST) In-Reply-To: <87tw8fodtp.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi, Thank you, that sounds great. I have not signed the FSF copyright papers. Regards, Lixin On 31/01/2017 04:04 PM, Nicolas Goaziou wrote: > Hello, > > Lixin Chin writes: > >> Included is a patch to make the 'minted' source code syntax highlighting >> package behave the same as the 'listings' source code syntax package >> when exporting an org-mode document to LaTeX. >> >> Previously, 'minted' would only get exported to a floating environment >> if '#+ATTR_LATEX: :float multicolumn' was provided, whereas the >> org-mode documentation implies that it should be floated if any caption >> is provided. > Applied. Thank you. > > I added TINYCHANGE at the end of the commit message. Please let me know > if you signed FSF papers. > >> (memq (plist-get info :latex-listings) >> - '(nil minted))))) >> + '(nil))))) > I changed this to > > (null (plist-get info :latex-listings)) > > > Regards, >