[NTG-context] \pdfannot and \tooltip won't work with Chinese

2008-07-29 Thread Suman_Tripathy
Can I get the .tex file? I am not expert in Latex and not understanding what exactly is the solution. Where is \doPDFinsertcomment defined? -Suman DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
Thanks Hans, It works. But only the /Contents part was converted correctly, the /T part is still not so good. So I redefined your \doPDFinsertcomment macro and changed the third line from \doifelsenothing{#1} {\let\PDFidentifier\empty} {\def\PDFidentifier{/T

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Hans Hagen
Zhichu Chen wrote: Hi I've been looking at some core codes and the PDF reference, still have no idea. Somehow, I was told that LaTeX can do such things using hyperref package and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...} should be OK. can you try

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Hans Hagen
Zhichu Chen wrote: Thanks Hans, It works. But only the /Contents part was converted correctly, the /T part is still not so good. So I redefined your \doPDFinsertcomment macro and changed the third line from \doifelsenothing{#1} {\let\PDFidentifier\empty}

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
Hi, Hans It may be useless, but I really hope I can pass some options to the comment. e.g., use \comment[color=blue][title]{some contents} will make some contents blue. So I think we can use /RC instead of /Contents. On 4/17/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Thanks

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-13 Thread Zhichu Chen
Hi I've been looking at some core codes and the PDF reference, still have no idea. Somehow, I was told that LaTeX can do such things using hyperref package and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...} should be OK. On 4/11/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi

[NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-10 Thread Zhichu Chen
Hi everybody, Since \inmargin won't break through pages and I've tried everything but still can't make it, I bended. Now I want to comment some words with \pdfannot. It seems that this command don't support Chinese very well, the annotations appeared like lookaheaduchar 73 and something. Then I