Live data from Hacker News

Typst 0.14

typst.app

101–110 of 171 posts

Re: Typst 0.14

#101
post #45
post #33

Earlier quoted context omitted.

This is a great example of the open core model done right. Have a fully-featured F/LOSS product, and build value-add commercial products and services on top of it. I've also only used the CLI tool, and didn't miss any features from it. The commercial product was never pushed or promoted to me. I personally have no need for it, and I'm only vaguely aware that it exists. But I'm sure that people who do need the friendl…

It’s a great example how many open source projects start … until they change.

I mean, we can be cynical about it, or we can acknowledge the fact that running a sustainable business around OSS is entrepreneurship on hard mode.

Yes, many companies start with good intentions which then change at some point, but there have also been companies that have managed to successfully balance both sides.

Grafana comes to mind, as well as ClickHouse, and TimescaleDB. I'm not as familiar with the latter two, but Grafana is certainly a good example. You can probably find some blemishes even on their record, but overall, I would say they have been excellent stewards of OSS. Especially considering the large amount of products they maintain.

So far, Typst seem to be on the right track as well, which is worthy of praise.

Re: Typst 0.14

#102

There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/typst I hear that the online editor is quite good, but personally I've only ever used the CLI. I originally picked up Typst as yet another replacement for PowerPoint (replacing my use of Marp), but have since used it for a po…

> I originally picked up Typst as yet another replacement for PowerPoint

I’ve also mainly used it for slides so far. Can recommend Slydst for that.

Re: Typst 0.14

#103
post #44
post #23

The killer features of LaTeX that does not let me go with typst (Although I like my typst generated resume) as an academic are. 1. Beamer, I create multiple slide decks per week and the out of the box setup that beamer provides with different styles and fonts for different needs are unmatched. The efforts to generate some of this on typst is not there yet. 2. Generating figures using tikz and be able to modify it on…

If you make a lot of slides with latex, then it is definitely worth it to try typst. I have a lot of presentations in latex for lectures and such things, with many animated tikz figures. But the compilation times are huge. At some point it is very time consuming to iterate. With typst, it compiles so fast that you don't have to fear to start a compilation. I finish my presentations much faster now. Cetz has been work…

> [1]

There is one example with Fletcher... I find these also nice: https://typst.app/universe/package/fletcher

Re: Typst 0.14

#104

I write this in pretty much every Typst thread. Here are some notes I wrote when I started out with typst when comparing with LaTeX and some recent additions: 1. It doesn't generate 5 bloody files when compiling. 2. Compiling is instant. 3. Diagnostics are way easier to understand (sort of like Rust compiler suggestion style). 4. List items can be either - item1 - item2, etc. or [item1], [item2]. The latter is way be…

Have only lightly dabbled in latex but Typst was super easy to pickup. I recently even published a whole book[0] in Typst. The process was straightforward for the most part. It took a little time to work out how to get page numbers alternating between the left and right side and a few other small formatting details but by and large it was very easy to create a beautiful PDF that's ready for printing.

Also, pandoc has fairly good support for Typst so I use that to create a docx (which Draft2Digital converts to epub). I even opened a few issues (https://github.com/jgm/pandoc/issues?q=sort%3Aupdated-desc%2...) for pandoc support and they were almost all resolved pretty quickly.

[0]: https://thelabofthought.co/shop/p/nbmi3

Re: Typst 0.14

#105
post #41

Earlier quoted context omitted.

Speaking of skill, learning a new language is always daunting, but I found that LLMs do a pretty good job of generating Typst code. I relied on that a lot for generating snippets of code, and learning about the language, which would've taken me more time otherwise. Although the Typst docs are pretty good, regardless.

What LLMs? In my experience they do a terrible job with Typst. Very frequently ChatGPT and Gemini will produce code that doesnt work. Im not sure if it's using an older syntax or just hallucinating. Additionally, it's rarely able to fix it after I provide the error and even copy-past docs. Maybe I was just unlucky or you had better luck with another model. But I was very surprised to here this because Typst is my chi…

This was a few months ago, but mainly Claude Sonnet 3.5 IIRC.

You can't escape hallucinations, of course, but they can be mitigated somewhat. Don't ask it to generate a bunch of code at once. Feed it a snippet of code, and tell it precisely what you want it to do. These are general LLM rules applicable to any language and project, and I've had success with them with Typst. I also used it just to get explanations, or general ideas about how to do something, and then figure out the actual syntax and working code myself. It's strange that you haven't had luck with pasting docs. That has usually worked well for me.

I also think that LLMs don't struggle as much with Typst because the language is relatively simple, and there is little bad and outdated content about it online, so they weren't trained on it. I assume that the API probably hasn't changed as much either and there haven't been many compatibility issues, so it's not as important which version the LLM was trained on.

Re: Typst 0.14

#106
post #23

The killer features of LaTeX that does not let me go with typst (Although I like my typst generated resume) as an academic are. 1. Beamer, I create multiple slide decks per week and the out of the box setup that beamer provides with different styles and fonts for different needs are unmatched. The efforts to generate some of this on typst is not there yet. 2. Generating figures using tikz and be able to modify it on…

To add on what's been said already on slide decks, another great slide creation package in Typst is touying[1]. I've used it to create my own academic theme[2] for courses or conference presentations.

[1] https://touying-typ.github.io/ [2] https://typst.app/universe/package/touying-unistra-pristine/

Re: Typst 0.14

#107

There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/typst I hear that the online editor is quite good, but personally I've only ever used the CLI. I originally picked up Typst as yet another replacement for PowerPoint (replacing my use of Marp), but have since used it for a po…

How do you translate a bit more visually complex presentation to Typst? Should I create my iconography in SVG and try to position those?

Re: Typst 0.14

#108
post #59

Wondering how this compares to Emacs org mode, which support exports to PDF slides with beamer or plain PDF document, also support to export to lots of other format. It also allows running the embedded code and export the results. Of course embedding PDF is easy.

Slightly related:

https://github.com/jmpunkt/ox-typst

In case you want to use both org mode and typst.

(Haven't tried it out).

Re: Typst 0.14

#109

I write this in pretty much every Typst thread. Here are some notes I wrote when I started out with typst when comparing with LaTeX and some recent additions: 1. It doesn't generate 5 bloody files when compiling. 2. Compiling is instant. 3. Diagnostics are way easier to understand (sort of like Rust compiler suggestion style). 4. List items can be either - item1 - item2, etc. or [item1], [item2]. The latter is way be…

When I compile LaTeX files, I use tectonic¹ which automatically download dependencies, compiles in one pass, and hides temporary files. But the regulars users of LaTeX I know all use a web interface — IIRC, it's an instance of Overleaf² installed by their university, with real-time rendering. So when I read your list, I had these tools in mind, and the only items that made sense to me were: 2. (minor compared to Over…

tangent: what syntax lets you use superscripts in HN comments?

test^1

Re: Typst 0.14

#110
post #74
post #44

Earlier quoted context omitted.

If you make a lot of slides with latex, then it is definitely worth it to try typst. I have a lot of presentations in latex for lectures and such things, with many animated tikz figures. But the compilation times are huge. At some point it is very time consuming to iterate. With typst, it compiles so fast that you don't have to fear to start a compilation. I finish my presentations much faster now. Cetz has been work…

One thing I'm missing when making slides with typst is the ability to show short videos or animated gifs. Although to be fair this isn't easy in beamer either. Typst can actually include gifs, but they don't move for me. I have some hopes that perhaps one could make slides straight in html which could alleviate the issue.

Maybe you can use Touying Exporter: https://github.com/touying-typ/touying-exporter
Post reply on HN