Codes for compiler

User avatar
Posts: 14
Joined: Wed Jan 21, 2015 3:56 am
Platform: Windows
Location: Hunter Valley, New South Wales

Fri Sep 04, 2015 9:29 am Post

Just what I needed! Thanks.
Laura Ess

Posts: 13
Joined: Wed Jun 15, 2016 6:47 am
Platform: Windows

Fri Jun 17, 2016 8:11 pm Post

Thank you so much for making this list.
As I am new to Scrivener, but kind of form/structure freak, I would love to understand more about the hierachy in the format options. There are several folders/documents, named like "1+" and "1+" (document) and so on. What happens when I add another lever? Is there an easy explanation on how levels works? Say I want to change PART, CHAPTER, SCENE HEADING. So the result should go 1) PART 1, Chapter 1: Melinda arrives, Scene 1: At the coffe shop (and folllowing), like: PART 1, Chapter 1: Melinda arrives, Scene 2: At the house?
I have struggled to achieve this, but do not know which folders (and some folder might show up) in my formatting tab. When I try to compile, I get like empty headers for top level folder, saying "Part 1" and no text - until I reach Part 3. Hope this was understandable. Anyway, great post.

(BTW I also wonder how to change fonts for chapter titles and so on on compilling to a ebook. Thanks.

User avatar
Posts: 53
Joined: Wed Sep 22, 2010 8:14 pm
Platform: Mac + Windows
Location: Tustin, CA (USA)

Mon Jun 20, 2016 6:28 pm Post

The number that immediately follows the "Level" is the point in the hierarchy that the item applies to. So "Level 1" refers to items in the root of the hierarchy, while "Level 2" would refer to items at the next level, and so on.

Whatever level is currently the lowest level (for the item type in question) automatically gets a "+" symbol appended, which means that its rules also apply to all items of that type below it. So "[Folder Icon] Level 1+" means that the rule applies to folders at Level 1 and all levels below. If you create a new folder level, the original will become "[Folder Icon] Level 1" (meaning that it now only applies to Level 1 items) and the new item will become "[Folder Icon] Level 2+", meaning that it applies to Level 2 folders and folders deeper than level 2.

Keep in mind that each "Level" item has its own settings. So the checkboxes (such as the ones that control Title and Text) have to be set for each Level item that you create, and the rules that you set in the sample editor and the "Section Layout" settings are separate for each individual Level item (that's the whole point of having the Level items).

There is a pretty good tutorial here that might help you understand better how this works in practice: ... a-prologue

Literature and Latte Support

Posts: 2
Joined: Tue Jun 27, 2017 2:05 am
Platform: Windows

Tue Jun 27, 2017 2:28 am Post

Okay, I too have a similar problem as posted although slightly different. When I print out my entire MS my chapters are numbered correctly. However, say I just want to print out chapter three. Right now I choose that folder in the compiler to include only it and when it compiles it says Chapter One instead of Chapter Three. Is there any way to have it count each of the chapters (folders in a single hierarchy) so when I am compiling only chapter three it has the correct heading? Or do I have to name the folders Chapter One etc?

Thanks in advance,

Posts: 2
Joined: Thu Mar 28, 2019 3:43 pm
Platform: Windows

Thu Mar 28, 2019 4:21 pm Post

adz1111 wrote:fadedwave,

I know you posted this a while back but (assuming you didn't resolve it) I have compile options set up for my novel almost as you require. Compile output is....

[new page]
Title Page

[new page]
Part I
Incarceration (Part 1's Title)

[new page]
text text (scenes spanning multiple pages)

[new page]
text text (scenes spanning multiple pages)

[new page]
text text (scenes spanning multiple pages)

[new page]
Part II
Liberation (Part 2's Title)

[new page]
text text (scenes spanning multiple pages)

[new page]
text text (scenes spanning multiple pages)

[new page]
text text (scenes spanning multiple pages)

etc etc
The binder layout in Scrivener to support that output above is in the first JPG above. Note, the Part's (yellow folder icons) title in the structure is printed out under the "PART I" automatically (as that is how I have set it up, you can omit that if you prefer no titles). However, the chapter's titles (whilst they have titles in the binder to help me see where I am) are not printed out - they are replaced with chapter 1, 2 etc . Chapters are the green folder icons; scenes are blue "text" icons btw and are collapsed in that picture. They also have titles (that do not print, but help me as a visual reference) and just flow one after the other with a "* * *" separator in the output.

The compile layout is in the second JPG above. Of course that doesn't show the specific settings for each line item in the compile layout. But assuming you have your stuff structured as I do in the binder it's those lines you need to tweak (for example if you do not want titles other than PART and Chapter).

If the above looks close enough for you to further tweak I have attached a blank "template" based on the above. If you extract it from the attached zip file and stick it in the templates directory, you can create a new project based on it.

Novel (with Parts) - Self


Thanks for this output!

Posts: 14
Joined: Mon Jun 24, 2013 12:43 pm
Platform: Windows

Thu Mar 28, 2019 5:02 pm Post

Glarld wrote:Thanks for this output!

Most welcome. Was written quite a while back, glad it's still useful.