From: gnpan <g.panayotou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Pandoc docx output missing images
Date: Thu, 1 Jul 2021 02:44:59 -0700 (PDT) [thread overview]
Message-ID: <55eedaaa-078d-4d00-ae06-4cf3892015c2n@googlegroups.com> (raw)
In-Reply-To: <83d81b83-1a29-4f02-b2c3-3652222f141cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 3241 bytes --]
I can't reproduce this, although I couldn't find your final.docx reference
file and I used the default and one of mine. Do you still have this issue
with the default template?
Also, your solution of adding a one-pixel image reminds me that I used the
same solution for a different problem (a pandoc filter for wrapping text
around figures, which didn't respect the width I set). Try reducing the
size of your image, which is currently 29 inches, to the size you want it
in the text, say 5 inches.
On Thursday, 1 July 2021 at 03:50:14 UTC+3 paul....-QDVy5qH0ceL2fBVCVOL8/A@public.gmane.org wrote:
>
> 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 <paul....-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-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/55eedaaa-078d-4d00-ae06-4cf3892015c2n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 4886 bytes --]
next prev parent reply other threads:[~2021-07-01 9:44 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 [this message]
[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
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=55eedaaa-078d-4d00-ae06-4cf3892015c2n@googlegroups.com \
--to=g.panayotou-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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).