[pdftex] Getting error in \CJK at plane

Suman_Tripathy Suman_Tripathy at satyam.com
Thu Nov 13 14:48:10 CET 2008

The error message was:
 ! Missing \endcsname inserted.
 <to be read again>
                    \CJK at plane
 l.59 ...fx \rfsacTwo \undefined \else __rfsacTwo__
                                                     \fi The control
 sequence marked <to be read again> should not appear between \csname
 and \endcsname.

I tried your solution. It did not work.
Anyway I am not using CJKbookmarks.

-----Original Message-----
From: pdftex-bounces at tug.org [mailto:pdftex-bounces at tug.org] On Behalf Of Heiko Oberdiek
Sent: Thursday, November 13, 2008 4:46 PM
To: pdftex at tug.org
Subject: Re: [pdftex] Getting error in \CJK at plane

On Thu, Nov 13, 2008 at 04:04:53PM +0530, Suman_Tripathy wrote:

> Possibly I will not able to create a very small example to show the error.

There are many ways to get a small example, e.g.:
* Stripping down the original large problem file.
* Extending a small example.
* ...

> But I can explain when I get the problem. I am preparing one pdf for
> language Korean. There I am using pdfannot to display some text in English
> which contains some Unicode char as well. As pdfannot uses raw data, to
> display Unicode I am using hyperref package and pdfstringdef as suggested
> by Haiko in reply to one of my posts. If I take Haiko given example:
> \documentclass{article}
> \let\OrgShow\show
> \usepackage{ucs}
> \AtBeginDocument{\let\show\OrgShow}
> \usepackage[utf8x]{inputenc}
> \PreloadUnicodePage{0}
> \PreloadUnicodePage{33}
> \usepackage[unicode]{hyperref}[2006/08/01]
> \begin{document}
> Hi
> \pdfstringdef\ContentsString{Phrase Code = ^^c2^^a9^^e2^^84^^a2} \pdfannot{%
>   /Subtype/Square%
>   /Border[0 0 .1]%
>   /C[0 0 1]%
>   /T(BoilerPlate)%
>   /Contents(\ContentsString)%
> }
> \end{document}
> In the problem scenario the text "Hi" is displayed properly in
> Korean(whatever might be the translation), but ContentsString which is
> supposed to display a English sentence (which contains some Unicode char)
> fails to do so and gives the error.

Error message?

If you are using option `CJKbookmarks' (violates the PDF standard),
then this option should be disabled for your English text with
Unicode characters:

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
pdftex mailing list
pdftex at tug.org

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

More information about the pdftex mailing list