# strange behavior of secttoc [closed]

I use package `minitoc` in article class (`\secttoc`) but its behavior is strange for me. I have 3 sections, it creates `.maf`, `.mtc`, `.mtc0`, `.stc1`, `.stc2` and `.stc3` files. Contents of `.stc1`, `.stc2` and `.stc3` are correct but in document, `secttoc` for first section is OK, for second section it print content of section 3 and in section3 it write

Warning: W0049: You hace attempted to insert empty secttoc". Looks like it correctly write .stX files but read incorrectly...

I have one `.tex` file with preamble and several other `.tex` file I `\include` in main `.tex`. Any idea? Thanks.

## closed as off-topic by user31729, user13907, gernot, ebosi, user36296Jan 30 '17 at 11:12

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.