# Outline Compile Format \[with numbering that resets\]

**URL:** <https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194>\
**Category:** Scrivener\
**Tags:** support, compile\
**Created:** [May 2, 2025, 9:57pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194 "2025-05-02T21:57:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [May 2, 2025, 9:57pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/1 "2025-05-02T21:57:35Z")

</div>

Hello everyone!

I’m looking to create a compile format that would produce the following output:

```nohighlight

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.

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [May 3, 2025, 12:42am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/2 "2025-05-03T00:42:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [May 3, 2025, 12:44am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/3 "2025-05-03T00:44:49Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [May 3, 2025, 12:48am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/4 "2025-05-03T00:48:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [May 3, 2025, 12:52am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/5 "2025-05-03T00:52:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [May 3, 2025, 1:12am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/6 "2025-05-03T01:12:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [May 3, 2025, 1:27am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/7 "2025-05-03T01:27:31Z")

</div>

I use two section layouts: one for Chapters, which contains this:

```nohighlight
Chapter <$R> – Section Title

```

And ideally, the one for scenes would look like this:

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

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [May 3, 2025, 4:16am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/8 "2025-05-03T04:16:13Z")

</div>

> [@eliamartin65](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [May 3, 2025, 4:17am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/9 "2025-05-03T04:17:30Z")

</div>

Thanks! Will try that (:

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 11:00am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/11 "2025-06-10T11:00:19Z")

</div>

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

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/5/0/50b77cb9a43b639e2a70434c55a170c81043a3d1.png)

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

---

<div class="post-metadata">

**Author:** ![xiamenese](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/xiamenese/32/23720_2.png) [@xiamenese](https://forum.literatureandlatte.com/u/xiamenese)\
**Post date:** [June 10, 2025, 11:40am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/12 "2025-06-10T11:40:48Z")

</div>

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.

🙂  
Mark

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 11:43am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/13 "2025-06-10T11:43:27Z")

</div>

This is what I see when I edit:

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/a/2/a21a97853eb84a3e8ce8ee6d3b4ec050e3aedea4.png)

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

---

<div class="post-metadata">

**Author:** ![xiamenese](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/xiamenese/32/23720_2.png) [@xiamenese](https://forum.literatureandlatte.com/u/xiamenese)\
**Post date:** [June 10, 2025, 11:57am UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/14 "2025-06-10T11:57:22Z")

</div>

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.

🙂  
Mark

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 12:01pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/15 "2025-06-10T12:01:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rms](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rms](https://forum.literatureandlatte.com/u/rms)\
**Post date:** [June 10, 2025, 1:07pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/16 "2025-06-10T13:07:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 1:28pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/17 "2025-06-10T13:28:38Z")

</div>

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

![image](https://forum.literatureandlatte.com/uploads/default/original/3X/2/7/27b077ba3aaad83d30fb5bf27e2078ec711744b7.png)

---

<div class="post-metadata">

**Author:** ![Vincent\_Vincent](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/vincent_vincent/32/19680_2.png) [@Vincent\_Vincent](https://forum.literatureandlatte.com/u/Vincent_Vincent)\
**Post date:** [June 10, 2025, 8:17pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/18 "2025-06-10T20:17:02Z")

</div>

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 :

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/9/c/9c854d647435dcc5c2fe444ff0c83055dc1c7c53.png)

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.

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 8:36pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/19 "2025-06-10T20:36:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vincent\_Vincent](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/vincent_vincent/32/19680_2.png) [@Vincent\_Vincent](https://forum.literatureandlatte.com/u/Vincent_Vincent)\
**Post date:** [June 10, 2025, 8:37pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/20 "2025-06-10T20:37:38Z")

</div>

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

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/2/9/297dc1153855ea0165b0298a97a598fab4ef2fda.png)

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

---

<div class="post-metadata">

**Author:** ![eliamartin65](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/eliamartin65/32/38876_2.png) [@eliamartin65](https://forum.literatureandlatte.com/u/eliamartin65)\
**Post date:** [June 10, 2025, 8:43pm UTC](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194/21 "2025-06-10T20:43:25Z")

</div>

OK, will make a new copy and attach.

[Next page](https://forum.literatureandlatte.com/t/outline-compile-format-with-numbering-that-resets/147194.md?page=2)
