public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pandoc docx output missing images
@ 2021-06-30 23:41 Paul Evans
       [not found] ` <CAE4RJyCwfz-3NDcVq=W2x-SpwgW2wq_HVtKAw=ZYnuAAVDvFLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Evans @ 2021-06-30 23:41 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2895 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Pandoc docx output missing images
@ 2021-05-23 19:47 Adarsh Balachandran
       [not found] ` <CAFf_abOuTwMLMUVaMLHzbN60VOg1_p-GA=18T3ixCWLd5JG_nw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Adarsh Balachandran @ 2021-05-23 19:47 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

When converting a webpage generated by mkdocs material theme
<https://squidfunk.github.io/mkdocs-material/reference/images/>, images are
missing from the Pandoc output.

Please see below the conversion command and the pandocTheme.docx url:
*pandoc --reference-doc pandocTheme.docx -f html -t docx -o myDoc.docx
https://squidfunk.github.io/mkdocs-material/reference/images/
<https://squidfunk.github.io/mkdocs-material/reference/images/>*

https://pandoc.org/demo/twocolumns.docx

Thanks and regards,
Adarsh Balachandran
*Mob*: +91 9895792641

-- 
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/CAFf_abOuTwMLMUVaMLHzbN60VOg1_p-GA%3D18T3ixCWLd5JG_nw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2621 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-07-01 19:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 23:41 Pandoc docx output missing images 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
  -- 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

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).