Behebung von Ubuntu LaTeX ! I can't find file `ecrm1200'.

English Deutsch

Problem:

Du möchtest deine LaTeX-Datei auf Ubuntu mit latex oder pdflatex kompilieren, aber du siehst eine Fehlermeldung wie diese:

mktexmf_output.txt
kpathsea: Running mktexmf ecrm1200
! I can't find file `ecrm1200'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

Transcript written on mfput.log.
grep: ecrm1200.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
                   relax
l.105 \fontencoding\encodingdefault\selectfont

Lösung

install_texlive_fonts_recommended.sh
sudo apt -y install texlive-fonts-recommended

Dies wird unter vielen anderen LaTeX-Dateien ecrm1200.mf und ecrm1200.tfm installieren.


Check out similar posts by category: LaTeX, Linux