From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32942 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Markdown to docx conversion not using the images in the media folder Date: Wed, 12 Jul 2023 13:47:27 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39276"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRB7O6XKSQMGQENKGZWKQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 12 15:49:55 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f58.google.com ([209.85.221.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qJaE6-0009z8-KL for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 Jul 2023 15:49:54 +0200 Original-Received: by mail-wr1-f58.google.com with SMTP id ffacd0b85a97d-30e4943ca7fsf3675784f8f.3 for ; Wed, 12 Jul 2023 06:49:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689169794; cv=pass; d=google.com; s=arc-20160816; b=BDQvFAs73P26McJ65uhS/9GYlh8jAKemlcVd5E5tUJiiRzqlprheUnSTAS93p+AxtD S11HG1JgLsPmRVZTtIVcM7g5SUxcZLGDEPuL+OVvGO4XvJQv/lMs0HQHGmxP35j501GW wQb8aqe7gewSQvxYfFoWvszsIbInAChItdnL1fjdrxl1khdXUkK9PqHpXESoI9V7GUnf YHEne1A42DOG8FaYO1Lf1u2ZPpOsgS9Ak1jCIKJrQtpopdd/MIFiDHEuFN+8RqNFRVtH SXFIqnvHhlkeU705AQoYFRfgOAjbQ+xjFBGbMRAbiLLcSm3RBz2hY82gYISF4b/+RlM0 zXcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=vtvrboySahnfUXXZdnrwKnJDfXpLHWNRmHBujsxKpt8=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=FM344iZtTd5n8u3sXLOvXPJejb4pFymndajuuKEPpTTsy03OrjqIlmaP40vDugsjhg SjU4ZtsddrrQLoRcEgY/O1AwaqCFIQj7/8hcnXzfWc8jQAr4SElCAFR6OVB15qSWEb6g 7CjqcBzd3AATLuVAbmwYUtQz6D17Vqg41Duf7IfGgSLztJpbelNA764oOYXHUVEwRYgb Vdn/6zWHs6MGvElBL7C0wwhGTUO/QBZSjYW1FdBgAa+jwELanVUqwSrPfRLQCpNFvx3n it19V5DIhY0/CRSgG9/V4sehGJ0cjA8/v4uSKGSg3aCX8lF+APKHr5dMZIuAwckOGqw1 nyUg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Rgh8Bfp5; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689169794; x=1691761794; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=vtvrboySahnfUXXZdnrwKnJDfXpLHWNRmHBujsxKpt8=; b=I4BsAOZ/XbUmPw8q9KDrt0q++Q9XhoEV5krNkGGpxk0IQb2ff9cLxw9mtMqHc+uxFb 73L7z6/n495KYFfRTjPOlZ88duL7P/bUlRU1j6jRHBQffswtz/03+FvO9x4WTsqwTv49 CRj0ALz81PgoUJ671P6vvGdqiOS8efOM338OHKH1Wj0OCQB5uLGZvEvyi/f6aaR1Flq/ TgtAUFdzubn0/h4w8Pz/GjTvsKjYAeYwSTgnxQYTWrJNG0o9n4g4QDHLpNaV+seJSUwN Ow29kKqthEc4cOgh7 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689169794; x=1691761794; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=vtvrboySahnfUXXZdnrwKnJDfXpLHWNRmHBujsxKpt8=; b=IgHzE+bAHFcgMjCAsBXXb7zDYgTsy2uq5I0S02HjVQbG3GPrNcvdUiXYo6oLX4Qjql 107V95Yue3Bc5Sgh9aGEYtp/H45rjDT6AYTRrYsVe2PNa0d7WskceZ9xdWF661yikHyI r/zpTfitQWg9YKbfOgFmVvh8pdSbTGvQJmCXU/x06hiSF2IWjXGACaA+652c929Bc9jE QjRn0o2mCf4h1GIK6ioekfBrGVgL Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLb3ZdK0nlBl+CdNiYyetJ12Kv/uUvfCv4Y1dzeh6PP/CXwu+S3Q zoShxF+Mdh4sblCdjVESb3g= X-Google-Smtp-Source: APBJJlE6igV1OFPmxOO2tL2BbC0C+rvf1xPZ+GR8iS3M0BdEjoiKadyy4ZTB1ocu94n7C2BaxedJWw== X-Received: by 2002:adf:e289:0:b0:314:1608:1eec with SMTP id v9-20020adfe289000000b0031416081eecmr16504842wri.63.1689169793372; Wed, 12 Jul 2023 06:49:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:f30c:0:b0:312:831f:5808 with SMTP id i12-20020adff30c000000b00312831f5808ls2336313wro.2.-pod-prod-06-eu; Wed, 12 Jul 2023 06:49:48 -0700 (PDT) X-Received: by 2002:adf:fa51:0:b0:314:16d3:d1ee with SMTP id y17-20020adffa51000000b0031416d3d1eemr16541083wrr.68.1689169788509; Wed, 12 Jul 2023 06:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689169788; cv=none; d=google.com; s=arc-20160816; b=I3XJXanyrnSRND7oBVuHeuSlb1Ry9pRyeDF2BYvG2ImxmopIFvKuVqEzrioxmgsN+b oWfGptCvzYEbcFdogbgRWIklN1V6Nw5j19at1CU1UaMnDspvWwYAllhl3wTKY1kPs4XP MOJGQvsACAMQEtWFN7MKzM8UrzSsR80rT8wwmsqgxKs/3VDvf6RHSHGah6Hy+FqQykB7 Cb+mXPPdflo5v1X5maCW+5RyURNvLF5Ekx2phZciBS2qsWcHUOvXx+IIB8DGi8VsuLcl T1XBbcAiqKe0zbueGp+OHsWJFepHBNRHjvwqcAqF/EwuoudizPtec3qVdILxyqGS/5d4 Dp+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=0vpMU74F0THCsRXsWwiKI/vlOZ3V4l5fs31rQL3M350=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=zSiILT3LV5XzVy87Ya5nARXhjIJYMZ6pQOnEYafFSU4E0W4fEUfzLIL1Lb7gVnU9WP i+wYSYsRzSGizWQz0/o1d106w/T1oIptEbWIxZMuHI4drbjzBwMcTC6eOPaCy7d/8VnZ bJMsyqMSm9K3+qxgavQX1SrRVTf6yc9Qbhm0e1WxOtWYfrP8hKP1Nh/1yAXH/tNd7ntZ gIhKNUW3sI82H51I7Hxhj1Qx2c8qrz8eKWrlQl5xkwb/W+8uQs+LqCXYHyHM7ljvQTcr 2AvCGnDWbgqmvQ9hfEbfZXJ8KkBqRwWtqC15BnW5q9BVztPLwN1R7r31qXUuONrcyA1T M8mA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Rgh8Bfp5; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id bq2-20020a5d5a02000000b00314145e6e53si297499wrb.0.2023.07.12.06.49.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 06:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 07D4D240101 for ; Wed, 12 Jul 2023 15:49:47 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R1JyM4t1Pz6tvk for ; Wed, 12 Jul 2023 15:49:47 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=Rgh8Bfp5; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:32942 Archived-At: >From the manual, --extract-media serves to =E2=80=9Cextract images and othe= r media contained in or linked from the source document to the path DIR=E2= =80=9D, so it is normal that it does nothing in your second command. I gues= s that you should use --resource-path instead. Le Wednesday 12 July 2023 =C3=A0 06:14:08AM, Sarthak Narayan a =C3=A9crit : > Explain the problem. > I use >=20 > pandoc --extract-media=3D./media -t markdown_mmd -s document-2.docx -o > output-2.md > for converting my document-2.docx to output-2.md. I save the images in th= e > media folder. >=20 > But when I try to convert docx to markdown using the command: >=20 > pandoc --extract-media=3D./media -t docx -s output-2.md -o final-2.docx > I don't see the images that were present in output-2.md in the final-2.do= cx. >=20 > Pandoc version? > pandoc 3.1.4 > Features: +server +lua > Scripting engine: Lua 5.4 > OS: MacOS >=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= email > to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/c6a520db-c88c-44f1-b8b7-4ecc434fca2bn%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/c6a520db-c88c-44f1-b= 8b7-4ecc434fca2bn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/ZK6u70WMm3t0v8hD%40localhost.