TeXmacs Upsilon: an enhanced, bleeding-edge TeXmacs to try (macOS, Linux, Windows, and in the browser)

Hello everyone,

I’d like to introduce TeXmacs Upsilon, an enhanced and bleeding-edge version of GNU TeXmacs with experimental features. For the past few weeks I have been collecting several lines of work on TeXmacs in one tree (the branch upsilon_texmacs in the mgubi/texmacsGitHub repository) so that they can be built, used and tested together. It is stock TeXmacs (the SVN trunk) with these additions merged in. Each one is still kept as its own branch, so it can be proposed upstream separately. I would be very grateful if some of you could try it and tell me what breaks.

Inside TeXmacs, Help ▸ TeXmacs Upsilon features gives a tour of everything below, with the menus to use and links to the manual.

What is in it

Fixes and speed

  • Many bug fixes not yet upstream, for bugs reported on Savannah and on GitHub: the Scheme bridge, LaTeX import/export, BibTeX, list views, editing modes, keyboard maps, Windows paths, and more.
  • Incremental typesetting: only the parts of a document that change are typeset again, so typing in long documents is faster. Styles and files are cached until they change on disk.

Fonts and mathematics

  • OpenType mathematics: formulas laid out from the MATH table of any OpenType math font, with stretchy delimiters and accents taken from the font. Text fonts get their OpenType features, and families get their weights and variants (Format ▸ Weight).
  • About two dozen math fonts paired with matching text fonts, most of them shipped, plus a font inspector.
  • More fonts (DejaVu, Gentium Plus, the Antykwas, Iwona, Kurier, IBM Plex weights…).
  • A font design page: one tab per part of a document (text, mathematics, sans serif, typewriter, blackboard bold, calligraphic, fraktur) showing samples. You can apply a choice to the document and save it under a name.

Interfaces

  • Besides Qt there is a native Cocoa interface for macOS, and Vue, an interface drawn entirely by TeXmacs. Both are drawn on the GPU (Metal on macOS, OpenGL elsewhere), with MuPDF as a fallback.
  • Light and dark themes, icon bars at the left or at the top, responsive tabs and smooth zoom.
  • New icon sets: neo-classical (the default), monochrome and Lucide.

Scheme interpreters

  • s7 replaces Guile 1.8 by default. It needs nothing installed and starts much faster (the first window appears in about 0.7 s instead of 1.9 s).
  • An experimental femtolisp backend: a small Scheme that works directly on TeXmacs’ byte strings and caches its compiled files. It boots about as fast as s7, is faster on conversions such as the LaTeX export, and works on the desktop and in the browser.
  • Guile is still available as a build option, and the same Scheme code serves all three.

Documents and references

  • Git integration (Version ▸ Git): a side panel, commits, log, branches, tags, stashes, push/pull/clone, comparison with any revision, and structured three-way merges of TeXmacs documents, which also work as a git merge driver.
  • Zotero citations, read live from the Zotero desktop app: search, key completion, bibliography files kept in sync with Zotero, and group libraries.
  • CSL bibliography styles (the styles used by Zotero, Mendeley and Pandoc), processed by TeXmacs itself: csl-apa, csl-ieee, csl-chicago-… and any other .csl file you place next to the document.
  • New converters: Markdown import/export and Word/OpenDocument (.docx/.odt) import/export.

Program code

  • Syntax of 22 languages through tree-sitter, for source files, code blocks in documents and session inputs. This gives colours, folds, an outline, structural selection and moves, bracket handling, indentation and comment toggling.
  • A language server (LSP) client for source files, which open in tabs of their own: diagnostics, completion, hover, signatures, references, renaming, quick fixes, formatting and symbols. The code blocks of a document in the same language are seen by their server as one file, so definitions in one block are known in the next.

Chatbots

  • AI sessions inside a document with ChatGPT, Claude, Gemini, Mistral, Ollama, OpenRouter and Albert. Answers are streamed, you can attach files to your questions, costs are shown, and API keys are kept in an encrypted wallet.

Documentation and tests

  • Developer documentation inside TeXmacs (Help ▸ Developer documentation): about 400 pages, roughly 250 of them on the internals of the source code.
  • Many new tests: C++ unit tests, nearly sixty Scheme regression suites, document regressions, and a headless typesetting of the whole manual. All of them run in CI on every platform.

TeXmacs in the browser

The same source tree also compiles to WebAssembly. You can try it now, with nothing to install:

:point_right: https://mgubi.github.io/texmacs/

