![]() |
#136 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The problem is that the structure of the tour element is not well defined. i.e. not all lit files use them for a TOC. It's much safer to parse the toc file.
|
![]() |
![]() |
![]() |
#137 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
|
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2007
Device: PRS-505 X 2
|
A question about pdf2lrf in libprs500
I've used this feature before and did not have any problems. I just upgraded to v0.4.12 and when I tried to convert a pdf, I got the following error message:
Traceback <most recent call last>: File "convert_from.py", line 91, in <module> File "convert_from.py", line 87, in main File "convert_from.py", line 67, in process_file File "convert_from.py", line 50, in general_html librprs500.ebooks.Conversion.Error: 'pdftohtml' is not recognized as a internal or external command, operable program or batch file. Any reason/explanation for this error? Thanks. |
![]() |
![]() |
![]() |
#139 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try re-installing
|
![]() |
![]() |
![]() |
#140 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,218
Karma: 132920876
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Would it help to first uninstall?
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No it wont
|
![]() |
![]() |
![]() |
#142 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2007
Device: PRS-505 X 2
|
Hi,
Tried installing. I see the application doing some work and it creates a BBeB file and indicates "Output written to C:\..." but I actually don't see the .lrf file that it created anywhere in the folder. Am I missing something? Thanks. |
![]() |
![]() |
![]() |
#143 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the GUI, that way you dont have to worry about where the file is saved.
|
![]() |
![]() |
![]() |
#144 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,218
Karma: 132920876
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Seems if the header is long enough, it gets pushed too far to the right so that the last letter is cut off. I hope this is an easy fix.
|
![]() |
![]() |
![]() |
#145 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually its not its a bug in SONY's LRF renderer. Try it with my LRF viewer and see.
|
![]() |
![]() |
![]() |
#146 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,218
Karma: 132920876
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#147 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There are already two spaces at the end. I could write a routine to add a variable number of spaces depending on the header length, open a ticket and i'll do it sometime.
|
![]() |
![]() |
![]() |
#148 | |
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
Using 0.4.17 and getting this error on a .lit I just picked up...
Quote:
Anyone have any ideas? |
|
![]() |
![]() |
![]() |
#149 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Send me the lit
|
![]() |
![]() |
![]() |
#150 |
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
File sent
|
![]() |
![]() |
![]() |
Tags |
libprs500 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
a simple epub/lit to mobi converter that isn't calibre? | grechzoo | General Discussions | 18 | 08-18-2010 05:20 PM |
Amber Lit Converter is merging txt | Amalthia | Workshop | 7 | 07-16-2008 05:33 PM |
Quick/easy LIT to LRF converter? | OUTATIME | Sony Reader Dev Corner | 10 | 02-29-2008 09:44 AM |
ABC Amber LIT Converter | MrFinch | Workshop | 11 | 08-09-2007 09:06 PM |
Using lit2lrf | zander_nyrond | Sony Reader | 10 | 08-02-2007 02:40 PM |