
다음 디렉토리가 있습니다.
maindir
'-thesis.tex
'-figures
'-drawing.eps_tex
'-drawing.eps
내 논문.tex는 다음과 같습니다.
\documentclass{article}
\usepackage{graphicx, color}
\begin{document}
\input{figures/drawing.eps_tex}
\end{document}
컴파일하려고 하면 다음 오류가 발생합니다.
LaTeX Warning: File `drawing.eps' not found on input line 52.
! Package pdftex.def Error: File `drawing-eps-converted-to.pdf' not found.
에 도면이 있으면 maindir
오류가 발생하지 않고 가 drawing-eps-converted-to.pdf
빌드되고 모든 것이 예상대로 작동합니다. 분명히 input{}
언급된 파일이 maindir
.
이 문제를 해결하는 방법은 무엇입니까? 피규어가 너무 많아서 에 보관하고 싶지 않습니다 maindir
.
답변1
고정 설정 \graphicspath
:
\graphicspath{{\curdir figures/}}