<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
hello,<br>I've some code that compiled successfully in previous version with XeLaTeX (Miktex 2.8) , but now the compilation produce this error:<br><br>Package polyglossia Error:
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The current roman font does not contain the Arabic script!</p>
<p style="margin: 0px; text-indent: 0px;">Please define \arabicfont with \newfontfamily.</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The code that i used:<br></p><br>\documentclass[a4paper,twoside,headsepline,10pt]{scrbook}
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\usepackage{polyglossia}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\setmainlanguage{arabic}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\setotherlanguage{english}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\setmainfont[Script=Arabic,Scale=1.5,Mapping=arabicdigits]{Traditional Arabic}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\begin{document}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\chapter{المقدمة}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">%arabic text here...</p>
<p dir="rtl" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">السلام عليكم ورحمة الله وبركاته</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\end{document}</p><br>I try to put this line in preamble:<br>\newfontfamily\arabicfont[Script=Arabic,Scale=1.5,Mapping=arabicdigits]{Traditional Arabic}
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">but it doesn't help.<br></p><br><br>How i can fix it ?<br>Thanks in advance.<br><a href="https://signup.live.com/signup.aspx?id=60969" target="_blank"><br></a> </body>
</html>