Looks very cool, but LaTeX still feels superior for non-mathematical documents like a resumé, right?
Typst, a new markup-based typesetting system, is now open source
91–100 of 147 posts
Re: Typst, a new markup-based typesetting system, is now open source
#92Using the basic syntax from the tutorial, I got this PDF rendering: https://shottr.cc/s/MVhq/SCR-20230321-ipq.png
Re: Typst, a new markup-based typesetting system, is now open source
#93Its doomed to failure. Latex is horrible but makes beautiful documents and the relevant world either uses latex or Mircosoft Office. Why use anything else? Latex lives by the community of people who use latex for their work and to collaborate. All know 20 year old latex documents will be compilable in 20 years. No competitor outside of Microsoft can survive that.
Except it's not. For example, in 2021, the NeurIPS template compiled differently in different versions of TeXLive (https://tex.stackexchange.com/questions/598567/different-pdf...). To my knowledge this change of behaviour has not been addressed in TexLive.
> Latex is horrible but makes beautiful documents and the relevant world either uses latex or Mircosoft Office. Why use anything else?
And why invent anything new when there are already existing alternatives? Why invent C++, Rust, Zig when there already was C? Why invent Clang when there already was GCC? Why invent Git when there was already CVS? And so on. (Maybe not the best examples, but that's what I could think of on the spot.)
The point is that there are aspects in which the current solutions (in this case, LaTeX) fails, and new systems can address them, since they tend to have much more liberty in the design space than the older system.
Re: Typst, a new markup-based typesetting system, is now open source
#94Earlier quoted context omitted.
If you don't have high typesetting needs, maybe WeasyPrint fits your use case. [1] https://weasyprint.org/
Oh my god, this is fantastic. It doesn't solve the DSL part but it does solve the output-to-PDF-using-CSS part. They also seem so nice! I guess I can clobber together my own DSL and then run with this. I can't thank you enough
Re: Typst, a new markup-based typesetting system, is now open source
#95Earlier quoted context omitted.
Wow this is cool! I made a sort of similar e-ink display piece that shows your current song on Spotify - https://github.com/CampbellOwen/NowPlaying . Your project is making me want to try another e-ink project! I'm especially impressed with the overall polish of the enclosure and hardware, that's always my weak point. I saw you mentioned you wrote a custom driver for the display controller. I'm curious how you found…
"Driver" is in all honesty a bit overly braggy! Technically it's a driver, but in practice I'm just talking over a chip via SPI. It's weird and quirky SPI - I think this chip originally just had an I80 interface (Intel 8080 protocol) and then they added a SPI frontend that internally translates to I80. That means you have to SPI with I80-ish chip select semantics etc. which is not what the SPI APIs in the ESP-IDF or…
The waveshare e-paper screens I'm using come with some decent sample code for driving them, and I just found this Rust implementation that looks interesting as well https://github.com/caemor/epd-waveshare.
I do agree with you though that the idea of driving them directly with the waveforms sounds quite fun. I've seen some interesting stuff online where people have been customizing the waveforms to get even more performance out of them (maybe partial refresh would be fun to look into as well).
As someone who's only exposed to embedded development in a hobbyist way, that epdiy repo looks quite useful, thanks for linking that.
Now to find the time to add on yet more personal projects :)
Re: Typst, a new markup-based typesetting system, is now open source
#96Re: Typst, a new markup-based typesetting system, is now open source
#97LaTeX is simple if you: - have a good template (most of the conferences & some other parts of academia provide this), - use a decent IDE (many LaTeX editors I tried in the past were great, now I'm fine with just vim), - stick with the basics (text, tables, formulas, images; it's easy to Google it). The last point is what matters the most. As soon as you want to change the margins, stylize the table in a different way…
The other selling point you're missing though is that Typst's compiler is designed for fast incremental compilation, which makes the Typst live preview and Multiplayer/Google Docs-style collaboration experience significantly nicer than Overleaf's, where a change to a large document could easily take 30 seconds or more to render.
Re: Typst, a new markup-based typesetting system, is now open source
#98LaTeX is simple if you: - have a good template (most of the conferences & some other parts of academia provide this), - use a decent IDE (many LaTeX editors I tried in the past were great, now I'm fine with just vim), - stick with the basics (text, tables, formulas, images; it's easy to Google it). The last point is what matters the most. As soon as you want to change the margins, stylize the table in a different way…
It's like saying transport is solved when the wheel was invented. Yes LaTeX is great, but it lacks so many decent things, such as good error message, or incremental compilation. Typst is going in the right direction, not segmenting the space.