09-13-2007, 07:54 PM | #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 |
09-13-2007, 08:48 PM | #2 | |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
09-13-2007, 09:00 PM | #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 |
09-13-2007, 09:06 PM | #4 |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
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.
|
09-13-2007, 09:59 PM | #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 01:11 PM. |
Advert | |
|
09-13-2007, 10:25 PM | #6 | |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-13-2007, 11:15 PM | #7 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
web2lrf --url http://www.daviddfriedman.com/Future_Imperfect.html
|
09-14-2007, 04:30 AM | #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 |
09-14-2007, 04:55 AM | #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 04:57 AM. |
09-17-2007, 05:00 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 |
09-17-2007, 10:07 AM | #11 | |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-17-2007, 12:55 PM | #12 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There already is web2lrf --help
|
09-17-2007, 12:57 PM | #13 |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
09-17-2007, 01:01 PM | #14 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
oh i'm sorry the help shows the wrong default. Default is 1.
|
09-17-2007, 01:04 PM | #15 |
Resident Curmudgeon
Posts: 76,424
Karma: 136564696
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Converting Book Designer HTML to LRF | Phonella | Calibre | 6 | 10-22-2009 02:21 PM |
Help! Newbie having problems converting HTML/CSS files | jackie_w | Calibre | 6 | 09-14-2009 05:53 PM |
Problems loading HTML files in v6.11 | jackie_w | Calibre | 2 | 09-10-2009 02:47 PM |
Book Designer problem with making html, txt, doc formats | Namtar | Workshop | 5 | 04-22-2008 11:56 AM |
Problems with formating in LRF with Book Designer | tehashi | Sony Reader | 7 | 08-10-2007 02:34 AM |