![]() |
#1 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
TIP: Attention: All Book Designer users creating .IMP books...
First, thank-you for supporting this "end" format, especially if you don't own the ebookwise 1150.
I just discovered a fix (tip/trick) that will greatly enhance the enjoyment of the ebookwise (.IMP) community: A WAY TO CHANGE TO A LARGER FONT SIZE. Any .IMP ebook created with Book Designer uses only 'x-small' font for the main text, but not because it is explicitly forced to by BD. The story goes like this ... I was tinkering with BD recently and noticed that in the imp directory (in the default install directory) while it is making the ebook, it saves an intermediary/temporary file ending with .oeb. I was fast enough to grab this file and discovered that NO FONT SIZE was being used. I opened and unpacked the .oeb in eBook Publisher and produced a .IMP ebook that had a larger font size than the one BD produced. Hmmm... I knew that recent versions of eBook Publisher adopted the 'small' font size as its default; whereas, the BD used 'x-small' font size as its default. But BD doesn't set this default, so it must come from the 'PubUtil21.dll' (version 2.1.4.5) in the BD install directory. The eBook Publisher uses two similar files, namely 'PubUtil21.dll' (version 2.1.4.6) and 'PubUtil22.dll' (version 2.2.4.1) located in the directory C:\Program Files\Common Files\eBook Technologies . First, I tried just replacing the BD 'PubUtil21.dll' with the same (but newer version) .dll, but it didn't adopt the 'small' font size. Second, I renamed the 'PubUtil22.dll' to 'PubUtil21.dll' and replaced the BD one with that one. Eureka! BD can now produce .IMP ebooks with a (one size) larger font with this fix. FIX #1: Below I include this renamed 'PubUtil21.dll' (really 'PubUtil22.dll' version 2.2.4.1) that needs to be placed in the BD directory, overwriting the older one. Just unzip it there and you have installed this fix! As my test sample, I used Patricia's ebook, (Pseudo)Aristotle_ The Works.prc. I attach the temporary .oeb file and the .imp version produced by BD before this 'fix' and after.Judge for yourself. Which book would you rather read? This 'fix' may have to be applied again when BD is updated/re-installed, but it is a small price to pay. Enjoy! EDIT 20 Feb 2008: for TIP #2: BD now allows true margins in resulting .IMP files... see post #6 below -Nick Last edited by nrapallo; 02-20-2008 at 03:32 PM. Reason: now mention there is a Tip #2 / Fix #2 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Fantastic fix. Thanks for finding it.
Dale |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Please add the tip to the Best Practice section of the wiki for Book Designer. This will help people find it later.
https://wiki.mobileread.com/wiki/Book_Designer If you need help in doing this let me know. Dale |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,206
Karma: 145458580
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Just stuck the thread for easier finding and I'll make the fix before I make any more IMP eBooks.
|
![]() |
![]() |
![]() |
#5 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Has anyone independently tried this fix and made it work as advertised?
Just wanted to know as I don't use BD to make ebooks and tried this on only one test sample. If there are any issues, please post here. -Nick Last edited by nrapallo; 03-04-2008 at 12:53 PM. |
![]() |
![]() |
![]() |
#6 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
TIP #2: BD now allows true margins in resulting .IMP files...
Now, another fix (tip/trick) for those who labouriously churn out these .IMP books for all to benefit...
My three biggest gripes with BD are (were ![]() 1. default font size too small for enjoyable reading (FIXED see 1st Tip above) 2. Unlike other formats, no margins come out in the resulting .IMP books (FIXED here with Tip #2) 3. Black & white (1-bit) images despite the fact that the EBW 1150 can display 16 5grayscale (4-bit) images and REB 1200 can display 32,768 (15-bit) colour images (Still working on this one...) FIX #2: All you need is a text editor and to follow these steps: Viola, hello margins!1. Ensure you have checked the 'load last book at startup' in Configuration/Settings/program settings menu item for this to work better. 2. Finish your ebook, save it and exit BD. 3. Now with your text editor, open the .html0 file in the 'LastFile' directory (in the BD install directory). 4. Just AFTER the <BODY ...> tag, insert the following: Code:
<span style="margin-left: 2%; margin-right: 2%;"> 5. Restart BD, have it load the last book you were just working with (and inserted that <span ...> line) and 'make ebook' as usual. Anyone want to add any other previously unavailable fixes in the <span ...>? -Nick p.s. I first tried to place the 'margin-left/right' settings in the <BODY ... > tag as I usually do, but I noticed that BD strips out the <HTML> to <BODY> tags inclusive, when creating that .oeb temporary file. Oh well the above works just as good! Last edited by nrapallo; 11-06-2008 at 09:22 PM. Reason: added sample .IMP book showing small (2%) margins |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,206
Karma: 145458580
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Question, what is a good set of margins?
As I prefer no margins with my 505, I'd prefer no margins with whatever eBook reader I had. |
![]() |
![]() |
![]() |
#9 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
|
![]() |
![]() |
![]() |
#10 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Sometimes on the REB 1200, when I use no margins, text can bleed into the side of the screen. I, personally, don't find this visually appealing, so I prefer at least a small margin, say 2% (of the screen width). On the REB 1200 with screen size of 480x680, this results in 9 to 10 pixels or 1 character on each side. In addition to the default 2% left and right margins, I will probably add the just the following margins settings (switches) to mobi2imp: --nomargins = 0% left and right margins --largemargins = 5% left and right margins --hugemargins = 8% left and right margins I feel it is best to deal with margins in terms percentages (%) so to accomodate varying screen size proportionally. Any other thoughts? -Nick |
|
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
You asked what else a user might want to change, people with vision problem might want to set the default text even larger. Medium/X-Large is a big as you can go. (XX-Large is no bigger). I occasionally do other things but I am not sure they will be accepted by BD. Got to experiment a bit one of these days. Dale |
|
![]() |
![]() |
![]() |
#13 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
By the way, I just finished version 5 of mobi2imp and will post it shortly. Now that I am able to compile it into a windows executable, I thought I should allow more options to be selected as switches on the command-line. In line with your request, I now allow you to change the text one font size larger ('medium') and one font size smaller (back to 'x-small'). Also, per JSWolf's request, you can now change margins from the default (2%) to largemargins (5%), hugemargins (8%) and even nomargins (0%)! In addition, you can change the default text-align from justify to nojustify (left aligned). Oh yeah, I saw Kovidgoyal's recent post about 'mobi2oeb' and realized that I had that code already in 'mobi2imp', but just commented out. I now allow the output to be 1150 .IMP, 1200 .IMP, 1100 .rb and .oeb (any and all at once!) Any other thoughts? -Nick p.s. Next, I would like to implement 'lit2imp' and finish my batch convert of the Blackmask DVD v1 into all output formats listed above. Basically, this is 'zip2imp' (over 10,000 of them). Also, I finally got PDFRead v1.7 to convert up to 65536 color for the REB 1200, but couldn't compile the python code error-free, so that too is on my list... |
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2008
Device: REB 1200
|
comic book pdfs to imp
I've been tinkering with magazine/comic book type pdfs for awhile, It would be awesome if there was a workable format for my REB1200. I found that Adobe 8.1
using the save as .doc feature is the best and fastest way to make .pdf to .doc the problem I encountered was the .doc to imp using book designer. you guys have any good tips for converting? ![]() |
![]() |
![]() |
![]() |
#15 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
However, the best route I've found for reading magazine/technical type .pdfs on the REB 1200 is using PDFRead v1.7 (see Content forum sticky here). Unfortunately, until now, the output has been in 16 grayscale. ![]() However, Ashish Kulkarni (author of PDFRead) had previously implemented 16 (4-bit) colors for the REB 1200 ![]() ![]() These modifications have not yet been finalized, but will be part of the next release, v1.8. I have been granted developer status by Ashish and intend on finalizing these changes soon ... ![]() p.s. by the way, I got my inspiration for my mobi2imp from Ashish's .IMP creating module (ImpOutput) in PDFRead and mobi2html in MobiPerl from tompe on mobileread.com. Last edited by nrapallo; 03-01-2008 at 04:29 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Attention iPhone3GS/iPhone4/iPod Touch users: | GRiker | Devices | 4 | 06-24-2010 09:46 PM |
iPad I beg every Apple Users' Attention!! | tiananmen | Apple Devices | 80 | 06-06-2010 09:46 AM |
A Tip for Kindle DX users | Daithi | Amazon Kindle | 16 | 10-08-2009 06:53 AM |
Attention Kindle Users | RickyMaveety | Amazon Kindle | 7 | 06-27-2008 05:40 PM |