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 11-23-2007, 01:03 PM   #556
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'd guess 5% is just too small when converted. Try a larger % value. If it doesn't work, open a bug report.
kovidgoyal is offline   Reply With Quote
Old 11-24-2007, 04:21 PM   #557
mcortez
Junior Member
mcortez began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2007
Location: Brea, CA
Device: PRS-505
I've a question about List indent behavior. Normally in HTML when I use a UL/LI and the text in the LI wraps, the wrapped lines are indented. That does not appear to be the case here.

Does anyone have any suggestions as to CSS style mark-up that I can include to get this on the PRS-505 or is it simply not possible on the reader?

I've tried chaning text-indent and margin-left and neither appeared to have any effect.

Thanks!
Attached Files
File Type: txt test.html.txt (538 Bytes, 279 views)
File Type: lrf test.lrf (1.2 KB, 236 views)

Last edited by mcortez; 11-24-2007 at 04:44 PM. Reason: Added sample test
mcortez is offline   Reply With Quote
Old 11-24-2007, 11:49 PM   #558
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a limitation of the LRF format.
kovidgoyal is offline   Reply With Quote
Old 11-25-2007, 07:28 AM   #559
stustaff
Wizard
stustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it is
 
Posts: 1,055
Karma: 2110
Join Date: Nov 2007
Location: Derbyshire UK
Device: sony reader PRS505 and 600
can anyone point me to the CSS file mentioned in here, Im having a prob with a few conversions to LRF from files that have gone through C Lit
stustaff is offline   Reply With Quote
Old 11-25-2007, 01:13 PM   #560
squiggle8
Junior Member
squiggle8 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2007
Device: sony reader 500
How do you get linked pics from html into the lrf?
I have a file with pics in the form of
<img width=265 height=167
src="./szeleburdi_csalad_elemei/image012.jpg">
And the lrf on the reader does not include the pictures. Any idea what I might be doing wrong?

Thanks,
Moni
squiggle8 is offline   Reply With Quote
Old 11-25-2007, 04:14 PM   #561
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run with --verbose
kovidgoyal is offline   Reply With Quote
Old 11-25-2007, 07:09 PM   #562
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
What are the command line options to use to take an exploded LIT file that is now into multiple HTML files with graphics and OPF and CSS so html2lrf puts it together like lit2lrf would had it not been exploded but instead left as LIT with no DRM? I have 0.4.24.

What is happening is it is not parsing the OPF file. I did put in a ticket.. #324.
JSWolf is online now   Reply With Quote
Old 11-26-2007, 10:56 PM   #563
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just make sure the OPF file is in the same directory as the toc file and use the --use-spine option pass the toc file as the argument to html2lrf.
kovidgoyal is offline   Reply With Quote
Old 11-26-2007, 11:06 PM   #564
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
Just make sure the OPF file is in the same directory as the toc file and use the --use-spine option pass the toc file as the argument to html2lrf.
This is the error I get when I try the --use-spine option....

Traceback (most recent call last):
File "convert_from.py", line 1765, in <module>
File "convert_from.py", line 1759, in main
File "convert_from.py", line 1664, in process_file
AttributeError: Values instance has no attribute 'spine'

I did attach the files to a ticket so you can see what happens. The file is TC.zip.
JSWolf is online now   Reply With Quote
Old 11-27-2007, 05:41 AM   #565
samu
Junior Member
samu began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2007
Device: Sony E reader
Completely Lost

When I'm in the know I hate these kind of posts but I'm completely lost. I know enough to open the XP command prompt by typing cmd and then typing html2lrf. Beyond that, I'm lost. I tried dragging, the books html files (which are numbered 1-70) into the command prompt but that only opened the relevant part of the book in firefox. I tried dragging all the html files in the prompt and nothing, dragged the toc (table of contents) html file into the command prompt, a text file with a ton of code on it...etc. The OP just says "run" the book through the program...how? Sorry but while I'm actually decently computer litterate (I am in my 20s and build my own systems) I have no idea whats going on in this thread.
Is it even normal for the book to be broken up into a number of sequential html file with a toc file and a text file. It works fine in firefox but I don't want to go blind.
samu is offline   Reply With Quote
Old 11-27-2007, 07:11 AM   #566
FixB
Groupie
FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.
 
FixB's Avatar
 
Posts: 186
Karma: 499
Join Date: Oct 2007
Location: France, Toulouse
Device: Sony PRS500
Maybe you would be more confortable with the libprs500 GUI ?
Kovidgoyal may correct me if I'm wrong, but I think that if you have a TOC file, you can add it with the "Add book" button, then you can convert it, and it will use the linked html files.

(by the way : welcome on the forum samu )
FixB is offline   Reply With Quote
Old 11-27-2007, 10:40 AM   #567
samu
Junior Member
samu began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2007
Device: Sony E reader
Quote:
Originally Posted by FixB View Post
Maybe you would be more confortable with the libprs500 GUI ?
Kovidgoyal may correct me if I'm wrong, but I think that if you have a TOC file, you can add it with the "Add book" button, then you can convert it, and it will use the linked html files.

(by the way : welcome on the forum samu )
Awesome, I had an older version of libprs500 that I had given up on using but Its easier to use now. Unfortunately, it worked well on the toc but only the toc. Is there a way to make it stitch together all the individual files? There are 97 labled slide02, slide03, and so on, each holding only a few pages. If I bulk convert them, I'll still end up with 97 with 97 "book" meaning I will have to drop back to the Reader's menu every 20 pages to load the next part of the book. What can I do?

Thanks so much for the help! I need to go give thanks to the guy who made the pdf converter too, life saver that!
samu is offline   Reply With Quote
Old 11-27-2007, 11:29 AM   #568
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It should pick up all the linked files if you zip them all up into a single zip file and add it to the GUI.
kovidgoyal is offline   Reply With Quote
Old 11-27-2007, 09:54 PM   #569
samu
Junior Member
samu began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2007
Device: Sony E reader
I love you, you're beautiful! I had been making it far harder than it had to be, just pointed it at the zip file and it came out perfectly. Nothing happened when I hit "send to device" (the option stayed grey'd out) so I hit save to disk and then loaded it through connect. Fantastic! Thank you so much for your software and your help!
samu is offline   Reply With Quote
Old 11-27-2007, 10:01 PM   #570
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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by samu View Post
I love you, you're beautiful!
Please tell me you're female Glad you like it.
kovidgoyal is offline   Reply With Quote
Reply

Tags
html2lrf, libprs500

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change font of header for LRF Output on PRS 505 duckbill Calibre 3 05-15-2010 11:07 AM
Pissed off with LRF formatting: LRF/LRS clean tool? grimborg LRF 8 02-15-2010 01:14 PM
Fonts for LRF output krischik Calibre 1 10-03-2009 05:01 AM
CBZ > LRF (LRF>HTML/MOBI????) sideburnt Calibre 4 09-15-2009 06:44 AM
libprs500 Issues Converting .LIT to .LRF - .LRF crashes everything vasbinde Calibre 6 02-14-2008 12:16 PM


All times are GMT -4. The time now is 10:06 AM.


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