On 10 February 2011 09:04, Lex Trotman <[email protected]> wrote:
> On 10 February 2011 07:23, Stuart Rackham <[email protected]> wrote:
>>
>>
>> On 09/02/11 13:31, Lex Trotman wrote:
>>>
>>> Hi All,
>>>
>>> In section 24.1 the asciidoc manual describes how to set configuration
>>> entries in the source file
>>>
>>> But this doesn't seem to work for markup template configuration entries.
>>>
>>> I guess that Asciidoc isn't able to distinguish them from normal
>>> attributes since they don't have entries, ie instead of
>>>
>>> :section.entry: blah
>>>
>>> its only
>>>
>>> :section: blah
>>>
>>> which looks like a normal attribute and so doesn't substitute in the
>>> configuration settings.
>>>
>>> Is there some way of doing this.
>>
>> You are correct, the feature only applies to section entries and not to
>> complete sections. I guess it would possible to have a syntax like:
>>
>> :<section-name>.: <value>
>>
>> to mean the entire section e.g.
>>
>> :xref2-inlinemacro.: <a href="#{1}">{2?{2}}</a>
>>
>>
>> Cheers, Stuart
>>
>
> Hi Stuart,
>
> I havn't looked at the code but I presume that the section and
> attributes are in separate dictionaries so you are proposing something
> like
> if name in section-dict then store there else store in attribute-dict
>
> That of course limits the facility to only changing existing names,
> not adding new ones.  Still its better than nothing, but will need
> documentation.
>
> Cheers
> Lex


Our messages overlapped, I see you used syntax to separate sections
from attributes

Great thanks.

Cheers
Lex

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