From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28737 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Evans Newsgroups: gmane.text.pandoc Subject: Re: Pandoc docx output missing images Date: Wed, 30 Jun 2021 17:50:13 -0700 (PDT) Message-ID: <83d81b83-1a29-4f02-b2c3-3652222f141cn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2306_1186623415.1625100613878" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13897"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCRLBJ7E64NRBR5C6SDAMGQEIZJJTTI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 01 02:50:18 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lykuH-0003Ry-3p for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 01 Jul 2021 02:50:17 +0200 Original-Received: by mail-oo1-f59.google.com with SMTP id v2-20020a4ae0420000b029024c90af1433sf2303109oos.19 for ; Wed, 30 Jun 2021 17:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=hvbschxHI2IzJydchTAY7LSr/B87kW5lP0gBIxVvU+c=; b=Sm78dBm6nljWIhA3gRe/JUq2B1P1FidF+/Dvv+TF3XsVUPmBe42n7QFg2gmFgXtig7 lgHTFpDkU4fZHzV+TSWgbKZmfOr9DXkTM54l2WvDEVGFTKK9TbSk3mLkZUX4pbIAWy1v fUG7+3QwdkfoOWkgMn7/Jal5CEAGW3VjnRGYqNdpLydKHRS2NXdcFZLFvDqez56nQdBy 6fN1mFe5uLE9XYR8g4ALTYLfnuqWY7QHDR/wCfmRVyCdnBYDGMRJWrRShWhdgpwqsi/i Kd3UvKCIPccOmv5tbxeAqwyr4MvfJqh9LsBZgMMOnIjYb3P8YVoPqKRZ30UZtExQ9+4G MPzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=hvbschxHI2IzJydchTAY7LSr/B87kW5lP0gBIxVvU+c=; b=HznHVKDhqOCMvSEaFMbMGtjU5TCIt28xWKpavgxLSXyD/B98TOlTASnS1lGyvRUjtZ OlG1PFbz1XK62xzZ1Newxv68rXORPKD9ZmZ1uiq+R0UXtJTjixDAq8K4DLB9CRv2MiEF fJIJm4AIbN7ehSkga2KxOD/N+ShvnED571F2I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=hvbschxHI2IzJydchTAY7LSr/B87kW5lP0gBIxVvU+c=; b=rx0gULg/7mpBzKAe1j+pk1Oxzni16b2UU8eDA7JrZUYXNM3B79wi7GNPNKGJItUYs6 Lbk6tnRj9yRu0Me/cci583PccNvPYerxFKlwFAI7LG7V2MoEfbGFWuFbUQcYNny9Pah2 uba+uwyjDeJrRXqeyuwE7d49Af352JUtyfYUgaOEwi0d4VnSqv+0h/7PaQE+j5o21MuM tis3RK686erkXHiUlbYv6wt4WPOTmYGZ96UyPLVioL6POTpws0TIQzfozNMf8fk8EWXs llsBynbIQt+axOdY/PI3DNiX/ORm+NvAgwNkfGdylOJBcjYMDyUgHmA6LDpSXIeV+XCD YjFg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531h6+J6QFEqrSt77DtZAoZMTV+zCGipwx+XVWj6u3OBK5qt7UJH ALnIoPLwVkUdfvykNfnXIps= X-Google-Smtp-Source: ABdhPJwDfRxGm9Afg3jxBm1D1GHul8lOynqMujtk2BU8C8hz+DxYS72E78J9OWILD7z1i4l/9/LvuQ== X-Received: by 2002:a05:6808:1290:: with SMTP id a16mr5370718oiw.147.1625100616148; Wed, 30 Jun 2021 17:50:16 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1e2c:: with SMTP id t12ls1415049otr.11.gmail; Wed, 30 Jun 2021 17:50:14 -0700 (PDT) X-Received: by 2002:a9d:310:: with SMTP id 16mr11300640otv.356.1625100614528; Wed, 30 Jun 2021 17:50:14 -0700 (PDT) In-Reply-To: X-Original-Sender: paul.evans-QDVy5qH0ceL2fBVCVOL8/A@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:28737 Archived-At: ------=_Part_2306_1186623415.1625100613878 Content-Type: multipart/alternative; boundary="----=_Part_2307_2039670535.1625100613878" ------=_Part_2307_2039670535.1625100613878 Content-Type: text/plain; charset="UTF-8" Thanks for the quick response! I've installed 2.14.0.3 and get the same behavior: no images in the docx unless I put two images in a row. Then the second image displays. Interestingly, when I get the image, I get no caption, and when I don't get an image, I do get a caption. Thanks On Wednesday, June 30, 2021 at 5:31:04 PM UTC-7 John MacFarlane wrote: > > Can you try with 2.14.0.3, the lastest version? There were some > relevant changes that may have affected this. > > Paul Evans writes: > > > Hi, > > I'm using pandoc 2.14.0.2 on a 2019 MacBook Pro running macOS Catalina > > Version 10.15.7. I'm trying to convert pandoc markdown to docx: > > > > pandoc -o chapter0.docx --citeproc --reference-doc=../ref/final.docx > > chapter0.md > > > > I'm viewing the results with Microsoft Word for Mac Version 16.50. > > > > At some point in the recent past (like last summer), I was able to > include > > JPG and PNG images without any problem, but recently it stopped working. > > After a lot of goofing around, I found a really stupid workaround. If I > > include two images in a row, the second image will display. So I > downloaded > > a 1x1 white JPG from Wikipedia, and put it immediately before the image I > > want to display: > > > > ![](JPGs/1x1.jpg) > > ![Figure 1 10 Sep 2013](JPGs/Photo51.jpg) > > > > This works, but I'd really rather not rely on an evil kludge to solve the > > problem. If anyone is so inclined, you can take a look at my setup by > > cloning https://github.com/decretist/Dissertation.git. The Chapter0 > folder > > has everything needed to reproduce the problem in its native habitat. > > > > Thanks, > > Paul Evans > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAE4RJyCwfz-3NDcVq%3DW2x-SpwgW2wq_HVtKAw%3DZYnuAAVDvFLQ%40mail.gmail.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/83d81b83-1a29-4f02-b2c3-3652222f141cn%40googlegroups.com. ------=_Part_2307_2039670535.1625100613878 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the quick response! I've installed 2.14.0.3 and get the same= behavior: no images in the docx unless I put two images in a row. Then the= second image displays. Interestingly, when I get the image, I get no capti= on, and when I don't get an image, I do get a caption.
Thanks
On Wednesday,= June 30, 2021 at 5:31:04 PM UTC-7 John MacFarlane wrote:

