public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Bernardo C. D. A. Vasconcelos" <bernardovasconcelos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Error caused by document length
Date: Mon, 27 Feb 2023 04:49:58 -0800 (PST)	[thread overview]
Message-ID: <8f11cfaf-7c36-4cc6-9866-aa3741d965a4n@googlegroups.com> (raw)
In-Reply-To: <7ed278f7-071b-4bcc-9f9a-e9dd5c09ee55n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1811 bytes --]

I do not know the answer to this problem in particular, but perhaps it is 
worth checking the main document *and* the bibliography for invisible 
control characters (e.g. `\X{A0}`). They tend to cause all sorts of strange 
problems that result in random error msgs.

On Monday, February 27, 2023 at 8:16:20 AM UTC-3 Peter Vedal Utnes wrote:

> We have a workflow in Open Journal Systems where we use Pandoc to convert 
> word documents to EPUB, and then display them with an embedded EPUB app 
> (Bibi). 
>
> Our resulting EPUBs work fine with both debuggers and viewers like 
> calibre. They work in Bibi, but only when they are reduced to a certain 
> length. Whenever the files exceed approx 100 lines or 600 words, Bibi 
> claims:
>
> TypeError: Cannot read properties of undefined (reading ‘getAttribute’)
>
> Meanwhile, the same documents works when converted to EPUB using other 
> converters, or when I reduce the length (length, not size in bytes-- I've 
> tried with graphics, still works). It suddenly works when I reduce the 
> length by removing pure paragraph text, even though all the formatted 
> elements (abstract, references, etc) are the same. 
>
> I recognize that this problem is very specific to the interrelation pandoc 
> <-> Bibi, but I'd be grateful for general troubleshooting suggestions. 
>
> Thanks in advance, 
>
> Peter
>
>

-- 
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/8f11cfaf-7c36-4cc6-9866-aa3741d965a4n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2490 bytes --]

  parent reply	other threads:[~2023-02-27 12:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 11:16 'Peter Vedal Utnes' via pandoc-discuss
     [not found] ` <7ed278f7-071b-4bcc-9f9a-e9dd5c09ee55n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 12:49   ` Bernardo C. D. A. Vasconcelos [this message]
     [not found]     ` <8f11cfaf-7c36-4cc6-9866-aa3741d965a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 13:48       ` 'Peter Vedal Utnes' via pandoc-discuss
     [not found]         ` <4bd152b5-32f7-4f4c-9a9b-0d20afebea84n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 14:16           ` bernardovasconcelos-Re5JQEeQqe8AvxtiuMwx3w
     [not found]             ` <CAEJ71f529ORrJ+aaLU-8JFbE3uLvYkQdKcJjKSJb5mJSt+jOvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-02-27 14:23               ` 'Peter Vedal Utnes' via pandoc-discuss
     [not found]                 ` <db7972f9-8881-4941-92ea-9b8f51c0c404n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 14:33                   ` 'Peter Vedal Utnes' via pandoc-discuss
     [not found]                     ` <bc147d77-69c9-4e5d-82a6-e149f662a823n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 14:54                       ` Bastien DUMONT
2023-02-27 15:45                         ` Bernardo C. D. A. Vasconcelos
2023-02-27 16:08                       ` John MacFarlane
     [not found]                         ` <0AFB3E23-B7C1-49E8-9F8A-12716F6A2C40-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-02-27 16:22                           ` 'Peter Vedal Utnes' via pandoc-discuss
     [not found]                             ` <20942a45-0995-4a50-888a-cf25e9895920n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 16:39                               ` Bastien DUMONT
2023-02-27 16:49                                 ` 'Peter Vedal Utnes' via pandoc-discuss
     [not found]                                   ` <a484697f-9076-4a13-acf1-a645fa611614n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-27 17:10                                     ` 'William Lupton' via pandoc-discuss
     [not found]                                       ` <CAEe_xxhpYFisSG6gMHRx=adVbGWOLGyS30t2G6VqnX7Sye1GEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-02-28 15:03                                         ` 'Peter Vedal Utnes' via pandoc-discuss

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=8f11cfaf-7c36-4cc6-9866-aa3741d965a4n@googlegroups.com \
    --to=bernardovasconcelos-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).