> 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/164-working-offline-in-overleaf.md).

# Overleafでオフライン作業をする

Overleafには、プロジェクトのローカルコピーを作成して同期できるさまざまな連携機能があり、ローカルのテキストエディタを使ってオフラインで作業し、オンラインに戻ったときにこれらのコピーをOverleafと同期し続けることができます。

任意のプレーンテキストエディタを使ってプロジェクトをローカルで編集でき、LaTeXの無料版をダウンロードしてプロジェクトをローカルでコンパイルすることもできます。LaTeXのインストール方法のいくつかの選択肢はこちらで確認できます: <https://www.latex-project.org/get/> 。Overleafのすべてのパッケージを「そのまま」実行できるようにするには、TeXLiveディストリビューションをダウンロードし、Latexmkでコンパイルして一度にすべてを処理できます（ [この記事](/latex/ja/narejjibsu/064-how-does-overleaf-compile-my-project.md) を参照してください。Overleafがどのようにプロジェクトをコンパイルするかの詳細があります）。

なお、現在はすべてのコンパイルが当社のサーバーで実行されるため、オフライン中にOverleafのホスト型Webエディタを使用することはできません。

## Dropbox同期

Overleafは、OverleafとDropboxの間で自動の双方向同期を提供します。 [プレミアムサブスクリプション](https://www.overleaf.com/user/subscription/plans) を利用しているユーザーは、自分のOverleafアカウントをDropboxにリンクできます。リンクすると、Overleaf内でのプロジェクトへの変更は自動的にコンピュータ上のDropboxフォルダに同期され、Dropboxでローカルに行った変更はオンラインのプロジェクトに反映されます。

OverleafでのDropbox同期に関する詳細は、こちらでご覧いただけます: [Dropbox同期](/latex/ja/narejjibsu/034-dropbox-synchronization.md)

なお、Dropbox同期を有効にしているユーザーでも、共同編集者が自分のローカルDropboxフォルダにプロジェクトを同期できるようになるわけではありません（その共同編集者自身もプレミアムサブスクリプションを持っている場合を除く）。そのため、これは「個人向け」の機能と考えることができます。共同編集者のローカル同期を有効にしたいプレミアムユーザーには、以下で説明するGitまたはGitHubの同期オプションをおすすめします。

## GitとGitHub

OverleafはGitおよびGitHubの同期オプションも提供しています。別の素早いバックアップ方法を提供するだけでなく、LaTeX文書をそれぞれ異なる方法で作業したいチーム間の共同作業も容易にします。

たとえば、ブラウザでOverleafを使うのが好きでも、共同編集者はローカルにインストールしたLaTeXエディタで作業するのを好む場合、GitまたはGitHubの同期を使って作業内容を確実に連携させることができます。これがどのように機能するかは、選択するオプションによって少し異なります:

**GitHub：** プレミアムサブスクリプションのユーザーは、所有する任意のプロジェクトを GitHub リポジトリにリンクできます。プロジェクトがリンクされると、プロジェクト内の全ユーザーがボタンをクリックして同期できます。したがって、これは「プロジェクトごと」の機能と考えられます。

**Git：** プロジェクトがプレミアムサブスクリプションを持つユーザーに所有されている場合、プロジェクトの全メンバーが git clone/push/pull できます。ユーザーがプレミアムサブスクリプションを持っている場合、そのユーザーがアクセスできるすべてのプロジェクトで git clone/push/pull できます。これは GitHub と Dropbox の権限モデルを合わせたようなもので、個人向けでもあり、プロジェクトごとでもあります。

この設定方法の詳細はこちらで確認できます: [GitとGitHubの使用](/latex/ja/narejjibsu/041-git-integration-and-github-synchronization.md)

なお、OverleafでGitHub同期を使用するには、ユーザーはGitHubアカウントを持っている必要があります。無料のGitHubアカウントでは、公開リポジトリまたは非公開リポジトリを作成できます。


---

# 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/164-working-offline-in-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.
