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

# Ошибки SyncTeX

Иногда возникают проблемы с использованием SyncTeX для перехода из предпросмотра в окно исходного кода, когда используются определённые пакеты.

В таких случаях, если вы попытаетесь дважды щёлкнуть по предпросмотру или воспользоваться кнопками со стрелками, расположенными на разделительной панели между областью исходного текста и областью предпросмотра, будет показано сообщение об ошибке:

> Не удалось найти соответствующий файл исходного кода.

Известно, что это происходит в документах, использующих библиотеку Ti*к*Z shadows или fadings. Пакет [, так что это тоже может привести к сбою SyncTeX. Это также верно, если](https://tex.stackexchange.com/questions/479146/how-to-solve-no-synchronization-info-at-this-position-issue#comment1210452_479146)пакет todonotes в TL2020 также загружает библиотеку fadings `[most]` используется параметр пакета 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/ru/baza-znanii/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.
