Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2019, 07:02 AM   #1
blackrock36
Member
blackrock36 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2019
Device: None
Windowtext error in Calibre (resubmitted)

All,
After some discussion on an html file and epub comparability in this forum (thanks for the input to date), I switched back to Calibre as recommended and am working on the html code in that software on my book's html code. One issue that Calibre/EditBook/Check Book is the term 'windowtext' label used by Word. The general error message is 'CSS: Property: Invalid value for "CSS Level 2.1" property: windowtext [82.5 colour] [stylesheet.css]' dependig on the line and column location. I would like the font in the entire text in the book to be automatic as defined in the original Word document and not a specific colour.

My question is what can I do about this error or can I safely leave it? Any help much appreciated.

Code:
.calibre6 {
    font-weight: bold
    }
.calibre7 {
    color: windowtext
    }
.calibre8 {
    font-size: 0.83333em;
    line-height: 1.2;
    vertical-align: super
    }
.calibre9 {
    display: block
blackrock36 is offline   Reply With Quote
Old 02-27-2019, 09:38 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: 30,933
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I delete the line.
That is EPUB3 code, which is why it squawks when using 2.1 rules.

Devices are SUPPOSED to ignore code they don't understand. In reality , don't give them a chance to prove they don't follow the rules
theducks is offline   Reply With Quote
Advert
Old 02-27-2019, 10:20 AM   #3
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: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
replace windowtext with currentColor
kovidgoyal is online now   Reply With Quote
Old 02-27-2019, 05:31 PM   #4
blackrock36
Member
blackrock36 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2019
Device: None
Quote:
Originally Posted by theducks View Post
I delete the line.
That is EPUB3 code, which is why it squawks when using 2.1 rules.

Devices are SUPPOSED to ignore code they don't understand. In reality , don't give them a chance to prove they don't follow the rules
Theducks,
Many thanks for the clarification.

Cheers,
Andy
blackrock36 is offline   Reply With Quote
Old 02-27-2019, 05:35 PM   #5
blackrock36
Member
blackrock36 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2019
Device: None
Quote:
Originally Posted by kovidgoyal View Post
replace windowtext with currentColor
Kovidgoyal,
I'll give that a try, thanks,

Cheers,
Andy
blackrock36 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre corrupt error corrupt error database disk image is malformed didu812 Calibre 50 04-10-2024 08:51 AM
Windowtext error in Calibre blackrock36 General Discussions 3 02-27-2019 09:45 AM
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Calibre plugIn Kindle Collections Error message "Value Error:month..." readee Plugins 4 10-10-2011 11:21 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM


All times are GMT -4. The time now is 11:24 AM.


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