> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ko/latex-1/09-file-xxx-not-found-on-input-line-xxx.md).

# 입력 줄 XXX에서 파일 XXX를 찾을 수 없음

이 오류는 LaTeX에서 찾을 수 없는 파일과 관련되어 있습니다. 이 오류는 보통 다음 중 하나일 때 나타납니다

* 파일 경로에 금지된 문자가 포함되어 있습니다
* 파일을 업로드하는 것을 잊었습니다
* 파일 경로의 철자가 잘못되었습니다.

프로젝트에 이미지를 올바르게 포함하는 방법에 대한 모든 정보는 우리의 [튜토리얼](/latex/ko/more-topics/27-inserting-images.md). 또한 이미지를 포함할 때마다 반드시 **`graphicx`** 패키지를 프리앰블에 다음과 같이 포함해야 합니다 **`\usepackage{graphicx}`**. 위에 설명한 실수 중 하나라도 하면 다음과 같은 오류가 나타납니다

main.tex, 5행

LaTeX 오류: 파일 \`image3'을 찾을 수 없습니다.

LaTeX 매뉴얼 또는 LaTeX Companion에서 설명을 보세요. 즉시 도움말은 H를 입력하세요. ... l.8 \includegraphics{image3} 다음 확장자 중 어느 것으로도 파일을 찾을 수 없었습니다: .png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG,.JBIG2,.JB2,.eps 계속하려면 입력해 보세요. 그래도 안 되면 종료하려면 X를 입력하세요.

## 일반적인 오류 원인

**파일 경로의 금지된 문자**

LaTeX는 파일 경로의 특정 문자에 문제가 있으며, 이러한 문자는 피해야 합니다. 경우에 따라 이러한 문자를 사용하면 파일을 찾을 수 없음 오류가 발생합니다. 피해야 할 문자는 다음과 같습니다:

* 공백 ( )
* 퍼센트 기호 (`%`)
* 백슬래시 (`\`)
* 활성 문자로 만들어지는 문자들입니다. 기본적으로는 틸드만 해당하며, 이는 줄바꿈되지 않는 공백으로 확장됩니다 (`~`)

**파일 업로드를 잊음:**

프로젝트에 파일을 포함하려면 LaTeX가 찾을 수 있도록 프로젝트에 업로드해야 합니다. 이는 아래와 같이 'upload' 버튼을 클릭하여 수행합니다

![Uploadimage.PNG](/files/fea82a154f73f6d6e913030ab114ddeec926280a)

이후 파일은 왼쪽 메뉴에 표시되어야 합니다.

**파일 경로가 올바르지 않음:**

파일을 포함할 때는 항상 파일 경로를 작성해야 합니다 *루트 디렉터리에서*. 이는 컴파일 중인 मुख्य 문서가 루트 디렉터리 자체가 아니라 루트 디렉터리 안의 폴더에 저장되어 있어도 마찬가지입니다. 그 예는 아래에 나와 있습니다

![Imagefolder.PNG](/files/0686c60f04f987daa6bf1d5762a93fc5b3a7edff)

여기서 사용하려는 이미지인 **`image.PNG`** 은(는) 내부에 저장되어 있습니다 **`folder2`**, 그리고 그 자체는 **`폴더`**. 따라서 LaTeX에 이미지 위치를 알려주려면 경로를 다음과 같이 작성해야 합니다 **`folder/folder2/image`**. 아래에 표시되어 있습니다

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\begin{document}

\begin{figure}
    \centering
    \includegraphics{ {folder/folder2/image} }
    \caption{이것은 이미지입니다}
    \label{fig:my_label}
\end{figure}
\end{document}
```

![Imageexample.PNG](/files/019d72810e449be7dccc46f0bb8412a248295f3e)

**사용하기 `\graphicspath{...}` 잘못:**

프리앰블에서 이미지가 저장된 위치를 LaTeX에 알려서 파일 경로를 계속 적지 않으려면, 파일 경로 끝에 슬래시를 반드시 포함하고 아래와 같이 전체 파일 경로를 중괄호 안에 작성해야 합니다

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\graphicspath{ {folder/folder2/} } %이곳에 이미지를 저장했습니다

\begin{document}

\begin{figure}
    \centering
    \includegraphics{image}
    \caption{이것은 이미지입니다}
    \label{fig:my_label}
\end{figure}
\end{document}
```

![Imageexample.PNG](/files/019d72810e449be7dccc46f0bb8412a248295f3e)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ko/latex-1/09-file-xxx-not-found-on-input-line-xxx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
