On Tue, Jan 1, 2013 at 12:44 AM, Stuart Rackham <[email protected]> wrote:

>
>
> On 15/12/12 17:42, Lex Trotman wrote:
> > On 15 December 2012 07:38, Dan Allen <[email protected]> wrote:
> >> You could also use a replacement attribute, defined in a .conf file
> >>
> >> [attributes]
> >> plus=+
> >>
> >> Then refer to it as {plus}
> >>
> >> I was thinking that plus would be a good candidate for the default
> >> replacement set in AsciiDoc. WDYT?
> >
> > Hi Dan,
> >
> > Maybe, but where to stop defining attributes?
> >
> > In general, only common ones are defined, remember you can always
> > define an attribute in the document header with
> >
> > :plus: +
> >
> > for those few documents where its needed, you don't have to define it
> > in the conf file.  This is better than defining lots of attributes
> > which are unused in most documents.
>
>
> Good points, this was going through my head when I acquiesced and added
> the {plus}. It's in the trunk now, if there are strong objections I
> could take it out before the next release.
>

I think when it's a symbol that has significant meaning in AsciiDoc, it's
worth having an attribute substitute for it. + appears frequently in the
AsciiDoc syntax, so I think it's a good decision.

-Dan

-- 
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to