Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable cygwin's TeXLive for Windows #3819

Closed
jarnowic opened this issue Jul 26, 2017 · 1 comment
Closed

enable cygwin's TeXLive for Windows #3819

jarnowic opened this issue Jul 26, 2017 · 1 comment

Comments

@jarnowic
Copy link
Contributor

When trying to run

pandoc -o filename.pdf filename.md

on Window's Cygwin shell, the job fails with the error

pandoc.exe: pdflatex not found. pdflatex is needed for pdf output.

It seems that Pandoc's routine on Windows tries to find an executable for pdflatex/xelatex/lualatex, and these are only symlinks to the actual executables pdftex/xetex/luatex on cygwin.

From the google group thread on this topic, it seems that the solution is bypassing a check for the executable in Pandoc's routine, and let the TeX engine fail on its own, if that is the case.

@jarnowic
Copy link
Contributor Author

found a workaround: it's a kludge, but a solution nonetheless: instead of using the symlinks to [pdf|xe|lua]tex.exe, I did make a copy into [pdf|xe|lua]latex.exe, and pandoc didn't complain.

@jgm jgm closed this as completed in f8b6a22 Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants