Chapter 81
Files, encodings and limits
Files Pilcrow opens#
Pilcrow edits plain-text and markup files. The usual extensions are txt, md, markdown, adoc, asciidoc, rst and tex, and any extension a profile you add claims. Pilcrow detects a file's text encoding when it opens it.
| Item | Type |
|---|---|
| Syntax profile, macro collection, style guide, Application Theme | .json |
| Render Theme | .css |
| Theme package | .zip |
| Book project manifest | manifest.pilcrow |
| Backdrop | HEIC, PNG, JPEG, SVG, MP4, MOV, M4V |
| Typing sound clip | WAV, AIFF, MP3, M4A, CAF |
Text encodings#
Pilcrow reads UTF-8, UTF-16, UTF-32 and ISO 8859-1 (Latin-1) text. You can convert a document with Document Information ▸ Encoding ▸ Convert To… to any of the following; the file is converted when it is next saved:
UTF-8, UTF-8 (BOM), UTF-16 LE, UTF-16 LE (BOM), UTF-16 BE, UTF-16 BE (BOM), UTF-32 LE, UTF-32 LE (BOM), UTF-32 BE, UTF-32 BE (BOM).
A Latin-1 file can be converted to any of these without loss. Converting to Latin-1 is not offered, because it can destroy content.
Export formats#
| Format | Extension |
|---|---|
| HTML, HTML (without Styles) | .html |
.pdf | |
| Word (.docx) | .docx |
| Image | .png |
| PDF Archive | .zip |
Limits and numbers#
Where Pilcrow stops, or where a choice has a range:
| Where | Limit |
|---|---|
| Search panel | Stops at 500 matches. |
| Preview find | Counts up to 2,000 matches. |
| Replace in Folder | Changes at most 2,000 files at a time. |
| Check Links | Checks up to 50,000 links. |
| Compare | Shows up to 5,000 changed lines. |
| Versions to keep | None to 500 (default 50). |
| Long lines | Lines of 20,000 characters or more always wrap. |
| Font size | 9 to 32 points. |
| Tab width | 2 to 8 spaces. |
| Text width | 50% to 100%. |
| Zoom | 50% to 200%, in ten steps. |
| Reading speed | 60 to 2,000 words per minute. |
| Navigator width | 180 to 420 points. |
| Typing sound clip | At most 2 seconds and 3 MB. |
| Diagnostic report log text | The newest entries, up to 60,000 characters, when added to a GitHub issue description. |
| Very large files | Open and edit without being read into memory whole. Line and word counts, and the outline, are completed in the background and may be partial until then. PDF export of a very large document needs much more memory than editing or HTML and Word export; PDF Archive splits it into bounded parts. |
Where Pilcrow keeps things#
| What | Where |
|---|---|
| Your documents | Wherever you saved them. |
| Library (themes, profiles, macros, style guides, backdrops) | In the app's private storage, or in a folder named "Pilcrow Library" inside a folder you choose (Settings ▸ Library ▸ Location). |
| Preferences, API keys, recovery copies, version history | On the device, in the app's private storage and Keychain. Review and delete them in Settings ▸ General ▸ Storage & Privacy. |
| Diagnostic log | On the device, until you clear it. |