Plain Table of Contents (ToC) titles while considering Section Titles eBook Compile

Ki
KimAleksander
Posts: 3
Joined: Tue Dec 19, 2017 11:41 am
Platform: Mac

Tue Dec 19, 2017 11:57 am Post

Hi there,

I have been having a devil of a time trying to get what I want out of Scrivener 3 with regards to a "plain" ToC.

In brief, my desired format for an eBook is as follows (see attached for folder hierarchy :

Chapter One
Section Title (I grab the title from the folder name of the Chapter Heading folder above)
Section Text

This will compile to, for example:

Chapter One
606 B.C.
FIRST THREE WORDS and then the rest of the section.

My frustration is based on the fact that I cannot--for the life of me--figure out how to make the eBook ToC produce a "plain" listing of chapters, like Chapter One, Chapter Two, Chapter Three, etc. without using the title of the Chapter Header folder (e.g. 606 B.C.) .

This really should be that hard, but it apparently is.

I've read through the existing posts and have not found a solution for this.

Can someone please point me in the right direction?

Thanks,

Kim
Attachments
Scrivener ToC.jpeg
Scrivener ToC.jpeg (20.34 KiB) Viewed 2255 times

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Tue Dec 19, 2017 5:07 pm Post

EDIT: See this post... viewtopic.php?p=255530#p255530


Like this?

ePub 3 TOC.jpg
ePub 3 TOC.jpg (21.12 KiB) Viewed 2243 times


Don't know if it is possible to do this automatically, but in the sample above:

1. Select the relevant folders in the binder

2. Edit > Copy Special > Copy Documents as ToC

3. Paste to a file (used for the ToC)

4. Edit the pasted names to read Chapter One etc

5. Remove the redundant page numbers

6. Compile
Last edited by Bridey on Wed Dec 20, 2017 11:31 am, edited 2 times in total.

Ki
KimAleksander
Posts: 3
Joined: Tue Dec 19, 2017 11:41 am
Platform: Mac

Wed Dec 20, 2017 8:00 am Post

Hi Bridey,

Thanks for the reply.

Yep, that's the format I'm looking for, but I was hoping to do this automatically using structure based formatting, if possible while also using the chapter folder as a way to insert a subtitle onto the page between Chapter One and the first section.

It's weird how something that seems so simple is apparently so difficult.

From what I can tell, if you use a binder node (e.g. chapter folder) as a title that it's gonna show up in the ToC. That's just how Scrivener works, unless I'm missing something.

br
brookter
Posts: 1780
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Wed Dec 20, 2017 8:41 am Post

Yep, that's the format I'm looking for, but I was hoping to do this automatically using structure based formatting, if possible while also using the chapter folder as a way to insert a subtitle onto the page between Chapter One and the first section.


But you don't need to use the chapter folder to insert the subtitle, because you can do that in the Section layout.

[EDIT: I've use CHAPTER <$W> throughout to give your capitalised titles + number. If you want lower case then use Chapter <$w> -- doesn't affect the basic flow.]

So,

1. call all your Chapter Folders CHAPTER <$W> with a dedicated Section Type. (In my example Chapter Title)

2. Call all your Sections by the name of the Chapter (606. C.C) with a suitable Section Type (in my example Scene)

Screenshot 2017-12-20 08.20.57.png
Screenshot 2017-12-20 08.20.57.png (203.88 KiB) Viewed 2216 times


3. Compile. Ignoring the need for front matter etc, you only need two Section Layouts:

a) One for the Folders which ONLY prints out the name of the folder — which you've set to CHAPTER <$W> in the binder. I've called this layout Chapter Title.

b) One for your scenes (606 BC etc), which will print out the Scene Title and the text. I've called this layout Section with Title.

4. So edit the layouts:

a) Chapter with Title -- tick the Title box and nothing else. In the Formatting pane you should just see SECTION TITLE. If there's anything else, then make sure there's nothing in Title Options or in Prefix/Suffix.

b) Section with Title — tick the Title and Text boxes. This time formatting will have SECTION TITLE and the dummy text. Again, you don't need any Title Options / Prefix / Formatting.

c) Have a look at Separators, just to make sure you don't have a Page/Section Break before the sections in Section with Title.

In the screenshot, I've reduced the number of Section Layouts to the minimum for clarity.
Screenshot 2017-12-20 08.35.11.png
Screenshot 2017-12-20 08.35.11.png (340.07 KiB) Viewed 2216 times


d) Click Save and go back to the first compile screen. Assign you Chapter Title type to Chapter with Title and your Scene to Section with Title.

Screenshot 2017-12-20 08.37.15.png
Screenshot 2017-12-20 08.37.15.png (335.65 KiB) Viewed 2216 times


e) Compile.

This should give you the effect you need (from what I can see from your description, of course. Obviously, you'll play around with the formatting to get the right look, but this is the basic process.
Last edited by brookter on Wed Dec 20, 2017 8:49 am, edited 1 time in total.

br
brookter
Posts: 1780
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Wed Dec 20, 2017 8:47 am Post

And this is what the final result looks like:

Screenshot 2017-12-20 08.18.52.png
Screenshot 2017-12-20 08.18.52.png (173.26 KiB) Viewed 2216 times


Just to be clear, all this is only necessary because you want Chapter One etc in the TOC rather than the Chapter title, so it's a workaround for the limitation in compile.

If you didn't want it, you could have the Chapter Title, Subtitle and text all from the one Section Layout Section with Title, just by adding Chapter <$w> to the prefix of that layout. You wouldn’t need a folder at all in your binder.

HTH.

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Wed Dec 20, 2017 9:27 am Post

EDIT: See this post... viewtopic.php?p=255530#p255530



Hi Kim

I agree with brookter. You can either adapt the binder structure or create a custom ToC, as previously suggested.

Both methods add a layer of work as Scrivener creates titles from folder/file names rather than from prefixes alone.
Last edited by Bridey on Wed Dec 20, 2017 11:31 am, edited 1 time in total.

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Wed Dec 20, 2017 10:27 am Post

EDIT: See this post... viewtopic.php?p=255530#p255530




Actually, in the thread below, Ioa (mod and development guru) mentions prefixes completely replacing titles. On a train, without a Mac, so I can't try this myself, but perhaps you can do what you want to do using prefixes alone. Not clear from Ioa's comment if he means prefixes can replace titles in situ only, or if they can also work in a TOC.

viewtopic.php?p=165220#p165220
Last edited by Bridey on Wed Dec 20, 2017 11:31 am, edited 1 time in total.

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Wed Dec 20, 2017 11:28 am Post

Actually, you can do this...

Title Prefixes Only.jpg
Title Prefixes Only.jpg (202.21 KiB) Viewed 2181 times


eBoook.jpg
eBoook.jpg (20.08 KiB) Viewed 2181 times

Ki
KimAleksander
Posts: 3
Joined: Tue Dec 19, 2017 11:41 am
Platform: Mac

Wed Dec 20, 2017 12:47 pm Post

Brookter and Bridey,

Thank mucho for the expert tips.

I really appreciate it.

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Wed Dec 20, 2017 1:58 pm Post

KimAleksander wrote:Brookter and Bridey,

Thank mucho for the expert tips.

I really appreciate it.


I inadvertently misled you originally. Apologies.

Hope it works as you need it to.