What works in the page:

  • editing and typesetting, all menus and dialogs, a tab per document;
  • files stored in the browser (upload, drag and drop, zip projects, downloads, backups) and PDF export;
  • the system clipboard and spell checking;
  • the Markdown and office converters, the font design page, and program code with tree-sitter;
  • plug-ins that run inside the page: Python (Pyodide), R (webR), TikZ (TikZJax), Asymptote, JavaScript and the AI sessions.

It draws with WebGPU in Chromium-based browsers and with WebGL2 elsewhere. Add ?gpu=0 to the address to draw with MuPDF instead. Help ▸ TeXmacs in the browser lists what does not work yet (anything that needs to run a program on your computer, such as language servers or Git) and the recent changes.

Builds

All the builds are rebuilt by the CI from the latest upsilon_texmacs and published at https://github.com/mgubi/texmacs/releases/tag/upsilon-latest

  • macOS (Apple silicon and Intel, macOS 13 or later): two DMGs, one for Cocoa and one for Vue, plus a Qt build for Apple silicon (zip). They are signed ad hoc and not notarized, so macOS refuses to open them the first time. Right-click the app and choose Open, or run xattr -dr com.apple.quarantine /Applications/TeXmacs.app
  • Linux (built on Ubuntu 24.04, x86_64): a tarball with Qt 6 and one with Vue.
  • Windows (x86_64): a zip with Qt 6 and one with Vue. Unpack it and run TeXmacs-Windows\bin\texmacs.exe (there is no installer).
  • From source: branch upsilon_texmacs of https://github.com/mgubi/texmacs. Run cd src && ./configure && make as usual. Pick the interface with --with-gui=qt|cocoa|vue|… and the Scheme with --with-scheme=s7|femtolisp|guile. The README describes each option.

Warning: this is work in progress. Keep backups of important documents, and expect rough edges, especially in the Cocoa and Vue interfaces, with femtolisp, and in the browser.

Please test and report

Any feedback is welcome, whether it is a crash, a document that renders differently from official TeXmacs, a missing feature in one of the interfaces, or something that is simply confusing. Please open an issue at

https://github.com/mgubi/texmacs/issues

or reply here. When possible, include:

  • which build you used (OS, interface, and for the browser the commit shown in Help ▸ TeXmacs in the browser);
  • the steps that trigger the problem, and a small .tm file if the problem depends on the document.

Thanks for trying it!

Max

6 Likes

Yeees! I was thinking that TeXmacs needed something exactly like this, basically a “rolling release” GitHub repo that simplifies contribution on one side and fruition of the new features on the other.

Thanks for your time and work in managing this project!

1 Like

I think it needs clarity in the UI on how permanent files stored in the browser are especially given the Safari feature that allows you to automatically delete history items after a specific time interval.

Thanks, good point. The browser version now asks the browser to keep its files, and the Files panel says at the top whether they are kept, with the date of your last backup and a Back up button. After a week without a backup it also reminds you. Details in https://github.com/mgubi/texmacs/issues/406.

great jobs. :tada::tada::tada:

Thanks for your work.

1 Like

@mgubi thanks for your ongoing work on TeXmacs Upsilon.
I’ve downloaded the latest cocoa and vue ports as of 2026.11.25.11:42 and 11:43. They seem to be working fine, however the screen refresh while scrolling unfortunately is still somewhat lazy on my system. Is there a reason why the qt6 port no longer supports macOS 14.8.9 as it did at least until 2026.10.28?

Cheers, Tilda.

Can you explain exactly what you do what what you expect. It should not happen. Are you scrolling with the wheel, with trackpad gestures, etc… Is stock TeXmacs snappier? (thanks!)

On windows, the Vue version shows extremely small interface on my 4k monitor; the Qt version’s interface turns black every time I resize the app window.

@mgubi Dear Max,

This is in response to your reply via private email. Following your suggestion, I’ll be reporting issues and sharing my experiences with the macOS builds of TeXmacs Upsilon here on the forum from now on.

First of all, thanks for the latest macOS builds (2026.11.28.11:xx) and for addressing the reported issues.

Here are my observations:

  • Qt6 compatibility: The Qt6 build runs smoothly on my M3 iMac under macOS 14.8.9. I would expect it to run equally well on Apple Silicon Macs under macOS 13.x, although I haven’t tested this.
  • Sage inline plots: In both the Cocoa and Vue builds, Sage plots of 790 × 440 px are now rendered at their correct dimensions rather than at 2367 × 1317 px.
  • Master documents: Closing an expanded master document in the Vue build no longer causes any issues.
  • PDF export: PDF export via Cmd+E, P now works perfectly in all three builds. For reference, here’s the definition of my custom keyboard shortcut in my-init-texmacs.scm:
