Sources¶
Sources are documents attached to a manuscript without being part of it: a thesaurus, the history of a country, ideas, drafts, photos. They are there for you while you write. They never go in the text, in the word count, in an export or in the outline.
Everyone with the manuscript has its sources, on every device.
Open Sources in the rail, or in the bottom bar on a phone. On the left you search across all sources and see them by group. Each row says what it is, who added it, and where it is. On the right is what you chose, with its details.
Adding sources¶
Add sources… at the top offers:
- Files…: any kind. Each is copied with its date, and the file you chose stays where it is. You can also drop files on this screen. Dropping a file on the text offers Add to sources too.
- A folder…: each file in it becomes a source of the group you chose. Folders inside it are left out.
- A file that keeps changing…: see below.
- A note: written in the app, in a tab of its own, with everything the manuscript has: formatting, comments and suggestions. Above its text, a line says its group and who wrote it. Everyone with the manuscript can write in it.
- A link: it opens in the browser, and its page is not copied.
Choose a group first (Reference, Research, Ideas and drafts, or one you make). There is no assistant yet, so nothing on a source says whether one may read it: that comes with the assistant, and only on what the app can read.
On a phone, Add a file under the list opens the same choices: Files… opens the phone's file picker, where any file can be chosen, a PDF, a picture, a document from another app, each copied with its date. A folder and a file that keeps changing are chosen on a computer. New note asks for the note's name and its group.
However many groups there are, each one shows and can be chosen: when they are wider than the dialog, they go on to the next line. Or a new group makes another one, in every dialog that adds a source.
A note is deleted like any other document, from its own ⋯: Delete document. Its text is kept, and Undo brings it back.
Reading¶
Word files, EPUB books, Markdown and plain text read in the app, as text with their headings and lists. An EPUB's chapters come in the order of the book. On a computer, when there is room, the headings of what you read are listed beside it, as its contents: a click goes to one. Tables read as lines, and images stay in the original. A long document shows a part at a time, with Earlier and Later. Pictures show as they are.
A PDF shows its pages in one continuous scroll, as wide as the reader's column, the number of each under it. A page not drawn yet keeps its place. A slim bar above them gives the page as a field, "12 of 312": type a number, then Enter, to go there; the zoom, −, Fit width and +; and Find. Find (Cmd+F in a source's tab) searches the letters of the PDF: "2 of 14", ‹ and › go from one to the next, every match lit pale on its page and the current one stronger. A scan has no letters, and says "No text to search in this PDF". A PDF with a password says "This PDF has a password": open it in another app. Searching all sources finds a PDF by its name only.
A file the app can't show (a Pages document, a spreadsheet, an archive…) says so once, plainly: "Imparfait can't show Pages files", then "The file is kept as it is, with the project. Open it in another app to read it." Open in another app is right above, and Open beside the text is not offered, since there is nothing to show beside it.
Find in this source ignores capitals and accents, and leads from one place to the next. Select text and you can Copy it or Quote in a comment. Selection works within one paragraph at a time. Nothing goes in the manuscript unless you type it there.
Open in another app always opens the original as it was added.
In a tab of its own¶
Open in a tab, at the top of a source, gives it a tab of its own beside the manuscript's, kept when the app reopens, with the Sources icon and "Source" after its name. There, the source shows alone: ‹ All sources brings the list back in the same tab, then its title, its facts as pills ("PDF · 312 pages · 18 MiB", "Added 12 November by Joris"), and the path of its file on this device in a box: select it, or Copy it. Remove… stands apart, on the right. Show in Finder (Show in Explorer on Windows) shows that file in its folder, and Open in another app opens it with the app your system opens such files with. Both only ever act on the file this device keeps, never on the place another device took it from, which is shown under the path ("Taken from …"). Sources, in the rail, goes back to the list.
On a phone, Open in a tab is under the facts of a source; its tab is in the list of tabs of the title, which also shows over a source: tap the title, ▾, to go to another tab. In the tab, ‹ goes back where you came from, the path is shortened (Copy keeps it whole), Share the file… opens the system's share sheet (save it to Files, open it in another app), and Remove… is in ⋯.
Beside the text¶
Open beside the text leads to the manuscript with the source in the Sources tab of the right panel. ‹ All sources goes back to the list, and Find works there too.
A source that changes¶
When you choose A file that keeps changing…, the app asks how to keep it:
- A copy as of today: saved as it is now, with the date. The original is no longer looked at.
- Always the latest version: the device that can reach the file looks at it regularly, and Check now looks at once. When it changed, a new copy is saved with its date, and it comes to everyone. Other devices read the last copy.
Every copy says when it was taken, and they are listed on the right. A copy is saved only when the file changed, and old ones stay. When a newer copy came after the one you last read, a banner says Changed since you last read it, with Show changes and Mark as read. Keep this copy, stop following stops looking at the file, and Follow the original again starts again.
A file you dropped once is simply copied, and nothing is asked.
Following a Google Doc isn't available. It needs a connection to Google, which doesn't exist yet. A Google Docs address is kept as a link, and says so.
Files on your other devices¶
Notes and files up to 10 MiB come with the sync, and so do the images of Moodboards. A larger file waits until you open it: the screen says Not on this phone yet, who added it, and where it would come from, with Download. You can change the limit in Storage, for this device.
A file comes from any device that has it and can be reached. If the connection stops, it goes on from where it stopped, from the same device or another. It only appears once it has been checked to be exactly the file that was added.
Where they are kept¶
In the sources folder of the manuscript, from the first source on. See Your files. The folder is not in what a version saves, so going back to a version leaves sources as they are. Notes are also written there, each in a folder of its own under sources/notes, as the manuscript is: what another program changes in them comes back into the note as if you had typed it. Removing a source takes it off the list on every device, and its file stays in the folder.