# MaTeX produces strange error

I've managed to install and configure matex, however when I try to run it the following error arise:

<< MaTeX

StringMatchQ::strse: String or list of strings expected at position 1 in StringMatchQ[StringTrim[$Failed[StandardOutput]],DigitCharacter..~~.~~DigitCharacter..]. >> StringSplit::strse: String or list of strings expected at position 1 in StringSplit[StringTrim[$Failed[StandardOutput]],.]. >>

FromDigits::nlst: The expression StringTrim[$Failed[StandardOutput]] is not a list of digits or a string of valid digits. >> FromDigits::nlst: The expression . is not a list of digits or a string of valid digits. >> StringSplit::strse: String or list of strings expected at position 1 in StringSplit[FromDigits[StringTrim[$Failed[StandardOutput]]],FromDigits[.]]. >>


If you could help me out with this i'd appreciate this

• This is not a typical error, and is going to require discussion to resolve. StackExchange is not appropriate for that. I suggest we talk in the MaTeX chatroom: gitter.im/MaTeX-help/Lobby – Szabolcs Oct 4 '18 at 15:09
• Be sure to check the troubleshooting section of the MaTeX webpage in good time, but you are welcome to join the chatroom right now if you have time. – Szabolcs Oct 4 '18 at 15:09
• I'll be able to join the chat in the evening, maybe you will be there too. – G.David Oct 4 '18 at 15:14
• Sorry, I won't be around later tonight (European time), but I can respond tomorrow. Some very important points are missing from your question: MaTeX version (always use the latest!), Mathematica version, your operating system, your precise configuration. I suggest you go through the troubleshooting, download the troubleshooting notebook (as described there), evaluate it, and email it to me. – Szabolcs Oct 4 '18 at 15:20

This is not a solution to the problem, but it is good to note that we established in private e-mail that the underlying problem is that RunProcess simply does not work on the OP's machine (Mathematica 10.1.0 on Windows).

For example,

RunProcess["C:\\Windows\\System32\\where.exe"]


results in

FileExistsQ["C:\\Windows\\System32\\where.exe"]

gives True and where.exe` is present on all Windows systems.