Nice! I love it. A while back I showed off a much less refined variant of the same concept (NeoVIM, live PDF update of LaTeX output) for my prose work (https://youtu.be/zCdDgtlBaTU), but it wasn’t this fast.
Since then two things have changed: I’ve stopped doing new work in LaTeX in favor of SILE which is much faster, and I learned about entr which obsoletes lots of the hackery in my video. It might be time to learn some of your techniques and do a refresh.
This is good timing - I’m working on my thesis right now. It’s ridiculous how little of Vimtex I’ve been using! It turns out almost all of the manual LaTeX work I’ve been performing can be done via the plugin; I got forward and backward search practically for free. The only thing is, the “real time” claim is a little bit impossible - for documents like mine, there’s a 2-3 second delay between saving and re-rendering. I think that’s a limitation of LaTeX though, and one I’ll have to live with.
I think that’s a limitation of LaTeX though, and one I’ll have to live with.
KeenWrite, my plain text editor, can preview 1,000 simple TeX formulas in about 500 milliseconds on modern hardware. The Knuth-Plass Line Breaking Algorithm, which drives most TeX implementations, slows down rendering. KeenWrite uses an HTML previewer and inlines the math as SVG so that the math pops up instantly:
KeenWwrite typesets to PDF using ConTeXt, rather than LaTeX, because ConTeXt makes separating content from presentation much easier. The idea is to focus on the content, then muck with the formatting and layout when the content is finished.
A few years back i threw together this thing, which is a kinda-working wysiwyg latex math editor, inspired by the math entry system in onenote. It doesn’t handle dead keys (^) that well on my linux setup anymore, but it works on windows. Try typing \int then press space. ;)
I might double major in math just to use this.
Nice! I love it. A while back I showed off a much less refined variant of the same concept (NeoVIM, live PDF update of LaTeX output) for my prose work (https://youtu.be/zCdDgtlBaTU), but it wasn’t this fast.
Since then two things have changed: I’ve stopped doing new work in LaTeX in favor of SILE which is much faster, and I learned about
entr
which obsoletes lots of the hackery in my video. It might be time to learn some of your techniques and do a refresh.Also, SILE now has math support…
This is good timing - I’m working on my thesis right now. It’s ridiculous how little of Vimtex I’ve been using! It turns out almost all of the manual LaTeX work I’ve been performing can be done via the plugin; I got forward and backward search practically for free. The only thing is, the “real time” claim is a little bit impossible - for documents like mine, there’s a 2-3 second delay between saving and re-rendering. I think that’s a limitation of LaTeX though, and one I’ll have to live with.
KeenWrite, my plain text editor, can preview 1,000 simple TeX formulas in about 500 milliseconds on modern hardware. The Knuth-Plass Line Breaking Algorithm, which drives most TeX implementations, slows down rendering. KeenWrite uses an HTML previewer and inlines the math as SVG so that the math pops up instantly:
https://github.com/DaveJarvis/keenwrite/blob/master/docs/screenshots.md#equations
KeenWwrite typesets to PDF using ConTeXt, rather than LaTeX, because ConTeXt makes separating content from presentation much easier. The idea is to focus on the content, then muck with the formatting and layout when the content is finished.
https://wiki.contextgarden.net/Main_Page
Here’s an example of a Markdown document I wrote along with its bibliography. Both were typeset using ConTeXt:
A few years back i threw together this thing, which is a kinda-working wysiwyg latex math editor, inspired by the math entry system in onenote. It doesn’t handle dead keys (^) that well on my linux setup anymore, but it works on windows. Try typing
\int
then press space. ;)