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.

Cheers
Lex

>
> -Dan
>
> On Fri, Dec 14, 2012 at 7:13 AM, carloratm <[email protected]> wrote:
>>
>>
>>
>> Il giorno venerdì 14 dicembre 2012 08:51:25 UTC+1, Chris Jones ha scritto:
>>>
>>>
>>> I replaced it by ‘&#43;’ but is there a less cryptic approach..?
>>>
>>>
>>
>> You could use double dollars notation:
>>
>>  .Searches via regular expressions
>> [width="100%", cols="<3s, <9", options="header"]
>>
>> |=========================================================================================
>> | Action                                    | Comments
>> | $$/\v<([a-zA-Z]+)[\n\t ]+;\1>$$  | matches doubled words separated by
>> space, tab, or eol
>>
>> |=========================================================================================
>>
>>
>> Cheers
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "asciidoc" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/asciidoc/-/ulwXM6Yu64gJ.
>>
>> 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.
>
>
>
>
> --
> 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.

-- 
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