On 27/09/12 19:05, Lex Trotman wrote:
> 
> 
> On 27 September 2012 15:55, Wilhelm <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi,
> 
>     I tried to use
> 
>     (((test)))
> 
>     to render (test) and an index entry named test. But this doesn't work.
> 
>     Using
> 
>     ( ((test)) )
> 
>     it renders to ( test ) and generates an index entry. But the spaces
>     around the indexterm are annoying.
> 
>     Then I tried
> 
>     (indexterm2:[test])
> 
>     but this only renders to
> 
>     (indexterm2:[test])
> 
>     So, what am I missing here?
> 
> 
> Hi,
> 
> You are missing nothing, asciidoc.conf is missing the indexterm2 macro
> definition :)
> 
> Use the attached as a local asciidoc.conf in your source file directory
> until asciidoc is fixed (or add it to your existing one if you already
> have a custom asciidoc.conf.
> 
> Then (indexterm2:[blah]) does what I think you want.
> 
> Cheers
> Lex
> 
> @Stuart, 8.6.8 asciidoc.conf line 222 after indexterm s/b indexterm2 ??

You are exactly right Lex, the indexterm2 macro definition is there but
the indexterm2:[<primary>] syntax is not registered, thanks for spotting
it. Fixed in the trunk:

https://code.google.com/p/asciidoc/source/detail?r=fbdb48d6daaa2152743a83b97e6edf68b1c9b277


Cheers, Stuart


>  
> 
> 
>     -- 
>     Wilhelm
> 
>     -- 
>     You received this message because you are subscribed to the Google
>     Groups "asciidoc" group.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>.
>     To unsubscribe from this group, send email to
>     asciidoc+unsubscribe@__googlegroups.com
>     <mailto:asciidoc%[email protected]>.
>     For more options, visit this group at
>     http://groups.google.com/__group/asciidoc?hl=en
>     <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.

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