From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28748 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gary Glass Newsgroups: gmane.text.pandoc Subject: Re: File splitting bug Date: Fri, 2 Jul 2021 00:07:10 -0700 (PDT) Message-ID: <38ac5d4c-8cba-4c23-a313-bf81e79779e7n@googlegroups.com> References: <297bc662-7841-4423-bcbb-534e99bbba09n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_414_1719856367.1625209630895" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33548"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCO3BB5GY4ARBH7W7KDAMGQEM5PH7NY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 02 09:07:14 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lzDGc-0008a0-2E for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 02 Jul 2021 09:07:14 +0200 Original-Received: by mail-oo1-f60.google.com with SMTP id e36-20020a0568200624b029024c79ea65e1sf4873973oow.11 for ; Fri, 02 Jul 2021 00:07:13 -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=sfLDOBrFa8Lj86f4U/JaFzJMkeA37Moq3fF9TUy4VBE=; b=Y5zyQyjmOa1vmDnlC6i0z0jGlIkZnF/A3Bz0bvguQeChYXXQT7RgWNZMe/lU+1kdPn Sc/dAyWy6vnvdQAbAHxTqoCIj2DRKEbxPKosXJvsdgSdpT1BVE/rXMZFe9T27bMICGiu yg5znkPbu2N8V6FRvPAKnpGXzZdm77JUrYgj4UgQULnVt+4f69qGh+WIsZjRJgEVHzYO G3jwW+0fFV6gKhRq3ClonM0i5gpKNIXg0S6zykbIPcXxE+rv+e/s9gI2EyhNDbAbMmUh p9tA4nsdzbQn+vHe6yiOnvLQ3+eiTYxw8h93hfpJsB24E3cKs+n5Jdt8oTlGDSpSb5d2 ZK2g== 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=sfLDOBrFa8Lj86f4U/JaFzJMkeA37Moq3fF9TUy4VBE=; b=Xi0fNFmCD1cn9aILoqqwki9oPyZxQq056jkphyxJp5dOKb9T8FP365p6cjpbCRF1qI Yo/+7Jotthz0KLYuGthDJXRBMzAXMg0kz/H9wP7Jwy96OdAxHTy81TQ2I9P6/3PgBbKc GbvA3K7kYtyv9HBYPfulrlZq2kM2OHZWpVfVmXMnWxJzhCWvjbqE9KX8zoeBF/8Hnv2t rKZja5uwYHXgpLLamX+s3LYhuzq3XHbWndjE9rp1u6AA55UgaA5gUBsH878twO4RQUol hihr+QRuJWvdo1VNohd7XknaYwMOAUaKg6afAxpDBxQeBi59T9JVYWRpcBku6fCLRJhp ZHTA== 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=sfLDOBrFa8Lj86f4U/JaFzJMkeA37Moq3fF9TUy4VBE=; b=lQBzTCJz3IQC6ELX/+xpmjC32MAki3f3wNiG/zNPogkVOB1g/9/2gGfIHAh/ZMgxrc I044ddKaBf4Q+W0MwAqH5pWvYTjwVUlafM+8gqEk5QviJltTlvjXbt7Q9AKT/uaIwH8J bIVc5/tTmL04uQxSAMivv5QXR5yTBm6xe8D3LGD6X5u9KylrMWuwkW3TbnFQRfnVGPzk Vp3cvzZRL5MBNs6jO1UxfJWVy0BULrLppwOMA+AmJtLlitAaDWwRiQlGUcVbXRDBiO0e H5ydQNUXQhD31ZDXef30AW7b2XyTKs4qo1YiQQ8wai1M2AQ0ur35DpTPDaBmwqyy59Em sGOQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5339INXetArzTGpQMksdBIUELLuZ9PTrswUSNUAzcWgRbBffLEWE zxZPMzrrLY8tHuOh+7J83Z8= X-Google-Smtp-Source: ABdhPJwCkiZ89eHE1evpN+NalmMp2D7vZ5Y2p+wkBTESbLCz+GTw2GHBQCMWR55kLWKGjqdCFDCHVw== X-Received: by 2002:a9d:6545:: with SMTP id q5mr3463996otl.268.1625209633047; Fri, 02 Jul 2021 00:07:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:641:: with SMTP id 62ls3263553oig.0.gmail; Fri, 02 Jul 2021 00:07:11 -0700 (PDT) X-Received: by 2002:a54:460a:: with SMTP id p10mr10767898oip.47.1625209631563; Fri, 02 Jul 2021 00:07:11 -0700 (PDT) In-Reply-To: X-Original-Sender: garyglassphotography-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:28748 Archived-At: ------=_Part_414_1719856367.1625209630895 Content-Type: multipart/alternative; boundary="----=_Part_415_826634591.1625209630895" ------=_Part_415_826634591.1625209630895 Content-Type: text/plain; charset="UTF-8" I figured out the source of the issue. I had an html table in the markdown and I added a colgroup to the table. The colgroup caused the problem. Removing it made it go away. Colgroup is not a commonly used tag (in my experience), but I think the bug is that pandoc shouldn't just emit invalid epub html when the source code is valid, even if it doesn't know what to do with it. Report an error or something! The html looked something like this: ...
... ... ...
On Thursday, July 1, 2021 at 5:57:57 PM UTC+2 John MacFarlane wrote: > > No ideas. We'd have to see the actual files to know more. > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/38ac5d4c-8cba-4c23-a313-bf81e79779e7n%40googlegroups.com. ------=_Part_415_826634591.1625209630895 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I figured out the source of the issue. I had an html table in the markdown = and I added a colgroup to the table. The colgroup caused the problem. Remov= ing it made it go away.

Colgroup is not a commonly used = tag (in my experience), but I think the bug is that pandoc shouldn't just e= mit invalid epub html when the source code is valid, even if it doesn't kno= w what to do with it. Report an error or something! The html looked somethi= ng like this:

<table>
    <= colgroup>
        <col />
=         <col style=3D"width: 33%;" />
&= nbsp;       <col />
    </colgr= oup>
    <tr>
      &= nbsp; <td>...</td>
        <td= >...</td>
        <td>...</= td>
    </tr>
    ...<= /div>
</table>

On Thursday, July 1, 2021 at 5:57:57 PM = UTC+2 John MacFarlane wrote:

No ideas. We'd have to see the actual files to know more.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/38ac5d4c-8cba-4c23-a313-bf81e79779e7n%40googlegroups.= com.
------=_Part_415_826634591.1625209630895-- ------=_Part_414_1719856367.1625209630895--