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 01-11-2010, 04: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, 12:25 PM   #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: 26,462
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Post an example file showing this bug.
kovidgoyal is online now   Reply With Quote
 
Advertisement
Old 01-11-2010, 03: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, 98 views)
twaits is offline   Reply With Quote
Old 01-11-2010, 07: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: 26,462
Karma: 5383257
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 online now   Reply With Quote
Old 01-12-2010, 03: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
Old 01-12-2010, 11: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: 26,462
Karma: 5383257
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 online now   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
iPad ePub, CSS : Bug with 'position:relative' property ? Ereskelios Apple Devices 3 09-29-2014 08:53 AM
HTML/CSS for (German) s p a c e d o u t emphasis frabjous Workshop 21 05-16-2011 05:52 PM
Bug: Calibre doen't include 'src' in css adrian783 Calibre 0 07-05-2010 11:57 PM
HTML and CSS for Dummies weedfreak Sigil 17 01-07-2010 10:34 PM
Small HTML file won't finish converting AlexBell Calibre 2 07-06-2009 07:15 AM


All times are GMT -4. The time now is 02:03 AM.


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