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.