07-13-2012, 11:39 PM | #1 |
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Not correctly detecting chapter spacing
Hi, everyone. First off let me say, I just *love* your site. I've been lurking around for a while, and always find what I'm looking for. You all have helped me through two ereaders, with which I might've lost my sanity or given up on ebooks long ago, but for your site, and I appreciate it. Really. Y'all are awesome.
Ahem, I have never had the bravery to jump in here and say hi, however. So I am saying it now, and with a question. I downloaded Calibre in preparation for formatting a forthcoming book...I downloaded it about a week--maybe two--ago. And it's updated three or four times since then *sigh* (I have vers. 0.8.6 now, started with 0.8.57--I think.) But I notice that while everything else works just fine, and I'm finding it rather fun to work with, I notice my chapter breaks aren't being detected correctly. (They look like, this-- on Sony PRS-300 and this on Kindle This is better than before. Before, it was starting the next chapter a few spaces down from the end of a previous--no page break. But now there's this huge break, as you can see, which doesn't set right to my eye either. I'd like it to begin about 1/3 down the page, like my document does. I've tried different things: I hit the P button and removed all the extraneous formatting. I have bolded the chapter headings, I didn't bold them, I have exploded the files and fixed the html, I have read every thread on the board I could find and tried the tips (such as the one suggested here: https://www.mobileread.com/forums/sho...d.php?t=101467 ) I can't think of how else to get the spacing the way I want it. I suppose I shouldn't worry about it, but it looks, wrong somehow. Can y'all point me to a solution please? to get it to replicate the chapter spacing direct from Word? I feel like there's some easier solution I'm overlooking... It's driving me nuts! * |
07-14-2012, 07:57 AM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Hi, Welcome to mobileread. It's actually a bit difficult to determine from your description what potential solutions may be, as we really need you to tell us all the steps you went through to get from 'xyz' document (and we need to know what xyz was), to a usable ebook. Your conversion settings would help a lot.
Anyway it looks like your book has some sort of css which is creating huge margins at the top of chapter headings. What you need to do is figure out what the embedded css is that's doing this and over-riding it. If this is indeed a book you're writing/formatting on your own, your best bet might be to use Sigil (an ePub authoring tool also supported on Mobileread) as your primary formatting tool, and once you have the ePub looking the way you want then convert that to mobi using Calibre. |
Advert | |
|
07-14-2012, 02:13 PM | #3 | ||
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Quote:
Okay. Let me see here....I hope I'm explaining this right. The steps I take are as follows: I save the book as a word doc. Then to the web format. Then opened Calibre and added the book via the Add Books button. Hit the Edit Metadata button and put in my name and cover and so forth and converted from the source file (which Calibre calls a zip for some reason--so from Zip to Mobi for the Kindle (or zip to epub for the Sony). Then I fix the Look and feel, looked at Heuretic processing. Haven't a clue what to do with it, so leave it alone. Go to page set up. Input and Output set to Kindle (or epub depending on the device). Structure Detection: all I changed there was to choose page break as the chapter mark and "Remove Fake Margins" is checked. Table of Contents all I change there is the number of the chapters. Search and Replace and Mobi Output/Epub Output sections I left alone on their default. Then I go back to the main screen and output the book to the Device. Quote:
Right. I see, when I look at the html 35 lines of this between the end of chapter one and the beginning of chapter two: *I'm removing some of the brackets so you can see the code* !--[if !supportEmptyParas]-->*</span></span></b</p p class="MsoNormal"><b class="calibre1"><span class="calibre2"><span class="calibre3"><!--[if !supportEmptyParas]-->*</span></span></b></p> p class="MsoNormal"> etc. Now I suppose that's it trying to replicate the carriage returns? But I doubt it's 35 lines worth. Why is it doing that? That's what I can't understand. I could manually go through and cut the offending extra lines of code no problem. It's just time consuming and I've noticed the size of the blocks of this code vary from chapter to chapter. Odd that, since the chapter openings are about the same, 1/3 down the page in Word. So I'd like to nix the problem in the original html source if I can before it gets onto the ereader in the first place. I'm sorry if I'm making this a little more complicated than it needs to be. Yes. It is. Sigil, huh? Okay, I shall give that program a try. Again, I truly appreciate your help. Thanks so very much! |
||
07-14-2012, 05:13 PM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
07-14-2012, 10:25 PM | #5 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
|
|
Advert | |
|
07-16-2012, 12:29 AM | #6 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
julid,
If your original 'text' is simple (i.e your not using things like columns or flowing text around images etc) then the following might work as effectively for you as it does for me. Rather than using Word's Save as Web Page, save the document in Word as an RTF (rich text format) file. Add the RTF to Calibre and convert the RTF to epub & mobi. You can edit the RTF file in Word much as you would a regular Word document file, providing you stay away from Word's advanced features. I do most of my work on RTF files now RTF files are typically twice as big as Word 1997/2003 DOC files, which in turn are twice as big as Word 2007/2010 DOCX files. So, once a work is finished you might want to save the original in the native format (DOC or DOCX) to save space - personally I don't bother. The simplest way to insert a page break in Word is CTRL/Enter The only place you should have paragraph marks (hard returns) are at the end of paragraphs. If you use Word's Paragraph Formatting features for things like indents, space before/after, Widow/Orphan control etc and save as RTF then you should get very faithful conversions. BR Last edited by BetterRed; 07-16-2012 at 06:44 AM. Reason: clarity |
07-21-2012, 01:39 PM | #7 |
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Hi ...Unfortunately I don't have an option to save as Web Page filtered. Just one computer has "save as Webpage" and one has "save as html document". I'm going to guess that's a feature of Vista or Windows 7 which I don't have?
|
07-21-2012, 01:46 PM | #8 | |||
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Quote:
Quote:
Quote:
okay. Thanks. |
|||
07-21-2012, 01:53 PM | #9 | ||
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Quote:
*palm face* So easy! I'll have to remember that. Quote:
I'll try the RTF version, BR. Thank you! Meanwhile, I plan to noodle with Sigil, just to see. Last edited by julid; 07-21-2012 at 01:55 PM. |
||
07-21-2012, 02:07 PM | #10 | ||
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Quote:
http://office.microsoft.com/en-us/wo...010230882.aspx Choose or modify a Microsoft style that gives you a 1/3 page of blank space. |
||
07-29-2012, 05:18 PM | #11 | |
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
Quote:
Oh, I see. I'll poke around it and see what I can come up with. Thanks again. |
|
08-13-2012, 01:07 PM | #12 |
Member
Posts: 19
Karma: 497132
Join Date: Jul 2012
Location: Florida
Device: Kindle
|
The other thing I seem to be running into: I've downloaded the latest version of Calibre (this morning) and even still, it doesn't seem that the creator has adjusted the program to accommodate "K8". K8 is the newest hottest thing, right? I'm assuming it's Kindle Fire? I only have the $99 kindle so the mobi files seem to work for me...so how do we work around this? Just curious.
|
08-13-2012, 01:11 PM | #13 | |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Tags |
calibre chapter spacing |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] html/zip to mobi not detecting chapter breaks | RachDvn | Conversion | 15 | 05-27-2014 12:22 AM |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 06:35 AM |
ePub: paragraph vs/ chapter line spacing | hollowayhouse | Conversion | 3 | 05-27-2011 06:08 AM |
What are SGF Chapter Marker and Chapter Break? | webphone | Sigil | 1 | 05-25-2011 02:43 PM |
Xpath expression for detecting chapter marks | p3aul | Calibre | 5 | 11-14-2010 11:14 PM |