Open SurlyKM opened 7 months ago
@SurlyKM Testing this, were you trying to create a PDF? Do you get the same error with other file types?
@ChrisChinchilla sorry for the delay, I was attempting to go from .md to .docx , but the error above happens for all file types. However I can use pandoc direct from from powershell to create a docx without issue. ex. PS C:\Program Files\Pandoc> .\pandoc.exe -o "C:\Temp\new 107.docx" "C:\Temp\new 107.txt" This works fine.
I have not had success with PDF but i believe I just need to install pdflatex.
PS C:\Program Files\Pandoc> .\pandoc.exe -o "C:\Temp\new 107.pdf" "C:\Temp\new 107.txt" pdflatex not found. Please select a different --pdf-engine or install pdflatex
@SurlyKM Hmm, then I couldn't recreate this, but I will try it again. Yes, I realised that I need to update the docs to mention this requirement, but I could convert to a Word file with no problems. I am not so experienced with Windows…
What version of Windows? How did you install Pandoc?
@ChrisChinchilla hmm ya it strange, I manually installed Pandoc from their website. On Windows 10 version 10.0.19045 I thought i could be permissions but tried VSCode as admin and same error,
Getting exec error: Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT pandoc installed and works fine.