Outline Compile Format [with numbering that resets]

Hello everyone!

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.

You’re missing the <$rst> placeholder, which resets the numbers. See the List of Placeholder Tags on the Help menu for more information about its use.

2 Likes

I had no idea that it was a thing! Thank you!

Where would the <$rst> tag go, exactly?

You could put it anywhere, as long as it’s before the heading of the section that you want to renumber.

If you want to automate it, probably making it part of the Section Layout for Chapter headings would be the easiest.

2 Likes

The chapter headings are already “automated” with the <$R> tag. It’s the scenes that need numbers.

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.

2 Likes

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)?

Yes, I understand the question. Put the placeholder <$rst_N> in the Suffix field of the Chapter section layout.

2 Likes

Thanks! Will try that (: