12-29-2008, 04:05 AM | #1 |
Enthusiast
Posts: 38
Karma: 16
Join Date: Nov 2008
Device: Iliad or Sony
|
Reconvert lrf to lrf
Is there a way I can reconvert an lrf book.
I want it in lrf format, but I want to repaginate it using my own font and margin settings Thanks |
12-29-2008, 02:36 PM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
search for lrftools or use lrf2lrs + lrs2lrf from calibre
|
12-29-2008, 03:15 PM | #3 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
12-29-2008, 03:51 PM | #4 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Command line
lrf2lrs myfile.lrf lrs2lrf myfile.lrs |
12-29-2008, 06:48 PM | #5 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
12-30-2008, 04:28 PM | #6 | |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Quote:
There a number of tools like lrftools which do something similar automatically. They tend to use lrf2lrs and lrs2lrf under the covers. Because they did not do exactly what I wanted I ended up programming my own--this is just a question of writing some code to tweak the xml before calling lrs2lrf to convert back to an LRF. One thing to note--lrs2lrf is not perfect. The resulting LRF is not exactly the same as the original LRF, even if you do not make any changes to the intermediate LRS file. For example, any page headers are lost by lrs2lrf. Last edited by ShellShock; 12-30-2008 at 04:30 PM. |
|
12-30-2008, 05:02 PM | #7 | |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
|
|
12-30-2008, 05:50 PM | #8 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-30-2008, 08:47 PM | #9 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
12-30-2008, 11:17 PM | #10 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
I think I spoke too soon. I'm in my c directory in the command prompt window but the commands aren't doing anything. I get a message saying command is not recognized.
So where exactly do I run this command line thing at???? I'm not a programmer. And the tutorial doesn't say. edit: figured it out! apparently I had a typo that made the line not work. Last edited by Amalthia; 12-30-2008 at 11:36 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pissed off with LRF formatting: LRF/LRS clean tool? | grimborg | LRF | 8 | 02-15-2010 01:14 PM |
CBZ > LRF (LRF>HTML/MOBI????) | sideburnt | Calibre | 4 | 09-15-2009 06:44 AM |
rtf to lrf, is it possible to have images on lrf? | sergiodongala | Calibre | 2 | 01-12-2009 07:23 PM |
libprs500 Issues Converting .LIT to .LRF - .LRF crashes everything | vasbinde | Calibre | 6 | 02-14-2008 12:16 PM |
LRF Reader | dboyd | Reading and Management | 2 | 07-28-2007 10:42 AM |