Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread T.F. Torrey
Hello Nicolas, Thanks for your prompt reply, though I think our discussion is a little off-track here, as noted below. Nicolas Goaziou writes: > tftor...@tftorrey.com (T.F. Torrey) writes: > >>> It would be ATTR_HTML: :class "XXX". I try to unify syntax for >>> attributes with syntax for Babel

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread Nicolas Goaziou
Hello, Vincent Beffara writes: >> #+ATTR_HTML: :options "width=\"400px\"" >> >> This is heavier but will be consistent with other back-ends. Otherwise, >> there is also: >> >> #+ATTR_HTML: :width "400px" >> >> But this requires to have a list of all properties supported. > > How about both? I

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread Vincent Beffara
> #+ATTR_HTML: :options "width=\"400px\"" > > This is heavier but will be consistent with other back-ends. Otherwise, > there is also: > > #+ATTR_HTML: :width "400px" > > But this requires to have a list of all properties supported. How about both? I.e. a short-list of common options (class, tit

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread Nicolas Goaziou
tftor...@tftorrey.com (T.F. Torrey) writes: >> It would be ATTR_HTML: :class "XXX". I try to unify syntax for >> attributes with syntax for Babel and AFAICT, `html' is the last back-end >> to have key="value" syntax. > > I see that this does not presently work, and the author listed on > ox-html.e

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread T.F. Torrey
Hello Nicolas, Nicolas Goaziou writes: > tftor...@tftorrey.com (T.F. Torrey) writes: > >>> You don't assign attributes to an image in a paragraph, you assign >>> attributes to the paragraph itself. >> >> It would be nice if there actually was a way to assign an attribute to a >> paragraph, so th

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-25 Thread Nicolas Goaziou
Samuel Wales writes: > For flexibility and future proofing, it might be worth considering > universal syntax (e.g. $[link "..." :attr1 ... :attr2 ... ...]) for > fancy links instead of changing link syntax. > > I've called it extensible syntax too. There are already four completely different way

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-24 Thread Samuel Wales
For flexibility and future proofing, it might be worth considering universal syntax (e.g. $[link "..." :attr1 ... :attr2 ... ...]) for fancy links instead of changing link syntax. I've called it extensible syntax too. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disea

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-23 Thread Nicolas Goaziou
tftor...@tftorrey.com (T.F. Torrey) writes: >> You don't assign attributes to an image in a paragraph, you assign >> attributes to the paragraph itself. > > It would be nice if there actually was a way to assign an attribute to a > paragraph, so that the ATTR_HTML: class="XXX" syntax would export

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-23 Thread T.F. Torrey
Hello, First, as always, thanks for the prompt reply. Nicolas Goaziou writes: > Hello, > > tftor...@tftorrey.com (T.F. Torrey) writes: > >> Where attributes have been assigned to an image in a paragraph, the new >> exporter applies those attributes to both the image and a following >> link. > >

Re: [O] Bug: New HTML exporter incorrect attributes

2013-02-22 Thread Nicolas Goaziou
Hello, tftor...@tftorrey.com (T.F. Torrey) writes: > Where attributes have been assigned to an image in a paragraph, the new > exporter applies those attributes to both the image and a following > link. You don't assign attributes to an image in a paragraph, you assign attributes to the paragrap