Sheets & files
Named sheets, one-level folders, local storage, .nlx import/export, PDF export and printing.
A sheet is a named notebook. Numlex keeps them for you locally and lets you move them in and out as files.
Sheets and folders
Work in named sheets with line numbers, syntax tinting and a live results column. Sheets are grouped by the one-level folder tabs pinned to the bottom of the sidebar: the built-in General tab plus any custom folders you create.
- Selecting a tab filters the sheet list only — your editor and cursor never jump.
- Drag a sheet onto a folder tab to re-file it.
- Folders are one level deep — there are no nested folders.
Where sheets are stored
Sheets persist locally on your Mac in
~/Library/Application Support/Numlex. Nothing is synced to a server. The
app’s small network surface is the hourly currency-rate refresh, the
weather in … lookups you type yourself and place lookups for geography lines.
See
Privacy & network and
Live data & geography.
Line highlights
Any logical line can carry a highlight color (six colors plus None), applied from Format → Highlight or the editor’s text context menu to the caret’s line or the selected lines — lines without answers included. It is not part of the answer context menu. A highlight belongs to the line, not its position, so it follows the line when other lines are inserted or removed above it, and it is stored with the sheet. Highlight is decoration only: it never affects evaluation, answers or tokens. See Settings & appearance.
Import & export (.nlx)
From the File menu you can import or export any sheet as a .nlx file — a
portable, self-contained copy you can move between Macs, back up, or share.
Note: app-wide constants and custom units are not embedded into
.nlxexports, and neither are per-answer display overrides, which are stored with the sheet. A sheet that references a constant expects it to exist on the machine that opens the file. See Custom units & constants and Settings & appearance.
Drag a sheet to export it
Drag a sheet row from the sidebar to Finder or a Finder-backed Dock destination
such as Downloads to create an .nlx copy. This is non-destructive: the original
sheet remains in Numlex. Dragging a sheet onto a Numlex folder tab is a separate
in-app move, not an export.
PDF export and print
File → Export Sheet as PDF… writes the current sheet to a PDF, and
File → Print… (⌘P) prints it — both from the sheet as it is on screen. The
options sheet controls the font family, face and
size (8–36 pt), syntax highlighting, line numbers, the footer total, hiding
// comments, hiding leading # markers, and an optional line range. These
choices are session-only: they never enter the settings store or .nlx.
Both paths render white pages (the live editor is never captured): the original line numbers, answer tokens as the same capsule labels, inline totals and the persistent highlights are preserved, and a partial range’s total sums only the exported rows. An empty or invalid range disables the action with an inline message instead of writing a blank file. Export and print are fully offline; a failed or cancelled save leaves no partial file. See Export & print for the complete behavior.
Window sizing
The main window resizes down to a 260 pt content height for compact desks; the default is 800×600, and the sidebar and results column keep scrolling safely at any size.