Texmaker 빌드 문제. 새 PDF를 생성할 수 없습니다

Texmaker 빌드 문제. 새 PDF를 생성할 수 없습니다

(버전:4.0.3)을 설치했는데 texmaker일부 테스트 파일에서 작동했습니다. 하지만 사전 정의된 템플릿을 실행하려고 하면 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

디버깅하는 동안 코드에서 명백한 오류를 찾을 수 없는 경우 항상 로그 파일을 살펴보는 것이 좋습니다.

의심해야 할 한 가지는 라텍스 dist가 아닌 다른 위치에서 로드된 패키지입니다. 다시 확인해 보세요.

이 경우 길 잃은 목록.sty가 문제였습니다.

답변2

\usepackage{listings}투과성 파일에 사용해야 합니다 . 이미 사용하고 있다면 CTAN:listings에서 listeds.sty의 새 버전을 다운로드하여 이전 버전으로 교체해야 합니다.

관련 정보