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 12-20-2008, 07:33 AM   #1
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
LRF and wrap-around text

Experts, is it possible to wrap text around figures in the LRF format? I've tried to convert html with text wrapping around figures to LRF, and the LRF lost the wrapping. I just want to make sure I'm not missing a trick to make the wrapping possible.
Seabound is offline   Reply With Quote
Old 12-20-2008, 08:26 AM   #2
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 780
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle PaperWhite, Motorola Xoom
Quote:
Originally Posted by Seabound View Post
Experts, is it possible to wrap text around figures in the LRF format? I've tried to convert html with text wrapping around figures to LRF, and the LRF lost the wrapping. I just want to make sure I'm not missing a trick to make the wrapping possible.
AFAIK no. I was newer able to get that effect.
kiklop74 is offline   Reply With Quote
 
Advertisement
Old 12-20-2008, 08:28 AM   #3
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by kiklop74 View Post
AFAIK no. I was newer able to get that effect.
Ah, thank you, kiklop. That's what I thought.
Seabound is offline   Reply With Quote
Old 12-20-2008, 02:18 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,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It is possible with hand written LRF but no automatic conversion tool does it as far as I know.
kovidgoyal is offline   Reply With Quote
Old 12-20-2008, 10:35 PM   #5
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Thanks for the info, Kovid. I wish LRF weren't so arcane.
Seabound is offline   Reply With Quote
Old 12-22-2008, 11:49 PM   #6
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Seabound View Post
Thanks for the info, Kovid. I wish LRF weren't so arcane.
Not to sound like a broken record, but why not use EPUB instead? AdobeDE definitely supports the CSS 'float' property.
llasram is offline   Reply With Quote
Old 12-22-2008, 11:52 PM   #7
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by llasram View Post
Not to sound like a broken record, but why not use EPUB instead? AdobeDE definitely supports the CSS 'float' property.
I did try it. While the text did wrap around figures in ePub, the other html formatting disappeared, like tables and centering.
Seabound is offline   Reply With Quote
Old 12-23-2008, 12:24 AM   #8
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Seabound View Post
I did try it. While the text did wrap around figures in ePub, the other html formatting disappeared, like tables and centering.
Bizarre -- that shouldn't happen, as EPUB content *is* HTML content. Is the source document something you could post?
llasram is offline   Reply With Quote
Old 12-23-2008, 01:18 AM   #9
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by llasram View Post
Bizarre -- that shouldn't happen, as EPUB content *is* HTML content. Is the source document something you could post?
I should point out that the formatting is lost in the Sony reader and in the Sony library viewer. The formatting remains intact in calibre's viewer. For example:

In CSS, one has

H1,H2,H3,H4,H5,H6 { text-align: center; }

In the body, one has

<H5>CHAPTER I</H5>

When I convert to ePub using calibre, "CHAPTER I" is centered when viewed with calibre. With the same ePub file viewed with the Sony library viewer and the Sony reader, "CHAPTER I" is left-justified. What appears perfectly in a browser and in LRF does not in an ePub conversion. I don't want to have another html file just for ePub conversion. I'm quite happy with the LRF conversion, despite no wrap-around text.
Seabound is offline   Reply With Quote
Old 12-23-2008, 06:48 AM   #10
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Seabound View Post
When I convert to ePub using calibre, "CHAPTER I" is centered when viewed with calibre. With the same ePub file viewed with the Sony library viewer and the Sony reader, "CHAPTER I" is left-justified.
The problem is that your XHTML+CSS is incorrect in a way that calibre is working around, but AdobeDE is not. The correct tag is not <H1>, but <h1> -- capitalization in XML is relevant and all XHTML tags are lower case. Given how many other buggy things AdobeDE accepts, it seems kind of strange they don't accept this, but if you correctly lowercase all your tags in your markup and CSS, it'll work.
llasram is offline   Reply With Quote
Old 12-23-2008, 07:11 AM   #11
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by llasram View Post
The problem is that your XHTML+CSS is incorrect in a way that calibre is working around, but AdobeDE is not. The correct tag is not <H1>, but <h1> -- capitalization in XML is relevant and all XHTML tags are lower case. Given how many other buggy things AdobeDE accepts, it seems kind of strange they don't accept this, but if you correctly lowercase all your tags in your markup and CSS, it'll work.
Well, it seems AdobeDE accepts caps in the markups but not in CSS.

I don't think it's strange at all. It's AdobeDE, after all.
Seabound is offline   Reply With Quote
Old 12-27-2008, 05:19 PM   #12
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,143
Karma: 4315826
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by Seabound View Post
Well, it seems AdobeDE accepts caps in the markups but not in CSS.

I don't think it's strange at all. It's AdobeDE, after all.
I think XML should be treated stricter than HTML so this is not surprising. And tools should warn when they fix buggy code. If calibre did not warn then I think this is a bug that will lead to the problems you had.
tompe is online now   Reply With Quote
Old 12-28-2008, 03:59 PM   #13
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by tompe View Post
I think XML should be treated stricter than HTML so this is not surprising. And tools should warn when they fix buggy code. If calibre did not warn then I think this is a bug that will lead to the problems you had.
That's a good idea... Calibre is currently silently lower-casing the markup but not the CSS. When I created an EPUB with my own spit-and-bailing-wire pipeline mis-capitalization in either the XHTML or CSS would cause ADE not to style the content.
llasram is offline   Reply With Quote
Old 12-28-2008, 04:30 PM   #14
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,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
lower casing all tag names in the CSS should certainly be relatively easy to do.
kovidgoyal is offline   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
CSS to "wrap" text between two .xhtml files? december Sigil 28 12-06-2013 04:29 PM
How do I change make the text of my post wrap round an image? Mike L Feedback 4 08-12-2010 05:39 AM
Text wrap in epub for ipad iBooks dblatner ePub 3 04-24-2010 07:16 PM
Can you edit the text in LRF format Lanyon Calibre 9 03-13-2009 07:58 AM
underlining text in LRF? curiouser Sony Reader 2 03-31-2007 10:09 PM


All times are GMT -4. The time now is 04:53 PM.


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