I'm trying to use hyperref.sty to make node text into a hyperlink. This doesn't seem to work. For an example of what I'm trying to do, check out
http://www.cs.queensu.ca/undergraduate/COMP.pdf
I can do everything here using pgf/tikz except the hyperlinks.
Small example:
\documentclass{article}
\usepackage{tikz}
\usepackage{hyperref}
\begin{document}
\begin{tikzpicture}[x=5.8pt,y=5.8pt,semithick]
\tikzstyle{every rectangle node}=[draw,inner sep=1.8pt]
\node(121) at (10,10) {\href{http://www.cs.queensu.ca/undergraduate/courses/121.html}{CISC 121}};
\end{tikzpicture}
\end{document}
Bob Tennent
rdtennent@hotmail.com
Bugs: #355
Discussion: Generic circle intersections
Logged In: YES
user_id=294519
Further information on this: it seems to arise only with pdf(la)tex, and not with, for example,
dvips -> ps2pdf. Unfortunately, use with pdf(la)tex is one of the main motivations for pgf.
Heiko Oberdiek <oberdiek@uni-freiburg.de> comments:
> If the positioning is done by affecting the current transfer matrix
> (e.g. like in \scalebox, \rotatebox, ...) then this is a limitation
> of pdfTeX. The link calculation is done without respecting the
> CTM changes by \pdfliteral.
This means nothing to me but may be meaningful to pgf developers.
Bob T.
Logged In: YES
user_id=886275
Hi!
fixed. Except when rotation and scaling on the text (not its position) is
used.
Best regards,
Till