On Kubuntu 22.04, I installed manually the yhmath package. I downloaded the zip file, extracted and ran make in the package. It is now in the directory ~/texmf/tex/latex/yhmath. I ran texhash ~/texmf and it seems that pdflatex finds the style file.
But now the problem is that it says
kpathsea: Running mktextfm yhcmex10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input yhcmex10
This is METAFONT, Version 2.71828182 (TeX Live 2022/dev/Debian) (preloaded base=mf)
kpathsea: Running mktexmf yhcmex10
! I can't find file `yhcmex10'.
<*> ...four; mag:=1; ; nonstopmode; input yhcmex10
Please type another input file name
! Emergency stop.
<*> ...four; mag:=1; ; nonstopmode; input yhcmex10
Transcript written on mfput.log.
grep: yhcmex10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input yhcmex10'
failed to make yhcmex10.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font OMX/yhex/m/n/9=yhcmex10 at 9.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
relax
l.194 \end{frame}
I see files yhcmex10.tfm and yrcmex10.tfm in the package's directory, but pdflatex doesn't seem to find them. How can I tell pdflatex where these .tfm files are located?
texlive-science, there is almost no need to install stuff by hand these days. (I found the package name by usingapt-file search yhmath.sty) – daleif Sep 07 '23 at 08:28tlmgrbut it complains about my texlive version being too old and I won't try to change it just because of this. – Gribouillis Sep 07 '23 at 08:37tlmgrwon't work with my Ubuntu texlive package andapt install texlive-sciencewon't work with manual installation of latex packages that are not bundled in Ubuntu packages. I'm not complaining, I just miss a general solution. – Gribouillis Sep 07 '23 at 14:59texhashis irrelevant for your home tex directory. TeX doesn't use a database to find files inTEXMFHOME. – cfr Sep 14 '23 at 03:37