Ошибка Smartdiagram при компиляции

Ошибка Smartdiagram при компиляции

Я хочу использоватьсмартдиаграммано по какой-то причине получаю ошибку:

! 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.

Вот код, который я использую.

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

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

решение1

Нет необходимости указывать дополнительные пакеты. Smartdiagram вызовет их автоматически. Ваш MWE правильный и компилируется (Kubuntu 12.10, но с полной "ванильной установкой Latex"). У меня были похожие проблемы раньше, с Texlive2012 PPA. Так что если вы действительно работаете с xUbuntu, попробуйте полную "ванильную установку Latex".

Связанный контент