Modify Uppercase Opening Words Feature

ch
chuckmiller
Posts: 74
Joined: Mon Nov 13, 2017 9:19 pm
Platform: Mac

Wed Dec 06, 2017 6:41 pm Post

I'm trying to use the uppercase opening words feature in my Kindle ebook, but because my chapters start with a quote, they receive the initial uppercase words instead of the first paragraph. Is there a way I can code this to skip the block quotes?

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

Wed Dec 06, 2017 7:06 pm Post

I know you've done a lot of work on your manuscript, so I can't say for sure whether it would work for you, but this is something I've just tested and it seems to work, so perhaps it's worth considering.

At the moment I presume you have the quotation in a special style (blockquote?) at the top of your first scene/section, and you've got the relevant Section Layout set to show the first 3 words in upper case. You've probably also got the relevant Chapter Layout with the same settings.

What I tried was in the Editor to move the quotation in the Binder from the top of the section to the text of the Chapter itself. Ie -- the quotation is part of the Chapter, not the first paragraph in the first scene.

Then in compile I edited the relevant Chapter Layout to make sure that the Text as well as the Title column is ticked (probably will be), then in the New Page panel set the Number of Opening words to 0.

This means your sections/scenes still get the fancy uppercase, because it's turned ON for Sections (make sure 'Upper case when section is not after a page break is ticked in the Section Layout), but they don't for the quotation because it's turned OFF for Chapters.

As I said, you have a much more complicated layout, than my simple test, but perhaps it's worth trying with one chapter to see? (Unless somebody more knowledgable comes along with an easier way...)

Screenshot 2017-12-06 19.05.20.png
Screenshot 2017-12-06 19.05.20.png (65.04 KiB) Viewed 295 times

ch
chuckmiller
Posts: 74
Joined: Mon Nov 13, 2017 9:19 pm
Platform: Mac

Wed Dec 06, 2017 7:53 pm Post

My structure is a bit different and I'm not sure how to pull of what you suggest. My document is laid out as follows...

Chapter 1 (Folder)
Start with the Basics (Text)
Chapter 2 (Folder)
Choose the Best Service (Text)
Etc.

How would I do what you suggest with this structure. Would I need to create an additional text page in each chapter?

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

Wed Dec 06, 2017 8:44 pm Post

Well, folders and documents are exactly the same in many ways -- they ALREADY all have editor text, they all have cork boards, they all have synopses etc. So no, you don't have to any a new page for the folder because it's already there.

To see this, select the first Chapter and toggle cmd-1 a couple of times: the display will change back and forth between the scrivening (showing the text of the children) and the text of the Chapter folder on its own.

All I'm suggesting you do is move the quotation from the Editor (text) of the first child document inside each Chapter into the Editor (text) of the Chapter folder itself.

You can see what I mean from this screenshot: I've selected the Chapter folder (Beginnings) as a single document (ie turned Scrivenings off so it ignores the text of its children by toggling cmd-1) and entered the quotation in block quote style.
Screenshot 2017-12-06 20.30.02.png
Text of Beginnings folder on its own
Screenshot 2017-12-06 20.30.02.png (225.74 KiB) Viewed 280 times


Here's what it looks like in Scrivenings mode (cmd-1 again).
Screenshot 2017-12-06 20.29.33.png
Text of Beginnings folder plus children (scrivening)
Screenshot 2017-12-06 20.29.33.png (312.26 KiB) Viewed 280 times


All you need to do now is Compile > Edit your format (click on it in the left hand panel, then choose 'Edit this format'. Then in Section Layouts select the Layout you're already using for Chapter Section Types (obviously I'm not sure which one that is so I'll use the Chapter Title Layout, but the process is the same for the one you're chosen...).

Screenshot 2017-12-06 20.32.21.png
Screenshot 2017-12-06 20.32.21.png (276.64 KiB) Viewed 280 times


As you can see: on the Chapter Title line, both Title and Text have ticks - i.e telling the compiler to print out both the Binder title and any text in that Section Type's editor (so it will pick up the quotation we have added).

Now, in the New Pages tab below, just reduce the number of opening words to make uppercase to 0 and press test.

That should be it. All you're doing is effectively making the quotation part of the Chapter Section Type rather than the first scene — and logically, that's a better place for it, because it keeps Chapters and Scenes functionally separate. (All chapter types have quotations, not scenes do.)

(Of course this doesn't affect Front Matter or Introductions / Forewords etc because you will assign a different Section Layout to them. It's this sort of situation where V3 is actually a lot simpler than V2...)

HTH.

ch
chuckmiller
Posts: 74
Joined: Mon Nov 13, 2017 9:19 pm
Platform: Mac

Wed Dec 06, 2017 9:25 pm Post

Thanks for that text and graphic walkthrough. I didn't know about the Command + 1 deal. I gave it a shot, but what I ended up with didn't turn out as it should. I probably don't have the right book structure at this point. You can see my compile screen in the image below. I'm currently not using the chapter folders, just the pages below.

I'm probably going to need to make the changes manually for now so as not to delay my book launch further. I'll delve into what I need to change for the next update after I get this published. Thanks for the help!
Attachments
compile.jpeg
compile.jpeg (334.7 KiB) Viewed 269 times

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

Wed Dec 06, 2017 10:29 pm Post

