The table of contents is generated in the same way. It uses the exact names that are given to the chapters/sections in the left working space. Probably your sections are still numbered instead of named. You should try that first.Otherwise, you could try to do something with actions in combination with variables if naming should fail.