<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Youssef.<div><br></div><div>This slightly modified version of your source file works by me:</div><div><br></div><div><div>\documentclass[12pt, oneside]{scrbook}</div><div>\usepackage{scrpage2}</div><div>\usepackage{polyglossia}</div><div>\setmainlanguage{brazil}</div><div>\setotherlanguage[variant=american]{english}</div><div>\setotherlanguage{french}</div><div>\setotherlanguage{arabic}</div><div>\usepackage{xltxtra}</div><div>\usepackage[dvipdfm, bookmarks, colorlinks]{hyperref}</div><div>\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black,urlcolor=blue}</div><div>\setmainfont[Ligatures={Common, Rare},Numbers={OldStyle},Mapping=tex-text]{Charis SIL}</div><div>\setsansfont[Ligatures={Common},Mapping=tex-text]{Charis SIL}</div><div>\usepackage{epigraph}</div><div>%\usepackage[alf,abnt-full-initials=yes]{abntcite}</div><div>\usepackage{graphicx}</div><div>\usepackage{xcolor}</div><div>\usepackage[tocgraduated]{tocstyle}</div><div>\usetocstyle{nopagecolumn}</div><div>\setlength{\parskip}{0pt}</div><div>\usepackage{url}</div><div>\usepackage{booktabs}</div><div>\usepackage{rotating}</div><div>\usepackage{threeparttable}</div><div>\usepackage{subfig}</div><div>\usepackage{cclicenses}</div><div>\usepackage[toc,page]{appendix}</div><div>\renewcommand{\appendixtocname}{Apêndices}</div><div>\renewcommand{\appendixpagename}{Apêndices}</div><div>\usepackage{setspace}</div><div><br></div><div>\newenvironment{citacao}%</div><div>{\singlespacing%</div><div>\small</div><div>\begin{list}{}{%</div><div>&nbsp;&nbsp; &nbsp;\setlength{\listparindent}{0cm}%</div><div>&nbsp;&nbsp; &nbsp;\setlength{\itemindent}{\listparindent}%</div><div>&nbsp;&nbsp; &nbsp;\setlength{\rightmargin}{0cm}%</div><div>&nbsp;&nbsp; &nbsp;\setlength{\leftmargin}{4cm}%</div><div>&nbsp;&nbsp; &nbsp;\setlength{\parsep}{0pt}}%</div><div>&nbsp;\item\relax}%</div><div>{\end{list}}</div><div><br></div><div>\begin{document}</div><div><br></div><div>Bom dia.</div><div><br></div><div>\end{document}</div><div><br></div><div>I have commented out the line calling some packages I don't have and changed fonts, because I don't have Arno Pro either. As far as I could see, "bidi" must be called before "fontspec", hence:</div><div><br></div><div><div>\setotherlanguage{arabic} % which calls "bidi"</div><div>\usepackage{xltxtra} % which calls "fontspec"</div><div><br></div><div>I got some other warnings though:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Package tocstyle Warning: THIS IS AN ALPHA VERSION!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USAGE OF THIS VERSION IS ON YOUR OWN RISK!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EVERYTHING MAY HAPPEN!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EVERYTHING MAY CHANGE IN FUTURE!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maybe it would be better, not to load this package.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude: leaders</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude:&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude:&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">exclude:&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/booktabs/booktabs.sty)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/rotating/rotating.sty</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ifthen.sty))</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/threeparttable.sty)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/subfig/subfig.sty</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/caption/caption.sty</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/caption/caption3.sty)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Package caption Warning: Unsupported document class (or package) detected,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(caption)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; usage of the caption package is not recommended.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">See the caption package documentation for explanation.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">)) (/usr/local/texlive/2009/texmf-dist/tex/latex/cclicenses/cclicenses.sty)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/appendix/appendix.sty)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/setspace/setspace.sty</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Package: `setspace' 6.7 &lt;2000/12/01&gt;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">) (./essai.aux)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/nameref.sty</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/refcount.sty))</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(./essai.out) (./essai.out)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Package tocstyle Warning: unexpected \@dottedtocline definition!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You are either using an unknown LaTeX kernel</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; version, an unknown class or package, that redefines</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \@dottedtocline, or a \@dottedtocline redefinition</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at the document preamble.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Because of this you may get unexpected results!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(tocstyle)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maybe it would be better not to use package tocstyle.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; ">Apparently some of the packages you're using are conflicting with each other.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; ">Best wishes,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; ">Yves</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div></div></div><div><div>Le 23 nov. 09 à 10:18, Youssef Cherem a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi everyone,<br><br>When I compile my document, &nbsp;xelatex has been returning &nbsp;me &nbsp;lots of warnings such as the one below:<br><br><br>"Package polyglossia Warning: &nbsp;brazil@font is not defined on input line XXX".<br><br>Documents compile fine, but don't have a clue what all those warnings are all about, or why they appear at all.<br><br>Here's my preamble:<br><br>\documentclass[12pt, oneside]{scrbook}<br>\usepackage{scrpage2}<br>\usepackage{xunicode,xltxtra}<br>\usepackage{polyglossia}<br>\setmainlanguage{brazil}<br>\setotherlanguage[variant=american]{english}<br>\setotherlanguage{french}<br>\setotherlanguage{arabic}<br>\usepackage[dvipdfm, bookmarks, colorlinks]{hyperref}<br>\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black,urlcolor=blue}<br>\setmainfont[Ligatures={Common, Rare},Numbers={OldStyle},Mapping=tex-text]{Arno Pro}<br>\setsansfont[Ligatures={Common},Mapping=tex-text]{Cronos Pro}<br>\usepackage{epigraph}<br>\usepackage[alf,abnt-full-initials=yes]{abntcite}<br>\usepackage{graphicx}<br>\usepackage{xcolor}<br>\usepackage[tocgraduated]{tocstyle}<br>\usetocstyle{nopagecolumn}<br>\setlength{\parskip}{0pt}<br>\usepackage{url}<br>\usepackage{booktabs}<br>\usepackage{rotating}<br>\usepackage{threeparttable}<br>\usepackage{subfig}<br>\usepackage{cclicenses}<br>\usepackage[toc,page]{appendix}<br>\renewcommand{\appendixtocname}{Apêndices}<br>\renewcommand{\appendixpagename}{Apêndices}<br>\usepackage{setspace}<br><br>\newenvironment{citacao}%<br>{\singlespacing%<br> \small<br> \begin{list}{}{%<br> &nbsp;&nbsp;&nbsp;&nbsp;\setlength{\listparindent}{0cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;\setlength{\itemindent}{\listparindent}%<br> &nbsp;&nbsp;&nbsp;&nbsp;\setlength{\rightmargin}{0cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;\setlength{\leftmargin}{4cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;\setlength{\parsep}{0pt}}%<br> &nbsp;\item\relax}%<br>{\end{list}}<br><br><br><br>\begin{document} ....<br><br>Thanks a lot,<br><br>Youssef Cherem<br><br><br></div></blockquote></div><br></div></body></html>