Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2012, 09:25 AM   #1
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Search & Replace CSS file

Search and Replace seems to work only on HTML files. Can it be made to work on the CSS file? eg stylesheet.css
Many thanks
Michael
mapline is offline   Reply With Quote
Old 08-06-2012, 09:56 AM   #2
theducks
Well trained by Cats
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: 29,790
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:
Originally Posted by mapline View Post
Search and Replace seems to work only on HTML files. Can it be made to work on the CSS file? eg stylesheet.css
Many thanks
Michael
You want Sigil (a book EDITOR).
Calibre is a library manager and conversion tool
theducks is online now   Reply With Quote
Advert
Old 08-06-2012, 11:00 AM   #3
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Hi theducks
Thanks for thought will have a look at Sigil.
Pity as with calibre on convert it will > unpack > do search and replace on all the HTML files > then repack.
Don't know if Sigil can do the same on the CSS files?
Thanks
Michael
mapline is offline   Reply With Quote
Old 08-06-2012, 09:09 PM   #4
theducks
Well trained by Cats
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: 29,790
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:
Originally Posted by mapline View Post
Hi theducks
Thanks for thought will have a look at Sigil.
Pity as with calibre on convert it will > unpack > do search and replace on all the HTML files > then repack.
Don't know if Sigil can do the same on the CSS files?
Thanks
Michael
Sigil works on, and leaves it as a Valid EPUB (unless you mess it up )
Tweway EPUB (the T key) will un pack and repack. You use your favorite tools to edit, the press the rebuild button... dONE
theducks is online now   Reply With Quote
Old 08-07-2012, 04:09 AM   #5
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Hi theducks
Thanks for further comments that Sigil can do it.
I use W7 and could not find any reference to Tweway. Could you please expand the instructions?
Thanks Michael
mapline is offline   Reply With Quote
Advert
Old 08-07-2012, 04:32 AM   #6
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: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by mapline View Post
Thanks for further comments that Sigil can do it.
I use W7 and could not find any reference to Tweway. Could you please expand the instructions?
theducks was referring to the Tweak epub feature which is now called the tweak books feature. If you right click on a book in calibre you will see the Tweak book option. Personally I use the "Open with" plugin to right click on a book and open the epub directly in Sigil for editing.
DoctorOhh is offline   Reply With Quote
Old 08-07-2012, 10:01 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Also keep in mind that you may be able to accomplish what you want with the "Extra CSS" and the "Filter CSS" tabs found in the "Look and Feel" section of the Convert dialog. Maybe not quite as straight-forward as S&R, but certainly possible for fairly simple changes.
DiapDealer is offline   Reply With Quote
Old 08-09-2012, 09:36 AM   #8
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Hi DiapDealer
Thanks for the tip to use Look & Feel. However I can't get it to work! Can you tell me what I am doing wrong please?
Wish to change "font-size: 1em;" to "font-size: 1.1em;" in stylesheet.css.
Open up convert epub to epub in calibre > Look & Feel > tried in "Filter style information"
Tried ticking remove font-size: 1em; and put in extra CSS font-size: 1.1em; remains unchanged
Tried ticking remove fonts only but font-size: 1em; remains unchanged.
Tried putting font-size: 1em; in "other CSS properties and in remains as is.
Can you show me what I am doing wrong?
Thanks
Michael
mapline is offline   Reply With Quote
Old 08-10-2012, 05:20 PM   #9
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Bump
Hi Anyone
Thanks for the tip to use Look & Feel. However I can't get it to work! Can anyone tell me what I am doing wrong please?
Wish to change "font-size: 1em;" to "font-size: 1.1em;" in stylesheet.css.
Open up convert epub to epub in calibre > Look & Feel > tried in "Filter style information"
Tried ticking remove font-size: 1em; and put in extra CSS font-size: 1.1em; remains unchanged
Tried ticking remove fonts only but font-size: 1em; remains unchanged.
Tried putting font-size: 1em; in "other CSS properties and in remains as is.
Can anyone show me what I am doing wrong?
Thanks
Michael
mapline is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and Replace in CSS Files afakler Calibre 0 03-10-2012 04:46 AM
Help with a search & replace mmholt Library Management 11 10-21-2011 06:49 PM
Search & Replace :help: krussell Calibre 3 08-02-2011 04:45 PM
Search & Replace Pat Nickholds Sigil 2 10-21-2010 11:18 PM
Search & replace TEXT ToeRag Calibre 3 04-10-2010 01:44 PM


All times are GMT -4. The time now is 07:27 PM.


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