02-18-2008, 03:49 PM | #286 | ||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
I'm older and wear reading glasses, but prefer smaller fonts.
Quote:
Quote:
______ Dennis |
||
02-18-2008, 05:29 PM | #287 | |
Resident Curmudgeon
Posts: 76,404
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 | |
|
02-18-2008, 06:22 PM | #288 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
02-18-2008, 06:37 PM | #289 | |
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 |
|
02-18-2008, 06:47 PM | #290 | |
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:
<style type="text/css"> p {text-indent:+2.0em; margin-top:0.2ex} </style> This will cause paragraphs to indent (maybe 1.0em would be closer to what Mobipocket does) and will set the margin between paragraphs to a small number. You can tweak these to whatever looks good. Mobi actually increased the distance between paragraphs a small amount (about 2 pixels) to do an exact match you might set margin-top:2px. Using a unit like em is better as it scales with text size. Of course not everyone likes indent vs. space so an option --indent might be appropriate for mobi2imp. Dale |
|
Advert | |
|
02-18-2008, 06:55 PM | #291 | |
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
DPI setting: Normal size (96DPI) ______ Dennis |
|
02-18-2008, 07:21 PM | #292 | |
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:
Dael |
|
02-18-2008, 08:40 PM | #293 |
Resident Curmudgeon
Posts: 76,404
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have a 20.1" LCD monitor that runs as 1600x1200. Love it that way.
|
02-18-2008, 08:42 PM | #294 | |
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
The 19" is an Envision LCD model with a flat screen. (Full size CRT - not flat panel.) I'm driving it at the moment with an old Matrox 2D card, which is adequate for what I do. I bought it about 5 years ago at my local CompUSA when my old 17" monitor was dying. They had it on sale for $250. (Of course, a week after I bought it, I saw another computer shop with a 21" monitor for the same price...) I've been quite happy. It performs flawlessly. And yes, I like a lot of screen real estate. If I had the room I'd put in a dual head card and run two monitors. ______ Dennis |
|
02-19-2008, 12:21 AM | #295 | |
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:
I will implement (in version 7) switches for indentation '--indent' and 'no paragraph separation '--nopara'. As it stands now, the default for eBook Publisher appears to be 'no' indentation and '1em' paragraph separation. JSWolf, you would have to use two switches '--indent' (1em) and '--nopara' (0em) to achieve your desired results. Wait until I implement these options as my testing indicates they do work. -Nick |
|
02-19-2008, 12:50 AM | #296 | |
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:
To get it in there you could do a substitute on the <head> and the add the <head> back in with all the new stuff. Dale |
|
02-19-2008, 10:20 AM | #297 | |
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:
Mobi2imp (version 7) with windows executable now in the Fictionwise forum (sticky)! I implemented a '--nopara' option in 'mobi2imp'. See the samples below! Of course, your preferences may vary, but these are just some of the ways 'mobi2imp' can be used to accomplish the conversion from the command-line. -Nick |
|
02-19-2008, 11:07 AM | #298 | |
Resident Curmudgeon
Posts: 76,404
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-19-2008, 11:07 PM | #299 |
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
|
tompe:
I recently processed a .pdb (TEXt/REAd) and got a long series of words with no line breaks. In 'mobi2html' I tried using '--rawhtml' and saw that there were <CR><LF> line endings in the text, but they seem to disappear when processed. I couldn't find where the line endings were being stripped and replaced with spaces. Since the text feed to HTML::TreeBuilder had no HTML tags, would that be the culprit? I tried using substituitions on the raw text to produce basic HTML code, but it didn't work. Code:
my $book = $text; $book = ~s/\cM//g; # Unix line endings $book = ~s/\n/\x01/g; # Collapse lines $book = ~s/\x01\x01/<\/p>\n\n<p>/g; # Separate paragraphs $book = ~s/\x01/ /g; # Insert whitespace $text = "<html><body><p>" . $book . "</p></body></html>"; Last edited by nrapallo; 02-19-2008 at 11:10 PM. |
02-20-2008, 01:09 AM | #300 | |
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:
|
|
Tags |
mobi2mobi, mobils |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 06:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 03:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 12:49 PM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 06:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 02:24 PM |