[Hoping this is the right place to ask such a question...]
I was trying to use the new graph drawing facility of TikZ 3.0. I'm using MikTeX 2.9 with GNU Emacs and AucTeX on Win7. When compiling the following example file
\documentclass[tikz,border=10pt]{standalone}
\usetikzlibrary{graphdrawing}
\usetikzlibrary{graphs}
\usegdlibrary{trees}
\begin{document}
\begin{tikzpicture}[>=stealth, every node/.style={circle, draw, minimum size=0.75cm}]
\graph [tree layout, grow=down, fresh nodes, level distance=0.5in, sibling distance=0.5in]
{
4 -> {
3 -> { 1 -> { 5, " " }, 2,2 },
3 -> { 1, 2, 2 },
3 -> { 1, 2, 2 }
}
};
\end{tikzpicture}
\end{document}
%% Local Variables:
%% TeX-master: t
%% TeX-PDF-mode: t
%% TeX-engine: luatex
%% coding: utf-8
%% End:
I get the error message
! Package pgfkeys Error: I do not know the key '/tikz/hyper/.forward to' and I am going to ignore it. Perhaps you misspelled it.
See the pgfkeys package documentation for explanation.
Type H <return> for immediate help.
...
l.71 ...appendtoforwardinglist{/tikz/,/tikz/graphs/}
from tikzlibrarygraphdrawing.code.tex. Is this a bug or am I doing something wrong?
Thanks,
Edi.
I can't replicate this, following is what I get; I think you are not compiling with LuaTeX which is needed for these libraries.
Last edit: percusse 2014-09-05
Hi Edi,
Did you solve the issue? I have the same problem.
Thanks,
Sebastian
Hi Sebastian,
I "solved" it by completely uninstalling MiKTeX and reinstalling from scratch. Also, the new installation was "only for this user" while the old one was for all users. I still don't know what the reason for the problem was but now it works.
HTH,
Edi.
Thank for your suggestion, Edi. I just did the same and now it works.
Sounds as if it was a pure installation problem. Closing issue.