(define (export-to-proposed-pdf)
  (let ((pdf-name (propose-pdf-name)))
    (wrapped-print-to-file (propose-pdf-name))))

(kbd-map
  ("M-e p" (export-to-proposed-pdf)))
  • PDF export warning: What I find somewhat annoying, however, is the warning message displayed when printing to PDF in all three builds: 35

    The Qt6 build of 2026.10.28 did not display this warning. I wonder what purpose it serves and whether it is really necessary.

  • Scrolling performance: I’m afraid wheel scrolling in the Vue and Cocoa builds still doesn’t feel quite like scrolling in the Qt6 build. My impression is that scrolling has become somewhat smoother in both, yet the responsiveness of the Qt6 build remains far superior. The slight screen flicker I previously reported in the Cocoa build has disappeared, though.

I’m particularly glad that the Qt6 build is once again available for macOS 13 and later, as it continues to offer the best overall user experience in all the areas I’ve tested.

Thanks again for your continued work on TeXmacs Upsilon!

Cheers,
Tilda

Dear Tilda,

Thanks for testing the macOS builds so thoroughly and for the clear report. Here is what changed since your post. It is all in the latest builds on https://github.com/mgubi/texmacs/releases/tag/upsilon-latest.

The PDF export warning. You saw it because the PDF is now tagged by default, for accessibility (PDF/UA). The warning was meant to point out pictures without an alternative text, but showing it on every export was too intrusive. The export is still tagged, but it no longer warns about anything. Instead there is a new menu, Tools → Accessibility:

  • Check for a tagged PDF lists what the document lacks for an accessible PDF: pictures without an alternative text, a missing title, or a language the PDF can’t name. If nothing is missing, it says so.
  • Next picture without alternative text takes you to each of those pictures in turn. You can then describe it with Focus → Alternative text…

Wheel scrolling in Cocoa and Vue. We measured where the lag came from. Drawing each scroll step takes well under a millisecond in all three builds. The difference was in how a finished frame reaches the screen: Cocoa and Vue went through Metal’s queue of frames waiting to be shown, which sometimes delayed a frame by one or two screen refreshes. Both now hand each frame directly to the compositor together with the scroll, as the Qt build does. The occasional late frames are gone. They cost the most on a 60 Hz screen like your iMac’s, so I hope the difference is noticeable there. I’d be grateful to hear whether scrolling now feels closer to the Qt build. If something looks wrong, you can start TeXmacs with TEXMACS_NS_PRESENT=metal (Cocoa) or TEXMACS_VUE_PRESENT=metal (Vue) to compare with the old behaviour.

Sharper Cocoa windows with several screens. With an external monitor attached, the Cocoa build could draw a window at the wrong resolution, and the text looked blurred. Each window now draws at the resolution of the screen it is on, and redraws when you move it to another screen.

Thanks also for confirming the Qt build on macOS 14, the Sage plot sizes, closing master documents, and your PDF shortcut.

Cheers,
Max

Dear Max,

Thanks for your reply and, above all, for addressing the reported issues so promptly.

I’ve tested your latest Cocoa and Vue builds on both my M3 iMac and an M3 MacBook Pro, running macOS 14.8.9. Everything seems to be running smoothly now. Scrolling in Cocoa and Vue feels comparable to Qt6, although I have the impression that both builds perform slightly better on the MacBook Pro.

I’d greatly appreciate it if the changes introduced in commit 57692ec0a1 (2026-11-28) could also be incorporated into the macOS Qt6 builds. But I guess that’s just a matter of time.

Thanks for keeping up the good work!

Cheers,
Tilda

@mgubi Dear Max,

Thanks for making the 2026.12.01.00:1x macOS builds available. They continue to work fine on macOS 14.8.9.

There is, however, a minor quirk that only occurs in the Cocoa build. With English (i.e., US English) set as the default language, Cocoa’s Focus toolbar does not display the US flag correctly, as can be seen in the screenshot below.
03
This issue seems to have been around for quite a while. Other flags, such as the Union Jack, the French and Italian tricolor, and the German flag, are displayed correctly.

I hope this can be fixed easily.

Thanks for your ongoing efforts!

Cheers,
Tilda