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

# SyncTeXエラー

特定のパッケージを使用していると、SyncTeX を使ってプレビューからソースウィンドウへ移動する際に問題が発生することがあります。

このような場合、プレビューをダブルクリックしたり、ソースペインとプレビューペインの間の区切りバーにある矢印ボタンを使ったりすると、エラーメッセージが表示されます:

> 対応するソースファイルが見つかりませんでした。

これは、Ti*キ*Z shadows または fadings ライブラリを使用する文書で発生することが知られています。なお、 [TL2020 の todonotes パッケージも fadings ライブラリを読み込むため](https://tex.stackexchange.com/questions/479146/how-to-solve-no-synchronization-info-at-this-position-issue#comment1210452_479146)そのため、SyncTeX が失敗する原因になることもあります。これは、 `[most]` パッケージ tcolorbox のオプションが使用されている場合です。

また、SyncTeX を機能させるには、Overleaf プロジェクトのメインの .tex 文書はプロジェクトの最上位階層（つまりフォルダ内ではなく）に置く必要があります。

を使用する場合、 `\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/ja/narejjibsu/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.
