![]() |
Live documents | ![]() |
Live documents provide true real-time collaborative editing. When multiple people open the same live document, they can all edit simultaneously and see each other's changes appear instantly.
Key characteristics of live documents:
Real-time synchronization. Changes made by any participant are broadcast to all connected users.
Patch-based merging. The system uses patch operations to combine concurrent edits. Compatible edits are automatically merged using a pull/rebase algorithm similar to version control systems.
Conflict handling. When concurrent edits conflict (e.g., editing the same region), the system retracts to the latest compatible state and reapplies changes where possible.
Session-based. Live documents maintain state per connection, tracking each participant's view of the document.
The live document system tracks document states and uses patch-pull operations to combine changes from multiple participants.
To create a live document, go to Remote\(\rightarrow\)Live documents, then select Remote\(\rightarrow\)New live document. This menu item appears when viewing the live documents list. By default, live documents are publicly accessible for reading and writing; you can restrict access through permissions if needed. Live documents are particularly useful for:
real-time brainstorming and note-taking during meetings,
pair programming or collaborative code development,
simultaneous editing of mathematical proofs or formulas,
any scenario where immediate feedback and synchronous work is valuable.