[pdftex] Getting error in \CJK at plane

Suman_Tripathy Suman_Tripathy at satyam.com
Fri Nov 14 08:29:59 CET 2008

And as always It Works..............


-----Original Message-----
From: Heiko Oberdiek [mailto:oberdiek at uni-freiburg.de]
Sent: Friday, November 14, 2008 12:34 PM
To: Suman_Tripathy
Cc: Ross Moore; wl at gnu.org; pdftex at tug.org
Subject: Re: [pdftex] Getting error in \CJK at plane

On Fri, Nov 14, 2008 at 11:57:39AM +0530, Suman_Tripathy wrote:

> First, I thought, I will not be able to generate a small program. But now I am able to. Please execute the below program to generate pdf with pdflatex, you will find the error message.
> \documentclass{article}
> \let\OrgShow\show
> \usepackage{ucs}
> \AtBeginDocument{\let\show\OrgShow}
> \usepackage[utf8x]{inputenc}
> \PreloadUnicodePage{0}
> \usepackage[unicode]{hyperref}[2006/08/01]
> \usepackage{CJK}
> \begin{document}
> \begin{CJK}{UTF8}{}
> 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{CJK}
> \end{document}

  \pdfstringdef\ContentsString{Phrase Code = ^^c2^^a9^^e2^^84^^a2 }%
    /Border[0  0 .1]%
    /C[0 0 1]%

This trick will not work for utf8.def, because of its global

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

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