Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2009, 08:33 AM   #1
CheriePie
Connoisseur
CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.
 
CheriePie's Avatar
 
Posts: 84
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: KFHD 8.9, Kindle PW, HTC EvoLTE, (retired: Kindle 2, Fire OG)
Access to intermediate HTML files used in conversion

I apologize if this has been addressed elsewhere. A search didn't turn up an answer and I didn't feel like reading thru all the pages of the sticky FAQ in here again (plus that thread didn't come up in my search anyway).

So how do I get access to the intermediary HTML files that Calibre uses when converting from one format to another?

I've got a few books I'm converting from LIT to MOBI and I'd like to be able to override some of the CSS so that the paragraph styling happens on the actual book content and not all the up-front stuff. A few minor cosmetic changes and such.

Short of installing ABC Lit Converter or something, is there some way I can either have Calibre convert to HTML which I can then edit, or if not, at least leave the HTML files behind so that I can edit them by hand and then do the conversion from those? The 2nd option assuming that calibre can do a conversion from html to mobi/prc.

Thanks.
CheriePie is offline   Reply With Quote
Old 03-06-2009, 09:05 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,010
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I do not know about the mobi format, but the epub format is just a zipped set of HTML files. Renaming an epub file to have a .zip extension allows you open it in standard archivers such as winRAR and WinZip.
itimpi is offline   Reply With Quote
Old 03-06-2009, 10:11 AM   #3
CheriePie
Connoisseur
CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.
 
CheriePie's Avatar
 
Posts: 84
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: KFHD 8.9, Kindle PW, HTC EvoLTE, (retired: Kindle 2, Fire OG)
Quote:
Originally Posted by itimpi View Post
I do not know about the mobi format, but the epub format is just a zipped set of HTML files. Renaming an epub file to have a .zip extension allows you open it in standard archivers such as winRAR and WinZip.
Oh, that's cool to know!

Unfortunately, the files I'm starting off from are LIT, and that little trick, which I tried on them anyway, didn't work. Oh well...
CheriePie is offline   Reply With Quote
Old 03-06-2009, 11:04 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,252
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
lit2oeb filename.lit
kovidgoyal is online now   Reply With Quote
Old 03-06-2009, 11:14 AM   #5
CheriePie
Connoisseur
CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.CheriePie got an A in P-Chem.
 
CheriePie's Avatar
 
Posts: 84
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: KFHD 8.9, Kindle PW, HTC EvoLTE, (retired: Kindle 2, Fire OG)
Quote:
Originally Posted by kovidgoyal View Post
lit2oeb filename.lit
Ah hah! I did go looking for a lit2html or something similarly named. I never heard of oeb so I probably just assumed it was some ebook format I hadn't heard of. Thanks kovid!
CheriePie is offline   Reply With Quote
Reply

Tags
html, html files, mobi, prc, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging multiple HTML files into one HTML file skoobwoman Workshop 44 01-01-2012 01:43 PM
Capture intermediate html from markdown Agama Calibre 3 07-30-2010 11:33 AM
html as an intermediate step zoran Calibre 2 06-08-2010 12:10 PM
A way to execute files without shell access?!? scotsman iRex 8 03-13-2009 07:35 AM
Is there an intermediate html output? Seabound Calibre 2 01-27-2009 01:46 AM


All times are GMT -4. The time now is 12:39 AM.


MobileRead.com is a privately owned, operated and funded community.