Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-28-2007, 03:34 PM   #1
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
converting lit html output into one big file for BD

I have converted some of my lit files into html for the BookDesigner, using convertlit. What clit seems do is to convert one lit file into many htm file linked together. One for the TOC, one for the first page, etc.

But when I open the TOC file, for example, in BD, and click on a link, BD can't open the page it links to, telling me it's an empty link. In explorer the links works fine. BD also doesn't read all the html styles right, leading to some very odd formatting choices.

What I thought to do is to convert it all into one big html file and to load that file inside BD, even if it means I will have to give up linked TOC. Is there a tool which can convert many linked html files (toc, chapters, etc) into on big htm file?

I'm sure this has been discussed before, but I couldn't find it in a search, and didn't fancy reading the whole BD update thread again .


Another small question. To all of you who have embedded fonts inside an lrs file. Does that lead to slower page turning?
Dave Berk is offline   Reply With Quote
Old 03-28-2007, 04:30 PM   #2
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by simple dave
I have converted some of my lit files into html for the BookDesigner, using convertlit. What clit seems do is to convert one lit file into many htm file linked together. One for the TOC, one for the first page, etc.

But when I open the TOC file, for example, in BD, and click on a link, BD can't open the page it links to, telling me it's an empty link. In explorer the links works fine. BD also doesn't read all the html styles right, leading to some very odd formatting choices.

What I thought to do is to convert it all into one big html file and to load that file inside BD, even if it means I will have to give up linked TOC. Is there a tool which can convert many linked html files (toc, chapters, etc) into on big htm file?

I'm sure this has been discussed before, but I couldn't find it in a search, and didn't fancy reading the whole BD update thread again .


Another small question. To all of you who have embedded fonts inside an lrs file. Does that lead to slower page turning?
BD does not support linked html's. But you can try to join them using any of the following options.

1. If your input file is lit, load it directly to BD. In this case BD will join html's found inside lit using the order pointed out in the opf-file included into lit.
2. If you have several html's try to join them using Tools -> Join Books.

Both methods will join the files. However these methods may change the formatting because they convert non-structured html's to structured html0-format (i.e. they are trying to find book elements such as titles, subtitles, etc).

Also you can join html's included into lit "as they are" (without converting to html0). If you want to do it - Settings -> uncheck both "keep original format" and "re-format completely" -> load lit to BD. When the book will be shown in BD window, close BD, and go to the "LastFile" subdirectory where you will find html's joined into a single file.
But be careful: because this file is non-structured html, the BD-converting to several e-book formats may give unpredictable results. And most probably, the interactive editing of such files in BD will not work.

Embedded fonts slow down the page turning. And the more embedded fonts are included, the slower the turning is. For example, if the only one embedded font is used, the delay is ~2 sec.

Last edited by vvv; 03-28-2007 at 04:36 PM.
vvv is offline   Reply With Quote
 
Advertisement
Old 03-28-2007, 04:47 PM   #3
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,605
Karma: 926222
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Nook STGR
You also may want to try Amber LIT Converter -- it offers a wide range of output file types, and has given me single files the few times I've used it.
NatCh is offline   Reply With Quote
Old 03-28-2007, 04:57 PM   #4
Moonraker
Addict
Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.
 
Moonraker's Avatar
 
Posts: 290
Karma: 1002965
Join Date: Mar 2006
Location: UK
Device: ILiad. Gen 3, PocketBook 360, PRS-505, Kindle 3,Kobo Glo, Kobo Aura HD
I use softsnow's html merger.

It will merge many html files into one file

You can get it here.

http://www.dukelupus.pri.ee/softsnow...r/merger.shtml
Moonraker is offline   Reply With Quote
Old 03-28-2007, 05:01 PM   #5
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
Quote:
1. If your input file is lit, load it directly to BD. In this case BD will join html's found inside lit using the order pointed out in the opf-file included into lit.
Thanks, VVV. For some reason I was under the impression that BD does not support lit files. I tried now to load the lit file directly and it works.

I have got another problem now, though. After BD make the book and open it in Connect, I can see that everything is in italics, although I specified normal as paragraph style.

Also, can you add align left for the paragraph align style. I much prefer reading un-Justified paragraphs. The uneven spacing between words in justified paragraphs slows my reading for some reason (anyone else is bothered by this?).

Again, thanks for your answer.
Dave Berk is offline   Reply With Quote
Old 03-28-2007, 05:09 PM   #6
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
Quote:
You also may want to try Amber LIT Converter -- it offers a wide range of output file types, and has given me single files the few times I've used it.
Thanks. But I have tried one of their product before (the pdb converter), and when it worked it stamped every page with some ads.

Quote:
I use softsnow's html merger.

It will merge many html files into one file

You can get it here.

http://www.dukelupus.pri.ee/softsno...er/merger.shtml
Great, I was looking for a program just like this!!!
Dave Berk is offline   Reply With Quote
Old 03-28-2007, 05:14 PM   #7
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by simple dave
I have got another problem now, though. After BD make the book and open it in Connect, I can see that everything is in italics, although I specified normal as paragraph style.
How the paragraphs of your book look like in BD? Italic or normal?

Quote:
Originally Posted by simple dave
I much prefer reading un-Justified paragraphs.
Unfortunately lrf-format does not support the left alignment

