From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24941 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: =?UTF-8?Q?HTML_=E2=86=92_EPUB:_Either_"Out_of_memory"_or_"openBi?= =?UTF-8?Q?naryFile:_invalid_argument_(Invalid_argument)"?= Date: Tue, 21 Apr 2020 16:25:21 -0700 (PDT) Message-ID: <879425ff-d491-4d0b-8ffe-db24ad9cce23@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_715_59275534.1587511521164" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="40431"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBBYUB732AKGQE6QRJ4OQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 22 01:25:27 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jR2Gb-000ANx-J7 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 22 Apr 2020 01:25:25 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id 22sf337577otg.7 for ; Tue, 21 Apr 2020 16:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=tuzzww4tNiQzjqtILhCsA9csFAzgzN8bleWUpkVUpHU=; b=aLnmGYVqB0+VmwpprzW5U/IkH4VmhuzN6VjeXK0+58WMvy0uEwawN4w1v4g3ekDLRh bXVCG+ZcdEH8Q2EUzNDGKQFFqvvbulON3/dTwLw165RJqIE+WsHGyGLMGxTR1W2W9Rxw dATrgx2baAxmPUYJH1R5jFIBCBMUKpuylZMdNwMKBkdFta5KYIXid3TeVQN7qQ1mt2/Y 7lhh9G1Gji728Z9zJLz/Dvk2Vc5+/ODfsivc46wAgGI/8W7+cREpjJ+fbqBxgjT3JJsE zak4t7o4uVLCFR9swuOQZ8RKLquDemOULv0tlLbhivjoowV+xaE1jtT4WZyy/gTFp+Q8 0mxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=tuzzww4tNiQzjqtILhCsA9csFAzgzN8bleWUpkVUpHU=; b=WYRg1GFCPJl9rR5oo+hNLkOB0+jo8jYBbmirR8Px/Aj/nuNALWHJQKbVAaQodkY4PW fogooljk23IqzZBXRw4wrO4oA8R4RMzRihDNDfd6XeMGTqJP5BwtvAM6YgXpBfPtaT/o lZA12s0TNLx2X3Fl0Swm8J3bxYig2ttNZDRhX8HZpiKdRNXS+MMEoWFMIkfljX7x8Apa O7H/7Q9ZQgJyZDRjKb8q6lJsvxUC919KFGcqPZPVuaWXNZu7QsN2Rw3bOmn3M8x65uAR 4nfq3Mw229DlQNKPs/uR3Y/SrIwuInMgxnNnfn8rRtEHaOww2vmaRY/xSOJjEsJ8ysAA Pjlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=tuzzww4tNiQzjqtILhCsA9csFAzgzN8bleWUpkVUpHU=; b=j472xL0Yk/ScJJ/C93i7AAAUwgcQBcOEDNAqEAsYkrLuWamuj3RRq3OFsTqwUAVPBR WcFgHlZuvci2Skw76JJ2zfN+9NmdKh7uNkd0McIn3DlyRuFydMtY3Ga75bxZbxtA6FSB Mr5LxetMHTrSCwwO+Ot76qdX1JwfHuIY47W4IIqM4zmYUGIrzvR9+OYmFVwx27KEO06b hRWk/mbPa2Y/nd6YK+1xA3t4QJrwpNop42SGx3b1hfNAPcxiw/0wMcDRJwqCjNG7G5xM hErJsSsjKwf/tJdyiQZSLX/RQQpWfwRW34eDzYgVGbgM+ENbXAN9QQnwqrpg+mJev3x4 zUAw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PuZ8GIfCYsG82YCJXX7aqO0fzc/GeTszlr+cK/ftZZxIroPAFfLU fqpiXBbkNk0X+1T3nk2y3xk= X-Google-Smtp-Source: APiQypJP37vSvKbbwfZlKu2zW0AfWS2tCZkYAIIY4qIx/JvkmyAYC0D7dh3HfD78OFYokEPqcaf2ig== X-Received: by 2002:a9d:67c2:: with SMTP id c2mr14056568otn.227.1587511524581; Tue, 21 Apr 2020 16:25:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:d485:: with SMTP id l127ls115953oig.9.gmail; Tue, 21 Apr 2020 16:25:22 -0700 (PDT) X-Received: by 2002:aca:5b04:: with SMTP id p4mr5202154oib.105.1587511521903; Tue, 21 Apr 2020 16:25:21 -0700 (PDT) In-Reply-To: X-Original-Sender: christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:24941 Archived-At: ------=_Part_715_59275534.1587511521164 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable A side note, since your goal is to convert from PDF to ePub, you probably w= ill have better results using other tools. Eg I know it can be converted to= docx, and then from docx to ePub. There may he tool that can help you conv= ert that directly too. Essentially for the tools you choose, you=E2=80=99d = want to choose one preserving most information. And since pandoc focuses ma= ny on the structure of the document, much other information would be lost. = The choice of tool also depends on which ones you=E2=80=99re comfortable wi= th, Eg the PDF to docx I mentioned probably can be done by Adobe Acrobat an= d MS Word. But they are proprietary and difficult to run from the command l= ine. In your case, since you have a tool preconverted them to html already, html= to ePub can be done better by some other engines (since the 2 are closely = related.) may be you can try Calibre which also have a cli. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/879425ff-d491-4d0b-8ffe-db24ad9cce23%40googlegroups.com. ------=_Part_715_59275534.1587511521164--