![Mactex svg 套件錯誤:graphaside_svg-tex.pdf 遺失](https://rvso.com/image/370289/Mactex%20svg%20%E5%A5%97%E4%BB%B6%E9%8C%AF%E8%AA%A4%EF%BC%9Agraphaside_svg-tex.pdf%20%E9%81%BA%E5%A4%B1.png)
我在 tex 文件中有一個 .svg 圖形。當我使用 mactex 時,出現以下錯誤:
套件 svg 警告:您沒有啟用
shell escape' (or
write18') (svg),因此無法在輸入行 149 上啟動「figures/graphaside.svg」的 Inkscape 匯出 (svg)。! svg 套件錯誤:檔案「graphaside_svg-tex.pdf」遺失。
使用 Sharelatex 該檔案可以正常編譯,但在我的 Mac 上卻不能。
這是怎麼回事?
答案1
正如警告所述,請嘗試將程式與參數結合-shell-escape
。也要確保 Inkscape 已安裝。