让 snap 应用访问 LaTeX

让 snap 应用访问 LaTeX

有人找到解决 snap 应用无法访问外部内容的问题的方法吗?例如,文本,一个著名的 LaTeX 插件Inkscape不再起作用,因为:

TexText for Inkscape 1.0 will not function if you installed Inkscape 1.0 via SNAP or 
FLATPACK. The reason is that Inkscape 1.0 will run in sandboxed mode in these environments and, 
hence, cannot access you LaTeX distribution to compile your snippets! This is a conceptional 
problem of snap/ flatpack, not of TexText for Inkscape 1.0

同时,恢复到以前版本的 Inkscape 似乎不是一个解决方案,因为旧版本的 TeXText 使用了过时的版本gtk,这些版本在新版本的 Ubuntu (>=18) 下无法正常工作。我的版本是 20.04。

它还会影响 LaTeX 的功能期刊++和更多。

通过 snap 安装的应用程序根本无法访问 LaTeX。

该怎么办?

答案1

您可以尝试避免对列出的应用程序使用 Snap/FlatPak。

对于 Inkspace,你可以从官方 PPA

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt-get install inkscape

然后在这里安装 TeXText 插件。

对于 Xournal 您还可以得到它官方 PPA

sudo add-apt-repository ppa:andreasbutti/xournalpp-master
sudo apt update
sudo apt install xournalpp

然后按计划使用它。

相关内容