Yeah, I already tried, but it was not as expected. When I transform from MD to DOCX a picture with an invisible alt tag AND a visible line below of the style Image Caption with the caption text is created. Then, if I transform this back again to MD, the result is as follows

```
![Abb. 1: title](media/rId20.png){width="1.3888888888888888in"
height="1.375in"}

Abb. 1: title
```

That is doubling the information from the start... Moreover the relevant information (between the square brackets) comes from the invisible information in Word which is not what I want.

Thank you and best regards,
Philipp

Am Do., 13. Aug. 2020 um 22:23 Uhr schrieb Denis Maier <denis.maier.lists-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>:
Hi,
not really a hint, but have you tried doing the conversion in the opposite direction? How does the DOCX look like when you use the expected result as input?
Best,
Denis

Am 13.08.2020 um 22:09 schrieb Philipp Zumstein:
I would like to create some DOCX document which will then translate to Markdown containing an image with its caption (in the square bracket), i.e. the result after the pandoc transformation DOCX -> MD should look something like this

![Abb. 1: title](ip-logo.png){ #image1 }

I tried to add the caption "Abb. 1: title" in Word on a newline after the image and choosed the style "Image Caption", but that did not work. Also if I use the Word functionality to add a caption to the image, that was again only parsed as an additional line of text. The only thing which works is to format the image in Word and add some alternative (hidden) text.

Is there a more visible way to achieve the above markdown line from a word document? How should I use the styles "Image Caption" or "Captioned Image" in Word correctly such that pandoc will do something with them? Is it normal that I don't see these styles in the native ATX output?

I am using a German version of Word on a windows machine with pandoc version 2.10.1.

Thank you very much for any hint!
Philipp
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/601f7c12-1b83-43df-97ca-4288126ac4e4n%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/Pm6_hoJ2Zao/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a2555e89-5f0b-b0cd-2d52-bec1c9290168%40mailbox.org.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAAjpKCTc-mcPYoqe7D779VMWkVchANLn7wJhneMv4PNr3a2xKg%40mail.gmail.com.