Last edited by vvv; 03-28-2007 at 05:32 PM.
vvv is offline   Reply With Quote
Old 03-28-2007, 05:16 PM   #8
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,605
Karma: 926222
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Nook STGR
Quote:
Originally Posted by simple dave
Thanks. But I have tried one of their product before (the pdb converter), and when it worked it stamped every page with some ads.
Yeah, I think it does do that, but, if I'm remembering rightly, they're easy enough to remove -- they're in the Header/Footer section, so you just have to edit that & delete them in Word or whatever. And Actually, I think running it through WordPad may have stripped them off for me.

Anyway, it sounds like you've found what you need, and that's the important bit.
NatCh is offline   Reply With Quote
Old 03-28-2007, 05:30 PM   #9
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
Quote:
How the paragraphs of your book look like in BD? Italic or normal?
Perfectly normal. Could it be related to the fact I'm using embedded fonts?

Quote:
Yeah, I think it does do that, but, if I'm remembering rightly, they're easy enough to remove -- they're in the Header/Footer section, so you just have to edit that & delete them in Word or whatever. And Actually, I think running it through WordPad may have stripped them off for me.

Anyway, it sounds like you've found what you need, and that's the important bit.
True. Anyway, thank for the tip. I believe I still got the file somewhere, I will try running it through Wordpad.
Dave Berk is offline   Reply With Quote
Old 03-28-2007, 05:38 PM   #10
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by simple dave
Perfectly normal. Could it be related to the fact I'm using embedded fonts?
Most probably, this is a reason: the embedded font is italic. Try to make the same book with some inner font (say, Dutch)

P.S. If the justification bother you a lot, there is a way to skip it: to make lrf as BookImage.

1. Load your book to BD
2. Tools -> Book Cleaner
3. In Book Cleaner:
find what: <DIV align=justify>
replace by: <DIV align=left>
loaded book -> check "whole"
press "apply"
Close BookCleaner
4. File -> save
5. Make eBooks -> BookImage
6. device: Sony Reader
7. "make book"

Well, the lrf's will be several times bigger, and the font resizing will not work. But as a compensation, you will be able to choose any font which you like. And with any chosen font it will be no a delay in page turning.
vvv is offline   Reply With Quote
Old 03-28-2007, 05:49 PM   #11
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
Thanks alot, vvv.

a couple of quick questions. Is there a way to manualy add page breaks. when you want a certain paragraph to always start at a new page?

Also, BD shows me the book with notes. Any where in the text I might see "p.some number". is there a way to automatically remove all these notes?
Dave Berk is offline   Reply With Quote
Old 03-28-2007, 06:49 PM   #12
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by simple dave
Thanks alot, vvv.

a couple of quick questions. Is there a way to manualy add page breaks. when you want a certain paragraph to always start at a new page?

Also, BD shows me the book with notes. Any where in the text I might see "p.some number". is there a way to automatically remove all these notes?
1. To insert an user page break in BD window: Alt+X. The break will be inserted after the end of the element under the cursor.
2. To activate the user page breaks recognizion in SonyReader module: options -> check "user page breaks"

As for the notes, there is a special tool called "Notes and Links". Press F4, select "show: all notes", select the notes to be removed at the list "all notes", then press "remove". Or, if you want to remove all the notes, just press "remove all".
vvv is offline   Reply With Quote
Old 03-28-2007, 07:05 PM   #13
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
Quote:
As for the notes, there is a special tool called "Notes and Links". Press F4, select "show: all notes", select the notes to be removed at the list "all notes", then press "remove". Or, if you want to remove all the notes, just press "remove all".
I did so. But it only remove them from the list. In the text they still apear... What am I doing wrong?
Dave Berk is offline   Reply With Quote
Old 03-29-2007, 03:41 PM   #14
vvv
Zealot
vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.vvv once ate a cherry pie in a record 7 seconds.
 
Posts: 137
Karma: 1936
Join Date: Aug 2006
Device: iLiad, Librie, REB1100, GEB2150, GEB1150, etc
Quote:
Originally Posted by simple dave
I did so. But it only remove them from the list. In the text they still apear... What am I doing wrong?
Nothing wrong: the "Notes and Links" tool removes the anchors (invisible tags) only.

If you want to remove also the anchor's text, it can be done through BookCleaner.

1. Open BookCleaner
2.
find what: <A[^>]*>(.*?|\n)</A>
replace by: leave empty
case: checked
RegExp: checked
3. loaded book -> selection: checked
4. Select in BD window a fragment from which you want to remove the anchors with text (double-click on the first element, Shift+click on the last element).
5. Press "apply" in BookCleaner.
vvv is offline   Reply With Quote
Old 03-29-2007, 06:01 PM   #15
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 578
Karma: 138556
Join Date: May 2006
Device: PRS505
That fixes it. Thanks again. I really appreciate it that you help us here with your great program.
Dave Berk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Merged HTML file to Epub/PDF Not Working MV64 Calibre 1 06-07-2010 08:48 PM
Need help converting file which is too long to be HTML ficbot Workshop 8 04-07-2010 12:45 AM
Problem with converting very simple HTML file with table frabjous Calibre 3 09-18-2009 03:36 PM
Converting *big* multi-file HTML doc for PRS-505 reader philpem Workshop 11 07-17-2009 06:00 PM
Small HTML file won't finish converting AlexBell Calibre 2 07-06-2009 07:15 AM


All times are GMT -4. The time now is 10:23 PM.


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