Compilation and numbering

Does anyone know if it is possible to get Scrivener to compile a project to Word while adding automatic section numbering?

Ideally my chapter folders would be numbered like “1, 2, 3”, and my sections would be numbered “1.1, 1.2, 1.3” and my subsections would be numbered “1.1.1, 1.1.2, 1.1.3”.

But I can’t see any way to do this without going through each segment and manually adding numbering codes. Surely there’s a better way?

Check out the Auto-number menu in Edit/Insert. You’ll need to put these codes into your titles to get them numbered. They’ll get calculated every time you compile.

Yeah I know about that, but it doesn’t respect the structure you put together in the document layout pane (the left pane, I mean). I want a solution that will automatically apply “5” to chapter 5 and “5.1” to the first section in chapter 5, if you see what I mean. But maybe I’ll just be forced to do it manually.

Oh, right, there is no auto-number token which will automatically create a hierarchy aware number like that. You could probably fashion something automatic using the advanced number stream naming feature (see the documentation “Useful Tips & FAQ”, regarind cross-referencing numbers). However the result will be fairly “ugly” in the Binder and will require a lot of typing. Really this feature was designed for marking figures and tables, not numbering an entire book.

Have you considered just letting the word processor handle this in the end? True you have to go through and set up proper styles, but you might have to do that anyway to get a ToC, and that would only be done once at the very end of the process, whereas manually keeping everything numbered could get to be a major burden. Imagine having to insert a chapter 2 into a 40 chapter book. That’s a lot of re-naming since chapter numbers are passed down to sections and sub-sections in your scheme.

2.0 will add a hierarchical auto-number option, but as Amber says, I’m afraid there is no such option in the current version, so the only way would indeed be to let the word processor handle it.
All the best,