我正在使用该minted.sty包,它要求我-shell-escape在latex/xelatex编译期间使用该选项.我可以在控制台/终端上做到这一点.但是,我希望将此选项添加到TexShop中.我是Windows上WinEdit的先前用户,但最近已切换到Mac和TexShop,所以不知道该怎么做?
这是控制台输出:
Package ifplatform Warning:
shell escape is disabled, so I can only detect \ifwindows.
))
! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
See the minted package documentation for explanation.
Type H <return> for immediate help.
...
l.54 \makeatletter
Run Code Online (Sandbox Code Playgroud)
小智 11
如果你还在寻找答案:
之前: pdflatex --file-line-error --synctex=1
后: pdflatex --file-line-error --synctex=1 --shell-escape
| 归档时间: |
|
| 查看次数: |
7427 次 |
| 最近记录: |