HTML contents list not appearing in compiled epub book

Dammit! I go to Edit/Emojis and symbols - and the menu appears, but as soon as I move my cursor it disappears again! How do I get the dratted thing to stay still? (Edit, ah, it’s stopped)

And sorry, I’m not quite clear where the cursor should be when I’m dragging the Contents onto the arrow, and where the arrow should be. Should the arrow be in the Emojis panel that appears with cmd-ctrl-space when I drop the Contents document onto it, or should I have already inserted it into the document? (When I do the former, nothing seems to happen except the Emojis disappear; the latter just places a hypertext link beside the arrow saying ‘Contents’)

It’s the latter, but you need to select the arrow in the text before dragging the document onto it, and you must drag it onto the selected arrow and not next to it.

It just isn’t working for me. I drop the arrow into the document, select it, drop the Contents document onto it. The arrow develops a line under it. But when I click it, this happens:

I added another poem and redid the Contents (Copy Special as ToC then pasted into the Contents document, and removed the funny formatting at the end of each line.

Now it’s doing the same as the picture above - when I click on a title in the Contents document, it splits the screen between Contents and the document.

But this is exactly what you want . You have added a document link to the arrow, so that when you click on it, it will open the contents in another split - exactly as it is doing. This shows that you have linked to the contents document, so you’ve done exactly what you need - obviously, when you click the link in Scrivener it will open it, just as you want it to in Compile. (By default, Scrivener opens document links in the other split.) Now, when you Compile, as long as you have “Convert document links to HTML links” ticked, the arrows will link to the contents document when compiled. (Obviously no such split will occur in an ebook - it just becomes a link in the book.)

I was looking at your Mervyene setlist 1-2 project, Keithven, and you’ve done the titles in a way I don’t understand - what’s happening here? (The title above the ruler.)
Screen Shot 2018-06-05 at 18.38.41.png

I’m not sure what you mean - I have simply titled each document with the name of the song it contains. (Previously, you had not titled them.)

Ah. I was trying to see how you got the nice-looking title and byline, but this was all I could see.

By the way - [i]"Select “CSS” on the left and then, at the bottom of the “Custom Stylesheet” on the left, paste this:

"CODE: SELECT ALL
“nav#toc ol { padding-left: 2em; text-indent: -2em; }”[/i]

I can’t find that “CSS” in the Compile menus.

“CSS” is available in the sidebar when you are editing the Compile Format.

All the best,
Keith

I’ve looked for that CSS, and it’s probably staring me in the face, but I just can’t see it.

Here you go…

[EDIT] Number 2 should say “right click…”

Maelduin, I definitely recommend going through the sections on Compile in the updated 3.0 tutorial - it will make things a lot easier! :slight_smile:

Keith, I’m working my way slowly through the Tutorial.

JoRo, I tried right-clicking and choosing Duplicate… as you suggested, but still see no CSS.

In the previous screen, where it says “Compile For” at the top? Make sure you’ve chosen ePub 3, not ePub 2.

Katherine

Ah, it works now! Thank you!

Right, about to start this again and go through it step by step. At the start, do I choose the Blank template, which is usually the one I use, or does it make any difference?

Darn it, went through it religiously and it’s not working for me!

The one place I wasn’t certain what you meant, Keith, was when you said to delete the various section types. I tried un-checking them, and they disappeared from the list underneath; however, when I reopen Compile I find I still have Heading and Sub-Heading as well as Song and Contents.

For some reason it has also mysteriously changed itself into ePub 3 Ebook (.epub) though I definitely chose ePub 2 to start with.

When I right-click on any of the Heading, Sub-Heading, Song and Contents names they give me the same result:

I’ll give it another try tomorrow. I’ve re-numbered your instructions so they go from 1 to 43, Keith - I suspect that I was getting mixed up between the series of 1, 2, 3,s.

Working on this. My first attempt crashed when I’d got to selecting "Table of Contents (Bordered).

I nuked the new project I was working on, and created a new one, and worked my way to that point again. Now there’s no “Table of Contents (Bordered)” in the list, only “Table of Contents”. Restarting…

Edit: continuing. A couple of questions:

Now select "Contents on the left and assign it “Table of Contents (Bordered)” on the right. Click “OK”. (I can’t do this; there is no option for “Table of Contents (Bordered)”. I’ve selected “Table of Contents”, the only option available relating to contents.) (Ignore this - I think I should have been choosing ePub 3, not ePub 2)

Under “Section Layouts”, you’ll see a whole slew of possible layouts. These are different options that users can choose for their ebook, formatting, but you don’t need them all. Delete all of them except for “Table of Contents (Bordered)” and “New Section”. (I’m not sure what “delete” means in this context; does it mean “uncheck” them? And what about the text options? Uncheck them too? Do I leave only the Title square and the Text square for “Table of Contents” (since there’s no “Table of Contents (Bordered)” and for the now renamed “Song Lyrics” checked? (Ignore this - a) using ePub 3 there is "Table of Contents (Bordered), and I’ve just realised there’s a + and - sign to delete and add.)