> 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/ar/akhtaa-latex/09-file-xxx-not-found-on-input-line-xxx.md).

# الملف XXX غير موجود في سطر الإدخال XXX

يرتبط هذا الخطأ بملف لا يستطيع LaTeX العثور عليه. يظهر هذا الخطأ عادةً عندما يكون أحد الأمرين

* يحتوي مسار الملف على أحرف محظورة
* لقد نسيت رفع الملف
* تمت كتابة مسار الملف بشكل غير صحيح.

للحصول على جميع المعلومات حول كيفية تضمين الصور بشكل صحيح في مشروعك، راجع [البرنامج التعليمي](/latex/ar/mzyd-mn-almwdhwaat/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 من العثور عليه. يتم ذلك بالنقر على زر 'الرفع' كما هو موضح أدناه

![Uploadimage.PNG](/files/5109c7bba4239411fb932c81799d5ec0d460b51c)

بعد ذلك، ينبغي أن يظهر الملف في القائمة الموجودة على اليسار.

**مسار الملف غير صحيح:**

عند تضمين ملف، يجب عليك دائمًا كتابة مسار الملف *من الدليل الجذر*. وهذا صحيح حتى إذا كانت الوثيقة الرئيسية التي تقوم بتجميعها مخزنةً في مجلد داخل الدليل الجذر بدلًا من الدليل الجذر نفسه. ويُعرض مثال على ذلك أدناه

![Imagefolder.PNG](/files/322d345fe0f7bfcc9a83caa2bb9a7a864d52f533)

هنا، الصورة التي تريد استخدامها، **`image.PNG`** مخزنة داخل **`folder2`**، والذي بدوره مخزن داخل **`المجلد`**. **`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/cbfece5932c7ec8c8e8915a4cb08393b441870e4)

**باستخدام `\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/cbfece5932c7ec8c8e8915a4cb08393b441870e4)


---

# 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/ar/akhtaa-latex/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.
