public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pandoc unable to access remote shares on Windows?
@ 2020-08-11 15:14 Anton Shepelev
       [not found] ` <20200811181415.89ccef3a90a15783ceb1c261-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Shepelev @ 2020-08-11 15:14 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hello, all

Being loth to store non-source files in version con-
trol, I have decided to keep my  reference  document
in  a  Windows share. But Pandoc seems unable to ac-
cess the remote path. When I invoke it with

   --reference-doc=\\SRV3\\BinRes\Pandoc\style.docx

it terminates with the error:

   pandoc: \\SRV3\\BinRes\Pandoc\style.docx:
   openBinaryFile: does not exist (No such file or directory)

So I am forced to copy the style.docx locally in the
build batch file:

   copy \\SRV3\\BinRes\Pandoc\style.docx .

   pandoc -f markdown -t docx ^
    --reference-doc=style.docx -N ^
    intdb.md -o intdb.docx

   del style.docx

It  works,  but copying all remote resources locally
just to make them accessible to Pandoc is ugly.   Is
there  a better solution?  Why is it that `copy' can
access the remote path and Pandoc cannot?

-- 
Please, do not forward replies to the list to my e-mail.


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

end of thread, other threads:[~2020-08-11 23:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 15:14 Pandoc unable to access remote shares on Windows? Anton Shepelev
     [not found] ` <20200811181415.89ccef3a90a15783ceb1c261-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-08-11 19:28   ` John MacFarlane
2020-08-11 21:15     ` Anton Shepelev
     [not found]       ` <20200812001505.bb45f82028c02553a07dec0a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-08-11 23:09         ` John MacFarlane

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