On 2009-03-09, Georg Brandl wrote: > Guenter Milde schrieb:
>> The names are transformed to conform to the regular expression >> [a-z](-?[a-z0-9]+)* ... >> So, _foo or :ref:`foo` should work (as long as there is no other >> hyperlink targed called foo). >:ref: refers to explicit labels only, and it doesn't seem to work with > them (at least, the following doesn't): .. _<abc>: Foo === Referencing abc_. If you export (e.g. to pseudoxml but html shows this as well) and check you will see that it converted _<abc> to <target refid="abc"> However, is seems the check for existence of the target works with the un-converted name, so this fails. Feel free to file a bug report to Docutils, as this should at least be documented. However, the following works:: .. _abc: <foo> ===== Referencing abc_ and foo_. and should work with :ref:`abc` (but not :ref:`foo`) as well. Günter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" 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/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
