![]() |
#451 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#452 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
hmm, not sure what to show you... Well, here's one part.
Code:
<p align="center">C H A P T E R O N E<br> <img src="ornament.png"><br> <font size="+2">A Mandate of Salt</font><br> <br> </p><font size="+2">O</font>NCE I STOOD on the bank of a rice paddy in rural Sichuan Province, and a lean and aging Chinese peasant, wearing a faded forty-year-old blue jacket issued by the Mao government in the early years of the Revolution, stood knee deep in water and apropos of absolutely nothing shouted defiantly at me, “We Chinese invented many things!”<br> |
![]() |
![]() |
Advert | |
|
![]() |
#453 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#454 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
There are some flags to html2mobi which might fix this. Test --fixhtmlbr or --fixhtml.
|
![]() |
![]() |
![]() |
#455 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
fixhtml makes everything left aligned, even the parts that are supposed to be centered. which i guess is preferrable to everything being center aligned. but i think i'll try some find and replace find. if what you are saying is that </p> is being ignored because it is on the same line as a new paragraph that's not supposed to be inside the p tag, i might be able to fix this.
|
![]() |
![]() |
Advert | |
|
![]() |
#456 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
putting a new line after the </p> tag does not fix the problem. going to try some other things.
i bet i know what's going on. the kindle is assuming that everything is center aligned because the text outside of the <p> never explicitly declares it's alignment. |
![]() |
![]() |
![]() |
#457 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#458 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
right, came to the same conclusion myself. going to try inserting <p> in the body (if that can be done with find/replace. if not, i'll simply replace the existing <p> with <center> tags instead. that should fix the problem once and for all.
|
![]() |
![]() |
![]() |
#459 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
How does the Mobipocket file look in Mobipocket Reader for Windows?
|
![]() |
![]() |
![]() |
#460 |
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 added your recent mobi2html UTF-8 improvements to my mobi2imp.pl; thank-you very much! I did notice that there was no access to 'longtitle' yet in mobi2html, even though mobi2mobi and mobils have it. Also, I like what you did in mobi2mobi/mobi2ls to retrieve record_0. I had an issue with the (old) 'mobi2htmi' base code in mobi2imp that a .prc failed to have an id==0 record and hence was not parsed properly. I just replaced it with your improvements in mobi2mobi/mobi2ls and it works now. Again, thanks for the great support you have provided here! Last edited by nrapallo; 04-01-2008 at 01:58 PM. Reason: fixed typos |
![]() |
![]() |
![]() |
#461 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
![]() |
![]() |
![]() |
#462 |
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
|
|
![]() |
![]() |
![]() |
#463 |
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 need you advice and help understanding what this poster's solution could be trying to display images on his Cybook based on this post. He is responding to my request for max. image size to display .cbz/.cbr comic books on the Cybook, in particular. Just a note, I use your 'opf2mobi' to convert .html with images of default size 520 x 640 (in a .opf) to .prc as output from my PDFRead 1.8.1 conversion software. I think the images are being limited in size somehow and result in a large white border (wasted space!). Any inights/solutions you may have? |
![]() |
![]() |
![]() |
#464 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#465 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Burt for those of us using your software so we can do a conversion from Mobipocket format or not using a Gen3, the rescaling is not needed. Can you make an option to not rescale?
|
![]() |
![]() |
![]() |
Tags |
mobi2mobi, mobils |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |