Today i figured out how to use system-installed-fonts with the fontspec
-package and LuaLaTeX. But i can't figure out how to use fonts, that are installed in my texmf
-tree!
The fontspec
-Manual says (p. 10), that LuaLaTeX will see fonts installed in my texmf
-tree and i can enter the name via a human readable-string (eg. Latin Modern Roman) or the filename (eg. ec-lmr10.tmf).
Even though i have confirmed that this file (and hence the font) is installed on my system in my texmf
-tree, i can't get it to compile! I always get a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "ec-lmr10.tfm" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.13 \setmainfont{ec-lmr10.tfm}
?
Am i getting something wrong? How can i use LaTeX-fonts with fontspec and LuaLaTeX?
\usepackage{lmodern}
if you want to use these fonts if not using the default ones?lmroman10-regular.otf
(for 10 pt)