[Tex/LaTex] Tikz mindmap problems

mindmapstikz-pgf

I am trying to run the TikZ example on http://www.texample.net/tikz/examples/scientific-interactions/ but I am running into some problems.

I can run the simpler example http://www.texample.net/tikz/examples/computer-science-mindmap/ which creates a similar map, suggesting that I have the necessary libraries installed.

I receive an error on the line

\centering\begin{tikzpicture}[mindmap,
  level 1 concept/.append style={level distance=130,sibling angle=30},
  extra concept/.append style={color=blue!50,text=black}]

I am running a standard installation of Miktex on Windows.

The error I get is

! Package tikz Error: I do not know what to do with the option ''level 1       
concept/.append style={level distance=130,sibling angle=30}''.

Sorry that I could not make the question a bit more general, but I really like this application of TikZ but am unfamiliar with the general syntax of the package.

Best Answer

This is the standard "Unknown Option" error of TikZ. The funny thing is that it does think the whole expression

level 1 concept/.append style={level distance=130,sibling angle=30}

is an option. Normally it should only complain about 'level 1 concept' is unknown, or actually not at all because only a style should be appended - the options should not yet be executed.

The file compiles fine with TikZ/PGF 2.10 with an freshly updated TeXLive 2010, which makes me believe this is an issue with your MikTeX installation.

Here some steps you should try:

  • Make sure you are running the newest version of MikTeX, i.e. v2.9

  • Update your package, especially TikZ/PGF, latest version is 2.10.

  • Make sure that you don't have old TikZ/PGF package files lying around in your local texmf tree (I think C:\localtexmf\ with MikTeX).

  • (Just an idea) Try to change the order of the options, e.g. put mindmap last, etc..

Related Question