[pdftex] display unicode string with \pdfannot

Suman_Tripathy Suman_Tripathy at satyam.com
Thu Aug 28 14:15:05 CEST 2008


Please check my sample code. It does not work. I am attaching the output as well. The two question marks are for "degree" and "Registered Trade Mark" symbol.Unicode for them is 176 and 174 respectively. I tried with \PreloadUnicodePage{0} as well. It did not work.

\documentclass{article}
\usepackage{amsmath}
\usepackage{ucs}
%\PreloadUnicodePage{0}
\PrerenderUnicode{??}
\usepackage[utf8x]{inputenc}
%\PrerenderUnicode{??}
\begin{document}
\section{Introduction}
Hi
\pdfannot{/Subtype /Square /Border [ 0 0 0.1] /C [0 0 1]
/T (BoilerPlate) /Contents (Phrase Code =?? )}
\end{document}

Thanks & Regards,
Suman Tripathy

-----Original Message-----
From: Vasile Gaburici [mailto:vgaburici at gmail.com]
Sent: Monday, August 25, 2008 12:28 PM
To: Suman_Tripathy
Cc: pdftex at tug.org
Subject: Re: [pdftex] display unicode string with \pdfannot

On Mon, Aug 25, 2008 at 8:03 AM, Suman_Tripathy
<Suman_Tripathy at satyam.com> wrote:
> I am trying to get a simple thing solved for quite long time.Can you help please?
>
> Can I display unicode string with \pdfannot ?
>
> unicode is working in the pdf for normal text display. But I am not able to display string which contains unicode in pop-up notes by using \pdfannot.It gives error as "Please insert PrerenderUnicode{°} into preamble".

Why don't you do that? You need to do it to overcome a limitation of
the ucs package. Please refer to page 5 of the documentation of ucs
(http://www.ctan.org/get/macros/latex/contrib/unicode/ucs.ps.gz)

>
> Thanks & Regards,
>
> Suman Tripathy

DISCLAIMER:
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: popupnote.pdf
Type: application/pdf
Size: 8438 bytes
Desc: popupnote.pdf
Url : http://tug.org/pipermail/pdftex/attachments/20080828/79daf794/attachment.pdf 


More information about the pdftex mailing list