On Tuesday, 5 June 2018 05:31:43 UTC-5, Florian Cramer wrote:
Thanks a lot, Luis, for this workaround!

However, I still have trouble getting it work. My steps are the following:

1) Create a shell (wrapper) script that invokes pdfroff (respectively any other needed executable):


#!/bin/sh


/cygdrive/c/cygwin64/bin/pdfroff $*


Then compile this script into a Windows executable with shc:

shc -f pdfroff.sh

...rename the resulting executable pdfroff.sh.x to pdfroff.exe and move it into a directory inside c:\ProgramFiles . (I also tried /usr/local/bin and the current working directory.)
 
However, this is still doesn't work with pandoc; I still get the error message "pdfroff not found. Please select a different --pdf-engine or install pdfroff"


I don't recall making a wrapper but for the call to the tex engines, which natively run as symlinks; I compiled the pdfroff script directly, and put it somewhere in the cygwin's path. Make also sure that you put pandoc somewhere where cygwin can find it.

Good luck,

--
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/7091705f-4ae5-45fe-bad7-b2764673ea95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.