public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: dmccunney <dennis.mccunney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Request for .mobi input
Date: Wed, 7 Feb 2018 12:51:32 -0500	[thread overview]
Message-ID: <CAF4AJDycJq4agAnFaDLW3Kfi9WYf3wew403Px3EiN6Hyfm2Nxw@mail.gmail.com> (raw)
In-Reply-To: <CAJ4fGLtvWGW30OwP3sBCVAR+567nyx4y6OikY7CVVx+4Uh4pNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3850 bytes --]

My experience has been that ePub->Mobi works better, but the ePub output
from conversion can be massaged in Sigil (
https://github.com/Sigil-Ebook/Sigil/releases/tag/0.9.9) if needed.

On Wed, Feb 7, 2018 at 12:45 PM, Fred Zimmerman <wfzimmerman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> The calibre command for converting mobi to epub is ebook-convert, and yes,
> it works, although not 100% -- sometimes heading structure doesn't come
> across correctly in the output document.
> ᐧ
>
> On Wed, Feb 7, 2018 at 12:32 PM, dmccunney <dennis.mccunney-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
>
>> On Wed, Feb 7, 2018 at 12:20 PM, David Macfarlane <dmac-HuPk6NEp4MX2eFz/2MeuCQ@public.gmane.org>
>> wrote:
>> > It would be helpful if pandoc could read .mobi files for conversion into
>> > .epub or whatever.
>> >
>> > I have pandoc v 2.1.1 and I tried .mobi input and it failed with
>> "pandoc:
>> > Cannot decode byte '\x88': Data.Text.Internal.Encoding.decodeUtf8:
>> Invalid
>> > UTF-8 stream". I checked the documentation and it doesn't look like
>> .mobi
>> > input is supported (yet).
>>
>> Calibre (https://calibre-ebook.com) handles Mobi->ePub conversions.
>> Its primary purpose is to create and maintain an eBook database, but
>> it converts between supported formats. Calibre is written in Python,
>> and cross-platform, available for Windows, Linux, and OS/X.
>>
>> I haven't tried it, but I believe the conversion can be done from the
>> command line, calling the conversion module directly instead of going
>> through the GUI.
>>
>> (I've converted files I got in Mobi format to ePub without issue.)
>> ______
>> Dennis
>> https://plus.google.com/u/0/105128793974319004519
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/pandoc-discuss/CAF4AJDyOei%3DMrvTo3%3DhS2C_Q4%3DG5L7na%
>> 3Dpv4f%2BkxFnv8S0o0Zg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/pandoc-discuss/CAJ4fGLtvWGW30OwP3sBCVAR%2B567nyx4y6OikY7CVVx%
> 2B4Uh4pNQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAJ4fGLtvWGW30OwP3sBCVAR%2B567nyx4y6OikY7CVVx%2B4Uh4pNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
______
Dennis
https://plus.google.com/u/0/105128793974319004519

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAF4AJDycJq4agAnFaDLW3Kfi9WYf3wew403Px3EiN6Hyfm2Nxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 6868 bytes --]

      parent reply	other threads:[~2018-02-07 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 17:20 David Macfarlane
     [not found] ` <3ec97804-2145-47d6-9311-1e834333d2b7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-02-07 17:23   ` Fred Zimmerman
2018-02-07 17:24   ` John MacFarlane
2018-02-07 17:32   ` dmccunney
     [not found]     ` <CAF4AJDyOei=MrvTo3=hS2C_Q4=G5L7na=pv4f+kxFnv8S0o0Zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-07 17:45       ` Fred Zimmerman
     [not found]         ` <CAJ4fGLtvWGW30OwP3sBCVAR+567nyx4y6OikY7CVVx+4Uh4pNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-07 17:51           ` dmccunney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF4AJDycJq4agAnFaDLW3Kfi9WYf3wew403Px3EiN6Hyfm2Nxw@mail.gmail.com \
    --to=dennis.mccunney-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).