Thanks, Agama, your example works fine. However, mine does not. The issues is my txt file is in Chinese and should be in unicode. If I keep the txt in unicode, the resulting Chinese characters show properly, the chapter links work fine, however the notes link does not, it always point to the first page of the document. If I check Translate unicode characters to ASCII, both the chapter and notes links work fine, but the text is unreadable. In either case, my "///Table of Contents///" does not put the TOC on the place I specified (it did put the TOC at the right place if the text is English).
|