I have tried my best, but don't seem to get this one right. How do I enable shell escape in MikTeX?
Why XeLaTeX comes with a default for shell escape but not LaTeX?
|
I have tried my best, but don't seem to get this one right. How do I enable shell escape in MikTeX? Why XeLaTeX comes with a default for shell escape but not LaTeX? |
||||
| show 1 more comment |
|
A similar question came up recently in a German user forum. The user found the answer in the end with help of this link You can enable write18 by writing
in DOS. You can get to the DOS window by hitting the windows Start button, click on "run" and write "cmd" (without the quotes obviously, this might also be slightly different for win7, I think there you can write cmd right in the search line that comes up after hitting the start button). It might as well also work to do Start->run and then paste the above line right into this little run window (see below) the
save and close the file. Now it should be permanently enabled with pdflatex. Another way is to pass Path of the compiler:
Arguments passed to the compiler
Update:To do this on WinEdt, do the following:
|
||||
|
|
latexandxelatex? – Joseph Wright♦ Dec 7 '11 at 19:13-shell-escape(or whatever MikTeX has for it as a command line option) – Martin Scharrer♦ Dec 7 '11 at 19:15--shell-escapeor--enable-write18. – Joseph Wright♦ Dec 7 '11 at 19:18preferencesdialog, as described here. So you can add the option-shell-escapeor-enable-write18to a new command that you are defining. I remember reading somewhere that the-shell-escapeoption is not safe (maybe someone can elaborate on this), but I'm not sure and can't find that statement. So, maybe, putting it by default is not a good idea. – adn Dec 8 '11 at 2:48