powerdot 中的编译错误。有人能帮忙吗?

powerdot 中的编译错误。有人能帮忙吗?
\documentclass[mode=present,style=elcolors]{powerdot}
\pdsetup{
lf=my first presentation,
rf=for some conference,
trans=wipe,
theslide=\english{slide},
randomdots,dmaxdots=80
}
\begin{document}
\begin{slide}{basic itemize}
Contents of the slide.
\end{slide}
\section{first section}
\begin{slide}[<slide options>]{another slide}
Contents of the slide.
\end{slide}
\begin{note}{personal note}
The note.
\end{note}
\end{document}

错误信息:

! Undefined control sequence.
<recently read> \c@lor@to@ps
l.12 \end{slide}
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.
\XC@usec@lor ...\expandafter \c@lor@to@ps #1#2\@@
\else \expandafter \expand...
l.12 \end{slide}
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.
<recently read> \c@lor@to@ps
l.12 \end{slide}

答案1

除了 Gonzalo 的正确答复之外,您需要使用 latex 而不是 pdflatex 来运行它:

您的代码中还存在其他小问题

  • 将 \english{slide} 替换为 \arabic{slide} (这是幻灯片的编号,而不是语言的编号!
  • 从第二张幻灯片中删除 [] (或添加实际有效的选项;这表示可以输入选项的位置)

相关内容