public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Extract media from different .docx files to same directory
@ 2020-03-17 17:33 growig mail
       [not found] ` <d4ebfb5f-13a8-49d8-9a54-2a40dd0d9482-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: growig mail @ 2020-03-17 17:33 UTC (permalink / raw)
  To: pandoc-discuss


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

Goal

I'm converting some .docx to .md with pandoc. These .docx have images that, 
after conversion, were being placed in a directory 
(markdown-repository/media/) and it's URL was being referenced in the 
resulting .md file.

So the goal is to have the resulting .md files with links pointing to the 
proper images stored in markdown-repository/media/. For this to happen, all 
images under markdown-repository/media/ need to have an unique name.

The problem

For each conversion, the images were being smashed by the last conversion, 
because pandocs doesn't track the image names, it creates image1.png, 
image2.png, image3.png, etc... for each converted file.


How can i do this? Does pandoc have any option for this?

-- 
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/d4ebfb5f-13a8-49d8-9a54-2a40dd0d9482%40googlegroups.com.

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

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

end of thread, other threads:[~2020-08-19  9:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 17:33 Extract media from different .docx files to same directory growig mail
     [not found] ` <d4ebfb5f-13a8-49d8-9a54-2a40dd0d9482-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-03-18 12:00   ` EBkysko
     [not found]     ` <01bc2b4a-fa92-4b39-a31c-f95d0abf2272-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-03-18 13:15       ` EBkysko
     [not found]         ` <525ed042-e47c-4fc5-b13f-91560718ba83-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-03-18 20:19           ` BPJ
     [not found]             ` <CADAJKhABAeRjQ9RAKbxo+-OPgd5NfCqiy1XP-iDCgKaTkxXYVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-03-18 22:36               ` EBkysko
     [not found]                 ` <6d556139-e107-4ad4-a99d-62b07bd9ad3d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-03-18 23:41                   ` BPJ
     [not found]                     ` <CADAJKhBfF-_hkBLJ0M5AnAL4aWJMs03JDbNj3wjjD7P6_-6fcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-03-18 23:54                       ` EBkysko
     [not found]                         ` <a74b610a-732f-4595-9b93-7773542ad4c0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-19  9:44                           ` Mario Valle

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