From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11792 Path: news.gmane.org!not-for-mail From: Andrew Yim Newsgroups: gmane.text.pandoc Subject: Re: Cannot: (i) extract images from the input docx files; (ii) convert 2 docx input files into 1 html Date: Mon, 19 Jan 2015 13:29:33 +0000 Message-ID: References: <4e05f6a9-4c84-49f2-bbf3-f0b5c5479a59@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3135e1eb565050d0150b0 X-Trace: ger.gmane.org 1421674192 7549 80.91.229.3 (19 Jan 2015 13:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 13:29:52 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCX7ZNW5TENRBPUN6SSQKGQEDDEEKKA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 19 14:29:41 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-la0-f59.google.com ([209.85.215.59]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDCOg-0003pl-C1 for gtp-pandoc-discuss@m.gmane.org; Mon, 19 Jan 2015 14:29:38 +0100 Original-Received: by mail-la0-f59.google.com with SMTP id hs14sf2806501lab.4 for ; Mon, 19 Jan 2015 05:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ihzk1uf+Mk0JUTMNJpep2t/ZowgTcbiemo/5CnzWp50=; b=TWIPiIfL3oiaFMRYV2ESz2rTgYHLAijjihz/YzXOOXx4Qmu5/tgTO3u0zgm98inTWf cOTszdVfBzzRz+sfjlbZr8alsoMlpjb2LLIaxG2QTj+7DE48eywTJvdVUFW0uCdhqB6N DHBGI8b5FBCmY+1XlNn7L47C6omm41wiWJxVzVJ6ErQdm90/O0M6cxq/XEgMfeWxYRhf N80nknMnNZfn18NhBEOKj6mu9teMdm4qB7c+vG9GQq/gOKTh9uSNbCK4sRrfW9p56mq/ 4glm59Y3Km+0rpGaxZFOcn3lkaaVaNtwQOmhn4FaA7h1aIx8flwy2PCasylOdi3BULde zmDw== X-Received: by 10.152.36.42 with SMTP id n10mr20372laj.20.1421674175023; Mon, 19 Jan 2015 05:29:35 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.152.116.112 with SMTP id jv16ls181061lab.101.gmail; Mon, 19 Jan 2015 05:29:34 -0800 (PST) X-Received: by 10.112.154.232 with SMTP id vr8mr322207lbb.10.1421674173984; Mon, 19 Jan 2015 05:29:33 -0800 (PST) Original-Received: from mail-la0-x229.google.com (mail-la0-x229.google.com. [2a00:1450:4010:c03::229]) by gmr-mx.google.com with ESMTPS id oi7si977907lbb.1.2015.01.19.05.29.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Jan 2015 05:29:33 -0800 (PST) Received-SPF: pass (google.com: domain of acdryim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c03::229 as permitted sender) client-ip=2a00:1450:4010:c03::229; Original-Received: by mail-la0-x229.google.com with SMTP id gm9so2691313lab.0 for ; Mon, 19 Jan 2015 05:29:33 -0800 (PST) X-Received: by 10.112.235.67 with SMTP id uk3mr30988544lbc.48.1421674173869; Mon, 19 Jan 2015 05:29:33 -0800 (PST) Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.25.41.145 with HTTP; Mon, 19 Jan 2015 05:29:33 -0800 (PST) In-Reply-To: X-Original-Sender: acdryim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of acdryim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4010:c03::229 as permitted sender) smtp.mail=acdryim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com 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.org gmane.text.pandoc:11792 Archived-At: --001a11c3135e1eb565050d0150b0 Content-Type: text/plain; charset=UTF-8 Thanks, Matt, for confirming that converting multiple docx input files in one go is not supported yet. Do you have any clue for why pandoc does not extract images from my first docx input file EMnFraud.docx ? (I tried that independently without a second docx input file but still couldn't get the images in the file extracted.) Did I specify the extract-media directory in the Windows environment incorrectly? (Tried also "D:/img" with quotation marks and D:\img without success.) Andrew On Mon, Jan 19, 2015 at 2:38 AM, Matthew Pickering < matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi, > > Sorry I made you waste a day. The error message should definitely be > clearer. > > Unlike text files, you can only specify one binary file on the command > line at the moment. This is definitely something which could be > implemented in the future though! > > Matt > > On Mon, Jan 19, 2015 at 2:29 AM, Tl Yim wrote: > > Will appreciate very much your comments to indicate what I did wrong > below. > > > > I try to use the following command to > > (i) extract images from the docx input files (attached); > > (ii) combine the 2 docx input files to convert them into 1 html output > file > > > > pandoc -s -S --extract-media=D:/img -f docx -t html -o EMnFraud.html > > EMnFraud.docx EMnFraud_outline.docx > > > > Tried also the equivalent form below without success: > > (1) no extraction of images and > > (ii) the html output file contains only contents from the first docx > input > > file > > > > pandoc -s -S --extract-media=D:/img -f docx -t html EMnFraud.docx > > EMnFraud_outline.docx > EMnFraud.html > > > > I use Windows XP and pandoc 1.13.2 > > > > Thanks in advance. > > (Tried a whole day without success. Could not find any useful relevant > > information with Google search.) > > > > > > -- > > 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/4e05f6a9-4c84-49f2-bbf3-f0b5c5479a59%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/Xsg-phpJSCk/unsubscribe. > To unsubscribe from this group and all its topics, 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/CALuQ0m9nkPNtSDLDCSfhzWsGy7Kg77L5DSpUu4eFq5AF1od8_A%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/CAFbbbDMWd_0vfWtqhOfFLZt3neA7P6w-zNfZ%3DJe6Ks0u9rjsXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a11c3135e1eb565050d0150b0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Matt, for confirming that converting multiple docx= input files in one go is not supported yet.

Do you have= any clue for why pandoc does not extract images from my first docx input f= ile=C2=A0EMnFraud.docx ?= =C2=A0
(= I tried that independently without a second docx input file but still could= n't get the images in the file extracted.)

<= div>Did I specify the extract-media directory in the Windows environment in= correctly? (Tried also "D:/img" with quotation marks and D:\img w= ithout success.)

Andrew =C2=A0

On Mon, Jan 19, 2015 at 2= :38 AM, Matthew Pickering <matthewtpickering-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

Sorry I made you waste a day. The error message should definitely be cleare= r.

Unlike text files, you can only specify one binary file on the command
line at the moment. This is definitely something which could be
implemented in the future though!

Matt

On Mon, Jan 19, 2015 at 2:29 AM, Tl Yim <acdryim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Will appreciate very much your comments to indicate what I did wrong b= elow.
>
> I try to use the following command to
> (i) extract images from the docx input files (attached);
> (ii) combine the 2 docx input files to convert them into 1 html output= file
>
> pandoc -s -S --extract-media=3DD:/img -f docx -t html -o EMnFraud.html=
> EMnFraud.docx EMnFraud_outline.docx
>
> Tried also the equivalent form below without success:
> (1) no extraction of images and
> (ii) the html output file contains only contents from the first docx i= nput
> file
>
> pandoc -s -S --extract-media=3DD:/img -f docx -t html EMnFraud.docx > EMnFraud_outline.docx=C2=A0 >=C2=A0 EMnFraud.html
>
> I use Windows XP and pandoc 1.13.2
>
> Thanks in advance.
> (Tried a whole day without success. Could not find any useful relevant=
> information with Google search.)
>
>
> --
> You received this message because you are subscribed to the Goo= gle Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit
> https://gr= oups.google.com/d/msgid/pandoc-discuss/4e05f6a9-4c84-49f2-bbf3-f0b5c5479a59= %40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://g= roups.google.com/d/topic/pandoc-discuss/Xsg-phpJSCk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+un= subscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/m= sgid/pandoc-discuss/CALuQ0m9nkPNtSDLDCSfhzWsGy7Kg77L5DSpUu4eFq5AF1od8_A%40m= ail.gmail.com.
For more options, visit https://groups.google= .com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAFbbbDMWd_0vfWtqhOfFLZt3neA7P6w-zNfZ%3= DJe6Ks0u9rjsXw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a11c3135e1eb565050d0150b0--