what is the best way to add allowed external scripts to miktex? #1613
Unanswered
AndreGismo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just installed the minted package and python with pygments etc. (as is decribed in the minted documentation under section 2.2.1).
Now I need to manually run
lualatex -enable-write18 <filename>.tex
everytime I want to compile. Also in the minted documentation under section 4.1 they say, it is possible to add allowed external scripts to themiktex.ini
file (see for example here.My problem: I cannot find this file. Where is this file usually located (under windows 10 and miktex 25.3)?
Another approach would be to use
initexmf
as described here. However, here I am not so sure what exactly I would have to enter. I want to append to theAllowedShellCommands[]
. As I understand this is a list. I am afraid, when I writeinitexmf --set-config-value=[Core]AllowedShellCommands[]=latexminted
it will override the already existing entries, and then I won't be able to adjust this setting, because I cannot find the file.Beta Was this translation helpful? Give feedback.
All reactions