On Mon, 2001-10-29 at 09:06, Robert Rottermann wrote:
Hi,
I checked out structured text from cvs. First, there is an error I believe line 908 of DocumentClass.py should read return (StructuredTextInnerLink(s[start2+1:end2-1],start2,end2) (note the : in [start2+1:end2-1])
My real problem however is, that doc_inner_link never sees the dots that mark the beginning of a named link. (which is .. [xxx]) and therefore newer inserts a named link.
I can't confirm your problem. The InnerLinks.stx file from the STXNG regression suite is the following: This is the InnerLinkTest see also [1] and [2] .. [1] "Zope Book" by Amos Lattmeier and Michel Pelletier .. [2] "Python Book" by Guido van Rossum The generated HTML looks fine and correct: <html> <head> <title>This is the InnerLinkTest</title> </head> <body> <h1>This is the InnerLinkTest</h1> <p> see also <a href="#1">[1]</a> and <a href="#2">[2]</a></p> <p> <a name="1">[1]</a> "Zope Book" by Amos Lattmeier and Michel Pelletier</p> <p> <a name="2">[2]</a> "Python Book" by Guido van Rossum</p> </body> </html> Andreas