Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Co-maintainer here.

Tectonic is a cool project, but hasn't seen any significant changes in a few years---and likely won't anytime soon. It seems we maintainers don't have the time and motivation to put serious work into Tectonic.

I haven't looked at the code in years (and thus may be wrong), but here's a quick overview:

Tectonic's code consists of thin bindings to /harfbuzz/graphite/etc and a vendored XeTeX (in C, with some tweaks to make the build easier), driven by Rust that tries to keep the TeX environment predictable and sane. A few components have been fully ported to Rust (bibtex, spx2html), but the project is very unfinished.

I've looked into the dark corners of TeX when I worked on Tectonic, and it is not pretty. TeX relies on a stack of evil hacks and esoteric behavior that is very hard to replicate, and very difficult to expose in an ergonomic way. This is true of the core system, and of many packages on CTAN.

A quick example: code highlighting does not work in Tectonic. The canonical solution is https://ctan.org/pkg/minted, which spawns a python process to style your code. Reproducibility is one of Tectonic's selling points, so we cannot replicate this behavior.

With https://typst.app/ as good as it is, there's little motivation to modernize TeX---especially considering the effort required. Typst _is_ modern TeX, and I'd rather spend my time there.

 help



I’ve been using Typst lately and it has been great. I’ve made an exam template for my university and made an export feature so that I could generate the exam in the json format that our online exam system (WISEflow) expects, with support for multiple choice and essay style questions.

It is so snappy and with great error messages. I encourage people to try it out. The typst tutorial is very approachable.


I should note, it's still not on par feature-wise compared to TeX ecosystem, but it gets there with incredible speed. As for UX - it beats anything TeX-based ten times over.

While Typst appears to be popular, I think that TeXmacs, https://www.texmacs.org/, which is a program independent from both TeX and Emacs, is the kind of program that we need for writing: a fully WYSIWYG, fully structured document preparation system, in which you edit the structure of your document in a WYSIWYG way. When editing the structure on-screen, the user has no need to be aware that is doing so, as it looks like they are editing a text document; at the same time, the TeXmacs editor will guide the user to keeping a structured document.

IIRC TeXmacs supports only quite limited subset of what LaTeX and TeX can do. Just like LyX, it could create new documents but will often fail opening ones that were created outside of it.

I think it is so. As far as I know, there are no converters that can do that. A search with an LLM made me find https://arxiv.org/pdf/2605.16562, a paper describing the ArXiv conversion tool from LaTeX to HTML; here is a sentence from the abstract:

"corpus-scale conversion work aimed at 90% error-free HTML (currently 75%)"

although there may be issues that I do not understand or did not see (I looked at the paper very quickly) that make it more difficult for the authors than for the simplest possible translation.


I disagree. Many people abhor WYSIWYG programs, myself included.

Having tried both TeXmacs and Typst¹, it’s easy for me to understand why Typst is rapidly gaining adoption and why, after — how long, over a decade? — essentially nobody uses TeXmacs.

[1] https://lwn.net/Articles/1037577/


I haven't tried TeXmacs (thanks to the truly abysmal name I assumed it was something to do with Emacs), but I have used LyX and it changed my opinion on WYSIWYG. It isn't a fundamentally flawed idea, it's just that most implementations of it are.

LyX is specifically advertised not as WYSIWYG, but WYSIWYM ('M' = "Mean"). Note how the exported/final document looks very little like the in-UI one.

Typora & Obsidian apply the same ideas to Markdown.

I do think WYSIWYG is an absolutely broken paradigm for anything outside of literally just desktop publishing --- but WYSIWYM has a lot of merit.

Enough that I've been working on a stand-alone Markdown editor component that takes ideas from Typora et al.


Typst is awesome. I've completed migrated and am happy to never have to touch LaTeX again. (Or have an AI write it.)

Everytime I get Claude to write a pdf it uses tectonic.

I haven't used typesetting since my university days and updating my ModernCV CV, but it's also worth mentioning SILE (https://github.com/sile-typesetter/sile) for modern typesetting with minimal cruft.

I also found the very useful comparison website https://polytype.dev/ on the subject!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: