public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Paul Evans <paul.evans-QDVy5qH0ceL2fBVCVOL8/A@public.gmane.org>,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Pandoc docx output missing images
Date: Wed, 30 Jun 2021 17:56:53 -0700	[thread overview]
Message-ID: <yh480kzgv6rgve.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <CAE4RJyCwfz-3NDcVq=W2x-SpwgW2wq_HVtKAw=ZYnuAAVDvFLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


I removed the 1x1 image and compiled your document, and
I do see an image. Note!  LaTeX may move the figure to
a later page if it doesn't fit...so check later pages.

Paul Evans <paul.evans-QDVy5qH0ceL2fBVCVOL8/A@public.gmane.org> 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-discuss+unsubscribe-/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.


  parent reply	other threads:[~2021-07-01  0:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 23:41 Paul Evans
     [not found] ` <CAE4RJyCwfz-3NDcVq=W2x-SpwgW2wq_HVtKAw=ZYnuAAVDvFLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-01  0:30   ` John MacFarlane
     [not found]     ` <yh480k7diaswni.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-07-01  0:50       ` Paul Evans
     [not found]         ` <83d81b83-1a29-4f02-b2c3-3652222f141cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-01  9:44           ` gnpan
     [not found]             ` <55eedaaa-078d-4d00-ae06-4cf3892015c2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-01 19:58               ` Paul Evans
2021-07-01  0:56   ` John MacFarlane [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-23 19:47 Adarsh Balachandran
     [not found] ` <CAFf_abOuTwMLMUVaMLHzbN60VOg1_p-GA=18T3ixCWLd5JG_nw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-05-23 20:15   ` Albert Krewinkel
2021-05-23 20:15   ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yh480kzgv6rgve.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=paul.evans-QDVy5qH0ceL2fBVCVOL8/A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).