Before loading into Calibre, put "///Table of Contents///" near the start of the text and "## " at the start of the line before each Chapter heading, e.g.
Code:
///Table of Contents///
## Chapter 1
text
...
## Chapter 2
text
...
then see what the book looks like on the reader after conversion