On Wed, Nov 17, 2010 at 3:16 AM, qx guy <qx0mons...@googlemail.com> wrote:
>
>
> On Nov 11, 8:34 am, TP <wing...@gmail.com> wrote:
>>   rst_prolog="""
>>
>>   .. |versionG|  replace:: :guilabel:`%s`
>>
>>   """ % (version,)
>> So now I can do:
>>
>>   Right-click :guilabel:`blah-`\ |versionG| to do foo.
>
> Thanks for this tip. But I'm not quite getting this particular
> example. Wouldn't your text expand to
>
>   Right-click :guilabel:`blah-`:guilabel:`10.5`
>
> (if 10.5 were the value of version)?! That's not quite the same
> as :guilabel:`blah-10.5`, or is it?!
>
> T.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-dev" group.
> To post to this group, send email to sphinx-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> sphinx-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sphinx-dev?hl=en.
>
>

Yes. It's not the same thing, but it **looks** right (which is all
that matters in my case).

-- TP

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to