Sun Dec 26 00:53:38 CET 2004

Hi!

There seems to be a bug in interaction of right-to-left features of
eTeX with pdflink features of pdftex.

I would greatly appreciate any help. :)

When i try to compile the following file using pdftex:

==================================
\TeXXeTstate=1

\beginR This is a test.
/Border[0 0 1]
/H/I
/C[1 0 0]
} goto name {Qwerty}
This is a test.
\endR

This is a test.
\pdfdest name {Qwerty}XYZ
This is a test.

\bye
==================================

I get an error:

! pdfTeX error (ext4): \pdfendlink ended up in different nesting level
[...]
!  ==> Fatal error occurred, the output PDF file is not finished!

outside of the \beginR...\endR group, but what should be done if the
link needs to be typeset inside the right-to-left paragraph?

Moreover, it may be of interest that the following file causes the
! This can't happen (copying).
error:

==================================
\TeXXeTstate=1

\beginR This is a test.
\beginL
/Border[0 0 1]
/H/I
/C[1 0 0]
} goto name {Qwerty}
\endL
This is a test.
\endR

This is a test.
\pdfdest name {Qwerty}XYZ
This is a test.

\bye
==================================

Best,
v.