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

# どこかでLaTeX文書を作成しました。Overleafにインポートできますか？

はい、できます。新しいドキュメントを作成し、既存の tex ファイルからテキストをコピー＆ペーストできます。ドキュメントに複数のファイルが含まれている場合は、それらを zip にまとめ、あなたの [プロジェクトのダッシュボード](https://www.overleaf.com/dash) （下の画像を参照してください）。

![ダッシュボードから .zip をアップロードして新しいプロジェクトを作成](/files/cda397d41f70ad9542383d000906a289b50fde8a)

あるいは、まず空のプロジェクトを作成することもできます（またはギャラリーのテンプレートから作成することもできます）。プロジェクトエディタが読み込まれたら、ファイル一覧パネルの上にある「Upload」ボタンをクリックします。その後、アップロードしたいファイルをコンピューターから選択できます。まず「Select from your computer」ボタンをクリックしてファイルブラウザを開くか、Explorer/Finder からアップローダーへファイルをドラッグ＆ドロップします。このアニメーション GIF では、その方法を示しています:

![プロジェクトへの複数ファイルのアップロード](/files/6d025c30c7049fe8048c9aae87f48cf50016701f)

おそらく、ファイル一覧パネルの上にある Overleaf メニューアイコンをクリックして、プロジェクトのメイン文書も変更したくなるでしょう。

### git を使って新しいプロジェクトを push できますか？

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/ja/narejjibsu/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.
