Closed vivienlonde closed 1 year ago
Do you mean that it only works without quotes in the shell? Are you on Mac or Windows?
Hi ! Yes exactly: it only works without quotes. I am on Windows, using powershell.
This is the error that I get with quotes:
ParserError:
Line |
1 | "pdflatex" -output-format dvi -shell-escape -interaction=batchmode Ig …
| ~~~
| Unexpected token '-output' in expression or statement.
Note that IguanaTex used to work well. I have this error since I installed a mandatory update on my machine.
Thank you for the quick answer above btw :)
Do you use PS as your default shell? I would recommend trying to compile an IguanaTeX display with the Debug box checked. This will show you exactly what is run, and what the error is.
Oh you're right: command prompt is my default shell. And in command prompt the command runs with quotes.
I now understand that the problem comes from a rule set by the administrator of my organization to “Block all Office applications from creating child processes”. I'll contact my administrator.
Thank you for the help. I'm closing this issue.
If your admin needs a self-signed version of the add-in, please let me know.
@vivienlonde , Hi there, I am facing the same issue, may I know how did you solve it?
Thanks in advance, Mohamed
I haven't manage to solve the issue. Please let me know if you do. Thanks
Have you asked your admin if they could set some exclusions for specific processes?
Yes I've asked but it didn't work :(
@Jonathan-LeRoux @vivienlonde , Thanks for you both for taking from your time to offer help. As a work around I write the equation I want in the tmp tex file then on the shell terminal I run the command pdflatex without the quotes then take a snippet from the DVI file.
@vivienlonde by "it didn't work", do you mean they tried to put an exception in place and failed, or they refused to do it? If they tried, any detail is appreciated.
Hello @Jonathan-LeRoux , they refused to do it.
That's unfortunate, because the list of processes that they would need to allow is somewhat limited (various flavors of LaTeX, ImageMagick's magick.exe, etc). I can't see a workaround to that.
I have the following error:
Could not start process: ' "pdflatex" -output-format dvi -shell-escape -interaction=batchmode IguanaTex_tmp.tex '. GetLastError returned 0.
Running the command from a shell without the quotes around "pdflatex" works: pdflatex -output-format dvi -shell-escape -interaction=batchmode IguanaTex_tmp.tex