From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ox-latex.el: Wrap 'minted' src blocks in a 'listing', environment Date: Tue, 31 Jan 2017 09:04:18 +0100 Message-ID: <87tw8fodtp.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYTQP-0002Nq-Ro for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYTQK-0000F6-US for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:04:25 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44113) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYTQK-0000Et-OT for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 03:04:20 -0500 In-Reply-To: (Lixin Chin's message of "Tue, 31 Jan 2017 14:28:16 +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" To: Lixin Chin Cc: emacs-orgmode@gnu.org 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, -- Nicolas Goaziou