1

When executing pdflatex I get "File mymath.sty" not found.

I did

sudo apt update
sudo apt install opencv-doc

and

sudo mktexlsr

but the problem remains. How can I get my TeX 3.14159265 (TeX Live 2017/Debian) in ubuntu 18.04 to use this package? Looking at similar cases #43108 and #102817 in tex.stackexchange did not help me.

The file mymath.sty is existing in the following folder. Do I have to do something "by hand"?

./usr/share/doc/opencv-doc/html/mymath.sty

1 Answers1

0

Problem solved by moving file mymath.sty from /usr/share/doc/opencv-doc/html/mymath.sty to /usr/share/texlive/texmf-dist/tex/latex/mymath (after creating the subfolder mymath) and running sudo mktexlsr.