The following code in preamble gives me trouble on my desktop, but not on my laptop (I'm using on both of them Ubuntu 14.04). If I remove it, I find myself unable to use \widecheck throghout the document:
\DeclareFontFamily{U}{mathx}{\hyphenchar\font45}
\DeclareFontShape{U}{mathx}{m}{n}{
<5> <6> <7> <8> <9> <10>
<10.95> <12> <14.4> <17.28> <20.74> <24.88>
mathx10
}{}
\DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
\DeclareFontSubstitution{U}{mathx}{m}{n}
\DeclareMathAccent{\widecheck}{0}{mathx}{"71}
Specifically, this error, repeated several times, results while compiling:
This is METAFONT, Version 2.718281 (TeX Live 2013/Debian)
kpathsea: Running mktexmf mathx10
! I can't find file `mathx10'. <*> ...=ljfour; mag:=1; nonstopmode; input mathx10 Please type another input file name ! Emergency stop. <*> ...=ljfour; mag:=1; nonstopmode; input mathx10 Transcript written on mfput.log.
grep: mathx10.log: File o directory non esistente
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input mathx10' failed to make mathx10.tfm. kpathsea: Running mktextfm mathx10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input mathx10
and then, after compilation, which substantially returns the PDF, except for the \widecheck symbols, there is this one, with different dimensions and lines:
! Font U/mathx/m/n/10.95=mathx10 at 10.95pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.236 \begin{equation}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
I've tried to copy all the TFM files from the laptop to the desktop (actually, there were about 18 000 files of that type on the laptop, while only a few more than 3 000 of them were present on the desktop), but also after a complete rebooting, the error still holds. How can I try to solve it?
Thanks in advance.
.logfile. – egreg Jul 06 '15 at 21:09texlive-fontsextra(or a similar name) that should containmathabx. Check for something like that on both machines. – egreg Jul 06 '15 at 21:36texlive-fullon both machines. – egreg Jul 06 '15 at 21:51texlive-fullfirst on the desktop. That way, you at least have the laptop where everything works if all else fails. If that goes OK, do the same on the laptop. Longer term, consider installing vanilla from upstream. Then you can have multiple editions installed for safety. – cfr Jul 06 '15 at 22:15