public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Anton Shepelev
	<anton.txt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Pandoc unable to access remote shares on Windows?
Date: Tue, 11 Aug 2020 16:09:03 -0700	[thread overview]
Message-ID: <m2r1schjao.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <20200812001505.bb45f82028c02553a07dec0a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Anton Shepelev <anton.txt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

>> >    pandoc: \\SRV3\BinRes\Pandoc\style.docx:
>> >    openBinaryFile: does not exist (No such file or directory)
>>
>> Possibly relevant issue
>> https://github.com/jgm/pandoc/issues/5127
>> Try with forward slashes!
>
> No, it not a relevant issue -- it is  the  self-same
> issue.   Thanks for the reference.  I failed to make
> it work with forward slashes,  but  the  "long"  UNC
> format has helped:
>
>    --reference-doc=\\?\UNC\SRV3\BinRes\Pandoc\style.docx
>
> Whereas  it is very non-standard syntax for Windows,
> it is worth  documenting  in  the  platform-specific
> section of the manual. But supporting native Windows
> syntax would be even better :-)

I had thought we had resolved it in the linked issue.
Glancing at the discussion there, it looks like code
was added that normalizes \\SRV3... to \\?\UNC\SRV3...
In T.P.App.CommandLineOptions.

But I see that it isn't applied everywhere it should be.
In particular, not to --reference-doc.

I'll re-open the issue with a note.


      parent reply	other threads:[~2020-08-11 23:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 15:14 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r1schjao.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=anton.txt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).