> 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/132-synctex-errors.md).

# أخطاء SyncTeX

أحيانًا تحدث مشكلات عند استخدام SyncTeX للانتقال من المعاينة إلى نافذة المصدر عندما تكون بعض الحزم قيد الاستخدام.

في هذه الحالات، إذا حاولت النقر المزدوج على المعاينة أو استخدام أزرار الأسهم الموجودة على شريط الفاصل بين جزء المصدر وجزء المعاينة، فستظهر رسالة خطأ:

> تعذّر العثور على ملف المصدر المطابق.

من المعروف أن هذا يحدث في المستندات التي تستخدم Ti*ك*مكتبة Z shadows أو fadings. الـ [تقوم حزمة todonotes في TL2020 أيضًا بتحميل مكتبة fadings](https://tex.stackexchange.com/questions/479146/how-to-solve-no-synchronization-info-at-this-position-issue#comment1210452_479146)، لذا قد تتسبب أيضًا في فشل SyncTeX. وينطبق هذا أيضًا إذا كانت `[معظم]` يتم استخدام خيار الحزمة tcolorbox.

لاحظ أيضًا أن مستند .tex الرئيسي لمشروع Overleaf يجب أن يكون في المستوى الأعلى للمشروع (أي ليس داخل مجلد) لكي يعمل SyncTeX.

عند استخدام `\input` و `\include`، لا تستخدم بادئة `./` في مسارات الملفات الخاصة بك. أي: `\include{./chapters/intro}` سيؤدي ذلك إلى فشل SyncTeX؛ لكنه سيعمل بشكل جيد مع `\include{chapters/intro}`. يجب ألا يحتوي كل اسم ملف .tex على أحرف مثل `()[]`، أو رموز أخرى، ولا حتى أحرف المسافة.

إذا رأيت هذا الخطأ في مشروع لا يندرج تحت أي من الحالات المذكورة أعلاه، يمكنك أن ترسل لنا [طلب دعم](https://www.overleaf.com/contact) وسنتمكن من التحقيق أكثر.


---

# 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/132-synctex-errors.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.
