Order it now! Amazon prioritizes orders on a first come, first served basis.


View Full Version : inline images - html2lrf Converter in libprs500


benong
02-07-2008, 09:52 PM
I am practicing conversion of html documents to lrf format and encounter the following problem:-

If I use the command line converter (html2lrf), the images appeared in the final lrf. But if I use the libprs500 (version 0.4.35), no images appeared at all. Is it because I have miss setting so parameters in libprs500?

I would appreciate help in clarify this.

kovidgoyal
02-07-2008, 10:10 PM
https://libprs500.kovidgoyal.net/wiki/FAQ#NoimagesintheLRFfileafterconversionfromHTML

benong
02-08-2008, 02:15 AM
Hi kovidgoyal,

Thanks for pointing the obvious that I missed!

Also, I noticed that no matter how much margin I used (either with the html2lrf OPTIONS --top-margin, or GUI libprs -> Page Setup Top Margin:), the final lrf's margin has not changed as I expected. Am I missing something again??

kovidgoyal
02-08-2008, 02:20 AM
What viewer are you using to see the generated LRF files?

benong
02-08-2008, 05:09 AM
I use both the Sony Reader as well as the PC version of the Sony Reader. Both also do not show any effect on margin change in the libprs500.

kovidgoyal
02-08-2008, 11:25 AM
Interesting, send me the file that shows this behavior. Both the original file and the converted LRF.

benong
02-08-2008, 08:15 PM
Hi Kovidgoyal,

I've tested further and now narrow down the problem: If I use Look & Feel -> Show Header, than the margins that I set in Page Setup are ignore. However, if I DO NOT check on Show Header, the margins will be as set in Page Setup.

I'm using the 0.4.35 version and the test file is your htnk2lrf demo download from this site.

kovidgoyal
02-08-2008, 11:07 PM
Well if you set a header the top margin gets fixed, but the others should still work