I plan on compiling my project to a .tex
file, and I want the section types in my project (Chapter, Section, Subsection) to automatically map to the standard LaTeX section levels (chapter{}
, section{}
, subsection{}
, etc.). So, I’m trying to assign section types in my binder structure according to the file and folder levels. Folders (which I only use directly within the Draft root) should be assigned “Chapter” section, level 2 files should be assigned “Section”, level 3 should be assigned “Subsection”, etc. I’m trying to do this automatically using the “Default Types by Structure” feature in Project Settings, along with the “Structure Based” document setting. The problem is the “All file groups” document type. It’s interfering with my ability to assign section type by binder level because, apparently, Scrivener assigns it the same section type regardless of its depth in the binder hierarchy. For my purposes, I don’t care if a file is a file group or not — is there any way to turn it off, or any other workaround? I’m definitely not interested in assigning section types manually.
Default Types by Structure "file groups" document type messing up binder hierarchy for LaTeX compile
While I wouldn’t want to steer you away from the good learning experience of setting up your own project like this, you might find the stock “General Non-Fiction (LaTeX)” project template to be useful, in seeing how setups like this can be put together.
The problem is the “All file groups” document type. It’s interfering with my ability to assign section type by binder level because, apparently, Scrivener assigns it the same section type regardless of its depth in the binder hierarchy .
That isn’t normally how it would work; perhaps you are not adding new depth rules to the list, with the button for doing so in the footer bar?
Otherwise you might mean how file groups and files are kind of the same thing, but yet capable of having their own rules. If you don’t actually care to distinguish between them, then just copy the settings from one to the other. That is how I work in most cases, myself, as I pretty much only outline with text items, and don’t consider a part of the outline to be meaningfully different from another just because it lacks subsections. It’s still a section.
…you might find the stock “General Non-Fiction (LaTeX)” project template to be useful, in seeing how setups like this can be put together.
Thanks for that suggestion — I’ll definitely have a look.
That isn’t normally how it would work; perhaps you are not adding new depth rules to the list, with the button for doing so in the footer bar?
Yes, that’s exactly what I was not doing.
If you don’t actually care to distinguish between them, then just copy the settings from one to the other.
Exactly right — thank you