Live data from Hacker News

Typst 0.13 is out now

typst.app

51–60 of 61 posts

Re: Typst 0.13 is out now

#51
post #47

Is this a LaTeX killer yet?

Mostly. The inability to include pdf figures is an annoyance that forces a change in workflow compared to tex. That and needing to submit .tex files for journal publication.

You can include PDF figures with the muchpdf package: https://typst.app/universe/package/muchpdf

Re: Typst 0.13 is out now

#52
post #5

Small report from personal experience: I wrote the documentation for a project (~ half a bachelors thesis) with Typst. The writing experience was easy and nice, much better compared to the few Latex documents I worked on. Two main struggles I remember: - We split the "paper" into multiple Typst files. While this organized our content nice, the VSC extension didn't recognize the bibliography imported in another file a…

> the VSC extension didn't recognize the bibliography imported in another file and displayed errors. Nothing major but certainly annoying. FYI the workaround to solve this is to go to the "root" file and run the "pin current file as main" or something like that of your Typst LSP. Unfortunately this needs to be done every time you reopen your project.

IIRC that helped somewhat, but didn't solve all issues. For my thesis I plan to use a single document.

Re: Typst 0.13 is out now

#53
post #35

Earlier quoted context omitted.

How's the typesetting and justification nowadays? Last time I committed to it for a few months I found the latter to be about the quality of HTML with a better linebreak algorithm.

They implemented the same algorithm that TeX uses.

No, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/

Re: Typst 0.13 is out now

#54
post #7

I am very excited about HTML export! HTML is much better at responsiveness and accessibility. Typst is such a great software. With it's modern programming language like syntax I learned it much faster than Latex. It's compile duration is also much better in my experience. I am honestly more productive using Typst it this point. Though I am not a power user. I only used it for slides and notation heavy articles.

To create HTML from typst also have a look at https://myriad-dreamin.github.io/shiroa/introduction.html and https://github.com/Myriad-Dreamin/typst.ts .

Re: Typst 0.13 is out now

#56
post #34
post #23

Earlier quoted context omitted.

Out of curiosity, what was the thesis about? Can you share the PDF?

Predicting dropout in special forces selection. Yes I (semi) wasted some time to setup a repository including CI: https://thesis.huijzer.xyz/ . Link to source code and pdf are on that site. I hope it can satisfy your curiosity :p

Thanks, I’ve read the first part, it’s interesting that there’s no difference between selected candidates and dropouts. Also, pretty nice example of typist :)

Re: Typst 0.13 is out now

#57
post #34
post #23

Earlier quoted context omitted.

Out of curiosity, what was the thesis about? Can you share the PDF?

Predicting dropout in special forces selection. Yes I (semi) wasted some time to setup a repository including CI: https://thesis.huijzer.xyz/ . Link to source code and pdf are on that site. I hope it can satisfy your curiosity :p

It's definitely an excellent example of complex but real typst code. Thanks for sharing!

Re: Typst 0.13 is out now

#58
Typst is cool, but sadly (I checked with experts on the discord), there is still no way to simplify legal citations to create a table of authorities; you'd have to mark each one manually somehow, just like in Word. (Every single citation to a case or source in a legal brief might be a different string: the "canonical" citation might appear once in the actual text, or not at all.)

Re: Typst 0.13 is out now

#59
post #53
post #35

Earlier quoted context omitted.

They implemented the same algorithm that TeX uses.

No, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/

I thought we were talking about justification, there it is using it: https://github.com/typst/typst/discussions/626

If I weren't on mobile I'd link you to the line in the source code. Just search the repo for Knuth-Plass.

Re: Typst 0.13 is out now

#60
post #59
post #53

Earlier quoted context omitted.

No, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/

I thought we were talking about justification, there it is using it: https://github.com/typst/typst/discussions/626 If I weren't on mobile I'd link you to the line in the source code. Just search the repo for Knuth-Plass.

I'm aware it uses the same algorithm, but the end result is still worse. Before Typst, I tried typesetting in HTML in an effort to escape LaTeX, and the results I got using an implementation of this same algorithm was very similar to what Typst ended up achieving, which is noticeably worse than LaTeX.

Mind you, I loved programming in Typst, and I wrote some plugins before it got its package manager, but I ended up moving back to LaTeX for this difference in quality of the final output. I should do some in depth testing at some point, because I am looking to switch back.

Post reply on HN