Image 1 — An Open Source Desktop Visual Editor for Typst (self-promo)
Image 2 — An Open Source Desktop Visual Editor for Typst (self-promo)
Image 3 — An Open Source Desktop Visual Editor for Typst (self-promo)
▲ 3 r/typst

An Open Source Desktop Visual Editor for Typst (self-promo)

Hi r/typst,

I believe that this project will bring something rather new compare to a traditional editor.

Texpile is an open source visual and source editor for Typst (and also LaTeX and Markdown), and it runs on Windows, macOS, and Linux.

Here are some features:

  • It uses Tinymist for IntelliSense.
  • The visual editor supports includes, images, tables (with cell merging), code blocks, and other features.
  • Texpile supports visual comments, like Google Docs.
  • Texpile supports real time collaboration, and your connections are end to end encrypted to your collaborators. If you use VSCode Live Share, this will be a significantly better experience.
  • Zotero Integration
  • Git Support

You can see more features here: https://texpile.com/ ( Texpile does not bundle Tinymist, please install it by following this https://texpile.com/docs/installation/typst )

Typst support is new, so if there are any bugs, please let me know or open an issue.

u/PuzzleheadedShirt139 — 18 hours ago

Texpile - a Typora-like editor for LaTeX, Typst, and Markdown

Texpile is a desktop LaTeX, Typst, and Markdown editor for Windows, macOS, and Linux.

It is a direct offline replacement for Overleaf and Typst (Online).

Why is it different from other editors?

  • Visual editor: Texpile's visual editor supports advanced features like aligned environments and cell-merging tables, and supports LaTeX, Typst, and Markdown. Texpile's visual editor directly opens .tex, .typ, and .md and saves them as those files; there is no custom format.
  • Terminal: You compile with your own TeX distribution.
  • Visual comments: Like Overleaf, you can add visual comments.
  • Real-time collaboration: Texpile supports real-time collaboration that is end-to-end encrypted. The support is engineered with LaTeX and Typst in mind, and is a better experience than VS Code Live Share.
  • Real-time preview: Your updates are rendered live for both Typst and LaTeX. Texpile injects a custom Lua script into the LuaTeX engine to allow you to get instant preview in LaTeX like Typst has.

Link: https://github.com/texpile/texpile

u/PuzzleheadedShirt139 — 4 days ago
▲ 18 r/LaTeX

LaTex

I been in this sub for a while and I always see LaTex as a capitalization. I can get where latex or Latex come from but not LaTex. Is there some story to this(why isn’t the X capitalize)?

edit: I am asking about why people call it LaTex since they spend their time to capitalize 2 letters but not the last one.

reddit.com
u/PuzzleheadedShirt139 — 24 days ago
▲ 43 r/LaTeX

Technical details of achieving real-time rendering in LuaLaTeX

