public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to add a (visible) image caption in DOCX for pandoc transformations?
@ 2020-08-13 20:09 Philipp Zumstein
       [not found] ` <601f7c12-1b83-43df-97ca-4288126ac4e4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Philipp Zumstein @ 2020-08-13 20:09 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1477 bytes --]

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.

[-- Attachment #1.2: Type: text/html, Size: 1903 bytes --]

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

end of thread, other threads:[~2020-08-15 16:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13 20:09 How to add a (visible) image caption in DOCX for pandoc transformations? Philipp Zumstein
     [not found] ` <601f7c12-1b83-43df-97ca-4288126ac4e4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-13 20:22   ` Leonard Rosenthol
     [not found]     ` <CALu=v3Jic+xJzRqZqKc68bgq9+hJu4ggT8QVYywREoNjxJJ9Tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-13 20:43       ` Philipp Zumstein
     [not found]         ` <CAAjpKCQxWSdbcYLQ0hEDNM-G0RZEzaST0a6QPBd40aJGtHs1og-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-13 20:59           ` Denis Maier
     [not found]             ` <fa0d0129-89db-209c-3d4b-0f54fbc34dc3-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-08-13 22:25               ` Leonard Rosenthol
     [not found]                 ` <CALu=v3KF2OLWfzNVFuConLm07t6cT-WHW0McykWoX3Rk1oLgag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-14 21:20                   ` Philipp Zumstein
     [not found]                     ` <CAAjpKCR8ROFDn8pmGoh=HWMLGyuVq7L=GVx4X9nG+eTmKv4KgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-15  9:25                       ` Philipp Zumstein
     [not found]                         ` <CAAjpKCSks1XoOZDm=JtN05p3yt0JJVbnRkdVe+widioOmtncyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-15  9:57                           ` Dmitriy Krasilnikov
2020-08-15 13:54                           ` BPJ
2020-08-15 16:20                             ` Philipp Zumstein
     [not found]                               ` <CAAjpKCSUwiw6sFXAfxoAmiME6L2nYtPym03PcWACY_tK9BxKCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-15 16:40                                 ` BPJ
2020-08-13 20:23   ` Denis Maier
     [not found]     ` <a2555e89-5f0b-b0cd-2d52-bec1c9290168-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-08-13 20:49       ` Philipp Zumstein

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