“渲染数学”在 Inkscape 中处于非活动状态

tit*_*tus 8 latex inkscape

我最近在 Ubuntu 20.04 LTS 上安装了 Inkscape,我想使用内置的 Latex 支持,但是当我转到Extensions > Render > Mathematics > pdflatex 时,按钮是灰色的,因此单击不会触发任何事件。

我使用 ctan 安装程序而不是通过apt.

tit*_*tus 8

我的inkscape版本是使用snap安装的,所以我用apt安装替换了它:

删除 snap install : sudo snap remove inkscape 然后安装inkscape 1.0或更高版本:

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape 
Run Code Online (Sandbox Code Playgroud)

确保在 .bashrc 文件中包含 latex 的路径,并从命令行运行inkscape:当您从 Dock 运行inkscape 时,很难控制PATH 系统变量的值。