It's Windows (7, 32 bits) and pandoc 2.9.2.1. Le mardi 21 avril 2020 07:40:45 UTC+2, John MacFarlane a écrit : > > > That's extremely strange. Your shell should be expanding the * > in *.html before it even gets to pandoc. So if pandoc can see > the *, your shell hasn't done what it's supposed to. > > What OS are you using, and what version of pandoc? > > Heck Lennon > writes: > > > Hello > > > > > > On Windows (7, 32 bits), I'm trying to convert a ~450 page PDF into > EPUB. > > > > > > 1. I used "mutool draw" to convert the PDF into a single, ~10MB HTML: > > > > > > pandoc -f html -t epub3 -o output.epub input.html > > > > (~10mn wait on my sluggish computer) > > > > "Out of memory": > > > > > > 2. Next, I reran "mutool draw" to convert the PDF as one page = one HTML > > page: > > > > > > pandoc -o output.epub *.html > > > > pandoc: *.html: openBinaryFile: invalid argument (Invalid argument) > > > > > > 3.Finally, I used pandoc to concatenate all the HTML files, but still > got a > > "openBinaryFile: invalid argument (Invalid argument)". > > > > > > pandoc *.html > full.html > > > > pandoc: *.html: openBinaryFile: invalid argument (Invalid argument) > > > > > > What do you suggest I try? > > > > > > Thank you. > > > > -- > > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/cfd086c1-9fe5-41bd-b735-3cd8db7579d9%40googlegroups.com. > > -- 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/65ccb50b-6595-450d-86ca-c8103867e3bf%40googlegroups.com.