<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western"> Question: instead of Heiko's
code, why not simply \pdfescapestring?
<br>
<br>
\cooltooltip{label}{description}{\pdfescapestring{more
description(}}{}{content}
<br>
<br>
<br>
works very well. Provided you use pdfTeX, that is.
<br>
<br>
Paul
<br>
<br>
<br>
Le 14/10/2010 20:55, Arno Trautmann a écrit :
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">\documentclass{scrartcl}
<br>
<br>
\usepackage{
<br>
hyperref,
<br>
cooltooltips
<br>
}
<br>
<br>
\begin{document}
<br>
\makeatletter
<br>
\renewcommand*{\ctip@make@Text}[3][0 1 0]{%
<br>
\pdfstringdef\ctip@Subj{#2}%
<br>
\pdfstringdef\ctip@Contents{#3}%
<br>
\pdfannot width 0pt height 0pt depth 0pt {
<br>
/Subtype /Text
<br>
/C [#1]
<br>
/Subj (\ctip@Subj)
<br>
/Contents (\ctip@Contents)
<br>
/NM (ctip Text \ctip@tip@number)
<br>
/AP<<
<br>
/N \ctip@empty@icon\space 0 R
<br>
/D \ctip@empty@icon\space 0 R
<br>
/R \ctip@empty@icon\space 0 R
<br>
>>
<br>
/Open false
<br>
}%
<br>
}
<br>
\makeatother
<br>
<br>
\cooltooltip{label}{description}{more description(}{}{content}
<br>
<br>
\end{document}
<br>
</blockquote>
<br>
</div>
</body>
</html>