Smartdiagram-Fehler beim Kompilieren

Smartdiagram-Fehler beim Kompilieren

Ich möchte dieSmartDiagrammaber aus irgendeinem Grund erhalte ich eine Fehlermeldung:

! Undefined control sequence. \smartdiagram 
code #1#2->\StrCut {#1}{:}\diagramtype \option \IfNoValueTF {#... l.6 ...ram]
{Initiation,Planning,Execution,Closure} The control sequence at the end of 
the top line of your error message was never \def'ed. If you have misspelled 
it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). 
Otherwise just continue, and I'll forget about whatever was undefined.

! Undefined control sequence. \smartdiagram
code ...\StrCut {#1}{:}\diagramtype \option \IfNoValueTF {#1}{... l.6 ...ram]
{Initiation,Planning,Execution,Closure} The control sequence at the end of 
the top line of your error message was never \def'ed. If you have misspelled 
it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). 
Otherwise just continue, and I'll forget about whatever was undefined.

Hier ist der Code, den ich verwende.

\documentclass[12pt]{article}
\usepackage{smartdiagram}

\begin{document}
    \begin{center}
    \smartdiagram[circular diagram]{Initiation,Planning,Execution,Closure}
    \end{center}
\end{document}

Antwort1

Es ist nicht nötig, die zusätzlichen Pakete anzugeben. Smartdiagram ruft sie automatisch auf. Ihr MWE ist korrekt und kompiliert (Kubuntu 12.10, aber mit einer vollständigen „Vanilla Latex-Installation“). Ich hatte zuvor ähnliche Probleme mit dem Texlive2012 PPA. Wenn Sie also tatsächlich mit xUbuntu arbeiten, versuchen Sie es mit einem vollständigen „Vanilla Latex“.

verwandte Informationen