OK, but I don't think including the hundreds of MB of LaTeX packages could be an option.
Perhaps, TexMaths could detect if it is run from within a snap and warn the user about the issue? For me, this approach is OK. Does it sound feasible? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1747875 Title: [snap] permission restriction on /usr breaks TexMaths extension Status in libreoffice package in Ubuntu: Confirmed Bug description: I am the developer of a LibreOffice extension (the TexMaths equation editor) and I got reports of users who can’t use this extension with the snap version of LibreOffice, because of permission restrictions on /usr (the TexMaths extension, and probably others, use external programs located in /usr/bin). Indeed, the TexMaths extension uses external programs like /usr/bin/latex, /usr/bin/dvipng, /usr/bin/dvisvgm and the texlive LaTeX packages to produce LaTeX equations in LibreOffice (in Writer, Draw and Impress components). Since the access to /usr from the snap packages is not possible, this breaks TexMaths. I guess there are other extensions that could be affected by this problem. I tested and reproduced the issue in Ubuntu 16.04.3 LTS (64 bits) with the snap package of LibreOffice 5.4.4.2. Here is a link to download and test TexMaths (please note that texlive must be installed before) : http://roland65.free.fr/texmaths/ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1747875/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

