From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: adding options to the minted environment of exported source blocks in latex Date: Tue, 11 Feb 2014 16:23:44 +0100 Message-ID: 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]:50777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDFSx-0002zt-5C for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 10:41:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDFSr-0006YO-5d for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 10:41:43 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:56530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDFSq-0006Xy-VP for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 10:41:37 -0500 In-Reply-To: <87zjlylxmy.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 10 Feb 2014 17:51:01 +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: Nicolas Goaziou Cc: emacs-orgmode Nicolas Goaziou writes: > Hello, > > 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). Alan