Live data from Hacker News

Typst 0.14

typst.app

21–30 of 171 posts

Re: Typst 0.14

#21
post #17

> Meanwhile, in HTML and SVG export, PDFs are converted to an embedded SVG on-the-fly. And, finally, in PNG export and the web app preview, PDFs are rasterized. All of this PDF processing functionality lives right in the Typst compiler, with no system dependencies. This is only possible thanks to the amazing work of community member @LaurenzV, who created a new PDF processing library called hayro from scratch. The li…

And the hayro library is standalone and can easily be used outside of Typst. It only uses CPU and is pure Rust so it can also be used with WebAsembly. Link to demo below.

https://github.com/LaurenzV/hayro

https://laurenzv.github.io/hayro/

Re: Typst 0.14

#22
post #17

> Meanwhile, in HTML and SVG export, PDFs are converted to an embedded SVG on-the-fly. And, finally, in PNG export and the web app preview, PDFs are rasterized. All of this PDF processing functionality lives right in the Typst compiler, with no system dependencies. This is only possible thanks to the amazing work of community member @LaurenzV, who created a new PDF processing library called hayro from scratch. The li…

Indeed... I wonder to what extent the author of hayro did this work specifically for Typst or if they would have done it anyway.

Re: Typst 0.14

#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 the source file. Because I don't bear using GUI tools. And now life is easier that LLM can help you with complex tikz generation.

3. Not that it is actually a point but I am used now to overleaf and I have professional account as CERN member. It is also better on collaboration level and features than typst cloud.

I hope that one day typst will grow into this direction so that I can stop using LaTeX. Until then I have couple of overleaf templates generated for my use.

Re: Typst 0.14

#24
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…

Maybe you have already checked these, but in case you haven't: - https://touying-typ.github.io/ Creating slides in Typst - https://cetz-package.github.io/ CeTZ is a package that allows for drawing with Typst with an API inspired by TikZ and Processing. It also provides plotting and chart libraries and is used in several other packages to create circuit, fretboard and more diagrams - maybe try getting your team to use version control? You may this that it's a lost cause, but existing version control schemes (like git) work very great for textual formats, including with LaTeX or Typst

Re: Typst 0.14

#25
post #22
post #17

> Meanwhile, in HTML and SVG export, PDFs are converted to an embedded SVG on-the-fly. And, finally, in PNG export and the web app preview, PDFs are rasterized. All of this PDF processing functionality lives right in the Typst compiler, with no system dependencies. This is only possible thanks to the amazing work of community member @LaurenzV, who created a new PDF processing library called hayro from scratch. The li…

Indeed... I wonder to what extent the author of hayro did this work specifically for Typst or if they would have done it anyway.

Author here! Resolving one of the most-requested Typst features was definitely a big motivation for me, but I wouldn't say this was the only reason. I've done a lot of previous work on PDF (see e.g. the krilla library, although also mostly in the context of Typst), so I was already pretty familiar with how PDF works. In addition to that, I also just finished writing my master's thesis about 2D rendering (also in Rust), so I also gained a lot of knowledge in that area. Therefore, this project seemed like a good opportunity for me to create a bigger open source project myself that I could work on in my free time. :)

Re: Typst 0.14

#26

I think I'm going to subscribe without any intention of using the app just as a "financing" donation. I love, and hate, LaTeX and the idea of a LaTeX successor / alternative is incredibly appealing. And the fact that they are aware that microtypography IS important and that they are working on it is a huge huge plus.

Typst is open source, so you can run it on your computer; it's available as a CLI and has integrations with multiples IDEs (most use tinymist). Using typst is better than subscribing and not using it IMO because you can already start creating content and advocating for it, while telling the team about bugs or pain points

Re: Typst 0.14

#27

Kinda wonder how accessible the online editor is? I should try it, see if VS Code is a linter or something for it, although there is the compiler.

VScode has an extension that uses the language server tinymist, which is available in other IDEs as well. The vscode extension offers live preview, but it's also available on other IDEs

Re: Typst 0.14

#28
I'm super happy that Typst continues to chip away at LaTeX's dominance. Kudos to the team and contributors! This looks like a great release. Lossless embedding of PDFs seems like it would be useful in many scenarios. I'm surprised with how much better the character-level justified text actually looks. And I wasn't even aware that it supported exporting HTML. Typst—both the tool and the language—are more robust and enjoyable to use IME than something like Markdown, Pandoc, Org mode, and other formats, so I'll definitely consider using it for my next web project.

My only concern is backwards compatibility. How committed is the team to supporting older syntax? What will happen in a year or two from now when I have to generate a PDF from a .typ file written with version 0.13? They mention deprecations in v0.14, so I assume that I should expect breaking issues. I suppose only time will tell how difficult upgrading will be in the future.

This was a big problem for me when using LaTeX, which is why I maintained a TeX Live Docker image with the exact version and dependencies I needed. Upgrading it was always a nerve-racking ordeal. Since Typst is a single binary, this should at least be easier to manage.

Re: Typst 0.14

#29

I think I'm going to subscribe without any intention of using the app just as a "financing" donation. I love, and hate, LaTeX and the idea of a LaTeX successor / alternative is incredibly appealing. And the fact that they are aware that microtypography IS important and that they are working on it is a huge huge plus.

Typst is open source, so you can run it on your computer; it's available as a CLI and has integrations with multiples IDEs (most use tinymist). Using typst is better than subscribing and not using it IMO because you can already start creating content and advocating for it, while telling the team about bugs or pain points

you can use the cli, subscribe (to the pro features of the app) and not use the app (online editor) to provide a bit of financial support WHILE using Typst and create content

Re: Typst 0.14

#30
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…

Some quick remarks:

1) I have been using typst to create slides with some success. Adding special features tends to be simpler than in beamer.

2) cetz (https://github.com/cetz-package/cetz) works quite well and is comparable to tikz in complexity and capability. of course, there is more support for tikz, but it is bound to improve over time.

Post reply on HN