01-22-2009, 01:37 PM | #1 |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
Large gaps before Chapters
Hi,
When creating an LRF from a DOC using BookCreator, there is a huge gap before each chapter. This is despite me removing paragraphs etc. It has been suggested that I post here as it is likely a calibre issue? Is there anything I can do to remove these gaps? Here is where my request starts in the BookCreator thread - https://www.mobileread.com/forums/sho...=28313&page=12 (post 179) Many thanks, |
01-22-2009, 01:42 PM | #2 |
creator of calibre
Posts: 44,329
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Attach the intermediate HTML file created by BookCreator
|
01-22-2009, 01:45 PM | #3 |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
Where does this get saved as I tend to run it and then do other things. Not seen the html file...
|
01-22-2009, 01:49 PM | #4 |
creator of calibre
Posts: 44,329
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ask =X= as I dont use BookCreator
|
01-23-2009, 04:26 AM | #5 |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
Hi, I have attached a small sample from the book I am creating. Hopefully this is sufficient to be able to tell why there are large gaps before each chapter.
Many thanks, |
01-23-2009, 01:49 PM | #6 |
creator of calibre
Posts: 44,329
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's the way the page break is specified that causes this.
Instead of using Code:
<b><span style='font-size:12.0pt;font-family:Arial;text-transform:uppercase'><br clear=all style='page-break-before:always'> </span></b> Code:
<div style="page-break-after:always"/> |
01-23-2009, 02:11 PM | #7 | |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
Quote:
Thanks for letting me know though Not sure if I could easily edit this as replace all... |
|
01-23-2009, 04:53 PM | #8 |
Fool
Posts: 409
Karma: 3557934
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
Have you tried saving the Word document as "web page, filtered"? This will remove some of the junk that Word puts in and often solves problems. (If will at least remove "page before")
|
01-23-2009, 09:51 PM | #9 |
What the Dog Saw
Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
|
|
01-23-2009, 09:58 PM | #10 |
Fool
Posts: 409
Karma: 3557934
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
I use Word 2003, which has it. I think it is also in later versions.
Its purpose is to strip out all the Word-specific junk. |
01-24-2009, 01:19 AM | #11 |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
|
01-27-2009, 11:34 AM | #12 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Pie,
If you follow Kovid's suggestion, using the "DIV" tag, does this work for you? What I'm asking if you manually modify the output html to use the div tag and run the html2lrf from the command line will this create the LRF you are after? If you enable the debug version this will produce the HTML and the debug.txt with all the parameters used to build the LRF. =X= Last edited by =X=; 01-27-2009 at 11:37 AM. |
01-27-2009, 11:38 AM | #13 |
Addict
Posts: 398
Karma: 914
Join Date: Oct 2008
Location: UK
Device: Sony PRS-505
|
Hi =X= to be honest I haven't had much time to play around. Plus, would I be able to do a find/replace to change the tags?
|
01-27-2009, 12:02 PM | #14 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
=X= |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gaps at the bottom of pages on prs 300 | penguintri | ePub | 13 | 05-04-2010 05:11 AM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 10:50 AM |
Filling in gaps in a PDF scan | Sparrow | Workshop | 0 | 08-10-2009 02:50 PM |
Too many chapters with 0.6 | pepak | Calibre | 4 | 08-01-2009 11:58 AM |
Sony PRS-505 slow whilst changing Chapters. XHTML too large? | pato1 | Workshop | 3 | 06-08-2009 03:05 PM |