<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Youssef,<div><br></div><div>With the preamble you posted I don't get those errors.</div><div><br><div><blockquote type="cite"><div>I've tried to take out bidi/arabxetex and the abnt package (I'm now using natbib instead of abnt). The document still compiles fine, but... there are still endless warnings of the same kind:<br>=================================================<br>Package polyglossia Warning: &nbsp;brazil@font is not defined on input line XX.<br>=================================================<br></div></blockquote><div><br></div><div>This occured with older versions of Polyglossia but it should not happen with the current one (which comes with TeX Live 2009).</div><br><blockquote type="cite"><div><br>and now lots of other ones too:<br>===================================<br>! Extra }, or forgotten \endgroup.<br>\par ...m \@noitemerr {\@@par }\fi \else {\@@par }<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\fi<br></div></blockquote><div><br></div><div>Maybe such errors will disappear if you install the latest version of Polyglossia (there was a little typo in gloss-french.ldf); you can find it here:</div><div><br></div><div><a href="http://github.com/fc7/polyglossia/commit/f3190c950f0b769e8e8ba077da7185c4d824c210">http://github.com/fc7/polyglossia/commit/f3190c950f0b769e8e8ba077da7185c4d824c210</a></div><div><br></div><div>François issued it on Sunday so perhaps it can't be installed through tlmgr yet. It's probably safer to replace files manually.</div><br><blockquote type="cite"><div>l.190<br> &nbsp;&nbsp;&nbsp;I've deleted a group-closing symbol because it seems to be<br>spurious, as in `$x}$'. But perhaps the } is legitimate and<br>you forgot something else, as in `\hbox{$x}'. In such cases<br>the way to recover is to insert both the forgotten and the<br>deleted material, e.g., by typing `I$}'.<br>======================================<br><br>Preamble is much the same as before, see below:<br><br>\documentclass[12pt, oneside]{scrbook}<br>\usepackage{scrpage2}<br>\usepackage{xunicode,xltxtra}<br></div></blockquote><div><br></div><div>A detail: you don't need to load xunicode since xltxtra loads both fontspec and xunicode, so \usepackage{xltxtra} is enough.</div><br><blockquote type="cite"><div>\usepackage{polyglossia}<br>\setmainlanguage{brazil}<br>\setotherlanguage[variant=american]{english}<br>\setotherlanguage{french}<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{natbib}<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> &nbsp;\small<br> &nbsp;\begin{list}{}{%<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\setlength{\listparindent}{0cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\setlength{\itemindent}{\listparindent}%<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\setlength{\rightmargin}{0cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\setlength{\leftmargin}{4cm}%<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\setlength{\parsep}{0pt}}%<br> &nbsp;&nbsp;\item\relax}%<br> {\end{list}}<br><br><br><br>\begin{document}...<br><br>========================================<br><br>Could it be the new environment for citations (citacao) or some /other/ incompatibility problem?<br></div></blockquote><div><br></div><div>Your environment citacao seems to be alright. The attached file compiles fine by me.</div><br><blockquote type="cite"><div><br>Apparently it's not affecting the compiled document, but if it is, I can't tell. I'm just worried about so many warnings.<br></div></blockquote></div><br></div><div>Best wishes,</div><div><br></div><div>Yves</div><div><br></div><div></div></body></html>