public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* --extract-media not generating directory and extracting graphic files from .docx
@ 2019-08-23 20:34 'russurquhart1' via pandoc-discuss
       [not found] ` <6c49eae1-56cf-499a-80b1-e1261b84662e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: 'russurquhart1' via pandoc-discuss @ 2019-08-23 20:34 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi,

I just downloaded the latest pandoc and tried to convert a .docx file to an 
asciidoc file and extract the graphics as well:

pandoc -f docx -t asciidoc -o test.asc --extract-media=~/Desktop --verbose 
test.docx

Verbose shows that the graphics are extracting, but neither the media 
directory or the graphics are written.

I've used this command before on other computers and it always worked.

Any ideas?

Thanks,

Russ

-- 
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/6c49eae1-56cf-499a-80b1-e1261b84662e%40googlegroups.com.

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

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

* Re: --extract-media not generating directory and extracting graphic files from .docx
       [not found] ` <6c49eae1-56cf-499a-80b1-e1261b84662e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-08-23 22:39   ` John MacFarlane
       [not found]     ` <yh480k36hrbj6l.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2019-08-23 22:39 UTC (permalink / raw)
  To: 'russurquhart1' via pandoc-discuss, pandoc-discuss


I suspect that maybe the ~ in your path is the problem.
Try this form

--extract-media ~/Desktop

rather than

--extract-media=~/Desktop

In the former version, your shell will expand the ~.
In the latter version, pandoc gets passed the raw string
and the ~ isn't expanded.

"'russurquhart1' via pandoc-discuss"
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> writes:

> Hi,
>
> I just downloaded the latest pandoc and tried to convert a .docx file to an 
> asciidoc file and extract the graphics as well:
>
> pandoc -f docx -t asciidoc -o test.asc --extract-media=~/Desktop --verbose 
> test.docx
>
> Verbose shows that the graphics are extracting, but neither the media 
> directory or the graphics are written.
>
> I've used this command before on other computers and it always worked.
>
> Any ideas?
>
> Thanks,
>
> Russ
>
> -- 
> 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/6c49eae1-56cf-499a-80b1-e1261b84662e%40googlegroups.com.


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

* Re: --extract-media not generating directory and extracting graphic files from .docx
       [not found]     ` <yh480k36hrbj6l.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-08-23 23:13       ` 'russurquhart1' via pandoc-discuss
  0 siblings, 0 replies; 3+ messages in thread
From: 'russurquhart1' via pandoc-discuss @ 2019-08-23 23:13 UTC (permalink / raw)
  To: pandoc-discuss


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

That was it!! Thanks so much!!!

On Friday, August 23, 2019 at 5:39:45 PM UTC-5, John MacFarlane wrote:
>
>
> I suspect that maybe the ~ in your path is the problem. 
> Try this form 
>
> --extract-media ~/Desktop 
>
> rather than 
>
> --extract-media=~/Desktop 
>
> In the former version, your shell will expand the ~. 
> In the latter version, pandoc gets passed the raw string 
> and the ~ isn't expanded. 
>
> "'russurquhart1' via pandoc-discuss" 
> <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>> writes: 
>
> > Hi, 
> > 
> > I just downloaded the latest pandoc and tried to convert a .docx file to 
> an 
> > asciidoc file and extract the graphics as well: 
> > 
> > pandoc -f docx -t asciidoc -o test.asc --extract-media=~/Desktop 
> --verbose 
> > test.docx 
> > 
> > Verbose shows that the graphics are extracting, but neither the media 
> > directory or the graphics are written. 
> > 
> > I've used this command before on other computers and it always worked. 
> > 
> > Any ideas? 
> > 
> > Thanks, 
> > 
> > Russ 
> > 
> > -- 
> > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/6c49eae1-56cf-499a-80b1-e1261b84662e%40googlegroups.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/01019f21-0eb8-4bab-b3d2-f1483310ca6f%40googlegroups.com.

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

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

end of thread, other threads:[~2019-08-23 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23 20:34 --extract-media not generating directory and extracting graphic files from .docx 'russurquhart1' via pandoc-discuss
     [not found] ` <6c49eae1-56cf-499a-80b1-e1261b84662e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-23 22:39   ` John MacFarlane
     [not found]     ` <yh480k36hrbj6l.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-08-23 23:13       ` 'russurquhart1' via pandoc-discuss

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