public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Images are missing in generated word doc
@ 2017-07-18 10:52 han kila
       [not found] ` <b532be86-b294-4309-9b04-0cd29167568b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: han kila @ 2017-07-18 10:52 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi

I'm new to pandoc and having some trouble getting it to work.
I'm trying to generate a word doc with pandoc but the images are missing 
from the word file.

What things can i test to see where it goes wrong? 

Can anyone help me or point me in the right direction?

thanks a lot in advance

Han

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b532be86-b294-4309-9b04-0cd29167568b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Images are missing in generated word doc
       [not found] ` <b532be86-b294-4309-9b04-0cd29167568b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-07-18 23:54   ` Denis José Navas Vega
       [not found]     ` <dab149b7-92b1-4ecb-850b-39fb6da71977-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Denis José Navas Vega @ 2017-07-18 23:54 UTC (permalink / raw)
  To: pandoc-discuss


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

The manual says that Pandoc can read "docx". Does not mention "doc".  

If you refer to docx as doc, the following excerpt from the manual can gave 
you a hint: 

--extract-media=*DIR*

Extract images and other media contained in a docx or epub container to the 
path *DIR*, creating it if necessary, and adjust the images references in 
the document so they point to the extracted files. This option only affects 
the docx and epub readers.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dab149b7-92b1-4ecb-850b-39fb6da71977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Images are missing in generated word doc
       [not found]     ` <dab149b7-92b1-4ecb-850b-39fb6da71977-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-07-19 11:34       ` han kila
       [not found]         ` <de06675e-efc3-4f2a-87b5-7e4395eed3ca-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: han kila @ 2017-07-19 11:34 UTC (permalink / raw)
  To: pandoc-discuss


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

I think i was not completely clear. I'm sorry for that.

I'm trying to create a word document with the extension .docx. from a html 
encoded text.
When i convert this html to .docx everything works fine except that the 
images in the html are not in the word document.

Can someone please point me in the right direction.

Thanks


On Wednesday, July 19, 2017 at 1:54:34 AM UTC+2, Denis José Navas Vega 
wrote:
>
> The manual says that Pandoc can read "docx". Does not mention "doc".  
>
> If you refer to docx as doc, the following excerpt from the manual can 
> gave you a hint: 
>
> --extract-media=*DIR*
>
> Extract images and other media contained in a docx or epub container to 
> the path *DIR*, creating it if necessary, and adjust the images 
> references in the document so they point to the extracted files. This 
> option only affects the docx and epub readers.
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/de06675e-efc3-4f2a-87b5-7e4395eed3ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Images are missing in generated word doc
       [not found]         ` <de06675e-efc3-4f2a-87b5-7e4395eed3ca-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-07-20  8:41           ` Denis José Navas Vega
  0 siblings, 0 replies; 4+ messages in thread
From: Denis José Navas Vega @ 2017-07-20  8:41 UTC (permalink / raw)
  To: pandoc-discuss


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

Pandoc can read html pages on the web and convert it. I use this to get 
articles from the web with its images if remember well.

Pandoc can convert also, from offline html pages, but the images should be 
on disk and the links in the html file must point to those images. If the 
html page uses relatives address for the images (ie: they are in ./img for 
instance), images should be placed in that directory.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/04af0e8b-7119-4a5f-90d7-4c6a66fce1cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2017-07-20  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 10:52 Images are missing in generated word doc han kila
     [not found] ` <b532be86-b294-4309-9b04-0cd29167568b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-18 23:54   ` Denis José Navas Vega
     [not found]     ` <dab149b7-92b1-4ecb-850b-39fb6da71977-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-19 11:34       ` han kila
     [not found]         ` <de06675e-efc3-4f2a-87b5-7e4395eed3ca-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-20  8:41           ` Denis José Navas Vega

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