On Fri, Sep 28, 2012 at 12:13 AM, Joon Ro <[email protected]> wrote: > Hi, > > I am learning sphinx using leo, and I was wondering what should I do if I > want to refer to a section. > I want to put .. _my-reference-label: right before a section, but since > sections are nodes in leo, I am not sure how to do this.
Use an implicit hyperlink target to your section: http://docutils.sourceforge.net/docs/user/rst/quickref.html#implicit-hyperlink-targets The drawback to this is that they link will change if you change the title of a section, that is, headline. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" 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/leo-editor?hl=en.
