Line 908 of DocumentClass.py still reads: return (StructuredTextInnerLink(s[start2+1,end2-1],start2,end2)) it should be: return (StructuredTextInnerLink(s[start2+1:end2-1],start2,end2)) note the colon in [start2+1:end2-1] Robert