![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
Some CSS properties not transferring when converting ePub to LRF
I have a beautiful ePub that I've painstakingly edited in Sigil to get the text to look just the way I want it... but when I convert that ePub to LRF (for use on my unupgraded PRS500), certain CSS properties just don't work.
The first property that I noticed doesn't work is: Code:
text-align: center; Code:
margin-left: auto; margin-right: auto; Code:
padding-left: auto; padding-right: auto; Checking out some other parts of the LRF, I found that the following properties didn't work either: Code:
text-align: right; font-style: italic; Code:
font-weight: bold; Now, I know that Calibre doesn't have LRF bugs fixed anymore and that I should have upgraded my PRS500 a long time ago, but I'm looking for other (constructive) answers. Could my CSS be wrong? Are these known issues with LRF that were never fixed? Are there any workarounds to getting these properties to work? Is there another epub2lrf converter that will convert the properties correctly? (BTW, MOBI output was very similar to the ePub, so I'm pretty sure these bugs are isolated to the LRF format. Any tips to make the LRF output look closer to the ePub would be appreciated.) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid LRF output is no longer maintained.
In general, the simpler the markup, the more likely it is to be correctly converted. Try converting the MOBI to LRF. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
Kovid,
I just tried your suggestion: converting from ePub to MOBI, and then MOBI to LRF... and it seems to have worked! I didn't check each property, but the main ones seem to have converted properly. Thank you for your help. I hope some other poor soul out there still using LRF might find this information useful. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems converting LRF to EPUB | rbur | Calibre | 2 | 06-21-2010 06:28 PM |
converting to epub with my css | fbrzvnrnd | Calibre | 3 | 04-15-2010 02:46 AM |
Converting ODT to EPUB/LRF | banjomike | Calibre | 2 | 10-03-2009 04:32 PM |
Unsetting properties in CSS | Jellby | ePub | 2 | 06-03-2009 04:29 AM |
Supported HTML/CSS tags and properties | Jellby | Bookeen | 9 | 05-04-2008 04:55 PM |