![]() |
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? |
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. |
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? :p 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? |
Headings (the H# tags) have different default styles. Here is a good simple explanation:
http://www.mediacollege.com/internet/html/heading.html |
Quote:
So if i want to change them, I can set the H1 H2 values in the styles section to override those defaults? Awesome. |
| All times are GMT -4. The time now is 06:30 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.