Re: [O] adding options to the minted environment of exported source blocks in latex

2014-03-25 Thread Nicolas Goaziou
Alan Schmitt writes: > It's working great, thanks a lot! Applied, then. Regards, -- Nicolas Goaziou

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-03-25 Thread Alan Schmitt
Nicolas Goaziou writes: > Hello, > > Alan Schmitt writes: > >> Using attr_latex would be great. > > Here is the patch. WDYT? It's working great, thanks a lot! Alan

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-03-25 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > Using attr_latex would be great. Here is the patch. WDYT? Regards, -- Nicolas Goaziou >From c56bd2754030fd999d50d349ee5282a6c16ba832 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 25 Mar 2014 15:58:41 +0100 Subject: [PATCH] ox-latex: Allow :options

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-12 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou writes: > Anyway :latex_options would be redundant on an #+attr_latex: line. I'll > have a look at it when I get some spare time. Using attr_latex would be great. Thanks, Alan

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-11 Thread Nicolas Goaziou
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. O

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-11 Thread Alan Schmitt
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 :wi

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-10 Thread Nicolas Goaziou
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 everythi

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-09 Thread Alan Schmitt
Hi Nicolas, Nicolas Goaziou writes: > At the moment, there is no Org way to add arbitrary options to listings > or minted on a per block basis. > > There are basically two ways to implement this. Either we add > an :options keyword and stuff options there: > > #+attr_latex: :options a=b,c=d >

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-02-07 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > I use and abuse the `org-latex-minted-options' when exporting source > blocks in latex, but I'm stumped by a usage pattern. I need to change > the list of options for one given source block (adding a "belowskip" > option to it). I tried the following, but it did not

[O] adding options to the minted environment of exported source blocks in latex

2014-02-07 Thread Alan Schmitt
Hello, I use and abuse the `org-latex-minted-options' when exporting source blocks in latex, but I'm stumped by a usage pattern. I need to change the list of options for one given source block (adding a "belowskip" option to it). I tried the following, but it did not do anything: --8<