Can you try with 2.14.0.3, the lastest version? There were some
relevant changes that may have affected this.

Paul Evans <paul....@aya.= yale.edu> writes:

> Hi,
> I'm using pandoc 2.14.0.2 on a 2019 MacBook Pro running macOS = Catalina
> Version 10.15.7. I'm trying to convert pandoc markdown to docx= :
>
> pandoc -o chapter0.docx --citeproc --reference-doc=3D../ref/final.= docx
> chapter0.md
>
> I'm viewing the results with Microsoft Word for Mac Version 16= .50.
>
> At some point in the recent past (like last summer), I was able to= include
> JPG and PNG images without any problem, but recently it stopped wo= rking.
> After a lot of goofing around, I found a really stupid workaround.= If I
> include two images in a row, the second image will display. So I d= ownloaded
> a 1x1 white JPG from Wikipedia, and put it immediately before the = image I
> want to display:
>
> ![](JPGs/1x1.jpg)
> ![Figure 1 10 Sep 2013](JPGs/Photo51.jpg)
>
> This works, but I'd really rather not rely on an evil kludge t= o solve the
> problem. If anyone is so inclined, you can take a look at my setup= by
> cloning https://github.com/decretist/Dissertation.git. The Chapt= er0 folder
> has everything needed to reproduce the problem in its native habit= at.
>
> Thanks,
> Paul Evans
>
> --=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 pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.goog= le.com/d/msgid/pandoc-discuss/CAE4RJyCwfz-3NDcVq%3DW2x-SpwgW2wq_HVtKAw%3DZY= nuAAVDvFLQ%40mail.gmail.com.

--
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/83d81b83-1a29-4f02-b2c3-3652222f141cn%40googlegroups.= com.
------=_Part_2307_2039670535.1625100613878-- ------=_Part_2306_1186623415.1625100613878--