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 (:

Hi @kewms!

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

Is this normal at all? Am I doing something wrong?

1 Like

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.

:slight_smile:
Mark

This is what I see when I edit:

But my question is: Is it normal for the <$rst> to appear when you save? The old format I had didn’t show it :thinking:

No, it shouldn’t. I thought you must have typed it in the formatting pane.

But, as you know, I’m a Mac-user so don’t know if it appearing there is a specific Windows bug. It doesn’t on the Mac.

:slight_smile:
Mark

I’m really confused. Maybe someone who’s on Windows can help.

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.

1 Like

Here’s another screenshot so you can see the issue:

image

I don’t think it is abnormal for it to show in your screenshots.
But, the reset placeholder needs to know what to reset. This is therefor wrong :

Either use <$rst_N> or <$rst><$N>

[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.

2 Likes

I tried putting it in both the prefix and suffix and the numbering breaks.

If you want, export your compile format, I’ll fix it if I can.

(Don’t post it here, directly on the forum if you’ve got personal info typed in it. PM it to me, then. – Or erase that stuff first.)

1 Like

OK, will make a new copy and attach.