From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32941 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sarthak Narayan Newsgroups: gmane.text.pandoc Subject: Markdown to docx conversion not using the images in the media folder Date: Wed, 12 Jul 2023 06:14:08 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12564_1699724278.1689167648289" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9062"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX2XAHV3YFBBIOOXKSQMGQEKJOZDUI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 12 15:14:13 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f60.google.com ([209.85.160.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qJZfZ-0002A1-3J for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 Jul 2023 15:14:13 +0200 Original-Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-1b0812d43a0sf1322539fac.0 for ; Wed, 12 Jul 2023 06:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689167652; x=1691759652; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=odjHdL0eRlgZzIUF/Gf6F3nB4EPCLj3A7/aAtwcd6ho=; b=p4E8QlDiGUo4pZnyGKticePLjnEqqm83vbZ6mInNVvwC6EiuD0b+CZ8/SLzpz0U7Jt Ml6fv0k8zWe3BJ1NKXCUffkhOaL69g0L8WUIevgPb5jbQYsoyiySlt3AdIukqdZct6Jw jP3zd38wtZHj/GfSWawtA+5qwQbXtQzWaQCpwPapG1s+AFQnxfapoqdEyZ6YRLHlPbH4 iBugMn1zAqA+H0oEUprSW8vufOJasnpxRbMqQkeDZONU6tZBnd3dd3a6KC/EqplE4MHQ Ox90XTSaJVNXpyWY4zuNtC036Q7zcEOKZXrMv+OtsLgLgVxjqd55nC28IQ22nflZqEnP eK4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689167652; x=1691759652; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=odjHdL0eRlgZzIUF/Gf6F3nB4EPCLj3A7/aAtwcd6ho=; b=QmEyrfyoELNrnJ+j/Wvs+cBQbpAdIoJJHxWg5Mp4seXQ5See1JTMnqgzC8SJ6idiRv BB00OJZyGmIkOpBCepXgayfRv0oZCyosQ9KiEcBTnacBL1uPjTWndGLsgjDTWV3ygb7W fq/s3vJD7PaPsGJbXMzL3WEwcAUgkJ2mG96vFLDE5fa/gkb+s8CqW/wpTaEFjANvsXIG i9oNRyb26krYu9NTHizadk/qXEZut/dWrUMDr/Z0H9Q4qGe17hHytuLmhqzIADSzbiPk 0/9mniSSMOwfgjdSe+SCBV4MWU8w+2npo1qgRGwLmAl/rf+dKfArvpdso9gaRfkgbuSg CM/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689167652; x=1691759652; 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-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=odjHdL0eRlgZzIUF/Gf6F3nB4EPCLj3A7/aAtwcd6ho=; b=QOhAPCEW1qDEHxcIGg26lqVi5b37g2BUgYCe0DMYOENQ9wWyaMNDifD8dXRbdTU5wg 5TsbSB+srRI+6DEsWDRXRmhjaa/paJxuffdcm/EEiew3JUVTLI/AfP5jeIQzBW26Z/3e QDIRZwbAT8hfEfqXvof0GyTVKef97DyFuCX3knGg/bqUEmGowxeOMA1thneoiPBcVWxE htxGkV9pLyREVlvoAtIvpc+YXU5qz12WxEvB+4h3UmL4V29XtlWA090aLzjd85gjodLB NF0mLc24HyXICSIp4N+ElmC2Uj+vyeENTBvhNKHULBIve9pyy+K/Ju3goYhuec/nuCdq Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLYIkthI+N2+7W93auK1FaV/wh+jdbyUKmB6oDTtaszK9A9Tdae2 Z2YQmTDJ7D2ZOAjLsnghcBk= X-Google-Smtp-Source: APBJJlFcXxQSXCsirr/fjXRydtzP2et+cRi7ZHukCVugJd2dpt1DtMYFXFAFYpxNAZbeWadhLN9EQg== X-Received: by 2002:a05:6871:813:b0:1a3:7817:1ee3 with SMTP id q19-20020a056871081300b001a378171ee3mr1453461oap.11.1689167651802; Wed, 12 Jul 2023 06:14:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:d201:b0:1b3:e8f6:6709 with SMTP id g1-20020a056870d20100b001b3e8f66709ls458592oac.2.-pod-prod-00-us; Wed, 12 Jul 2023 06:14:09 -0700 (PDT) X-Received: by 2002:a05:6830:1696:b0:6b7:2c41:710 with SMTP id k22-20020a056830169600b006b72c410710mr2083966otr.3.1689167648969; Wed, 12 Jul 2023 06:14:08 -0700 (PDT) X-Original-Sender: sarthak.narayang-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:32941 Archived-At: ------=_Part_12564_1699724278.1689167648289 Content-Type: multipart/alternative; boundary="----=_Part_12565_287698141.1689167648289" ------=_Part_12565_287698141.1689167648289 Content-Type: text/plain; charset="UTF-8" Explain the problem. I use pandoc --extract-media=./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 the media folder. But when I try to convert docx to markdown using the command: pandoc --extract-media=./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.docx. Pandoc version? pandoc 3.1.4 Features: +server +lua Scripting engine: Lua 5.4 OS: MacOS -- 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/c6a520db-c88c-44f1-b8b7-4ecc434fca2bn%40googlegroups.com. ------=_Part_12565_287698141.1689167648289 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Explain the problem.
I use

pandoc --extract-media=3D./media= -t markdown_mmd -s document-2.docx -o output-2.md
for converting my d= ocument-2.docx to output-2.md. I save the images in the media folder.
=
But when I try to convert docx to markdown using the command:
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.docx.

Pandoc version?
pandoc 3.1.4
Features: +server= +lua
Scripting engine: Lua 5.4
OS: MacOS

--
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/c6a520db-c88c-44f1-b8b7-4ecc434fca2bn%40googlegroups.= com.
------=_Part_12565_287698141.1689167648289-- ------=_Part_12564_1699724278.1689167648289--