I’m looking to create a compile format that would produce the following output:
Chapter <$R> - (ex: I, II, III) Title
Scene <$N> (ex: 1, 2, 3) - Title
Synopsis
I tried doing something like this before, but it looks to me that the compiler doesn’t restart scene numbers for a new chapter (instead, it takes the number continuing from the one left off by the previous one); they work fine for a single chapter, but not for multiple ones. Am I missing something?
Any help is appreciated, and I’m happy to create a text project/output demonstrating.
Right. But to reset the scene numbers, you need for the reset placeholder to appear before “Scene 1.” The Section Layout for the Chapter headings is one possible place to put it.
I use two section layouts: one for Chapters, which contains this:
Chapter <$R> – Section Title
And ideally, the one for scenes would look like this:
Scene <$N> – Section Title
I can do that just fine but the numbers are off for the scenes only.
Now the question is where does the <$rst> go exactly (since I want the scene numbers to reset for every chapter, but not the chapter numbers themselves)?
I’m trying to recreate the outline compile format (I was a doofus and deleted my OG working one by accident), and I’m noticing something weird (see the attached image).
Yes, you are. If you look at the top line of your screenshot, you’ll see that you’re looking at the “Formatting” pane. You need to click on “Suffix” further along to the right and paste the `<$rst> in that pane.
From the paragraph style in the tool bar, and the position of the code, it’s a center formatted paragraph. Also sometimes useful to turn on “invisibles” to help figure out these sometimes mysterious text positions.
[EDIT] <$rst><$N> works, but on second thought is very inconvenient in your depicted situation, as <$rst> needs to be glued to the first <$N> that you want to reset. Placement is uselessly complex. (If even doable in the current situation.)
And no, after testing, your placeholder shouldn’t show.
More testing: it shows when in the section suffix.
But not when in the section prefix. (That’s the logical place to put it imo, anyways. – The only section that will reset to no avail will be the very first one, and that makes no difference whatsoever…) [Although it doesn’t actually matter much. One or the other.]
All the while, remember that if your scenes are documents on their own, you’ll have to create and assign a section type/layout for the ones to actually reset.