> 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/cs/znalostni-baze/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.md).

# Vytvořil jsem LaTeXový dokument jinde—mohu ho importovat do Overleafu?

Ano, můžete. Můžete vytvořit nový dokument a zkopírovat a vložit text z vašeho existujícího souboru tex. Pokud váš dokument obsahuje více souborů, můžete je zabalit do ZIPu a nahrát soubor .zip pomocí jedné z možností nahrávání na vaší [nástěnce projektů](https://www.overleaf.com/dash) (viz obrázek níže).

![Vytvořte nový projekt z Dashboardu nahráním souboru .zip](/files/c39ad9b2122af505c1810d176d43d4439c40fccc)

Alternativně můžete nejprve vytvořit prázdný projekt (nebo vytvořit jeden ze šablony v Galerii). Když se načte editor projektu, klikněte na tlačítko „Nahrát“ v horní části seznamu souborů. Poté můžete vybrat soubory, které chcete nahrát ze svého počítače, buď nejprve kliknutím na tlačítko „Vybrat z vašeho počítače“ pro otevření správce souborů, nebo jednoduše přetažením souborů z Průzkumníka/Finderu do nahrávače. Tento animovaný GIF ukazuje, jak se to dá udělat:

![Nahrávání více souborů do projektu](/files/becff92f9d4df33666ce3b03c6b9ad068670091c)

Pravděpodobně budete také chtít změnit hlavní dokument projektu kliknutím na ikonu nabídky Overleaf nad panelem seznamu souborů.

### Mohu použít git k odeslání nového projektu?

Pokud používáte git, můžete také [odeslat své soubory pomocí git push](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) do svého projektu v Overleafu.

### Existuje API pro nahrávání nových projektů?

Můžete také použít jednu z možností uvedených na naší [stránce pro vývojáře](https://www.overleaf.com/devs) k přímému importu z vašeho webu do Overleafu.


---

# 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/cs/znalostni-baze/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.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.
