|
|
#16 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
The code is not removed so it is in the packed data (I just checked). Does it work with mobigen?
|
|
|
|
|
|
#17 | |
|
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
-Marshall |
|
|
|
|
| Advert | |
|
|
|
|
#18 |
|
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
|
|
|
|
|
|
#19 | |
|
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
|
|
|
|
|
|
|
#20 | |
|
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#21 | ||
|
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:
Quote:
|
||
|
|
|
|
|
#22 |
|
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Well, you know, anywhere
. Hand-created versus tool-created doesn't really matter as long as they're standards-compliant enough to parse correctly. That said, whatever tool produced the OPF you attached required some new non-compliance-correction cases in my code . But hopefully the tools will improve with time.
|
|
|
|
|
|
#23 | |||
|
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
|
Round two: Summary of initial findings...
Quote:
Quote:
Quote:
This is tricky, so please follow: Little Stories for Little Children-use prc to imp.zip is a file that used your Mobipocket-specific .html/.opf and I changed to create a valid .imp with the above changes implemented. I also produced a new .prc from that revised/changed .htm for you to see if it looks acceptable (format-wise, not necessarily personal preference-wise. )Little Stories for Little Children-use imp to prc.zip is a file that used my IMP-specific .html/.opf and I changed to create a valid .prc and closer to what you want. I also produced a new .imp from that revised/changed .htm for you to see how that now looks to me. ![]() I hope we are converging...
Last edited by nrapallo; 01-06-2009 at 09:01 AM. Reason: cover.html as another alternative |
|||
|
|
|
|
|
#24 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Interesting thread.
I only got interested in this a couple months back. I agree that working out a set of html that works for most formats is a good thing. I'd already switched to compliant tags for my ebooks, but now that I know page-break-after doesn't work for imp I'll change that, too. Last edited by Nate the great; 07-17-2009 at 04:03 PM. |
|
|
|
|
|
#25 |
|
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
|
Ok, here's what I've learnt works better for .html that will be converted to multiple ebook formats (while writing GuteBook.pl):
Last edited by nrapallo; 07-17-2009 at 06:19 PM. Reason: fixed formatting |
|
|
|
|
|
#26 | |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
I've also never seen the br tag do anything other than be a line break. Someone must have done something funky to get a space after that line. I think it's too much effort to combine the anchor tag with the page break. I place a separate page break immediately before the anchor, but I look at it as placing it at the end of the previous chapter/section/article. Other than that, I'm doing most of the rest already (I need to follow though on the p tag). |
|
|
|
|
|
|
#27 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
If so, it puzzles me a bit because as far as I know the use of id rather than name is specific to XHTML 1.1, which in fact does not permit name. Again, so far as I know, the Mobipocket format was defined long before XHTML 1.1 was a twinkle in anybody's eye. What bothers me even more is that I have not caught up with XHTML 1.1 since none of the books I have mention it, nor how to make internal links without name. Can you point me to a book or source please where I can learn? Regards, Alex |
|
|
|
|
|
|
#28 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Please don't include "hard-wired" justification in Mobi books, except in cases where it's absolutely vital (eg you probably don't want poetry to be fully justified). Hard-wiring justification in Mobi prevents the user from being able to select left or full justification, which most implementations of the Mobi Reader permit.
|
|
|
|
|
|
#29 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
.spaceabove { margin-top: 1.0em; } .spacebelow { margin-bottom: 1.0em; } both work well in a test HTML/CSS file converted to Mobipocket by Calibre. It's true that it margin-bottom is not recognised by Mobipocket Creator, and I have found other differences in tests of the same HTML/CSS rendered by Calibre or Mobipocket Creator - almost all in favour of Calibre. For what it is worth I whole heartedly support the idea of working towards getting standard HTML/CSS which will work in all formats, and hope that we can agree on and share a standard template. Regards, Alex |
|
|
|
|
|
|
#30 | |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| <Command Line> Add multiple books in multiple formats | himitsu | Calibre | 8 | 09-25-2010 11:07 PM |
| Bug: entries with multiple formats trigger multiple conversions | flinx1 | Calibre | 12 | 05-21-2010 06:23 AM |
| Error Converting Zip Files w/ Multiple Formats | TheHeartlessHero | Calibre | 2 | 04-10-2010 10:54 AM |
| Process for creating several eBook formats from MS Word doc | jinlo | Workshop | 10 | 06-12-2009 11:05 AM |
| Free eBook in multiple DRM-free formats | cmwilson | Deals and Resources (No Self-Promotion or Affiliate Links) | 46 | 05-20-2009 10:03 AM |