Texmaker 建造問題。無法產生新的pdf

Texmaker 建造問題。無法產生新的pdf

我已經安裝了texmaker(版本:4.0.3)並且它適用於一些測試檔案。但是當我嘗試運行預先定義的模板時,texmaker 無法產生更改的 pdf(它顯示舊的 pdf)。於是我查看了日誌,發現有錯誤

Package epstopdf Warning: Drivers other than `pdftex.def' are not supported.

)) (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg))
(./booktabs.sty) (./rotating.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)) (./listings.sty
(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty

***
*** This file requires `listings.sty' version 1.5.
*** You have a serious problem, so I'm exiting ...
***

texlive-latex-recommended並且texlive-latex-extra兩個軟體包都已安裝。文件也 /usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty可用。

系統:

Ubuntu 13.10 64bit

問題是什麼?我缺什麼?

答案1

調試時,如果在程式碼中找不到明顯的錯誤,日誌檔案始終是查看的好地方。

值得懷疑的一件事是從乳膠區以外的其他地方加載的包。仔細檢查那些。

在這種情況下,流浪的listings.sty是一個問題

答案2

\usepackage{listings}你應該在你的滲透文件中使用。如果您已經在使用它,則需要從 CTAN:listings 下載新版本的 Listings.sty 並將其替換為舊版本。

相關內容