![]() |
#1 |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
ePub Chapters vs. Stanza Chapters
Hi,
I used your handy "insert chapter" tool on a book that Stanza loaded in as one chunk of text...I added about 20 chapters total. But Stanza does not seem to recognize these chapter breaks-still loads the book as one huge chunk. What does constitute a "chapter" in ePub format? Is this just a case of Stanza not recognizing it? |
![]() |
![]() |
![]() |
#2 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
If you want to have some sort of text saying "Chapter #", then just add a heading with that text after such a chapter break. There is no built-in semantic concept of a chapter in the EPUB specification (and there doesn't need to be one). I suggest you read up on the EPUB format if you want to know the details (perhaps in the EPUB subforum on this site). I also suggest analysing how other EPUB books are made. There are many right here on MobileRead. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Ok, I think I understand...a bit.
What I decided to do was to use H2 tags to separate my chapters, because I believe(?) Calibre correctly converts these to chapters. So, I set my Chapter numbers/titles to H2, and that seems to work great-the iPhone sees these as chapters correctly. So, my next question is...in Sigil I can assign Heading 1, Heading 2, Heading 3, quite easily using the Style dropdown menu. These correspond to H1, H2, H3 tags, right? When I use H2 for my chapters, I get a BOLD, larger typeface than the rest of the document for the Chapter number/title that is within the H2/H2 tag Where in the styles section of the document (the CSS) are H1, H2, H3 called out? I don't see H2 in the CSS portion of the code, calling out text decoration: bold or anything. What am I missing? ![]() Here is the CSS: Quote:
The chapters are tagged as: <h2>Chapter 2: The Wolf and the Lamb<br /></h2> And show up as larger typefaces, in BOLD. But I don't see h2 in the CSS? And i don't see any font style: bold setting? |
|
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 493394
Join Date: Jun 2008
Location: Seattle, WA
Device: iRex iLiad, Onyx Boox 60
|
Headings (the H# tags) have different default styles. Here is a good simple explanation:
http://www.mediacollege.com/internet/html/heading.html |
![]() |
![]() |
![]() |
#5 | |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Quote:
So if i want to change them, I can set the H1 H2 values in the styles section to override those defaults? Awesome. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Order of Chapters in HTML->ePub | alias_neo | Calibre | 9 | 05-16-2011 12:55 PM |
how to add linkable chapters and notes for epub | Sylver | Calibre | 20 | 08-10-2010 03:39 PM |
Detecting Chapters in PDF -> ePub conversion | jUgGsY | Calibre | 2 | 07-15-2010 05:53 AM |
RTF to ePub, Chapters | Daddy Warpig | Calibre | 6 | 05-12-2010 12:06 AM |
Total Novice Seeks Help w/ Adding Chapters to Manybooks.net ePub Files | KingSausage | Calibre | 1 | 01-01-2010 06:12 PM |