Re: [O] New Link Syntax: Adding ATTRIBUTES

2012-06-19 Thread Thomas S. Dye
Samuel Wales writes: > Hmm, maybe something like this: > > $[link "http://mysite.example"; :label "Example" :html-attr "..." > :latex-attr "..."] > > Code that adds functionality or safety to this syntax (including all > future code) will also apply to other features than links. For a new > fe

Re: [O] New Link Syntax: Adding ATTRIBUTES

2012-06-18 Thread Samuel Wales
Hmm, maybe something like this: $[link "http://mysite.example"; :label "Example" :html-attr "..." :latex-attr "..."] Code that adds functionality or safety to this syntax (including all future code) will also apply to other features than links. For a new feature, replace the first element with

Re: [O] New Link Syntax: Adding ATTRIBUTES (Was: org-e-html: Including ATTR_HTML)

2012-06-18 Thread William Crandall
Hello Avdi, I'm glad you like it! On Fri, Jun 15, 2012 at 8:15 AM, Avdi Grimm wrote: > I really like this idea! > This change may be Herculean--giving links full access to target attributes--but I certainly hope not. As I thought about it, it seems like fair amount of abstraction will be poss

Re: [O] New Link Syntax: Adding ATTRIBUTES (Was: org-e-html: Including ATTR_HTML)

2012-06-15 Thread Avdi Grimm
On Thu, Jun 14, 2012 at 8:53 PM, William Crandall wrote: > ATTRIBUTES would consisting of name:value pairs, perhaps > giving names export-type prefixes, such as HTML_STYLE and > HTML_TITLE, or LATEX_PDFBORDER and LATEX_URLCOLOR. > > HTML ATTRIBUTES would map to HTML 'attributes': > > http://www.w3

Re: [O] New Link Syntax: Adding ATTRIBUTES

2012-06-14 Thread Thomas S. Dye
William Crandall writes: > Hello Nicolas, > > Many thanks for expanded clarity, and a new direction. > > On Thu, Jun 14, 2012 at 2:51 AM, > Nicolas Goaziou wrote: > >> I understand your problem, but inserting ATTR_HTML >> keywords in a paragraph isn't possible anymore. I cannot >> allow that as

Re: [O] New Link Syntax: Adding ATTRIBUTES (Was: org-e-html: Including ATTR_HTML)

2012-06-14 Thread William Crandall
Hello Nicolas, Many thanks for expanded clarity, and a new direction. On Thu, Jun 14, 2012 at 2:51 AM, Nicolas Goaziou wrote: > I understand your problem, but inserting ATTR_HTML > keywords in a paragraph isn't possible anymore. I cannot > allow that as it would defeat a fundamental change in t