frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

LaTeX.wasm: LaTeX Engines in Browsers

https://www.swiftlatex.com/
45•theanonymousone•2d ago

Comments

psc007•2d ago
Why is there no npm registry package?
joshjob42•2d ago
Add LuaLaTeX and you're cookin' with gas. For real would be fantastic if we could get more or less the full LaTeX ecosystem readily and rapidly available online and in a huge variety of desktop applications.
hulitu•22h ago
> LaTeX Engines in Browsers

This is hillarious. Browsers lost the ability to print some 10 years ago. Today, printing a web page is an exercise in masochism.

I am very curious how the output will look like.

jerf•1h ago
Over the years many people have hypothesized that once WASM was really mature, it would become practical to fix the issues with web browser layout by sending down custom layout machines to users.

I would find it hilarious if LaTeX turned into a leader in that space. I doubt it could hold on to that. There's a lot of things that something designed from the beginning for web-like uses could probably improve on that would be capable of overcoming LaTeX. But I could see a world where it carves out a niche and holds on to that niche for a long period of time.

nicoburns•1h ago
Running layout in WASM is already practical. A good demo is https://www.nicbarker.com/clay

The things you can't do are things like expose an accessibility tree (without a dummy DOM), interact with the system IME, and access system fonts.

jerf•1h ago
I feel like it's fair to say that you have not "fixed the issues with browser layout" if you lose accessibility and input. System fonts I can live without, we can push our own, but those two things are a big deal.

Even input you might be able to hack around but accessibility is a big deal and the "hack" at that point is nearly to both lay it out in the browser and the supposed "fixed" layout system, and while that may work in some sense I again have lots of questions about whether that is really "fixed".

nicoburns•42m ago
I mean, I agree it's not fixed. I guess I'm just saying it's not the layout engine that's the blocker.

FWIW, I actually think it would be much more valuable just to fix the spec and make CSS layout fast-by-default.

PaulDavisThe1st•1h ago
I added DVI support to NCSA Mosaic back in 1993-94, believing it to be a better format for "rich" documents than HTML or PDF.

Nobody else seemed convinced :(

stschaef•1h ago
I immediately received the following error :|

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (SwiftLaTeX PDFTeX 0.3.0) (preloaded format=swiftlatexpdftex) I can't find the format file `swiftlatexpdftex.fmt'!

Likewise for XeTeX

williamstein•1h ago
https://www.swiftlatex.com/editor.html for the wysiwyg editor says "We are working hard to fix the editor." It has said this for many years. I think I tried it once when it was live and it was pretty cool. My guess is people observed it could corrupt documents, so it was taken down.
dunham•50m ago
Is this related to web2js[1], which has been around for a while? It compiles the pascal code of TeX to wasm.

It looks like the live demo is no longer up, but it did run latex in the browser and render the dvi output to html. The wasm for TeX is about 495kb / 88kb compressed, but the memory image for LaTeX was a bit larger.

[1]: https://github.com/kisonecat/web2js

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
389•minimaxir•2h ago•236 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
166•justincormack•3d ago•97 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
71•adchurch•2h ago•53 comments

U.S. government will decide who gets to use GPT-5.6

https://www.washingtonpost.com/technology/2026/06/26/openai-says-us-government-will-vet-users-its...
109•alain94040•53m ago•355 comments

Ultrasound imaging of the brain

https://alephneuro.com/blog/ultrasound-brain
155•rossant•7h ago•56 comments

Om Malik has died

https://om.co/2026/06/24/1966-2026/
1230•minimaxir•22h ago•149 comments

Modern GPU Programming for MLSys

https://mlc.ai/modern-gpu-programming-for-mlsys/
16•crowwork•3d ago•1 comments

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
1580•verditelabs•1d ago•351 comments

What Is a Nomogram and Why Would It Interest Me?

https://lefakkomies.github.io/pynomo-doc/introduction/introduction.html#what-is-a-nomogram-and-wh...
12•Eridanus2•1h ago•4 comments

Springer Nature has removed two studies by Max Planck

https://www.science.org/content/article/why-have-papers-one-history-s-most-famous-physicists-been...
282•adharmad•5h ago•134 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/gvtc3Ep-founding-operations-lead
1•ashlleymo•2h ago

Libre Barcode Project

https://graphicore.github.io/librebarcode/
261•luu•16h ago•48 comments

What is a Lithium-ion capacitor?

https://www.jtekt.co.jp/e/products/capacitor/capacitor_about.html
15•ksec•3h ago•2 comments

22-year-old Mozart's handwritten notebook unearthed in 'major discovery'

https://www.classicfm.com/composers/mozart/handwritten-notebook-discovered-major-paris/
226•thunderbong•6d ago•72 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
322•cuchoi•16h ago•149 comments

Incident CVE-2026-LGTM

https://nesbitt.io/2026/06/26/incident-report-cve-2026-lgtm.html
427•mooreds•6h ago•76 comments

Framework's 10G Ethernet module exposes USB-C's complexity

https://www.jeffgeerling.com/blog/2026/framework-10g-ethernet-module-usb-c-complexity/
291•Alupis•18h ago•168 comments

Bipartite Matching Is in NC

https://scottaaronson.blog/?p=9851
92•amichail•3d ago•13 comments

LaTeX.wasm: LaTeX Engines in Browsers

https://www.swiftlatex.com/
45•theanonymousone•2d ago•11 comments

The "Bizarre Headgear" Exhibit at the Sam Noble Museum Is Incredible

https://svpow.com/2026/05/15/the-bizarre-headgear-exhibit-at-the-sam-noble-museum-is-incredible/
3•surprisetalk•3d ago•0 comments

Show HN: WebBase-III – dBASE III rebuilt in the browser with its own interpreter

https://github.com/DDecoene/WebBaseIII
61•ddecoene•2d ago•16 comments

A US military exercise to launch a satellite on short notice

https://arstechnica.com/space/2026/06/a-us-military-exercise-in-space-got-underway-with-barely-an...
92•jonbaer•3d ago•58 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
331•exploraz•3d ago•73 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
1041•bilsbie•21h ago•531 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed) (2023)

https://gchandbook.org/
224•teleforce•20h ago•47 comments

Jolla Phone (October 2026)

https://commerce.jolla.com/products/jolla-phone-october-2026
211•mrbn100ful•4h ago•120 comments

Ask HN: Is "no source code was copied" still a sufficient copyright defense?

26•oscgam1•3h ago•33 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
454•darthcloud•4d ago•195 comments

FEXPRs vs. vtable: how LispE interpreter works

https://github.com/naver/lispe/wiki/2.7-FEXPR-vs.-vtable
84•birdculture•2d ago•6 comments

We all depend on open source. We will defend it together

https://akrites.org/letter/
418•dhruv3006•13h ago•203 comments