Fonts & Character Setslmroman not loadable at 10pt

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Haines
Posts: 15
Joined: Sun Sep 16, 2018 5:04 pm

lmroman not loadable at 10pt

Post by Haines »

Here is a mwe

\documentclass[]{book}
c \usepackage{fontspe}
\begin{document}
test
\end{document}

This is the error:

(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
! Font \TU/lmr/m/n/10=[lmroman10-regular]:+tlig; at 10pt not loadable: metric d
ata not found or bad.
<to be read again>
relax
l.116 ...lt\familydefault\seriesdefault\shapedefault

If I comment the \usepackage{fontspe line, the mwe runs as it should.

Haines B

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

Re: lmroman not loadable at 10pt

Post by Stefan Kottwitz »

Hello Haines,

this MWE doesn't show the error here - click on "Run LaTeX here":

Code: Select all

\documentclass[]{book}
\usepackage{fontspec}
\begin{document}
test
\end{document}
Can you post the .log file from the MWE that you compiled, containing the error, as an attachment?

Stefan
LaTeX.org admin
Post Reply