Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2010, 11:30 PM   #1
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
ade template?

I have an annoying problem with some of my epubs in that a page truncates with many blank lines for no apparent reason. I thought that perhaps using the ADE template might help, so I looked at 'Three Men and in a Boat' by Jerome K. Jerome. He uses a second style sheet, named 'page-template.xpgt' with the ADE inside it. When I try to rename a second style sheet in Sigil .3, it notifies me that I can't use this name; apparently it must be a .css filename for Sigil(?).

If I can't follow JkJ example, how do I incorporate the ADE into my epub using Sigil, including how to reference it throughout the rest of the epub files?

(and will the template help eliminating the partially blank pages in my epub?
bobcdy is offline   Reply With Quote
Old 12-09-2010, 11:59 PM   #2
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
Well, I experimented and found that I could create an .xpgt file with my html editor and name it as 'page-template.xpgt' and add it as an existing rather than new style sheet, and Sigil accepts that fine.

The problem is that doing this still doesn't eliminate the occasional partly blank pages shown on my ereader (Sony PRS=950). There is nothing at the places where the unwanted page breaks occur that is different from all the other text paragraphs that work fine and fill all the page space. Why should the page breaks occur?
bobcdy is offline   Reply With Quote
Advert
Old 12-10-2010, 02:24 AM   #3
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
bobcdy: Can you give us an example? 'Cuz otherwise we're nailing Jello to the wall here. I use ADE xpgt templates, by the way, without problem...I needed to add that as a second stylesheet because a lot of my clients view their review epubs with ADE. {shrug}.

Hitch
Hitch is offline   Reply With Quote
Old 12-10-2010, 04:23 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by bobcdy View Post
I have an annoying problem with some of my epubs in that a page truncates with many blank lines for no apparent reason.
Could the reason be an extra-long paragraph? In my experience, when a paragraph is very long (more than a couple of screens in my reader with a smallish font) the software just inserts a pagebreak anywhere in the paragraph (presumably where the paragraph becomes too long, and always between words).

Otherwise, everytime I find a large blank space at the bottom of the page it's always been because there is a intentional space or pagebreak, or because the widows/orphans control kicks in, or because there is an image or block afterwards...
Jellby is offline   Reply With Quote
Old 12-10-2010, 04:25 PM   #5
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
Hitch, Jellby. I got the ade template to work as shown by the inserting of 8em at the top of new chapters, but that didn't help the page break problem.

I think the problem is as Jellby suggested - extra long paragraphs. The problem spots that I've noticed are those followed by paragraphs that fill at least three screens of my 7" Sony reader. I don't suppose there's a fix except for splitting these paragraphs, but I think splitting might cause more reading problems than simply leaving them alone.

I'll experiment a bit to see if long paragraph is the cause.
bobcdy is offline   Reply With Quote
Advert
Old 12-11-2010, 10:59 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The only time I've found blank pages is when the last paragraph of the XML file ends at the very bottom of the screen. Then I get the next page as a blank page.

As for page-template.xpgt, get rid of it. You do not need it. Not at all. Nope, no way no how. It's just a nuisance. All I do when I find it is to delete it. You can set the margins in the CSS just as well. In fact easier.
JSWolf is offline   Reply With Quote
Old 12-11-2010, 12:02 PM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
As for page-template.xpgt, get rid of it. You do not need it. Not at all. Nope, no way no how. It's just a nuisance. All I do when I find it is to delete it. You can set the margins in the CSS just as well. In fact easier.
I've used it to work around some bugs in ADE (and the Adobe engine in general). I keep the CSS as it should be and introduce the work-arounds in the xpgt, which is only read by ADE, a sort of conditional CSS.
Jellby is offline   Reply With Quote
Old 12-11-2010, 03:39 PM   #8
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Jellby View Post
I've used it to work around some bugs in ADE (and the Adobe engine in general). I keep the CSS as it should be and introduce the work-arounds in the xpgt, which is only read by ADE, a sort of conditional CSS.
Exactly. It's all well and good to advise people to just "get rid of it," due to excessive dislike of Adobe (and who doesn't?), but a lot of people who aren't "techie" use ADE as their reader, because, as strange as it seems to us, they are freaked out about downloading Lucidor or a new browser like FF with epubreader. And if you don't use an xpgt template, the book looks like crap in ADE, no "margins," etc. I've not found margin settings in "real" css to work for ADE, @JSWolf.

Hitch
Hitch is offline   Reply With Quote
Old 12-15-2010, 12:06 PM   #9
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
I have found that the page breaks at odd places usually occur if the file is too big. Typically my fix is to break the file at a chapter boundary into a separate file. That fixes it.

Dale
DaleDe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page-template ? setzer Calibre 13 07-27-2009 11:23 PM
Please check ebook template AlexBell Workshop 9 07-24-2009 02:12 AM
How can I make a template for the writepad? physics@war iRex 2 06-19-2009 06:46 AM
Kindle DX Template Gideon Calibre 6 06-02-2009 12:52 AM


All times are GMT -4. The time now is 02:57 PM.


MobileRead.com is a privately owned, operated and funded community.