Uso TeXlive 2013 aggiornato l’ultima volta a settembre. Ho provato ad aggiornare la cache con un comando trovato su google [tt]sudo fc-cache -fv[/tt]. Appena ha finito ho ridato la compilazione, ma l’errore è stato il solito (prima non lo postato, scusate)
`
! fontspec error: “font-not-found”
!
! The font “Latin Modern Roman” cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H
!………………………………………..
l.7 \setmainfont{Latin Modern Roman}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|………………………………………..
………………………………………….
. fontspec info: “no-scripts”
.
. Font Latin Modern Roman does not contain any OpenType `Script' information.
………………………………………….
\g_fontspec_family_Latin Modern Roman_int=\count123
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: “font-not-found”
!
! The font “Latin Modern Roman” cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H
!………………………………………..
l.7 \setmainfont{Latin Modern Roman}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|………………………………………..
………………………………………….
. fontspec info: “no-font-shape”
.
. Could not resolve font Latin Modern Roman/B (it probably doesn't exist).
………………………………………….
………………………………………….
. fontspec info: “no-font-shape”
.
. Could not resolve font Latin Modern Roman/I (it probably doesn't exist).
………………………………………….
………………………………………….
. fontspec info: “no-font-shape”
.
. Could not resolve font Latin Modern Roman/BI (it probably doesn't exist).
………………………………………….
………………………………………….
. fontspec info: “defining-font”
.
. Font family 'LatinModernRoman(0)' created for font 'Latin Modern Roman' with
. options [].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->“Latin Modern Roman:”
………………………………………….
! Font EU1/LatinModernRoman(0)/m/n/10=”Latin Modern Roman:” at 10.0pt not loada
ble: Metric (TFM) file or installed font not found.
relax
l.7 \setmainfont{Latin Modern Roman}
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
`
Sono riuscito a risolvere parzialmente il problema caricando a mano i font, ma non dovrei essere costretto a farlo
`
\setmainfont
[ BoldFont = lmroman10-bold.otf ,
ItalicFont = lmroman10-italic.otf ,
BoldItalicFont = lmroman10-bolditalic.otf ,Numbers={OldStyle,Proportional}]
{lmroman10-regular.otf}
`