Thank you for the suggest, but I had already checked my PATH, nothing referring to .stack-work was in there. However it all worked out after restarting the PC. I'm not used to work on a system where restarting makes a difference on PATH related stuff (macOS), but apparently it does on windows. This appears to be sorted out :) On Tuesday, 17 July 2018 11:37:03 UTC+2, Francesco Occhipinti wrote: > > Do you have the `which` command on your system? Running `which pandoc` > will tell you which executable you are running. Probably you are still > running the executable installed with Stack, which looks for the > dependencies installed with Stack. In that case you can remove the > executable, and the next `pandoc` on your PATH will be picked when you run > the command > > On Sunday, July 15, 2018 at 4:41:51 PM UTC+2, Gandalf Saxe wrote: >> >> I'm on windows with this one. At one point I compiled pandoc manually >> with the stack command, and have since installed pandoc via the windows >> installer, and deleted the stack folder. >> >> Now I get this message whenever I run pandoc with something that uses >> pandoc-citeproc: >> >> pandoc-citeproc: C:\Users\[USER]\pandoc-citeproc\.stack-work\install\ >> 402aa6ac\share\x86_64-windows-ghc-8.2.2\pandoc-citeproc-0.14.3.1\chicago- >> author-date.csl: openBinaryFile: does not exist (No such file or >> directory) >> Error running filter pandoc-citeproc: >> Filter returned error status 1 >> >> I removed this folder deliberately and don't want to use this. Why is it >> still looking for pandoc-citeproc there, and how do I uninstall it / >> deregister it properly? >> >> If I look in my PATH, there is no such folder >> "C:\Users\[USER]\pandoc-citeproc\.stack-work\..." there. >> if I run `gcm pandoc` and `gcm pandoc-citeproc`, they both point to >> `C:\Users\[USER]\AppData\Roaming\local\bin\pandoc-citeproc.exe` >> >> I have searched quite a bit online, but can't find anything on how to >> uninstall/deregister the stack installation. >> >> >> PS: As a side note, where is the default chicago-author-date.csl from a >> installation via "pandoc-2.2.1-windows-x86_64.msi "or >> "pandoc-2.2.1-windows-x86_64.zip" As far as I can see they only include the >> pandoc.exe and pandoc-citeproc.exe binaries, but no csl files? Is it >> included in the pandoc-citeproc.exe binary? >> > -- 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/b1617f7f-16d1-4c4e-8d56-beead66b89e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.