NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM (github.com)
raybb 9 minutes ago [-]
I love this use of wasm!

I never really got the hang of LaTeX but I've really enjoyed Typst the past few years and even made a few books with it. Have you ever tried that or have thought on it?

kccqzy 3 hours ago [-]
I copy-pasted a random LaTeX doc from many years ago (I made sure I wrote it before 2020 so it did not use any new features not in TeX Live 2020), and upon compilation I got the error

    Font OT1/cmr/m/n/10.95=cmr10 at 10.95pt not loadable: Bad metric (TFM) file.
on line 13017. The document had only 200 lines so this must be from a package. It was really not clear where the error was coming from. I guessed that it was coming from \usepackage{microtype}, so I commented it out, but the same error persisted.

I decided to hard refresh the tab and this time I got a different error:

    TeX capacity exceeded, sorry [text input levels=15].
on line 39. Again it was unclear line 39 of which package.
kccqzy 3 hours ago [-]
Does this work on Firefox or Safari? You say “Firefox or Safari fall back to a virtual filesystem” but somehow I can’t get this fallback to work. When I click New Project I just get a reminder to use Chrome or Edge. Is there a button to press to trigger the fallback?
zahrevsky 3 hours ago [-]
I'm on Safari, and it seems you can open your local LaTeX file to use the tool. It's an “Open file” button at the top.

Although I agree that it would be cool to have some hello-world example pre-opened.

kccqzy 2 hours ago [-]
Ooh. That worked. Thanks.
apetresc 36 minutes ago [-]
Anyone know if this includes TikZ?
Gualdrapo 4 hours ago [-]
This is super cool. I wish there was something like this for ConTeXt too.
Wdorf 3 hours ago [-]
My project https://latex.to supports ConTeXt (plus all other TeX Live engines). Click + then New from showcase then ConTeXt to try it.
thangalin 3 hours ago [-]
I wrote a Markdown -> ConTeXt -> PDF editor that may interest you.

* https://keenwrite.com/

* https://keenwrite.com/screenshots.html

kccqzy 2 hours ago [-]
Interesting. I usually use pandoc for converting my Markdown, which goes via LaTeX. Is there a specific reason you picked ConTeXt?
copperx 4 hours ago [-]
Well done!
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 02:54:30 GMT+0000 (Coordinated Universal Time) with Vercel.