> 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/069-how-to-jump-to-the-source-code-from-the-typeset-pdf-synctex.md).

# كيفية الانتقال إلى الشيفرة المصدرية من ملف PDF المنضّد (SyncTeX)

يتيح لك Overleaf الانتقال من موقع في ملف PDF المُنسَّق إلى الموقع المقابل في شيفرة LaTeX المصدرية لديك، وبالعكس. **ملاحظة**: لن تعمل هذه الميزة إذا كان الملف الرئيسي لمشروعك `.tex` مخزّنًا داخل مجلد (أي يجب وضعه في المستوى الأعلى (الجذر) من مشروعك). وتوجد عدة أسباب محتملة أخرى مذكورة [هنا](/latex/ar/qaadh-almarfh/132-synctex-errors.md).

يمكنك إما:

* النقر نقرًا مزدوجًا على ملف PDF، مما يؤدي إلى تمرير محرر Overleaf إلى الموقع المقابل في الشيفرة المصدرية، أو
* استخدام مفاتيح الأسهم الموجودة على الفاصل بين لوحة الشيفرة المصدرية ولوحة المعاينة، للانتقال من المصدر إلى المعاينة، أو من المعاينة إلى المصدر:

![صورة تُظهر أسهم Overleaf للانتقال من المصدر إلى المعاينة، أو من المعاينة إلى المصدر](/files/37c5209ca10258a2e4fae3919666002e61b55c1a)

إذا لم ترَ تلك الأسهم، أو إذا لم ينجح النقر المزدوج على ملف PDF، فتحتاج إلى التأكد من أن عارض PDF في مشروعك مضبوط على “Overleaf” وليس “Browser”. إليك مقطع فيديو قصير يوضح كيفية تعيين عارض PDF لمشروعك ويعرض ميزات مزامنة المصدر/PDF في Overleaf.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/2xt7xSOvXcVqKZEAkxoaJi/76436c82c9382f8e78c84140c96deb40/SyncTeX_video.mp4>" %}

### SyncTeX: تقنية TeX الكامنة وراء هذه الميزة في Overleaf

تُنفَّذ قدرة Overleaf على “الانتقال إلى موقع في الشيفرة المصدرية” و“الانتقال إلى موقع في ملف PDF” باستخدام SyncTeX، وهي ميزة قياسية مدمجة في جميع محركات TeX. يمكن للقراء المهتمين بمقدمة موجزة عن SyncTeX معرفة المزيد في [هذه المقالة في Overleaf](/latex/ar/mzyd-mn-almwdhwaat/39-mltex-enctex-and-synctex-tex-extensions.md).


---

# 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/069-how-to-jump-to-the-source-code-from-the-typeset-pdf-synctex.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.
