From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: adding options to the minted environment of exported source blocks in latex Date: Tue, 11 Feb 2014 19:10:56 +0100 Message-ID: <87vbwlldu7.fsf@gmail.com> References: <87lhxmzm78.fsf@gmail.com> <87zjlylxmy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDHn8-0003Rd-T1 for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 13:10:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDHn3-0004ek-3p for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 13:10:42 -0500 Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:34455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDHn2-0004eZ-Se for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 13:10:37 -0500 Received: by mail-ee0-f47.google.com with SMTP id d49so3771738eek.6 for ; Tue, 11 Feb 2014 10:10:35 -0800 (PST) In-Reply-To: (Alan Schmitt's message of "Tue, 11 Feb 2014 16:23:44 +0100") 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: Alan Schmitt Cc: emacs-orgmode Hello, Alan Schmitt writes: > Nicolas Goaziou writes: > >> Alan Schmitt writes: >> >>> Nicolas Goaziou writes: >>> >>>> It is also possible to do something in-between, i.e., tell Org about >>>> a few selected keywords and stuff the others into :options. This is what >>>> is done for images. Org knows about :height and :width and uses :options >>>> for everything else. >>> >>> The latter would be great. The option I'm considering does not exist in >>> minted, I add it in my preamble. >> >> Then the next question is: what would be the blessed keywords known by >> Org? They need to be supported in both listings and minted (but not >> necessarily under the same name internally). > > It is a good questions. I don't use listings, so I cannot comment about > it. I usually tweak the "frame" and "fontsize" options for minted. > > Maybe the simplest approach is to have no blessed keyword, and have them > in :latex_options (as these are latex specific, the option name could be > called that). I must have misunderstood your answer then. Anyway :latex_options would be redundant on an #+attr_latex: line. I'll have a look at it when I get some spare time. Regards, -- Nicolas Goaziou