> 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/qaadh-almarfh/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.md).

# أنشأتُ مستند LaTeX في مكان آخر—هل يمكنني استيراده إلى Overleaf؟

نعم، يمكنك ذلك. يمكنك إنشاء مستند جديد ونسخ النص ولصقه من ملف tex الحالي لديك. إذا كان مستندك يحتوي على عدة ملفات، فيمكنك ضغطها في ملف zip، ثم رفع ملف .zip باستخدام أحد خيارات الرفع في [لوحة المشاريع](https://www.overleaf.com/dash) (انظر الصورة أدناه).

![إنشاء مشروع جديد من لوحة التحكم عن طريق رفع ملف .zip](/files/c0b822166c9630b8656efc216f2ea8d43920b46e)

بدلاً من ذلك، يمكنك أولاً إنشاء مشروع فارغ (أو إنشاء واحد من قالب في المعرض). عندما يحمّل محرر المشروع، انقر على زر “Upload” في أعلى قائمة الملفات. يمكنك بعد ذلك تحديد الملفات التي تريد رفعها من جهازك، إما بالنقر أولاً على زر "Select from your computer" لفتح متصفح ملفات، أو ببساطة بسحب الملفات وإفلاتها من مستعرض الملفات/‏Finder إلى أداة الرفع. يوضح هذا الملف GIF المتحرك كيف يمكن القيام بذلك:

![رفع عدة ملفات إلى مشروع](/files/f9691cf9b1a91dc6ea277ec59110b14771da686b)

من المحتمل أيضاً أنك ستريد تغيير المستند الرئيسي للمشروع، وذلك بالنقر على أيقونة قائمة Overleaf فوق لوحة قائمة الملفات.

### هل يمكنني استخدام git لدفع مشروع جديد؟

إذا كنت تستخدم git، فيمكنك أيضاً [إجراء git push لملفاتك](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) إلى مشروعك في Overleaf.

### هل توجد واجهة برمجة تطبيقات (API) لتحميل مشاريع جديدة؟

يمكنك أيضاً استخدام أحد الخيارات الموجودة في [صفحة المطورين](https://www.overleaf.com/devs) للاستيراد مباشرةً من موقعك إلى Overleaf.


---

# 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/qaadh-almarfh/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.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.
