<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19120"></HEAD>
<BODY>
<DIV><SPAN class=593574317-25092011><FONT color=#0000ff size=2 face=Arial>Thank 
you so much for the fix.  MiKTeX does not have it yet but I copied the file 
changes from your source on dante and it works fine.</FONT></SPAN></DIV>
<DIV><SPAN class=593574317-25092011><FONT color=#0000ff size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=593574317-25092011><FONT color=#0000ff size=2 face=Arial>I'm 
sorry if my choice of words was inappropriate.  I very much appreciate all 
the work you've put into developing, maintaining, and updating this 
package.</FONT></SPAN></DIV>
<DIV><SPAN class=593574317-25092011><FONT color=#0000ff size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=593574317-25092011><FONT color=#0000ff size=2 
face=Arial>-Ari</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>-----------------------<BR>Ari M. 
Brodsky<BR>ari.brodsky@utoronto.ca<BR></FONT></P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV></DIV>
  <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><FONT size=2 
  face=Tahoma>-----Original Message-----<BR><B>From:</B> xetex-bounces@tug.org 
  [mailto:xetex-bounces@tug.org] <B>On Behalf Of </B>VAFA 
  KHALIGHI<BR><B>Sent:</B> 23.Sep.2011 4:45 AM<BR><B>To:</B> Unicode-based TeX 
  for Mac OS X and other platforms<BR><B>Subject:</B> Re: [XeTeX] Problem using 
  bidi with hyperref and amsart<BR><BR></FONT></DIV>
  <DIV dir=ltr>version 1.1.3 of bidi is now on <A 
  href="http://dante.ctan.org/tex-archive/.">dante.ctan.org/tex-archive/.</A>..<BR><BR>It 
  fixes this bug and should be in the next TeXLive update.<BR><BR>
  <DIV class=gmail_quote>On Fri, Sep 23, 2011 at 11:27 AM, VAFA KHALIGHI <SPAN 
  dir=ltr><<A 
  href="mailto:vafaklg@gmail.com">vafaklg@gmail.com</A>></SPAN> wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>
    <DIV dir=ltr>This is a bug of bidi package however I do not think "claim" is 
    a polite word. I fix it today and upload the new version to CTAN.
    <DIV>
    <DIV></DIV>
    <DIV class=h5><BR><BR>
    <DIV class=gmail_quote>On Thu, Sep 22, 2011 at 6:49 PM, Ari Meir Brodsky 
    <SPAN dir=ltr><<A href="mailto:ari.brodsky@utoronto.ca" 
    target=_blank>ari.brodsky@utoronto.ca</A>></SPAN> wrote:<BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
    class=gmail_quote>Hello,<BR><BR>I've been using LaTeX to typeset math for 
      years, but just recently I decided<BR>to upgrade to XeLaTeX in order to 
      include Hebrew.  I've come across the<BR>following problem. 
       Chapter 2 of the bidi package document (version 1.3.0,<BR>page 15) 
      claims that the bidi package supports the hyperref package as well<BR>as 
      the amsart class.  However, when I use all three together --- 
      amsart,<BR>hyperref, bidi --- the XeTeX engine goes into an infinite loop 
      at the<BR>\makefile command, and exceeds the input stack size capacity. 
       Here is a<BR>small 
      example:<BR><BR>-------------------------------<BR>% !TeX encoding = 
      UTF-8<BR>% !TeX program = xelatex<BR>% 
      test_bidi_hyperref.tex<BR>\documentclass{amsart}<BR>\usepackage{hyperref}<BR>\usepackage{bidi}<BR>\title{This 
      is a test file}<BR>\author{Ari Meir 
      Brodsky}<BR>\begin{document}<BR>\maketitle<BR><BR>Hi, this is just a 
      test.<BR>\end{document}<BR>-----------------------------------<BR><BR>Some 
      (hopefully relevant) excerpted lines from the log file 
      are:<BR><BR>-------------------------------------<BR>This is XeTeX, 
      Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9) (preloaded<BR>format=xelatex 
      2011.9.20)<BR>entering extended 
      mode<BR>**test_bidi_hyperref.tex<BR><BR>LaTeX2e 
      <2011/06/27><BR>Document Class: amsart 2009/07/02 
      v2.20.1<BR>Package: hyperref 2011/08/19 v6.82h Hypertext links for 
      LaTeX<BR>Package hyperref Message: Driver (autodetected): hxetex.<BR>File: 
      hxetex.def 2011/08/19 v6.82h Hyperref driver for XeTeX<BR>Package: bidi 
      2011/10/01 v1.3.0 Bidirectional typesetting in plain TeX 
      and<BR>LaTeX<BR>File: xetex-bidi.def 2011/07/25 v0.9 bidi adaptations for 
      XeTeX engine<BR>File: amsart-xetex-bidi.def 2011/08/26 v0.6 bidi 
      adaptations for amsart<BR>class for XeTeX engine<BR>File: 
      amsthm-xetex-bidi.def 2010/07/25 v0.1 bidi adaptations for 
      amsthm<BR>package for XeTeX engine<BR>File: hyperref-xetex-bidi.def 
      2010/07/25 v0.4 bidi adaptations for hyperref<BR>package for XeTeX 
      engine<BR>File: umsa.fd 2009/06/22 v3.00 AMS symbols A<BR>File: umsb.fd 
      2009/06/22 v3.00 AMS symbols B<BR>Package: nameref 2010/04/30 v2.40 
      Cross-referencing by name of section<BR><BR>! TeX capacity exceeded, sorry 
      [input stack size=5000].<BR>\@ifnextchar #1#2#3->\let \reserved@d 
      =#1<BR>                  
                          
        \def \reserved@a {#2}\def<BR>\reserved...<BR>l.11<BR><BR>If you 
      really absolutely need more capacity,<BR>you can ask a wizard to enlarge 
      me.<BR><BR>Here is how much of TeX's memory you used:<BR> 7077 
      strings out of 429156<BR> 96081 string characters out of 
      3168943<BR> 193729 words of memory out of 3000000<BR> 10145 
      multiletter control sequences out of 15000+200000<BR> 7385 words of 
      font info for 29 fonts, out of 3000000 for 9000<BR> 947 hyphenation 
      exceptions out of 8191<BR> 5000i,3n,26p,313b,130s stack positions out 
      of<BR>5000i,500n,10000p,200000b,50000s<BR>No pages of 
      output.<BR><BR>---------------------------------------------------<BR><BR>Any 
      ideas how to fix 
      this?<BR><BR>Thanks,<BR>-Ari<BR><BR>-----------------------<BR>Ari M. 
      Brodsky<BR><A href="mailto:ari.brodsky@utoronto.ca" 
      target=_blank>ari.brodsky@utoronto.ca</A><BR><BR><BR><BR><BR>--------------------------------------------------<BR>Subscriptions, 
      Archive, and List information, etc.:<BR> <A 
      href="http://tug.org/mailman/listinfo/xetex" 
      target=_blank>http://tug.org/mailman/listinfo/xetex</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>