![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 475341
Join Date: May 2007
Location: Berlin, Germany
Device: Kindle 3, Kindle Paperwhite 2, Kobo Mini, TrekStor Pyrus Mini
|
Problems with Book Designer and some HTML-Files
Recently I tried to format the book "Future Imperfect" by ecconomist David D. Friedman (free draft at: http://www.daviddfriedman.com/Future_Imperfect.html) to lrf-format with Book Designer. Unfortunately it isn't possible to load or copy and paste the html-file in the editor whit out destroying the html-script (sorry, I'm a layman) and losing the linking of footnotes. Could anybody help me to transform this file to the lrf-format. Are there better tools for this task?
Thanks Steffen |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 475341
Join Date: May 2007
Location: Berlin, Germany
Device: Kindle 3, Kindle Paperwhite 2, Kobo Mini, TrekStor Pyrus Mini
|
Thanks, I hope I will get it with html2lrf. I hope that it not necessary to know the meaning of all footnotes, because in a printed version you can't get the linked footnote too.
Steffen |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Could be why it is still a work in progress and hopefully eventually the footnotes won't have links.
|
![]() |
![]() |
![]() |
#5 |
Retired & reading more!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,764
Karma: 1884247
Join Date: Sep 2006
Location: North Alabama, USA
Device: Kindle 1, iPad Air 2, iPhone 6S+, Kobo Aura One
|
Don't know whether my problem is similar but I had an HTML book that would hang when BD tried to work it. I finally found that the "hanging" was occurring in MS Word as BD was using it. I eventually found an HTML-to-RTF program & then I was able to get it converted to LRF using BD. Never was sure what the problem was.
Last edited by slayda; 09-17-2007 at 12:11 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,240
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
web2lrf --url http://www.daviddfriedman.com/Future_Imperfect.html
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 475341
Join Date: May 2007
Location: Berlin, Germany
Device: Kindle 3, Kindle Paperwhite 2, Kobo Mini, TrekStor Pyrus Mini
|
Thank you! Sounds very easy.
Steffen |
![]() |
![]() |
![]() |
#9 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 793
Join Date: Oct 2006
|
Looking at the source of the book I'm pretty sure the problem is with MS Word, which has added in a whole bunch of stuff - for example a footnote produces this:
Code:
<a style='mso-footnote-id: ftn41' href="#_ftn41" name="_ftnref41" title=""><span class=MsoFootnoteReference><span style='mso-special-character:footnote'><![if !supportFootnotes]>[41]<![endif]></span></span></a><span class=MsoFootnoteReference> </span> I'd suggest saving it as plain text and converting from that - though unfortunately you could lose the footnotes. My advice to anyone wanting to produce a decent quality html file for conversion is get a decent text editor program and don't go anywhere near any MS product other than NotePad. Last edited by andym; 09-14-2007 at 03:57 AM. |
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 475341
Join Date: May 2007
Location: Berlin, Germany
Device: Kindle 3, Kindle Paperwhite 2, Kobo Mini, TrekStor Pyrus Mini
|
@kovidgoyal:
I tried it but got a lot of errormessages and it took a lotof time,so i desided to cancel the prozess. What went wrong? Beste, Steffen |
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,240
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There already is web2lrf --help
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#14 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,240
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
oh i'm sorry the help shows the wrong default. Default is 1.
|
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,575
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
This works....
web2lrf -r 0 -a "David Friendman" -t "Future Imperfect" --url http://www.daviddfriedman.com/Future_Imperfect.html |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Converting Book Designer HTML to LRF | Phonella | Calibre | 6 | 10-22-2009 01:21 PM |
Help! Newbie having problems converting HTML/CSS files | jackie_w | Calibre | 6 | 09-14-2009 04:53 PM |
Problems loading HTML files in v6.11 | jackie_w | Calibre | 2 | 09-10-2009 01:47 PM |
Book Designer problem with making html, txt, doc formats | Namtar | Workshop | 5 | 04-22-2008 10:56 AM |
Problems with formating in LRF with Book Designer | tehashi | Sony Reader | 7 | 08-10-2007 01:34 AM |