Skip to content
/ LaTeX with GitHub or GitLab

LaTeX editor

LaTeX with GitHub or GitLab — your project stays in your Git repository: the editor reads the files, you write and compile in the browser, and “Sync” saves the changes with a commit. Colleagues and co-authors work on the same repository, with Git history and review comments.

How to do it

  1. Create an access token limited to the repository (GitHub: fine-grained, Contents read and write; GitLab: api scope).
  2. Click “Open a Git repository” (the window opens on this page), choose the service, the repository and paste the token.
  3. Write and compile: changed files are marked in the list.
  4. Click “⟳ Sync” (Ctrl+S): a commit saves the work, with your message.

Tips

Frequently asked questions

What if a colleague changed the same file?

Sync fetches the changes made elsewhere; a file changed on both sides is not overwritten: it is flagged, so you can reconcile both versions.

Do I need to know Git?

No: one button saves. Git users find their commits and history, and can pick the branch when opening the repository.

Is my document sent to a server?

No: compilation (TeX Live 2026, pdfLaTeX, LuaLaTeX or XeLaTeX) runs in your browser. Your files stay in your own Git repository; Otoolia keeps nothing.