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

# Я создал документ LaTeX где-то ещё — можно ли импортировать его в Overleaf?

Да, можно. Вы можете создать новый документ и скопировать и вставить текст из вашего существующего .tex-файла. Если ваш документ содержит несколько файлов, вы можете упаковать их в ZIP и загрузить ZIP-файл, используя один из вариантов загрузки на вашей [панели проектов](https://www.overleaf.com/dash) (см. изображение ниже).

![Создайте новый проект с панели управления, загрузив .zip-архив](/files/f7dec0c3ab560f7df82c43665c0703f4a760616f)

В качестве альтернативы, вы можете сначала создать пустой проект (или создать его из шаблона в галерее). Когда загрузится редактор проекта, нажмите кнопку «Загрузить» в верхней части списка файлов. Затем вы можете выбрать файлы, которые хотите загрузить с вашего компьютера, либо сначала нажав кнопку "Выбрать с компьютера", чтобы открыть файловый браузер, либо просто перетащив файлы из Explorer/Finder в загрузчик. Эта анимированная GIF-демонстрация показывает, как это можно сделать:

![Загрузка нескольких файлов в проект](/files/8efaa5ecce0e12ed0d8240a4e1b39c701974119c)

Вам, вероятно, также потребуется изменить основной документ проекта, нажав на значок меню Overleaf над панелью списка файлов.

### Могу ли я использовать git для отправки нового проекта?

Если вы используете git, вы также можете [отправить файлы с помощью git push](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) в ваш проект Overleaf.

### Есть ли API для загрузки новых проектов?

Вы также можете использовать один из вариантов, представленных на нашей [странице для разработчиков](https://www.overleaf.com/devs) чтобы импортировать напрямую со своего сайта в Overleaf.


---

# 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/ru/baza-znanii/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.
