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

# Cómo saltar al código fuente desde el PDF maquetado (SyncTeX)

Overleaf te permite ir desde una ubicación en el PDF maquetado hasta la ubicación correspondiente en tu código fuente LaTeX, y viceversa. **Nota**: Esta función no funcionará si el archivo principal de tu proyecto `.tex` está almacenado dentro de una carpeta (es decir, debe colocarse en el nivel superior (raíz) de tu proyecto). Se enumeran varias otras posibles causas [aquí](/latex/es/base-de-conocimientos/132-synctex-errors.md).

Puedes hacerlo de cualquiera de estas maneras:

* haz doble clic en el PDF, lo que hace que el editor de Overleaf se desplace hasta la ubicación correspondiente en el código fuente, o
* usa las flechas que están en el divisor entre el panel del código fuente y el panel de vista previa para saltar del código fuente a la vista previa, o de la vista previa al código fuente:

![Imagen que muestra las flechas de Overleaf para ir del código fuente a la vista previa, o de la vista previa al código fuente](/files/0c907092443461fd4c611cb65fd847b615151749)

Si no ves esas flechas, o si hacer doble clic en el PDF no funciona, debes asegurarte de que el visor de PDF de tu proyecto esté configurado en “Overleaf” y no en “Browser”. Aquí tienes un breve video que muestra cómo configurar el visor de PDF de tu proyecto y demuestra las funciones de sincronización fuente/PDF de Overleaf.

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

### SyncTeX: La TeXnología detrás de esta función de Overleaf

La capacidad de Overleaf de “saltar a la ubicación del código fuente” y “saltar a la ubicación del PDF” está implementada mediante SyncTeX, una función estándar incorporada en todos los motores TeX. Los lectores interesados en una breve introducción a SyncTeX pueden obtener más información en [este artículo de Overleaf](/latex/es/mas-temas/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/es/base-de-conocimientos/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.
