Several people can write the same project, each in Rectoly for LaTeX on their own iPhone, iPad, Android device or computer. Every device keeps the whole project and works offline; changes travel through our relay server, end-to-end encrypted.
What it needs
- To start co-editing a project: Compile+, and a Rectoly account.
- To join: a free Rectoly account (sign in with your e-mail address and a code). No plan is needed.
- Everyone needs version 3.0.0 or later.
- A folder opened in place cannot be co-edited.
Start co-editing
- Open the project and press Co-Editing at the top.
- Sign in if asked (Rectoly account), then press Start Co-editing.
- Press New Invite Link, then copy or share the link. A link works for 14 days and can be undone at any time.
Having the link is not enough to get in: nobody joins until you approve them.
Approve people
When someone asks to join, they appear under Waiting for Approval with their e-mail address, marked Verified when rectoly.com has checked it. Press Approve or Decline. Each device is approved on its own: a second device of the same person asks again ("Another device of an account already in the project").
Up to 10 accounts can be in a project, the owner included.
Join a project
- Tap the invite link: it opens in the app. Or copy it and use Add › Join with Link in the library.
- Tap the invite link: it opens in the app. Or use Join with Link above the library.
- Copy the link, press Join with Link above the library and paste it.
Press Check: the app shows the project and its owner ("Owner: …"). Press Ask to Join. Once the owner approves, the project appears in your library.
While you write
- Changes reach the others at once while you are online. Made offline, they are sent when you reconnect.
- The label at the top says where things are: Synced, Sending, Connecting, Offline (changes are sent once connected) or Waiting for approval.
- People in This Project shows who is Online and where they are ("main.tex, line 12").
- Each person compiles on their own device; the compile works as always (what is sent).
- In a project that is also on Git, one device syncs with Git: This Device Syncs with Git (more).
What the relay server sees
Changes are encrypted on your device before they leave it, with a key only the project's members have. The relay server cannot read your text or even your file names: it sees only encrypted data, its size and time, and which accounts are in the project. The key in the invite link (after #) never reaches any server. When you compile, the files go to the compile server as they always do.
Remove people, stop or leave
- Remove (owner): that person's devices get no further changes, and the encryption key is replaced. The copy already on their devices cannot be deleted.
- Stop Co-editing (owner): everyone keeps their current copy as an ordinary project, and everything is deleted from the relay server.
- Leave Co-editing (member): the copy on your device stays as an ordinary project.
The owner's actions are done on the device that started co-editing.
How long the relay server keeps a project
A project is deleted from the relay server when:
- it has had no changes for a year,
- the owner's Compile+ has ended: 45 days later new changes are refused, and 90 days after that the project is deleted,
- or the owner deletes their Rectoly account.
Members then see "Co-editing has ended", and their copy stays as an ordinary project. An owner can co-edit up to 20 projects at a time.