On Wed, 13 Jul 2016 22:45:49 +0100, Peter Flynn wrote:
>
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage{raleway}
> \begin{document}\sffamily
> \LaTeX\ is a \emph{document preparation system}.
> \end{document}
>
> I get an error: missing italics.
>
>> LaTeX Font Warning: Font shape `EU1/Raleway(0)/m/it' undefined
>> (Font) using `EU1/Raleway(0)/m/n' instead on input line 5.
The problem is in raleway.sty:
\ifraleway@sfdefault
\setsansfont
[ UprightFont = *-\raleway@regstyle ,
BoldFont = *-\raleway@boldstyle ]
{Raleway}
For some reason, italic and bold-italic weren't specified.
Use the nosfdefault option.
Bob T.