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 09-16-2011, 04:35 PM   #1
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,130
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
adding a CSS to a file

I'm very new at using Calibre. If I have an html file that I want to convert to epub or mobi, and have a CSS file, how can I use Calibre to attach that CSS to my text file? Or do I need to use something like Sigil to do the attachment, and then use Calibre to convert my file to mobi? I'm trying to make files that can be read on either Kindle or epub readers, on anything from a smartphone to an iPad, so formatting has to be kept simple and to a minimum.
BeccaPrice is offline   Reply With Quote
Old 09-16-2011, 06:30 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,432
Karma: 5560777
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by BeccaPrice View Post
I'm very new at using Calibre. If I have an html file that I want to convert to epub or mobi, and have a CSS file, how can I use Calibre to attach that CSS to my text file? Or do I need to use something like Sigil to do the attachment, and then use Calibre to convert my file to mobi? I'm trying to make files that can be read on either Kindle or epub readers, on anything from a smartphone to an iPad, so formatting has to be kept simple and to a minimum.
ducks.css is now in the Manifest
OK
How does your HTML know how to use my selectors?

If the CSS was designed as part of the HTML and includes the appropriate Link entries.
You should zip all the Pieces (HTML files, Images,CSS) into a ZIP file before importing into Calibre.
The key is the HTML-CSS work together before you added to Calibre.

If you CSS only applies to standard HTML tags, you can insert the contents into Extra CSS in the Look and feel section of the Conversion Screen.
theducks is offline   Reply With Quote
 
Enthusiast
Old 09-17-2011, 10:55 AM   #3
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,130
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
I can unzip with Windows 7, but I haven't figured out how to zip yet.
BeccaPrice is offline   Reply With Quote
Old 09-17-2011, 01:49 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,432
Karma: 5560777
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by BeccaPrice View Post
I can unzip with Windows 7, but I haven't figured out how to zip yet.
Tweak EPUB (T on the Calibre selected title keyboard)
Takes care of Pack and Unpack. Edit away then repack
theducks is offline   Reply With Quote
Old 09-17-2011, 10:36 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,800
Karma: 12528001
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by theducks View Post
Tweak EPUB (T on the Calibre selected title keyboard)
Takes care of Pack and Unpack. Edit away then repack
That's putting the cart before the horse. She is trying to pack html, css files into a zip file to add to calibre so maybe it can be converted to an ePub.

Then again, your earlier post shows that you knew this yesterday.
DoctorOhh is offline   Reply With Quote
Old 09-17-2011, 10:58 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,432
Karma: 5560777
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwanthny View Post
That's putting the cart before the horse. She is trying to pack html, css files into a zip file to add to calibre so maybe it can be converted to an ePub.

Then again, your earlier post shows that you knew this yesterday.
She's tossing curves
said Unzip, Then did not know how to put (back) together.
theducks is offline   Reply With Quote
Old 09-18-2011, 12:57 PM   #7
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,130
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
I think I was just unclear.

I've got a txt file I want to convert. I'd like to add a CSS to it, but I don't know how. theducks told me to add it to a zip file - do i need special software, like WinZip, to zip files or is there a Windows 7 function that will do that?
BeccaPrice is offline   Reply With Quote
Old 09-18-2011, 01:40 PM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,432
Karma: 5560777
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by BeccaPrice View Post
I think I was just unclear.

I've got a txt file I want to convert. I'd like to add a CSS to it, but I don't know how. theducks told me to add it to a zip file - do i need special software, like WinZip, to zip files or is there a Windows 7 function that will do that?
A windows compressed folder is a really Zip file. After adding, you might have to add the extension.
Me: I am a WinRar fan
theducks is offline   Reply With Quote
Old 09-18-2011, 03:52 PM   #9
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,618
Karma: 43654592
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Would it maybe be simpler for BeccaPrice to just ADD the CSS to the start of the text file?
PeterT is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new chapter, what about CSS link? spaze Sigil 3 02-24-2011 05:35 AM
External CSS file questions michaelbr Sigil 10 01-27-2011 08:08 AM
Wrong property in the css file Bertrand Writer2ePub 1 12-21-2010 05:05 AM
epub.css file in OpenInkpot cloggy OpenInkpot 1 11-09-2010 07:28 PM
EPUBReader doesn't find the CSS file? paulpeer EPUBReader 8 03-23-2010 02:45 PM


All times are GMT -4. The time now is 06:25 AM.


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