Work with long documents
A handbook, a thesis or a long specification is no problem for the AI. It doesn't read the whole text for every request: it looks at the document's outline first and then reads only the sections your request is about. So a question about one rule in a 180-page handbook gets a quick answer, and a change in chapter 7 doesn't need the other chapters at all.
Ask about one section
Ask your question in the prompt bar as usual. You don't need to say where the answer is; the AI finds the right section through the outline, reads it and answers in the prompt bar, naming the section it took the answer from. A question gets an answer, not an edit: your document stays as it is.
Tips:
- Headings help. The AI finds its way through your headings, so a document with clear headings and numbered sections is easier for it to navigate.
- Name the place if you know it. "In section 4.2, ..." or "in the chapter about backups, ..." saves the AI a step.
Rename something everywhere
A product got a new name, a term changed, a person's title is different now: ask once, for example Rename MyProduct to MySuperCoolProduct everywhere. The AI searches the whole document for every mention, checks the list of matches, and then changes them all in one edit.
What the rename leaves alone, so nothing breaks:
- Code (code blocks and inline code), math and HTML comments keep the old name, so commands and code samples still work.
- Link addresses keep the old name too, so links still lead where they did. The visible link text is renamed.
- Headings are renamed and keep their level, and links in the document that point to a renamed heading are updated to its new address.
Matches are found regardless of upper and lower case, and the AI also catches the word's other forms (plural, compound words). In compound words it replaces the whole word, so German compounds keep their linking letters: Pikettdienst becomes Bereitschaftsdienst, not Bereitschaftdienst. When a rename changes ten or more places, a card above the prompt bar shows how many and which word forms change before anything happens: Apply makes the change, Cancel keeps the document as it is (you can type a note first, such as "not in chapter 3"). If you want a mention kept, say so in the prompt, for example "except in the changelog section".
Like any AI edit, the rename appears in the Activity tab and can be undone (restore an earlier version).
Move chapters and keep the numbering in order
Ask the AI to move or swap chapters, for example Swap chapter 10 and chapter 12, and renumber them so the numbering stays in order. It moves the chapters with all their subsections and then renumbers every numbered heading in one step: chapter, section and subsection numbers follow the new order, each heading keeps its level and its text, and links in the document point to the moved sections, including a section number in the link text (see section 10.3). Numbers mentioned in running text, such as see chapter 12, are not changed; check them if your document refers to chapters that way.
When a change applies to many sections
Translating a long document, changing its tone throughout or updating terminology in every chapter is more than a rename: each section has to be rewritten. For that the AI starts a background job that works through the sections one by one, with an estimate before it starts and a progress panel while it runs. See Translate or restyle a whole document.
What's next
- Translate or restyle a whole document: background jobs for document-wide rewrites.
- Write with the AI prompt bar: the basics of prompting.