安裝 ytableau 時 pgfopts 錯誤

安裝 ytableau 時 pgfopts 錯誤

我正在嘗試按照說明安裝 ytableau.sty這裡這裡,以及 ytableau 自述文件中。我在 OS X 10.6 上運行 TexShop 2.47。這是我所做的一個演練,儘管我懷疑我可能很早就出錯了。

首先,我還沒有:

\documentclass{amsart}
\usepackage{ytableau}

\begin{document}

\end{document}

產生

! LaTeX Error: File `ytableau.sty' not found.

下載ytableau.insCTAN、 run latex ytableau.ins、建立目錄~/Library/texmf/tex並將結果ytableau.sty檔案複製到其中。現在產生測試文件

LaTeX Warning: You have requested, on input line 173, version
               `2011/06/02' of package pgfopts,
               but only version
               `2008/06/26 v1.0  LaTeX package options with pgfkeys'
               is available.

  ! Undefined control sequence.
  l.174 \ProcessPgfPackageOptions
                                 {/ytableau/options}

重複安裝過程2011 年 6 月 2 日版本的 pgfopts

我仍然收到相同的錯誤訊息。我嘗試將 pgfopts 放在幾個不同的位置,即~/Library/texmf/tex~/Library/texmf/tex/pgfopts和,但是 LaTeX 仍然找到舊版本,或者這不是真正的問題~/Library/texmf/latex~/Library/texmf/latex/pgfopts

答案1

您的 TeX 發行版已過時,請更新它...

答案2

您似乎正在運行相當舊的 Tex 版本。我建議:

  • 下載最新版本的 MacTeX
  • 安裝它
  • 確保在 TeX 首選項面板中選擇 TeX Live 2012
  • 重試運行您的文件,TL2012 中的 pgf* 版本應該足夠新

相關內容