Live data from Hacker News

Typst 0.13 is out now

typst.app

31–40 of 61 posts

Re: Typst 0.13 is out now

#31
post #22
post #18

Earlier quoted context omitted.

>let you insert chunks of TeX Honestly a better first step would be getting inserting another pdf plot to work, but seems hard https://github.com/typst/typst/issues/145

Tl;dr it's because they don't want to neglect the other output formats PNG and SVG. For those they'd have to render the PDF, for which there is apparently no satisfactory rust package.

> no satisfactory rust package

I'm seeing this delay lots of features in rust projects.

For example helix the text editor hasn't gotten file watching (for the purposes of updating after external edits) for years now because of apparent problems with the file watching library in rust.

Re: Typst 0.13 is out now

#32
post #27

Earlier quoted context omitted.

That’s a rust library or rather typst code also gets published to crates.io. But it’s not something that can be turned into a libtypst.so/dylib/dll.

You can turn a Rust library into a dynamic library w/ a C ABI - exposing the whole API would be tedious, even with tools like bindgen, but if you just want to provide a "render this char* to PDF" function (or whatever) then it's pretty easy [1]. I know of a few Rust crates that offer something like this - Minijinja, off the top of my head. [1]: https://doc.rust-lang.org/nomicon/ffi.html#calling-rust-code...

Yeah but than I would need to maintain the wrapper lib.

Re: Typst 0.13 is out now

#34
post #23
post #9

Earlier quoted context omitted.

As long as I don't have to submit a paper, I always use Typst nowadays for PDF generation. So for me that answer is a yes. (I also wrote my PhD thesis in typst and the thesis was accepted.)

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

Re: Typst 0.13 is out now

#35

Earlier quoted context omitted.

I've migrated everything I did in LaTeX to Typst. Books (I've written 12 books), invoicing, slides, and handouts. Happy to never touch LaTeX again.

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.

Re: Typst 0.13 is out now

#37

Is this a LaTeX killer yet?

I'm using it for pretty much all new document generation tasks that are targeted to PDF, and it's very low fuss. Takes under 2 seconds to generate a 1600 page planner PDF with embedded images on many pages. I'd suggest giving it a try, unless you need certain journal templates.

Re: Typst 0.13 is out now

#39
post #4

I need to play with Typst. I've been using Markdown and converting that to LaTeX with Pandoc for quite awhile, and that more or less works, but I've had issues when I need any non-standard formatting, like specific placement of something like a title page. Typst looks like it might be the solution to this problem.

Yeah, last week, I took a few minutes to convert my mdbook draft to typst (most of it was renaming files, adding a main,typ and replacing `*` with `*`, `#` with `=` - I didn't have any tables), then happily proceeded from there and towards a beautiful (draft) book.

I'm quite happy about the workflow.

Plus now I have a template that I'll apply to the second book.

Re: Typst 0.13 is out now

#40
I started using Typst this year and am really liking it so far. The rendered document updates as you type, and it's easier to code grid layouts. I like how I don't need to be paranoid about adding "%" at the end of lines, lest extra spaces sneak in.
Post reply on HN