Re: [O] new exporter and latex attributes

2012-08-21 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > BUT, if the source block is not named then a duplicate results will be > created above the current results block w/ the attribute header when > the source block is re-evaluated. That's correct. For convenience, Babel might copy src-block attributes to the generate

Re: [O] new exporter and latex attributes

2012-08-21 Thread Rick Frankel
On Tue, Aug 21, 2012 at 01:34:16AM -0400, Nick Dokos wrote: > Rick Frankel wrote: > > > On Tue, Aug 21, 2012 at 12:54:25AM +0200, Nicolas Goaziou wrote: > > > Hello, > > > > > > Use something like the following. > > > > > > * Test width attribute > > > #+NAME: graph > > > #+begin_src dot :file

Re: [O] new exporter and latex attributes

2012-08-21 Thread Bastien
Nick Dokos writes: > FWIW, I cannot reproduce this. Me neither, dunno what I did. Sorry for the noise, -- Bastien

Re: [O] new exporter and latex attributes

2012-08-21 Thread Nick Dokos
Bastien wrote: > Hi Nicolas, > > Nicolas Goaziou writes: > > > Use something like the following. > > There is still a bug here. > > I've encountered it many times. > > > * Test width attribute > > #+NAME: graph > > #+begin_src dot :file t.png > > digraph g { a -> b } > > #+end_src > > >

Re: [O] new exporter and latex attributes

2012-08-21 Thread Nicolas Goaziou
Hello, Bastien writes: > There is still a bug here. > > I've encountered it many times. > >> * Test width attribute >> #+NAME: graph >> #+begin_src dot :file t.png >> digraph g { a -> b } >> #+end_src >> >> #+ATTR_LATEX: width=3in >> #+RESULTS: graph >> [[file:t.png]] > > When reevaluating th

Re: [O] new exporter and latex attributes

2012-08-21 Thread Bastien
Rick Frankel writes: > That doesn't make sense. In the current exporter, all attributes > (html, latex, etc) applied to the export are placed directly before > the source block. This should change. Attributes are attributes to something (big up Husserl), so attributes to images should be placed

Re: [O] new exporter and latex attributes

2012-08-21 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Use something like the following. There is still a bug here. I've encountered it many times. > * Test width attribute > #+NAME: graph > #+begin_src dot :file t.png > digraph g { a -> b } > #+end_src > > #+ATTR_LATEX: width=3in > #+RESULTS: graph > [[fi

Re: [O] new exporter and latex attributes

2012-08-20 Thread Nick Dokos
Rick Frankel wrote: > On Tue, Aug 21, 2012 at 12:54:25AM +0200, Nicolas Goaziou wrote: > > Hello, > > > > Rick Frankel writes: > > > > > Has the syntax for latex attributes changed in the new exporter, or is > > > is the following a bug? > > > > Neither. Though, at some point, I'd like to cha

Re: [O] new exporter and latex attributes

2012-08-20 Thread Rick Frankel
On Tue, Aug 21, 2012 at 12:54:25AM +0200, Nicolas Goaziou wrote: > Hello, > > Rick Frankel writes: > > > Has the syntax for latex attributes changed in the new exporter, or is > > is the following a bug? > > Neither. Though, at some point, I'd like to change syntax for LaTeX > attributes for a

Re: [O] new exporter and latex attributes

2012-08-20 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > Has the syntax for latex attributes changed in the new exporter, or is > is the following a bug? Neither. Though, at some point, I'd like to change syntax for LaTeX attributes for a plist-based one. > Given this source file: > > * Test width attribute > #+ATTR_LAT