zauguin / luapstricks

8 stars 0 forks source link

\pdftooltip does not work #91

Open hvoss49 opened 2 months ago

hvoss49 commented 2 months ago

Works with xelatex but not with lualatex. Maybe a problem with pdfcomment ?? For lualatex the tips are always placed with coordinates (0,0)

\documentclass{article}
\usepackage{pstricks-add}
\usepackage{pdfcomment}

\begin{document}

\begin{center}
\begin{pspicture}(-5,-5)(5,5)
  \psaxes{->}(0,0)(-4,-4)(4,4)%
     [\pdftooltip{\textcolor{red}{$x$}}{The $x$-axis},-90]%
     [\pdftooltip{\textcolor{red}{$y$}}{The $y$-axis},0]
\end{pspicture}
\end{center}

\end{document}