# how to separate chapters and section

I have a lot of chapters and sections inside chapters tex file. I want to make a separate folder for chapter and there put separate sections tex files. How I should do this? I am using report for now, so I am just `\include` all chapters files in maintex. I am thinking of changing everything to book, but I don't know will it look the same? Or maybe I could stay with report?

`book` and `report` are the same in this respect, just continue to use `\include` for chapters and then `\input` the files with sections.
• @Mantas, no I would add the `\input{section1}` inside `chapter1` (though I do not understand why people split chapters into smaller files). Nov 23 '15 at 13:49
• @Mantas if the folders are in your input path just `\input{filename}` should work from anywhere, if not then `\input{chapter-folder/filename}` will work (input path is relative to the main file, even if the chapter is in a different folder). Nov 23 '15 at 14:25