07-21-2012, 05:55 AM | #16 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
@mmat1 Jellby
Thanks for the lesson. I take good note of it. |
07-21-2012, 06:01 AM | #17 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
but at some point it surely becomes simpler to have 2 styles e.g.
1. class="para1" - for 1st paragraphs, styled to have zero indent, set margins to taste ( also useful after a scene break) 2. class = "para" for all other paragraphs, set indent & margins to taste rather than a complicated h3+p... expression that will need editing whenever you come up with a new way of starting a chapter ? so your book now has 1 x body 1 x header , 2 x paragraph styles. add extra styles e.g. for italics, if needed, or to have different indents and/or text sizes for such narrative things as diary entries, book extracts, signage, notes slipped under doors.... ...but don't go overboard on that stuff, big chunks of bold or italicised text may look ok on the printed page but can look awful on an e-reader |
Advert | |
|
07-21-2012, 09:03 AM | #18 | |
Well trained by Cats
Posts: 29,786
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Using Jellby's example: Notice that there are No class= statements. You are styling standard tags. Consider the: h3 + p {font-face: italic } could be used to modify the style of the first paragraph after the h3 to be just a italic variation on the standard P tag used in the book. All any section (file) needs is the <link to the stylesheet > Nothing else. Can't get much simpler. |
|
07-21-2012, 09:45 AM | #19 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
how would you do scene breaks, with your scheme ? |
|
07-21-2012, 09:35 PM | #20 | |
Well trained by Cats
Posts: 29,786
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
So you could either do a scene break using: some unused header tag <h4> Using a line break <br /> in the last paragraph Use a paragraph with only a Or wrap each Scene in a <div> and set a margin on the div's Code:
<div> <p> all the 1st scene para </div> <div> <p> Scene 2 para </div> IMHO if you need that control, start using classes and drop out of simple mode |
|
Advert | |
|
07-22-2012, 03:43 AM | #21 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
For the scene-break, I'd go for the
Code:
<p> </p> Code:
<p class="scenebreak"> </p> Code:
p.scenebreak {margin-bottom:1em;} |
07-24-2012, 09:47 PM | #22 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
As far as scenebreaks and vertical whitespace, I have to admit that though I still occasionally shortcut that way (add an extra empty paragraph, bad Hitch) and have done so in the past (ditto), I am not a fan thereof, as it is routinely and thoroughly ignored. I personally feel that it's better to simply create a nice, cleanly-named class, e.g., "scenebreak" or "CH-first-para" for whitespace, using a simple margin-top setting (which, remember, means that it can be changed across the board, instead of schlepping around adding "returns" and then going into CV to add nbsp's, than using the "return" method). When you're stuck with the output, using the 'return' method, then you have to go in and manually screw with it if you don't like how it looks on (insert reader type here). Also: Ducky, although you know I love you dearly, I'd also point out, for the OP, that there isn't actually anything wrong with learning styling by using Word to do some of the lifting for you when you're starting out, or, as he is, DIY'ing. Does Word output an HTML that's messy? Yes, but if someone uses nice clean Word styles throughout, not ad hoc styles, you can actually end up with not-bad HTML base from which to work. When I first started out, I mean, making ePUBs, after I learned how to make MOBI's, back in the MBPCreator days, I used to use Word and and BookCreator, to go through and come up with a relatively clean Word file that I could export to HTML. Now, it's faster for me to regex, but it wasn't then. If you use Styles that you create (Normal, First-Para, Scenebreak, etc.), you can export those quite simply to HTML and there isn't anything wrong with it. There is, practicably speaking, no real difference between the CSS that Word outputs and the CSS you might create by hand. Of course, you have to clean up TONS of bollixed up garbage that you would NOT have used--and heavens knows, about 1800 lines of font-styling, every time, but a paragraph styled in Word and exported to HTML doesn't bear the mark of Cain on it, after all. ;-) Sure, that's not how I do things NOW, but at the end of the day, for those folks who still work with Word files by and large, whether you export to HTML forthwith and work in that, or use something like BookCreator or some other interim step/macro, a CSS style is a CSS style is a CSS style, no matter how it got in the style sheet. I thought the OP and perhaps others coming along might find knowing that useful. I agree, Ducks, that learning HTML and CSS is excellent; but I used many exported-from-Word CSS styles to learn how to manipulate styles, back when Brontosaurs walked the earth, and I don't think that the OP will hurt himself too badly if he does the same (using ACTUAL Styles, not ad hoc styles, remember). Hitch |
|
07-24-2012, 10:16 PM | #23 |
Well trained by Cats
Posts: 29,786
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Ducks tried to get Wordperfect to create a simple web page back when they were prototyping dirt .
Ducks hated what came out and learned to hack away. (I can send you a Link, those pages are up on the Internet wayback machine by PM) |
07-24-2012, 10:21 PM | #24 |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Ducky:
I believe you. But that was a loooooooooooooooooooong time ago. What WordPerfect, OO, Word, Atlantis, etc., put out today is a lot better, and, this OP was specifically discussing Word, which, when cleaned, really is perfectly passable. Please note: "when cleaned," because 'tis true, a lot of extraneous garbage does get planted in there. And, I concur that folks who want to do this all the time should clearly learn the skillset--but this guy doesn't want to come to work for me, he wants to publish his own books. It's not the same thing, and I don't think that we should act like it is. I mean, after all---we help people here who use Calibre to make ePUBs, and then ask us how to clean up the CSS in that, who have FAR less understanding of what happened than did this guy. Righty-o? Hitch |
07-27-2012, 01:25 PM | #25 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Jun 2011
Device: none
|
It should go without saying that the OP (me) is fascinated by the discussion among the experts that his question started. I hope that no one reading this will consider my comments blasphemy, but I'd like to second Hitch's description of my objective, and that it has been so from the very beginning of my sojourn into indie publishing.
There is no question that a writer's best use of time is to write. And if I were a successful writer with sufficient income from that activity to pay others for all the steps required to put a nice-looking eBook and POD paperback on the market, I'd jump on that option in a heartbeat. Back to reality, I'll probably never see more than the average indie author in terms of sales, and that puts me in the mode of trying to write the best books I can and break even as my first two objectives. It simply makes more sense for me to find the time to invest, particularly since once I've done that, I don't have to invest the same amount of effort learning new skills with every book I publish. To rely on others is to repeat the initial monetary investment each and every time. I have no love for Word, but I've learned to maneuver around its limitations and build a template with all the styles I need to format the books exactly the way I want them, including a set of scrubbing actions to remove the most common troublemakers when converting to eBook and POD formats. I fully appreciate the fact that Word's save-as-html function creates a result that experts on this forum consider to be "messy," and that's probably a mild descriptor in relation to what you really think of it. But when I can open that file in Sigil, insert the chapter breaks, generate the TOC and save as an epub that converts to a mobi with Calibre, the messiness behind the scenes is immaterial when both formats appear flawlessly with ADE and Kindle for Mac and on a Kindle, Nook, iPad, etc. For now, the quality of the end product has to be my prime objective, regardless of the means used to get there. Maybe someday I'll be able to get a job with Hitch, but until then, I have a process that produces eBooks and POD paperbacks with InDesign that won't win awards, but neither do they repel readers with anything that screams amateur. That said, I don't for a moment think that any expert on this forum couldn't look at one of my books and show me how to improve it. Maybe someday I'll discover exactly how. Tango Mike |
07-27-2012, 03:07 PM | #26 | |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
If a book looks OK, but does not react to my reader's settings of margin, font, etc., I don't call it flawless. And automatically-converted books have a tendency to behave like this, I'm afraid. |
|
07-27-2012, 03:37 PM | #27 |
Resident Curmudgeon
Posts: 73,903
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The first thing to do is run Sigil without any ePub loaded. Turn off Tidy and close Sigil. Then load Sigil with your ePub. Those SGC styles are a pain in the ass and should not exist. Turning off Tidy will stop Sigil from generating them.
|
07-27-2012, 03:45 PM | #28 |
Resident Curmudgeon
Posts: 73,903
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Code:
body { widows: 0; orphans: 0; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: justify } p { margin-top: 0; margin-bottom: 0 text-indent: 1.2em } .noindent { text-indent: 0 } .spacebreak { margin-top: 2em } .center { margin-top: .5em; margin-bottom: .5em; text-align: center } h2 { margin-top: 1em; margin-bottom: 1em; text-align: center; font-weight: bold } Code:
<h2>Chapter Header with space above and below at a good size</h2> <p class="noindent">Paragraph with no indent</p> <p>Paragraph with no indent</p> <p class="spacebreak">Paragraph with space in front for a scenebreak</p> <p class="center">A centered paragraph with space above and below the centered paragraph</p> Last edited by JSWolf; 07-27-2012 at 03:48 PM. |
07-27-2012, 03:48 PM | #29 |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Tango Mike:
My sole caveat on this is that it is currently true that Amazon is routinely rejecting books (mobis) made with Calibre--if your book makes it through uptake, you should be okay, but be aware. I have a lot of writer clients, obviously, and I agree with you--a writer's time is best served writing. Many of us here are grouchy and crabby and some are inflexible--but I'm pretty sure if you run into a jam, we'll be happy to lend you an assist if we can. ;-) Hitch |
07-27-2012, 03:49 PM | #30 | |
Resident Curmudgeon
Posts: 73,903
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to insert break-line | schuster | Recipes | 1 | 05-24-2011 03:19 PM |
Yet another PDF line break question | heddhunter | Calibre | 7 | 01-18-2011 02:41 PM |
Advice on PRS-505 purchase with missing vertical line on screen | GSteer | Sony Reader | 9 | 04-03-2010 12:42 AM |
PDF 2 LRF, line break issue | ^_Pepe_^ | Calibre | 1 | 12-03-2009 06:43 AM |
Book Designer - Page Break Line is not showing? | pitolee | Sony Reader | 6 | 04-19-2007 09:26 PM |