# MacTeX pgfkeys/tikz package fails [closed]

the document listed below, (taken from here: texample.net) fails on my system (running MacTeX 2011) with the error:

Package pgfkeys Error: I do not know the key '/tikz/drop shadow' and
I am going to ignore it. Perhaps you misspelled it.


I've checked my packages using the TeX Live Utility and they all seem to be up to date. Any ideas on what I might be doing wrong? Thanks.

The document:

\documentclass{article}

\usepackage{tikz}
\usepackage{pgf-umlsd}
\usepgflibrary{arrows} % for pgf-umlsd
\begin{document}

\begin{figure}
\centering

\begin{sequencediagram}
\newinst{ctr}{}{SimControlNode}
\newinst{ps}{}{PhysicsServer}
\newinst[1]{sense}{}{SenseServer}

\begin{call}{ss}{Initialize()}{sense}{}
\end{call}
\begin{sdloop}{Run Loop}
\begin{call}{ss}{StartCycle()}{ctr}{}
\begin{call}{ctr}{ActAgent()}{sense}{}
\end{call}
\end{call}
\begin{call}{ss}{Update()}{ps}{}
\begin{call}{ps}{PrePhysicsUpdate()}{sense}{state}
\end{call}
\begin{callself}{ps}{PhysicsUpdate()}{}
\end{callself}
\begin{call}{ps}{PostPhysicsUpdate()}{sense}{}
\end{call}
\end{call}
\begin{call}{ss}{EndCycle()}{ctr}{}
\begin{call}{ctr}{SenseAgent()}{sense}{}
\end{call}
\end{call}
\end{sdloop}
\end{sequencediagram}

\caption{UML sequence diagram demo.}
\end{figure}
\end{document}


Update: I found the answer: The packages were wrong - for my system running pgf-umlsd.sty v0.5 atleast. They should have been...

\documentclass{article}

\usepackage{tikz}
\usepackage[underline=true,rounded corners=false]{pgf-umlsd}


Additionally, the command \begin{sdloop}{Run Loop} now needs to be \begin{sdblock}{Run Loop}.

-

## closed as too localized by Joseph Wright♦Dec 3 '11 at 21:39

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Hi Harold, Welcome to TeX.SE! It's great that you found the solution to your problem; it's preferable to post your solution as an answer rather than an update to your question as it will help future visitors to your question –  cmhughes Nov 26 '11 at 4:11
@mchughes...I tried that before doing the update, but I didn't have sufficient reputation score to answer my own question :( I didn't want to forget the answer, so I posted it as a comment. –  haroldcampbell Nov 26 '11 at 4:57
@haroldcampbell I don't remember exactly how it works, but you may be able to answer it after some time limit (maybe a day?). When you can, it would be helpful for others if you would do so. Otherwise, someone could add a community wiki answer with your answer (but then you'd not get the reputation that you deserve). –  Loop Space Nov 26 '11 at 6:44