05-21-2012, 01:35 AM | #16 | |
Enthusiast
Posts: 27
Karma: 497132
Join Date: May 2012
Device: Various
|
Quote:
When you say 'separate XML file- I'm making an HTML file.. will that do, or is there a reason for xml? (and yeesh... that'll be a pain.. my chapters are kinda shortish, and thus, there's a lot of em. Checking.... 65. Yeesh.) |
|
05-21-2012, 04:07 AM | #17 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
ePUB must be XHTML, not HTML. It is almost the same, but has some differences.
|
05-21-2012, 08:43 AM | #18 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
When working with a single short story that lacks any chapter divisions you can encounter a situation where having both normal scene breaks (blank line only) and major scene breaks (blank line with ornament) is desirable. When I encounter these I prefer to avoid the asterisks even though there is reasonable "history" of these being used in print books for centuries. I prefer to use a small graphic ornament instead. Even so, these ornamented breaks should be the less common of the two. |
|
05-21-2012, 09:37 AM | #19 | |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-21-2012, 01:15 PM | #20 | |
Grand Sorcerer
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
|
Quote:
Dale |
|
05-21-2012, 01:18 PM | #21 | |
Grand Sorcerer
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
|
Quote:
Dale |
|
05-21-2012, 02:30 PM | #22 |
Enthusiast
Posts: 27
Karma: 497132
Join Date: May 2012
Device: Various
|
well, in the novel I'm currently converting, I didn't make use of ornaments for section breaks- only a few extra blank lines. My 2nd and 3rd novels use ornaments for section breaks though... in PNG format. (Hmm... does html support png? I wonder why I picked it.. transparency? Not that it needed it...)
and... "ePUB must be XHTML"? Not to sound snotty, but why? MY early html tests have converted fairly well for that I've thrown at it so far. (using calibre) |
05-21-2012, 04:33 PM | #23 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
HTML has worked because you are feeding it into calibre which then creates a standards compliant XHTML. Its the final ePub that must be XHTML, not the source file you feed a conversion program. |
|
05-21-2012, 04:51 PM | #24 |
Enthusiast
Posts: 27
Karma: 497132
Join Date: May 2012
Device: Various
|
Ah, I suspected calibre was kind of covering my butt here. I've been putting off getting into calibre for a loooong time, but it's not so threatening overall. Can't wait to offer something better than the auto-converts that get done at smashwords, et al.
|
05-22-2012, 08:28 AM | #25 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Please refrain from using Calibre to create ePUB. It is a very good Library program but is not very good in ePUB conversion. It generates a lot of (redundant) code and sometimes breaks fine code creating unexpected results.
It would be better to create your own ePUB from the source documents or with a tool like Sigil. Sigil will also convert your HTML to XHTML. |
05-23-2012, 12:30 AM | #26 | |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-23-2012, 02:12 AM | #27 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Correct, but most people don't do that or do not know how. If you already have HTML, it is fine to use Sigil as it imports HTML without a hitch.
|
05-25-2012, 12:43 AM | #28 |
Enthusiast
Posts: 27
Karma: 497132
Join Date: May 2012
Device: Various
|
well, so far, so good. It's a lot messier to work with than it seems it should be, but my TOC's coming along, my page breaks work like I want, etc, etc... Right now it's mostly just cleaning clutter. I test the results with a variety of readers, some physical devices (including the first run of kindle, heheh) and some software based. So far, I seem to be on the right track.. I'd have my first book done long ago, if I had more time.... (2 kids, one jsut turned 1 year old, the other is about to turn 5)
|
05-25-2012, 05:56 PM | #29 |
Enthusiast
Posts: 27
Karma: 497132
Join Date: May 2012
Device: Various
|
Grr... working on this is slow, thanks to the afore mentioned kids... the last test had header text acting as pagebreaks... right now, my chapters are set up like:
page break graphic ornament a couple blank lines chapter title as a <h1>. As a result, I go the the page with just the graphic, and an otherwise blank page- turn the page, and get the title, and the text.... WOULD there be a problem if I went: chapter title as <h1> then the graphic? If I don't have a specified pagebreak, will it mess up on some readers? Heck, I don't think it'll be happy on every reader.. I have no hope of THAT, but... |
05-25-2012, 10:34 PM | #30 |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The way to do it so it works best is to have a separate XML for each chapter. Then you can forget about page breaks.
graphic ornament a couple blank lines chapter title as a <h1>. That would work except for one thing... the blank lines. You style for the line putting in the graphic ornament would add a bottom margin and then you have your chapter title. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 12:43 AM |
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting | markpearl | Conversion | 34 | 09-21-2011 02:42 PM |
WTB: Ability to change indent without ticking 'remove spaces between lines' | gweminence | Calibre | 9 | 08-27-2011 09:05 AM |
Paragraph indent-size should not applied to centered paragraphs? | ShellShock | Calibre | 3 | 01-16-2010 11:54 AM |
Paragraph indendation or spaces? | enarchay | Sony Reader | 0 | 05-28-2009 05:18 AM |