LeanDoc v0.5.0
LeanDoc 0.5.0, a free Word (.docx) viewer for Windows, Linux and macOS, draws
the equations it used to mark, shows its version in Settings, and can tell you
when a newer version exists. The check is off unless you turn it on.
Release assets
| Platform | Artifact |
|---|---|
| Windows 10 and 11, x64 | LeanDoc-v0.5.0-windows-x64.zip |
| Ubuntu 24.04 and compatible, x86-64 | LeanDoc-v0.5.0-linux-x86_64.deb |
| macOS 12 or later, Intel and Apple silicon | LeanDoc-v0.5.0-macos-universal-preview.zip |
Every artifact has an adjacent .sha256 sidecar. The macOS preview also has
a .metadata.json file that records how it was signed.
Added
- Equations. Equations that showed an "[Equation]" marker are now drawn:
accents, a subscript and superscript together, limits above, border boxes
and phantoms, an equation inside a hyperlink, and equations missing a
property or an argument. LeanDoc draws every equation itself, as MathML, in
page view and reading view, and an equation takes its real height when pages
are laid out. The equation code loads only for a document that has an
equation (#63). - Version in Settings, as "LeanDoc X.Y.Z" (#64).
- Optional update check. Settings have a tick box, "Check for a new version
once a day", off by default. When it is on, LeanDoc asks GitHub at most once
a day, after the first page is shown, for the number of its latest release.
It sends a fixed User-Agent, no cookie, and nothing about you or your
documents; GitHub sees the IP address the request comes from. If a newer
version exists, a line under the toolbar says so, with a button that opens
its release page or, for a winget, Scoop or Chocolatey install, the command
that updates it. Nothing is downloaded or installed. Being offline shows
nothing. The Microsoft Store edition has no update check.
docs/update-check.md
describes it (#64). - Default app button. On Windows, Settings have a button, "Make LeanDoc the
default for Word documents", in the installed copy and the Store edition. It
opens the Default Apps page of Windows Settings, where you choose; LeanDoc
does not change the default itself (#65). - First-run panel. One small panel under the toolbar asks, once, about the
update check and the default app. It never covers the document or takes the
focus (#65).
Changed
- Equations follow Word more closely: letters in italics, function names and
numbers upright, limits of an integral beside it and of a sum above and
below it, and an equation paragraph centred unless it says otherwise.
Copying a selection that holds an equation copies its characters.
Fixed
- An equation, or a part of one, deleted as a tracked change is removed and no
longer counted as not displayed. - An equation in a text box that the page could not draw no longer stops the
whole document from displaying.
Known gaps
- In some equations an underbrace is drawn shifted and without its left part,
the limits of a sum inside a line of text stand above and below it where Word
puts them beside it, and the lines of an equation array are further apart
than in Word. - Windows can open the general Default Apps list instead of LeanDoc's page. It
did on the test PC. - If the page reloads while the first-run panel is open, the panel does not
come back. Both choices stay in Settings. - A LeanDoc left open does not check for an update again until it is started
again.
Speed and memory
On Linux, medians of 5 launches, two runs each: the first page of a short
report showed after 621 and 609 ms against 671 and 588 ms before #64 and #65,
with 158.7 and 160.4 MiB of private memory against 160.3 and 163.8. The
differences are inside the spread of the runs.
Installing
On Windows, run the installer from the extracted ZIP:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\installer\install.ps1 -OpenDefaultAppsSettingsSigning and privacy
The Windows programs in the GitHub ZIP are not signed.
Privacy policy: This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
LeanDoc's own code makes no network requests, except the update check if the
user turns it on in Settings, and never fetches anything a document points to.
The page is drawn by the system web runtime (the Microsoft Edge WebView2
Runtime on Windows, a Microsoft component), which may contact its vendor on
its own. The full policy, including how to uninstall, is in the
README.