Credits: Clemens Lode laid the foundation of this approach and proved with his TUG talks that it can work. This is an independent way to implement it. His paper (https://tug.org/tug2026/preprints/lode-realtime.pdf) describes a lot of details also.

A lot of the time spent compiling LaTeX is wasted on three things (roughly 70 percent of the total compile time):

  1. Starting the LaTeX engine from cold
  2. Loading the preamble, fonts, and other resources
  3. Writing the PDF

Typesetting itself, especially of words and math, is extremely fast and can happen in real time, but it is dragged down by those slow steps. So all a real-time renderer needs to do is eliminate them.

How do we get rid of them? Separate compilation into two paths: a real-time path and a background full recompile with 2 LuaLaTeX processes.

For the real-time path:

  • Keep the LaTeX engine warm. The engine never reaches \end{document}, so it always stays running. (This makes (1) and (2) a one time cost)
  • This warm engine then retypesets only the edited paragraph, which takes milliseconds.

However, an engine that never reaches \end{document} can never produce a PDF.

To fix this PDF problem, we need a custom renderer that draws LaTeX's internal format directly. Every document is ultimately composed of roughly 11 primitive node types: glyph, kern, glue, rule, hlist, vlist, and so on. The custom renderer's job is to draw those nodes onto a canvas. This skips (3) entirely as a byproduct.

The background path takes its time and runs a full recompile, which ensures document for the elements not real-time renderable.

Now, why LuaLaTeX? LuaLaTeX supports \directlua, which makes it extremely easy to inject custom scripts that keep the engine warm and expose the internal format.

A more detailed explanation is here: https://github.com/texpile/texpile/blob/master/docs/ARCHITECTURE.md

Edit: implementation demo video: https://github.com/user-attachments/assets/7a2d7997-fe6c-4837-bbe5-1aaa5e0c90b7

Generative AI disclosure: the Markdown file was written with the assistance of generative AI, and I have reviewed it for correctness.

reddit.com
u/PuzzleheadedShirt139 — 28 days ago

An Open Source, Modern, Offline LaTeX Editor to write thesis/research

Hi everyone,

I made an open-source local LaTeX editor. It is cross-platform, running on Windows, macOS, and Linux: https://github.com/texpile/texpile

Main features

- Visual editor: Texpile's visual editor is a lot more aggressive than Overleaf. You can visually edit cell merging tables, multiple-line equations.

- Live preview (see the third GIF, LuaLaTeX previews are generated instantly)

The editor is local, and you compile with your own TeX distribution with no compile limit whatsoever.

Besides the visual editor, here are some other features:

- Completely offline, free, and open source

- Edit visually or by source, with IntelliSense (error log parsing, spell check, autocomplete, and more)

- Click the PDF to jump to the editor, and the editor to jump to the PDF (SyncTeX)
- Git diff view and support
- And other features you will expect from a LaTeX editor.

And a few reasons you might pick this over other editors:

- No config, no plugins to install. Just open it (and install a TeX distrbution) and it will work.
- If you write in Overleaf a lot and hate the compile limit, this runs locally with no limit.

I have gotten positive feedback from many LaTeX users, so I figured I would share it here.

u/PuzzleheadedShirt139 — 1 month ago

Why not take your notes in LaTeX? (Especially if you're in STEM)

(First image is one of my notes)

LaTeX has the best typesetting quality out there, especially for math. But sometimes it is slow to write, so a lot of people downgrade to Markdown.

I take most of my notes in LaTeX, so I built an open source LaTeX editor to make that less painful. It has a visual mode that makes writing feel about as easy as any other note taking app, and you can drop into the raw LaTeX source anytime you need something the visual editor does not cover. It runs on your desktop, and it works for any LaTeX document: theses, essays, research papers.

https://github.com/texpile/texpile

u/PuzzleheadedShirt139 — 1 month ago
▲ 33 r/PhD

An offline open-source LaTeX editor where you can edit tables and equations visually

Hi everyone,

I made an open-source local LaTeX editor. It is cross-platform, running on Windows, macOS, and Linux: https://github.com/nullpointerexceptionkek/texpile-monorepo

The main selling point is the visual editor. Texpile provides a more aggressive visual editing experience than Overleaf (see the 4th image, where Overleaf is on the right). The visual editor supports advanced features such as table cell merging, multiple line equations...etc

Besides the visual editor, here are some other features:

- Completely offline, free, and open source

- Compiles with your own TeX distribution (Texpile simply runs a local command to compile)

- Edit visually or by source, with IntelliSense (error log parsing, spell check, auto complete, and more)

- SyncTeX (click the PDF to jump to the editor, and the editor to jump to the PDF)

- Instant preview while you are editing a math equation

- Git diff view and support

And a few reasons you might pick this over other editors:

- Very minimal, designed specifically for LaTeX editing

- No config, no plugins to install, just open it and it will work.

I have gotten positive feedback from some LaTeX users, so I figured I would share it here.

u/PuzzleheadedShirt139 — 1 month ago
▲ 173 r/LaTeX

Update: I made a free, local, offline, Typora-like visual and source editor for LaTeX

Hi r/LaTeX

Thank you so much for the support here

It is cross platform on Windows, macOS, and Linux. I have released the editor under AGPL: https://github.com/nullpointerexceptionkek/texpile-monorepo

Anyway here are the features:

- completely offline, free, and open source

- Compile with your own TeX distribution (Texpile simply runs a local command to compile)

- Edit visually or sources, IntelliSense (parses error log, spell check, auto complete, and other IntelliSense)

- SyncTeX (click pdf to go to editor and vice versa)

- See preview instantly when you are editing a math equation

- Git diff view and support

Anyway here are a few reasons why you might use this editor over others:

- Visual editor is very good, it supports tables with cell merging and other advanced features

- Very minimal, designed for LaTeX editing

- No config, no plugins to install, just open and it works fine

Let me know if you experiences any bugs or have any feature requests.

u/PuzzleheadedShirt139 — 1 month ago
▲ 152 r/LaTeX

I made a free, local, offline, Typora-like visual and source editor for LaTeX

Hi r/LaTeX

You might know me from the TikZ and Visual LaTeX editor posts I made before.

Anyways, thank you so much to everyone who gave me valuable feedback, especially to the ones who spent their time interviewing with me.

I took the feedback and I made this.

Here are the features:

- Completely local and completely free (it does not require cloud hosting fees)

- Built for LaTeX specifically (rename, references, intellisense, spell check)

- Compile and PDF viewer

- Visual LaTeX editor (edit source or edit visually)

So why? What is the reason, and why should you use this over other visual editors?

- Very minimalist and designed for LaTeX

- Visual editing for tables with cell merging, aligned environments, etc.

- Visual editing for .bib files

- Edit LaTeX directly or visually

- Texpile combines both the Overleaf visual editor philosophy and the LyX philosophy. Texpile's visual editor is way more aggressive than Overleaf's (see the 3rd image for a comparison of 2 of the same document, Overleaf is on right)

- This better visual experience is achieved by using a parser to turn LaTeX code into an AST and making assumptions about macros. For most cases it works extremely well, and on some rough documents it will leave the code it can't analyze as it is.

Okay so a bit about myself.

Around 4 years ago I started Texpile as a fun project, initially named QuickQuill. The original idea was to make it easier for me to take math notes. It was offline, and I found LaTeX perfect for generating export PDFs. Over the next few years I added more features to get it on par with LaTeX features. And as part of my school's startup competition 8 month ago, I made the original offline idea into a SaaS and started posting here. It was only a few months ago that I took another fresh look at this project and realized I made way too much bloat. So here I am, and I hereby promise the desktop version will be local, no subscriptions, and free.

The app is not live yet as I am making a few finishing touches on it. So here I would like to ask you a few questions (since getting code signatured verified is quite a fortune):

Would you use the desktop app?

Is there anything you would like to see in the app?

Would you care if it is open source (licensed under AGPL) vs freeware? There are a lot of issues with open source now with AI agents everywhere.

Linking my GitHub for credibility: https://github.com/nullpointerexceptionkek

edit: decided with AGPL license - LaTeX is opensource so there is no reason an editor should be closed

unsigned beta is currently at: desktop.texpile.com

u/PuzzleheadedShirt139 — 2 months ago