Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2014, 02:07 PM   #1
babadockia
Zealot
babadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshes
 
Posts: 112
Karma: 14166
Join Date: Jun 2013
Location: Stockholm, Sweden
Device: kobo aura hd, trekstor pyrus maxi with texet 138 firmware
chapter in the middle

Hello everybody!
I have a question to all the epub wizards here:
I have a doc, or a docx file, calibre and sigil and what I would like to do is to place the chapter in the middle of the page, you know, like on printed books.
Maybe this question have been asked before, but couldn't find the answer.
I attached two pictures for example
Attached Thumbnails
Click image for larger version

Name:	2012-09-02 22.04.39.jpg
Views:	271
Size:	333.5 KB
ID:	126915   Click image for larger version

Name:	KerKing164.gif
Views:	268
Size:	22.3 KB
ID:	126916  
babadockia is offline   Reply With Quote
Old 08-16-2014, 03:16 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You magic word of the day is margin. You can try it in Word and if you use styles correctly and my add-in, it might work. I am not sure, because it depends on the source of course. At least the add-in will produce a clean ePUB for you.

If it doesn't work directly, open the ePUB in the Sigil or the Calibre editor (not the Calibre conversion!). There use margins-top and margin-bottom for the specific elements to create empty space. Be careful though, as resizing of fonts might greatly disrupt this.
Toxaris is offline   Reply With Quote
Advert
Old 08-16-2014, 03:56 PM   #3
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,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
If this is an eBook to be sold, please don't waste that much screen space. It just looks awful (IMHO).
JSWolf is offline   Reply With Quote
Old 08-16-2014, 06:04 PM   #4
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
If you keep the blank space at the top (margin-top) modest there will be little issue with user changes in the font size.

I commonly do this for each chapter using the following CSS:

Code:
h2 {
  text-align: center;
  margin-top: 4em;
  margin-bottom: 0em;	
  }
where the chapter title is set as an H2 heading and often followed by a thin ornament:

Code:
<h2 id="heading_id_2">CHAPTER I</h2>
  <p class="center">
     <img alt="" height="34" src="../Images/Ornament19-211x34.gif" width="211" />
  </p>
link to complete ebook: http://happythursday.com/Lakemere/20...rlderrbiggers/
Attached Thumbnails
Click image for larger version

Name:	Agony-Column-Chapter-1.jpg
Views:	186
Size:	109.2 KB
ID:	126926  
dwig is offline   Reply With Quote
Old 08-16-2014, 07:20 PM   #5
babadockia
Zealot
babadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshes
 
Posts: 112
Karma: 14166
Join Date: Jun 2013
Location: Stockholm, Sweden
Device: kobo aura hd, trekstor pyrus maxi with texet 138 firmware
Thank you everybody for the quick replies, I will try when I'll get in front of my computer.
My chapter are set as h1. But I will see. Thanks again
babadockia is offline   Reply With Quote
Advert
Old 08-17-2014, 02:37 AM   #6
babadockia
Zealot
babadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshes
 
Posts: 112
Karma: 14166
Join Date: Jun 2013
Location: Stockholm, Sweden
Device: kobo aura hd, trekstor pyrus maxi with texet 138 firmware
well, nothing much happened. maybe i am too stupid for this kind of craft
babadockia is offline   Reply With Quote
Old 08-17-2014, 03:03 AM   #7
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You did link the stylesheet to the actual (X)HTML?
Toxaris is offline   Reply With Quote
Old 08-17-2014, 07:58 AM   #8
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Also if you mistype, it won't work either. Browsers are very tolerant of errors, e-readers, not at all. Not a reflection on you, we have all spent too much darn time wondering what was happening when a semicolon was missing or a bracket.
mrmikel is offline   Reply With Quote
Old 08-17-2014, 08:33 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
A keyword: Center (EPUB 2 does not support a vertical centering. I am with the Wolfman on no GIANT whitespace. Some Decorations in moderation

Code:
margin: 2em 0 ; /* shorthand for top and bottom 2em sides 0 */
text-align: center;
text-indent: 0;
BTW with Sigil if you use h3 (or any h#) for chapter heads, the TOC generator will pick up those magically
theducks is offline   Reply With Quote
Old 08-17-2014, 09:25 AM   #10
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,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
One of the things I change in a publisher ePub is large wasted space in chapter headers. Why do it?
JSWolf is offline   Reply With Quote
Old 08-17-2014, 10:30 AM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by JSWolf View Post
One of the things I change in a publisher ePub is large wasted space in chapter headers. Why do it?
It is wrong to remove them.

eschwartz is offline   Reply With Quote
Old 08-17-2014, 11:29 AM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
It is wrong to treat an e-reader as a full size sheet of book page.

Balance is a word the publishers seem to have forgotten.
'Our way or else'

No covers, or plain 'generic' ones.
Huge whitespace. Fixed dimensions (eg indent: .25in ) used
Quality check (mostly on backlist titles) missing
Overuse of High density decorations or total removal

And while it is not 100% a publishers fault:
Lack of embedded (subsetted) display fonts.
theducks is offline   Reply With Quote
Old 08-17-2014, 11:44 AM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, these examples and suggestions (and reference to ASOIAF which does it quite well) look fairly reasonable and balanced. And Jon isn't distinguishing.

So I figured, since he is so fond of explaining to people why things are "wrong", I'd contribute a similar line of thought.


Last edited by eschwartz; 08-17-2014 at 11:46 AM.
eschwartz is offline   Reply With Quote
Old 08-17-2014, 01:10 PM   #14
babadockia
Zealot
babadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshesbabadockia can read faster than his screen refreshes
 
Posts: 112
Karma: 14166
Join Date: Jun 2013
Location: Stockholm, Sweden
Device: kobo aura hd, trekstor pyrus maxi with texet 138 firmware
thank you all for your replies and suggestions. I have tried but all I did was to center it. I am too dumb for all this.
why would I want it? because I like it, and, if possible, I would like my e-books to look as close possible to the print ones. I even go in bookstores and check for the typefaces used to print, and then I try them in my books. I know, you will all say that an e-book is not hard copy, but still...
I am reading on a T68 with cool reader or alreader.

Last edited by babadockia; 08-17-2014 at 01:17 PM.
babadockia is offline   Reply With Quote
Old 08-17-2014, 01:20 PM   #15
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Can you show us some code from the HTML and from the stylesheet?
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xpath to insert chapter breaks - but chapter name cut off ? Rob557 Conversion 2 03-06-2014 06:59 AM
PRS-505 In middle of screen is a triangle with ! in middle toad1960 Sony Reader 0 12-30-2011 01:30 PM
Ebook chapter titles: with or without chapter number? amoroso Writers' Corner 16 06-14-2011 06:35 AM
What are SGF Chapter Marker and Chapter Break? webphone Sigil 1 05-25-2011 02:43 PM
K2 v K1: Chapter-to-chapter missing from some books? Starhawk Amazon Kindle 4 03-10-2009 06:27 PM


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


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