I want to use a hierarchical numbering system in Scrivener for Windows. Somehow the placeholder tag doesn’t work.
If more information is required, I can upload a project.
I want to use a hierarchical numbering system in Scrivener for Windows. Somehow the placeholder tag doesn’t work.
If more information is required, I can upload a project.
Yes, I think a demonstration of what you are trying would be necessary. With this very simple test project I get expected results:
hierarchy_placeholder.zip (26.4 KB)
Output:
1 Test Levels
1.1 Test Levels-1
1.1.1 Test Levels-2
1.1.1.1 Test Levels-3
1.1.1.1.1 Test Levels-4
1.1.1.1.1.1 Test Levels-5
1.1.1.1.1.1.1 Test Levels-6
1.1.1.1.1.1.1.1 Test Levels-7
1.1.2 Test Levels
1.1.3 Test Levels
1.1.3.1 Test Levels-1
1.1.4 Test Levels
1.2 Test Levels
1.2.1 Test Levels
1.2.2 Test Levels
1.2.3 Test Levels
1.2.4 Test Levels
1.2.4.1 Test Levels
2 Test Levels
2.1 Test Levels
3 Test Levels
4 Test Levels
This agrees with the Outliner’s hierarchical numbering (toggled with View ▸ Outline Options ▸ Title ▸ with Numbers
).
I want to do something similar but through compile.
Did you try compiling the test project? I perhaps made it confusing by turning numbering on in the outliner, but this is a separate function not tied to the compiler. I only used it to show that the two results match for a simple case like this.
If you open the compiler, and double-click on the one preview tile in the middle column, you should see where I put the <$hn> placeholder, in the Title Options tab for this section layout.
The text output above is directly from the compiler.
I’ll test it out - maybe even copy your compile settings as a cheat xD