Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2010, 03:00 AM   #1
twaits
Member
twaits began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2009
Device: PRS-505
Small html/css bug

When converting html to lrf, and there is an empty <title></title> in the html header, calibre won't process the style sheet. It's a little annoying, because some programs will insert <title></title> without asking.
twaits is offline   Reply With Quote
Old 01-11-2010, 11:25 AM   #2
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Post an example file showing this bug.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-11-2010, 02:57 PM   #3
twaits
Member
twaits began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2009
Device: PRS-505
A Gutenberg book with empty <title>

I only inserted:
Code:
hr {
page-break-before: always;
}
and a couple of horizontal lines, to make it clearer
Attached Files
File Type: rar 1260-h.rar (276.9 KB, 256 views)
twaits is offline   Reply With Quote
Old 01-11-2010, 06:03 PM   #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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I doubt that has anything to do with the empty title element. Much more likely cause is the uppercase selectors like P and TD in the css.
kovidgoyal is offline   Reply With Quote
Old 01-12-2010, 02:50 AM   #5
twaits
Member
twaits began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2009
Device: PRS-505
Try it. Replace <title></title>, with <title>xy</title>, and convert it to lrf. Now watch the changed behaviour of the horizontal lines.
twaits is offline   Reply With Quote
Advert
Old 01-12-2010, 10:26 AM   #6
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I did try it, but with epub output. Changing the selectors to lower case caused the css to be applied.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPad ePub, CSS : Bug with 'position:relative' property ? Ereskelios Apple Devices 3 09-29-2014 07:53 AM
HTML/CSS for (German) s p a c e d o u t emphasis frabjous Workshop 21 05-16-2011 04:52 PM
Bug: Calibre doen't include 'src' in css adrian783 Calibre 0 07-05-2010 10:57 PM
HTML and CSS for Dummies weedfreak Sigil 17 01-07-2010 09:34 PM
Small HTML file won't finish converting AlexBell Calibre 2 07-06-2009 06:15 AM


All times are GMT -4. The time now is 10:51 AM.


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