Dear John,

thank you for your reply!

I realized that I use Pandoc compiled for Windows and that is probably the reason it behaves like this in Cygwin environment.
Changing = to space does not work either, and I assume it depends on the differencies in environments.

I can workaround both of these problems (or use correct software in the right environment).

Thank you!

Regards
Hans

Fredag 12 juli 2019 kl. 06:34:33 UTC+9 skrev John MacFarlane:

Cygwin is tough.  Certain things about pandoc's
file path handling depend on the platform pandoc
is compiled on.  So a pandoc compiled on windows
may have expectations that are not met in Cygwin.

See https://github.com/jgm/pandoc/issues/5451
which may be somehow related.

You can put up an issue on this if you like.

About the other issue:

> Full paths works in CMD.exe and in Linux (Ubuntu with pandoc 2.7.2).
> For me it is of a smaller issue, but
> pandoc -s --reference-doc=~/Documents/script/reference.odt -o test.odt
> input.md                      # Does not work with ~ (tilde)
> will also not work.

This is because ~ is interpreted by the shell, normally, but
in this context it is just passed on literally to pandoc.
If you try with a space in place of = it should work.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/51d284a3-a378-45d0-b0fd-569b13b4363b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.