An automatically generated table of contents does not have to be formatted as a list. The following HTML code creates a simple series of paragraphs:
<npsobj list="toclist"> <p> <npsobj name="self" insertvalue="anchor"> <npsobj name="title" insertvalue="var"/> </npsobj> </p> </npsobj>