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

# SyncTeX-fejl

Der er nogle gange problemer med at bruge SyncTeX til at hoppe fra forhåndsvisningen til kildevinduet, når visse pakker er i brug.

I disse tilfælde, hvis du prøver at dobbeltklikke på forhåndsvisningen eller bruge pileknapperne, der sidder på skillelinjen mellem kildepanelet og forhåndsvisningspanelet, vises en fejlmeddelelse:

> Kunne ikke finde den tilsvarende kildefil.

Dette er kendt for at ske i dokumenter, der bruger Ti*k*Z shadows- eller fadings-biblioteket. Den [todonotes-pakken i TL2020 indlæser også fadings-biblioteket](https://tex.stackexchange.com/questions/479146/how-to-solve-no-synchronization-info-at-this-position-issue#comment1210452_479146), så kan den også få SyncTeX til at fejle. Det samme gælder også, hvis `[mest]` optionen i pakken tcolorbox bruges.

Bemærk også, at hoved-.tex-dokumentet i et Overleaf-projekt skal befinde sig på projektets øverste niveau (dvs. ikke i en mappe) for at SyncTeX kan fungere.

Når du bruger `\input` og `\include`, brug ikke et foranstillet `./` i dine filstier. Det vil sige: `\include{./chapters/intro}` ville få SyncTeX til at fejle; men det ville fungere fint med `\include{chapters/intro}`. Hvert .tex-filnavn bør ikke indeholde tegn som `()[]`, andre symboler eller mellemrumstegn.

Hvis du ser denne fejl i et projekt, som ikke falder ind under et af ovenstående scenarier, kan du sende os en [supportanmodning](https://www.overleaf.com/contact) og så kan vi undersøge det nærmere.


---

# 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/da/vidensbase/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.
