06-21-2010, 01:17 PM | #1 |
Connoisseur
Posts: 62
Karma: 654648
Join Date: Jun 2010
Device: Paperwhite, KSO, Nook, iPad
|
HTML to EPUB - Way to Make it Pretty?
I have some HTML books that are completely plain, no formatting.
I can live with them, though they are pretty hard to read since there's no paragraphs indents, etc. Is it possible to do some custom CSS in calibre to clean things up and make them overall more readable? Or some other option? I've considered search and replace for example, to put in some more code, but any ideas would be great. I've been using Calibre for a while, love it, but I'm still organizing my library and just getting into some of the more advanced stuff like conversion. If there's an idiot's guide or anyone has done this before and knows how to set it up, I would appreciate any help at all that you can provide. |
06-21-2010, 07:00 PM | #2 |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
You should probably learn a bit about HTML (and CSS), and take a look at your source files. Prettify them and all your conversions will be better.
cap |
Advert | |
|
06-21-2010, 07:25 PM | #3 | |
Connoisseur
Posts: 62
Karma: 654648
Join Date: Jun 2010
Device: Paperwhite, KSO, Nook, iPad
|
Quote:
|
|
06-21-2010, 07:26 PM | #4 |
Addict
Posts: 319
Karma: 397404
Join Date: Aug 2009
Location: UK
Device: PRS-505,DSlibris,nook Glow & Simple & HD+,Tab S2,Moon+,Kobo Clara
|
I tend to use OpenOffice. Load the html, save as odt, load odt, edit as a normal, non-web, document with all the formatting you could wish. And Calibre is good with odt. Mostly.
|
06-21-2010, 07:47 PM | #5 | |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
Quote:
There are plenty that achieve a remarkable amount. Indenting, drop caps, stylized breaks, first word, first paragraph, lots of other effects. For the best result, you're going to need to hand code. cap ps: or try Sigil, but wait for the 2.3 version this week that will deal with a code-view/book-view syncing bug. |
|
Advert | |
|
06-21-2010, 08:23 PM | #6 |
Reader
Posts: 519
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
Let's hope your HTML does have paragraphs. You could then use some CSS like this:
Code:
p { text-indent: 2em; margin-top: 4px; margin-bottom: 2px; } |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need handholding -- can't make formatting pretty | MeiraV | Calibre | 0 | 06-07-2010 01:29 PM |
HTML Book + non HTML TOC to epub | aarcane | Calibre | 4 | 03-02-2010 02:58 AM |
Make chapters for a document/HTML | iodine9176 | ePub | 12 | 02-23-2010 02:24 PM |
Getting a Pretty Epub for PRS-700/505 | Andybaby | ePub | 1 | 03-29-2009 04:48 AM |
Make Ebooks Pretty with GutenMark | Timoleon | Workshop | 4 | 03-09-2009 06:22 PM |