I want to use LaTeX notes in Xournal++ on Ubuntu to annotate on .pdf. However when I click on insert a LaTeX formula, I got:
Could not find LaTeX package 'standalone'. Please install standalone (found in texlive-latex-extra) and make sure it's accessible by your LaTeX installation).
I went online to search for help and tried:
sudo apt-get install texlive-latex-extra
which gave:
texlive-latex-extra is already the newest version (2019.202000218-1). 0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.
I tried a tlmgr install with:
$ tlmgr install standalone (running on Debian, switching to user mode!)
/usr/bin/tlmgr: unexpected return value from verify_checksum: -5
I finally went here because of the unexpected return value:
tlmgr --verify-repo=none install standalone (running on Debian, switching to user mode!)
tlmgr: Local TeX Live (2019) is older than remote repository (2020). Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update See https://tug.org/texlive/upgrade.html for details.
Are there other steps I am missing or am I doing it completely wrongly?
tlmgr
to install latex packages, Ubuntu wants you to get LaTeX packages via Ubuntu bundles. Are you sure you don't by an strange reason have more than one LaTeX installation? Such thatXournal++
(which I've never heard of) sees the wrong latex. For example in a terminal what doeskpsewhich standalone.sty
give?$ kpsewhich standalone.sty
/usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.sty
Does it mean I have one LaTeX installation?standalone
package is available. Are there any logs fromXournal++
where one can see what it is doing? And what happens if you start it via the terminal instead of via, say, a menu or double clicking.kpsewhich: /etc/texmf/web2c/texmf.cnf: Permission denied
From there, I told myself, maybe it neededsudo xournalpp
but this command says :kpsewhich: /etc/texmf/web2c/texmf.cnf: Permission denied
. Sorry we are walking a little away from TeX!