OK -- is that the actual screenshot of the working book (ie except for the issue of the CAPS we're discussing, that is exactly how you're compiling the book and it's basically how you want it?)

In that case, I think you're right to leave it for now — not worth the stress involved!

But I've tried to explain what's going on in the rest of this post, so that when you do come to review the process for the next book, you've got something to refer to.

The way you have set the compile up with all the Chapter 1, Chapter 2 folders unticked (ie those with the Section Type 'Chapter Title') means that they're not actually being compiled at all. The Chapter Title section type is redundant.

In other words, if you moved all your chapter documents (Start with the Basics etc) out of the Chapter folders in the binder to the Drafts/Manuscript root folder, then you'd still get the same result as you're getting now.

With that setup, the only Section Types which are being compiled are:

N/A
Dedication
Front Matter
Chapter
Section.

The compile won't see 'Chapter Title', which is wht the changes I suggested don't work!

In effect. you are producing the entire contents of each chapter — Chapter Number, Title, Quotation and Text — from the one Section Type 'Chapter'. And that's why you don't have the fine control over the interplay between those elements — they're being treated as a block.

That's actually not too much of a problem normally — until you want to do something a little bit more fine-grained, like missing out the CAPS from the block quote.

By comparison, I roughed up a quick dummy of your project structure (just the chapters...) using the suggestions from my previous post:

Screenshot 2017-12-06 22.38.04.png
Screenshot 2017-12-06 22.38.04.png (517.46 KiB) Viewed 259 times


Here Chapter 1, 2 etc are ticked, so they will be compiled. In the middle panel, you can see that Chapter Title shows CHAPTER ONE - Section Title - text —  and the dummy text (Tharn, Lamar quilt etc) is in lower case -- it's been assigned the Chapter Title layout. When you come to compile that dummy text will be turned into the text in the Chapter Folder in the binder as we discussed before — in other words the blockquote and it won't have the first three words transformed to upper case.

The Chapter section type has been assigned the Chapter layout — and it doesn't have any numbers or title, it's the pure text, but the first three words ARE in upper case, which is what you wanted.

To carry out the steps from my previous post, you would right-click on your format on the left side (here it's E-book copy) and that will give you the screen where you can edit the Section Layouts (from my previous post).

If you want I'm happy to post the dummy project so you can look at it at your leisure to see the structure and settings.

Good luck though with the imminent launch!

ch
chuckmiller
Posts: 74
Joined: Mon Nov 13, 2017 9:19 pm
Platform: Mac

Sun Dec 10, 2017 6:13 pm Post

Thanks again for your help on this. I took some time this morning to play around with what you suggest and I'm still running into a few problems. Here is the result so far...
chapter.jpeg
chapter.jpeg (273.05 KiB) Viewed 226 times

The title prefix (CHAPTER ONE) is fine as is the quote below the title suffix. However, instead of getting "Start with the Basics" for the title suffix, I'm getting Chapter 1. I have the title suffix set as <$rst_scene>.

I'm also not getting the first three words in caps even tough I have that section set for uppercase 3 words and the box checked for Uppercase even when not after a section break. I tried it unchecked, as well, but it made no difference. You can see in the next image that the first three words are shown capitalized in the section layout.
layouts.jpeg
layouts.jpeg (926.7 KiB) Viewed 214 times

Maybe you could post the dummy project so I can look it over. Thanks!

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

Sun Dec 10, 2017 7:44 pm Post

Yes of course:
TEST.scriv 2.zip
(84.34 KiB) Downloaded 10 times


Bear in mind, it's stripped down to its bare bones, so of course it doesn't include any other enhancements you may have made (ie changes to styles, CSS, etc) or set the page numbers properly etc. All it does is show you a basic format to have:

a) An introduction with a Title (no number), no quote, and the text with the first 3 words in capitals
b) A Chapter header, with the Chapter Number, Chapter Title, quotation with no first words capitalistion
c) the main text of the chapters, with no Chapter Number or Title, but with the first words capitalised.

I've basically followed your naming for Sections Types (Chapter Title = the folder, Chapter = the child document) with an additional type of Introduction for, well, the Introduction...

The compilation format is included with the project, so you should be able just to compile it to Epub 3, select Epub-copy in the left hand panel then compile.

This is what I get:

Screenshot 2017-12-10 19.40.17.png
Screenshot 2017-12-10 19.40.17.png (380.23 KiB) Viewed 211 times


Then edit the format and go through each section layout and other panel to see what I've done (I've changed very little from the defaults). I've deleted all the unused Section Layout so it looks a bit clearer.

BTW, the reason that you are getting Chapter 1 in the screenshot in your post is that you are now using the Folder (Chapter Title) to provide the name -- and you called them Chapter 1, Chapter 2 in the Binder.... So just rename the folders there and you should be ok.

Hope this helps.
Last edited by brookter on Sun Dec 10, 2017 8:20 pm, edited 3 times in total.

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

Sun Dec 10, 2017 7:56 pm Post

DELETED
Last edited by Bridey on Sun Dec 10, 2017 8:33 pm, edited 1 time in total.

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

Sun Dec 10, 2017 8:15 pm Post

.
Last edited by brookter on Sun Dec 10, 2017 8:27 pm, edited 1 time in total.

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

Sun Dec 10, 2017 8:19 pm Post

DELETED
Last edited by Bridey on Sun Dec 10, 2017 8:33 pm, edited 1 time in total.

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

Sun Dec 10, 2017 8:21 pm Post

Check again... :D

But thanks again!

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

Sun Dec 10, 2017 8:23 pm Post

DELETED
Last edited by Bridey on Sun Dec 10, 2017 8:33 pm, edited 1 time in total.

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

Sun Dec 10, 2017 8:28 pm Post

Joy unbounded indeed... :oops: I've sent you a PM thanks.

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

Sun Dec 10, 2017 8:34 pm Post

All done.