Compile Help!

I’m trying to compile my manuscript for MOBI (V3, Mac High Sierra). I can get it to work, but not with the formatting I wish (at least not without making the changes to the document and using AS-IS, and even then it isn’t right).

My project is divided into chapters. I would like a page break in between each chapter. I want the chapter title in 14pt font and right justified (the style is named ‘Chapter Heading’), along with the chapter subtitle right justified below (style name ‘Caption’). Beyond that, I’d like paragraph indentation and after-spacing, ideally, with the first paragraph lead-in in each chapter capitalized/bolded.

I suspect that the closely held secret to accomplishing formatting like this lies in editing one of the presets, but this is either not allowed or impossible to figure out (at least for me).

Can this be done?

Yes, the short answer is that you need to edit one of the Compile formats. Right-click on the one that’s closest to what you want, and choose the Duplicate and Edit command. Then, see Chapter 24 in the Scrivener Manual for everything you could possibly want to do. Most of what you need can be done by editing the Section Layouts, see Section 24.2.1 in the manual, or the output Styles (Section 24.5).

HOWEVER, while you can specify such details as justification and spacing, it is essentially impossible to specify a particular font or font size in an ebook. Ebook reader software allows users to choose the font and size they prefer, overriding whatever choices the author has made.

Katherine

Thank you for the reply. I won’t pepper the forum with a million questions, but I will say that I don’t think what I want to do is possible based on the documentation. I have yet to be able to find a way to ensure there is a page break between chapters, amongst other things.
A WYSIWYG editor would make a lot of sense here instead of expecting users to edit CSS

I think you are missing one of Katherine’s points. Ebook readers give the reader a wide choice of fonts and font sizes so you can’t decide that in mobi format. In pdf, yes, but not in mobi or epub format.
Page breaks between chapters, well that is possible to force, but most else of what you want to do is not allowed in mobi format.

As far as editing your format to force chapter “Page breaks” you’ll find them described as “section breaks” in the epub and mobi format editors—no need to resort to CSS! :smiley: Here’s a screenshot of where to look for them:

Silverdragon – Thank you!

I have managed to figure out how to do most of what I want to do. The last remaining thing may or may not be possible.
Each chapter title in the manuscript uses the HEADER 1 style, and each comes with a subtitle which uses HEADER 2

I set the “delete this text” for the HEADER 1 style, which does the exact thing I want. The SECTION TITLE uses the HEADER 1 text and precedes each with a page break. Perfect.

I want the HEADER 2 to remain formatted as-is (italicized, left justified), and the first word of the body text to be capitalized. I haven’t yet figured out how to do this.

Here’s how to make the Header 2 style appear however you’d like it to in your compiled output:

Hope this helps!


This is what I want to do, but am beginning to believe is impossible.

  1. Chapter Title centered, 7 lines prior
  2. Caption (for lack of a better tag) left-justified and italicized
  3. Body left-justified, with the first two words of the opening paragraph in ALL CAPS

I’d solve that by either having the subheading (location, location) as Text in the otherwise empty folder-document which has the Heading1 title in the Binder, and have the body as the text in a sub-document, or have ‘location,location’ as the title of the Bodytext document in the Binder and have an empty Heading1 folder-document as parent to the bodytext document, and just not have any page break between Level 1 (Heading 1) and Level 2 (Heading 2 and body text).

Many of the things you can do in Scrivener can be done by manipulating the structure of the project, by having things at different organizational levels, or by assigning different section types to documents on the same level.