In Xournal++ I want to use Tools -> Add/Edit Tex But I get
Could not find kpsewhich in PATH; please install kpsewhich and put it on path.
I checked, it is installed
$ whereis kpsewhich
kpsewhich: /usr/bin/kpsewhich /usr/share/man/man1/kpsewhich.1.gzBut on
$ PATH=$PATH:/usr/bin/kpsewhich:/usr/share/man/man1/kpsewhich.1.gz
$ xournalppI still get the error message above.
UPDATES:
I checked echo $PATH and /usr/bin is already on the path.
1 Answer
I was having the same issue as you. I was using the snap package of xournalpp.
First remove the snap package.sudo snap remove xournalpp
After removing that package and installing it from the bleeding edge PPA repository, latex worked just fine.
sudo add-apt-repository ppa:andreasbutti/xournalpp-master
sudo apt update
sudo apt install xournalppIf you want to stick to the latest stable version, you can instead use the stable releases PPA.
sudo add-apt-repository ppa:apandada1/xournalpp-stable
sudo apt update
sudo apt install xournalpp