![]() |
#181 |
Connoisseur
![]() Posts: 53
Karma: 52
Join Date: Apr 2008
Device: Kindle
|
Parameters to --encoding ?
Are the parameters to the --encoding option on any2mobi documented anywhere? -- I haven't found it yet.
I am having a fair amount of problems with the autoguess encoding feature of any2mobi, which I would like to be able to override. |
![]() |
![]() |
![]() |
#182 | ||
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#183 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 50106
Join Date: Feb 2008
Location: Netherlands
Device: Kindle III, Kobo Glo, Kobo Libra H2O, TCL NxtPaper 11
|
I have a 9 mb PDF file with paragraph spacing in the original file. If I convert it to Mobi the paragraph spacing is gone.
This also happens if I convert the pdf (with Acrobat) to rtf/doc whatever and then convert it in Calibre. Somehow Calibre removes the spacing. Surely I am missing something, a parser with settings in a conversion option menu would be great. |
![]() |
![]() |
![]() |
#184 | ||
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 50288
Join Date: Feb 2009
Device: KK 3G, iPad
|
Quote:
For example, some time ago when a pdf-to-mobi conversion didn't do well, I looked into the pdf-to-html conversion and saw a bunch of absolute positioning Quote:
Specifically, what html elements are useful to the html-to-* converters? Ideally, should the absolute positioning I saw be "fixed" in pdf-to-html or html-to-*? Thanks, tlc |
||
![]() |
![]() |
![]() |
#185 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As a general rule, for best results you should generate semantic markup. Use <p> for paragraphs, <h1-6> for headings class="chapter" for chapters and so on.
|
![]() |
![]() |
Advert | |
|
![]() |
#186 |
Free Software Developer
![]() Posts: 5
Karma: 10
Join Date: May 2009
Location: Sacramento, CA
Device: Kindle 2
|
Is there a way to manually get an "mbp
![]() |
![]() |
![]() |
![]() |
#187 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,010
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
No need to invent a pseudo-CSS property for this, there's already a real one:
page-break-before: always Quote:
|
|
![]() |
![]() |
![]() |
#188 |
Free Software Developer
![]() Posts: 5
Karma: 10
Join Date: May 2009
Location: Sacramento, CA
Device: Kindle 2
|
(About CSS page-break-before:always)
Yes, but that would require Calibre to parse and interpret all of the CSS associated with the input HTML, a much more difficult task than just using a tag class. I can get the pagebreaks I need by using the --chapter-mark tag, and then using my own .ncx file for the TOC (which I have to do anyway). Now if I can figure out how to attach a second ncx file for a list of illustrations... |
![]() |
![]() |
![]() |
#189 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#190 |
Free Software Developer
![]() Posts: 5
Karma: 10
Join Date: May 2009
Location: Sacramento, CA
Device: Kindle 2
|
Cool. What about multiple NCXs?
|
![]() |
![]() |
![]() |
#191 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What's the point of multiple NCXs? Just create one NCX with multiple sections
|
![]() |
![]() |
![]() |
#192 |
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2008
Device: Kindle
|
Mobipocket Creator alternative
Kovid, et al.,
With the release of the Kindle DX, the problems with Creator's default image re-sizing/scaling has become more apparent. http://kindleformatting.com/blog/200...image-test.php I would love to have the ability to create a Mobi file from my Mobipocket-specific source using a third-party app. Any2mobi converts to an ePub first and removes my Mobi-specific HTML, and also ignores the NCX file. That happens even if I run any2mobi on an OPF created in Creator. Thoughts on a solution? - Joshua |
![]() |
![]() |
![]() |
#193 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does not ignore NCX files, if they are pointed to in the OPF. As for mobi specific formatting, what formatting exactly do you have in mind that you can't acheive with normal HTML?
|
![]() |
![]() |
![]() |
#194 |
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2008
Device: Kindle
|
Kovid, thanks for the reply back. I was unable to make the NCX file catch when I was testing any2mobi. I tried running it on the opf I had made in Creator and on the HTML file. I am trying to get the location bar on the K2 to have waypoints the same way it does in a PRC made with Creator
As I outline in my Kindle Formatting book, there is a lot of HTML formatting that is not valid in Mobi/Kindle, and some specific Kindle formatting that is not necessarily valid HTML. An example of this problem is the lack of support for outlines made from list tags. Mobi does not support the list-style-type CSS or the related HTML attribute, so there is no way to make an outline like that. I use a selection of special markup to make outlines look good. So, I could make an ePub first, but, as with Mobigen, the formatting does not necessarily translate to Mobi perfectly. I really want the best of both worlds: Mobipocket Creator's ability to take my HTML and make a Mobi directly, and any3mobi's ability to gracefully handle large image files. The best way for you to see the types of formatting peculiarities I am talking about is for you to read my book. I'd be happy to send you a copy if you like. Just tell me if you want it in print, PDF, ePub, or Mobi (print, PDF, and ePub are best). I appreciate your assistance. - Joshua |
![]() |
![]() |
![]() |
#195 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
main menu, section menu, css for calibre mobipocket output | naisren | Calibre | 2 | 08-23-2010 11:42 PM |
Trying to get consistent look to all output | daveps | Calibre | 0 | 03-08-2010 02:18 PM |
Anyone Have mobipocket desktop? Mobipocket server is down. | Ireadfreely | Kindle Formats | 3 | 10-27-2008 10:29 AM |
convert from 'new' mobipocket to 'old' mobipocket? | Indigo Ink | Kindle Formats | 11 | 06-22-2008 01:43 AM |
Mobipocket Reader 4.8 and Mobipocket eNews Creator | Mobipocket | Reading and Management | 1 | 01-29-2004 08:03 AM |