<div dir="ltr"><div>AFAIK polyglossia knows whether bidi is needed and loads it automatically. The advantage is that it can change the font and language specific things.<br><br></div>But back to the problem. Missing \begin{document} means that something tried to typeset a text. It is caused by an expansion of \everypar which is redefined to issue this error message. Moving \begin{document} to an earlier place removes the error message but does not solve the real error. The error will only abeear later and will be stranger and less understandable. You should find which definition tries to typeset a text and why.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-11-19 6:19 GMT+01:00 Karljurgen Feuerherm <span dir="ltr"><<a href="mailto:kfeuerherm@wlu.ca" target="_blank">kfeuerherm@wlu.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Herb,<br>
<br>
That’s not quite the same thing, is it, Herb?<br>
<br>
>From the documentation of Polyglossia, p. 3*: "The current version of<br>
polyglossia makes use of some convenient macros defined in the etoolbox<br>
package by Philipp Lehmann. Being designed<br>
for XƎLATEX and LuaLATEX, it obviously also relies on fontspec by Will<br>
Robertson. For languages written from right to left, it needs the package<br>
bidi by Vafa Khaligi”.<br>
<br>
K<br>
<br>
* 2015/03/25 v1.42.4<br>
(pdf file generated on 25 March 2016)<br>
<br>
Karljürgen G. Feuerherm, PhD | 2-139 Department of History | Wilfrid<br>
Laurier University | 75 University Avenue West | Waterloo, Ontario N2L 3C5<br>
<br>
<br>
<br>
<br>
<br>
On 2016-11-18, 17:22, "XeTeX on behalf of Herbert Schulz"<br>
<<a href="mailto:xetex-bounces@tug.org">xetex-bounces@tug.org</a> on behalf of <a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> wrote:<br>
<br>
><snip><br>
<div class="HOEnZb"><div class="h5">>Howdy,<br>
><br>
>I don't know if it applies here but I thought most folks use polyglossia<br>
>rather than bidi with xelatex.<br>
><br>
>Good Luck,<br>
><br>
>Herb Schulz<br>
>(herbs at wideopenwest dot com)<br>
><br>
><br>
><br>
><br>
>-----------------------------<wbr>---------------------<br>
>Subscriptions, Archive, and List information, etc.:<br>
>  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
<br>
<br>
<br>
<br>
------------------------------<wbr>--------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
</div></div></blockquote></div><br></div>