I freshly installed 'basic' version of TeX Live 2012 (not full, only basic version).
I have following line in my code:
\usepackage[T1]{fontenc}
I get following error:
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/t1enc.def)
/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty:100: Font T1/cmr/
m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.100 \fontencoding\encodingdefault\selectfont
/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty:100: ==> Fatal error occurred, no output PDF file produced!
I understand that some packages are missing, however I do not know which ones.
Also, solution to this problem on most of the earlier posts is to install ubuntu latex recommended package, however please note that I am not using LaTeX from Ubuntu's software center (which is old TeX Live 2009) but rather have manually installed basic version of TeX Live 2012 as per instructions here: http://www.tug.org/texlive/quickinstall.html
Please let me know how do I solve this issue (I don't want to install complete version of TeX Live 2012, only those packages necessary to run this piece of code).
cm-superpackage installed? – doncherry Oct 03 '12 at 18:02sudo tlmgr install ecandsudo tlmgr install cm-super. But the best thing you can do is to install the full version or you'll be always confronting with missing packages. – egreg Oct 03 '12 at 22:26if (!require('tinytex')) install.packages('tinytex'); library('tinytex')
And then:
tinytex::install_tinytex()
– Gorka Jul 05 '19 at 15:33