Hi Lex

I'm reposting my second reply to your first post in this thread (it
left my mail box correctly addressed but didn't arrive here).

8<-----------
This was quite easy to implement:
http://code.google.com/p/asciidoc/source/detail?r=1aa534600b25966f87f2f66a147d6ae9767fdec8

8<-----------

Cheers, Stuart


On Feb 10, 11:04 am, 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
>
>
>
> >> 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