Re: [O] [RFC] Simplify attributes syntax

2013-03-13 Thread Nicolas Goaziou
Hello, Christian Egli writes: > Nicolas Goaziou writes: > >> The following patch simplifies syntax for attributes. >> >> From the developer POV, each non-nil value is now read as a string by >> `org-export-read-attribute'. > > I looked at your patch but I'm not sure of the implications. In > pa

Re: [O] [RFC] Simplify attributes syntax

2013-03-13 Thread Christian Egli
Nicolas Goaziou writes: > The following patch simplifies syntax for attributes. > > From the developer POV, each non-nil value is now read as a string by > `org-export-read-attribute'. I looked at your patch but I'm not sure of the implications. In particular I'm unsure if I need to change anyth

Re: [O] [RFC] Simplify attributes syntax

2013-03-11 Thread Nicolas Goaziou
Follow up: > The following patch simplifies syntax for attributes. > > From the user POV, it removes necessity to quote or escape characters. > For example, these are now valid: > > #+attr_latex: :font \footnotesize :align |l|c|c| > #+attr_foo: :prop var="value" :another-prop nil > > From the

Re: [O] [RFC] Simplify attributes syntax

2013-03-09 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > I think this patch is a welcome simplification. Would it be possible to > merge the code that is used for reading babel header args (things like > “:results output :file foo.txt”) with the code from the exporter? It is probably possible, but that's way beyond the sc

Re: [O] [RFC] Simplify attributes syntax

2013-03-09 Thread Aaron Ecay
Hi Nicolas, I think this patch is a welcome simplification. Would it be possible to merge the code that is used for reading babel header args (things like “:results output :file foo.txt”) with the code from the exporter? Unless they are parsed by the same code, the two syntaxes will differ in sub

Re: [O] [RFC] Simplify attributes syntax

2013-03-09 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: >> If there's no major problem with it, I'll apply it before Monday. >> Though, I think ox-odt needs double-checking. > > How can we help with the double-checking? Just test features using attributes (in particular ":width number" attributes).

Re: [O] [RFC] Simplify attributes syntax

2013-03-09 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > From the user POV, it removes necessity to quote or escape characters. > For example, these are now valid: > > #+attr_latex: :font \footnotesize :align |l|c|c| > #+attr_foo: :prop var="value" :another-prop nil > > From the developer POV, each non-nil val

Re: [O] [RFC] Simplify attributes syntax

2013-03-08 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > The following patch simplifies syntax for attributes. > > From the user POV, it removes necessity to quote or escape characters. > For example, these are now valid: > > #+attr_latex: :font \footnotesize :align |l|c|c| > #+attr_foo: :prop va

[O] [RFC] Simplify attributes syntax

2013-03-08 Thread Nicolas Goaziou
Hello, The following patch simplifies syntax for attributes. >From the user POV, it removes necessity to quote or escape characters. For example, these are now valid: #+attr_latex: :font \footnotesize :align |l|c|c| #+attr_foo: :prop var="value" :another-prop nil >From the developer POV, ea