I have recently started using r markdown
and I am having issues with installing pandoc-crossref
in window.
I have tried approaching friends on getting the set-up but to no avail. I have tried searching on the web but couldn't find anything useful. I tried following the directions here text to no avail. I will be grateful if anyone knows where i can get the set up and how to go about installing it.
You don't give any information about what errors you receive, so it is hard to provide useful help. This being said...
Trying to guess what your problem is. It is likely that you are getting the error
could not find executable pandoc-crossref
when trying to compile. Assuming that that is the case, your problem might be the following. Notice thatpandoc-crossref.exe
is not an installer, but an executable, so double clicking on it in an attempt to install it will do nothing except bring up a terminal for an instant. Is that what you have done? Where did you place it?Leaving
pandoc-crossref.exe
e.g. in yourdownloads
folder or on yourDesktop
would give thecould not find executable pandoc-crossref
error when trying to compile, because the executable needs to be in your$PATH
, or pandoc will not be able to find it and run it.A possible solution. If my guesses above are correct, you might be able to solve your problem by placing
pandoc-crossref.exe
inside your pandoc program folder, where yourpandoc.exe
file is, which is by default in:So try to place
pandoc-crossref.exe
in that folder and see if it works.If this does not help. Say exactly what it is that you tried to do, what errors you encountered, and maybe include a screenshot.