If you're creating an EPUB file for the first time, there's a lot you have to learn. You must be consistent about applying character, paragraph and object styles. A reflowable EPUB requires that your text be one continuous linked stream. Sidebars and other elements have to be anchored to the text. If not, you need to use the Articles panel to set the page order.
To learn about this, I highly recommend Anne-Marie Concepcion's videos about creating EPUB from InDesign at Lynda.com. You can get a free subscription for the first week.
Ah, my bad!
I've been a Lynda.com subscriber for years.
And I've actually watched this course but... well, I skipped the video "Managing the sequence of content: Layout order", where I will probably find the answer to my problem.
Thanks for replying and greetings from Brazil.
So I've tried two different approaches to position the TOC where I wanted. First I used the book structure and placed the TOC in a separate file. It worked, but strangely drop caps did not go through.
Then I used the Articles panel and positioned the way I wanted. I tried it two ways, First, I positioned the content inside a single article. It did not work. Then I created one article for each part and positioned them accordingly. It did not work either (drop caps went through nicely this time, though).
Yes, I did select the option Same as Articles Panel when exporting.
I don't know where else to look for a solution.