> 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/it/base-di-conoscenza/132-synctex-errors.md).

# Errori di SyncTeX

A volte ci sono problemi nell'usare SyncTeX per passare dall'anteprima alla finestra del sorgente quando sono in uso determinati pacchetti.

In questi casi, se provi a fare doppio clic sull'anteprima o a usare i pulsanti freccia che si trovano sulla barra di divisione tra il pannello sorgente e il pannello di anteprima, verrà visualizzato un messaggio di errore:

> Impossibile trovare il file sorgente corrispondente.

È noto che ciò accada nei documenti che usano la Ti*re*libreria shadows o fadings di Z. Il [pacchetto todonotes in TL2020 carica anche la libreria fadings](https://tex.stackexchange.com/questions/479146/how-to-solve-no-synchronization-info-at-this-position-issue#comment1210452_479146), quindi può anche causare il fallimento di SyncTeX. Questo è anche il caso se viene usata l' `[most]`  opzione del pacchetto tcolorbox viene usata.

Tieni presente anche che il documento .tex principale di un progetto Overleaf dovrebbe trovarsi al livello superiore del progetto (cioè non in una cartella) affinché SyncTeX funzioni.

Quando usi `\input` e `\include`, non usare un prefisso `./` ai percorsi dei tuoi file. Vale a dire: `\include{./chapters/intro}` causerebbe il fallimento di SyncTeX; ma funzionerebbe correttamente con `\include{chapters/intro}`. Ogni nome di file .tex non dovrebbe contenere caratteri come `()[]`, altri simboli, né spazi.

Se vedi questo errore in un progetto che non rientra in uno degli scenari sopra indicati, puoi inviarci una [richiesta di supporto](https://www.overleaf.com/contact) e possiamo indagare ulteriormente.


---

# 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/it/base-di-conoscenza/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.
