04-19-2011, 01:11 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
ade extra stylesheets & page layouts
i recently liberated a couple of free-to-buy books ( in order to tweak) that contained "professional" styling courtesy of Adobe.
easily recognised as they have 2 stylesheet links per page with lots of what seems to be boiler plate styles for everything possible on the extra stylesheet. now to my eyes the extra styling just looks bad on an e-reader device. the body text is surrounded by big margins on all sides and in at least one case it is also aligned left, not justified. thus lots of wasted white space on the reader screen. Chapter title styling is of baroque complexity is there a case FOR styling like this & I'm just not used to it, or is it really intended only for printed editions & left in due to publisher laziness ? PS the extra stylesheet is called called page-template.xpgt. do all ADE books contain this & is it the same in every book ? (I zap the extra stylesheet link with find/replace - it only seems to control page borders, then re-run through calibre to add sensible @page defaults everywhere ) Last edited by cybmole; 04-19-2011 at 01:38 AM. |
04-19-2011, 07:49 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Not all ADE books contain this stylesheet. It is used to override certain styles to make it compensate some quirks of the ADE engine. However, I usually remove the page-template.xpgt. I absolutly don't like it and therefore will not use it.
|
Advert | |
|
04-19-2011, 07:53 AM | #3 |
Well trained by Cats
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
06-26-2012, 03:32 AM | #4 | |
Member
Posts: 10
Karma: 10
Join Date: Jun 2012
Device: Kobo Touch
|
Quote:
Justified text is really only necessary for multi-column pages where the right margin of the first column looks better if it is lined up vertical against the left margin of the second column. Other than that, justification is a joke. |
|
06-26-2012, 04:33 AM | #5 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
anyway it is easy to change the stylesheet to suit your tastes. and current versions of calibre can remove all the extra css crap via an epub to epub conversion |
|
Advert | |
|
06-26-2012, 10:07 AM | #6 |
Well trained by Cats
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
This ducks tired eyes prefers
text-align: justified: ;margin-top: .5em ; text-indent: 1.5 to 2 em; for basic paragraphs. All else is open to whim (and I do vary it widely) |
06-26-2012, 10:37 AM | #7 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
I tried 0.5 em para spacing, then switched first to 0.3 & then to 0.1, with 1em indents. I guess I don't much care for white space :-)
|
06-27-2012, 06:22 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
We use the xpgt in some books, depending upon what is required. The only "absolute" in ebook-making should be that there should be no absolutes. FWIW. Hitch |
|
06-27-2012, 08:07 AM | #9 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
06-27-2012, 12:49 PM | #10 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
If my Sony can, then it's news to me ! |
|
06-27-2012, 02:11 PM | #11 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
06-27-2012, 06:43 PM | #12 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Yabbut, if you don't set it to left, various readers (and, no, I don't remember the whole list off the top of my head) will default to full, and I have some vague recollection (ah, senility) that this caused a problem somewhere... Can't remember where, though. Probably bloody Apple, by default. It's the usual suspect. Hitch |
|
06-27-2012, 07:04 PM | #13 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
observation about ADE page numbers | Abecedary | ePub | 61 | 02-08-2012 12:37 PM |
Extra Page Breaks | profert | Conversion | 2 | 04-02-2011 04:31 AM |
XSL, ADE & Readers | brewt | ePub | 4 | 02-09-2011 11:22 PM |
Epub Revision - page-level layouts | Nate the great | ePub | 15 | 04-13-2010 02:59 AM |
Sony Reader Valentines Special ... with a little something extra? (and is D&B back?) | NatCh | Sony Reader | 32 | 01-26-2008 01:19 PM |