5 ms·
Typst 0.13 is out now
- vondur 2y agoI watched the video presentation going over the new features, and the poor developer looks like he really needs a rest.
- zellyn 2y agoI think that was everyone's first thought! It's the first comment on the video too!
- 29athrowaway 2y agoIs this a LaTeX killer yet?
- Alex-Programs 2y agoFrom a technical perspective, yes. From a social perspective, maybe. It needs a lot more community support and adoption, but it's on an excellent trajectory.
- huijzer 2y agoAs 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.)
- iyn 2y agoOut of curiosity, what was the thesis about? Can you share the PDF?
- huijzer 2y agoPredicting dropout in special forces selection. Yes I (semi) wasted some time to setup a repository including CI: https://thesis.huijzer.xyz/ https://thesis.huijzer.xyz/. Link to source code and pdf are on that site. I hope it can satisfy your curiosity :p
- divan 2y agoTotally.
- __mharrison__ 2y agoI'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.
- RestartKernel 2y agoHow'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.
- mr_mitm 2y agoThey implemented the same algorithm that TeX uses.
- DNF2 2y agoNo, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/ https://laurmaedje.github.io/posts/layout-models/
- mr_mitm 2y agoI thought we were talking about justification, there it is using it: https://github.com/typst/typst/discussions/626 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.
- RestartKernel 2y agoI'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.
- Al-Khwarizmi 2y agoProbably not for scientific publishing until journals and conferences provide Typst templates as they do with LaTeX. I wish it will happen, to be honest it would be great to get rid of LaTeX. It's old and it shows a lot, a replacement is long overdue.
- vessenes 2y agoI'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.
- lblume 2y agoThe library of journal templates in the Typst universe is growing day by day. A much bigger issue is some of these journals not yet accepting Typst submissions.
- k2enemy 2y agoMostly. 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.
- cbolton 2y agoYou can include PDF figures with the muchpdf package: https://typst.app/universe/package/muchpdf https://typst.app/universe/package/muchpdf
- Diti 2y agoAFAIK, Typst doesn’t handle multilanguage documents well, and hyphenation in particular. I had to go back to XeTeX because of this.
- tombert 2y agoI 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.
- Yoric 2y agoYeah, 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.
- emaro 2y agoSmall 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 and displayed errors. Nothing major but certainly annoying. - It couldn't deal well with SVGs and diagrams in general, so we resorted to just export graphics and include them as images. 6/10 would use again and I'm excited for the new release.
- SkiFire13 2y ago> 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.
- emaro 2y agoIIRC that helped somewhat, but didn't solve all issues. For my thesis I plan to use a single document.
- aiono 2y agoI 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.
- kardianos 2y agoExactly. I like to output PDFs with exact layout, and then output to HTML with approximate layout for flowing, ease of use.
- amai 2y agoTo create HTML from typst also have a look at https://myriad-dreamin.github.io/shiroa/introduction.html https://myriad-dreamin.github.io/shiroa/introduction.html and https://github.com/Myriad-Dreamin/typst.ts https://github.com/Myriad-Dreamin/typst.ts .
- isaacvando 2y agoLooks wonderful!
- divan 2y agoNice! Excited about HTML export. I used LaTeX for autogenerating some semi-legal documents in both PDF and HTML, so all editing happens on Github and Github Actions do the rest for publishing PDFs and updating site. Started using Typst for some of these, but HTML export was a missing piece to completely switch to it.
- replete 2y agoI've been following the HTML export thread, good to see some progress. I've experimented with 'transpiling' to RST with Pandoc for purposes of digital documentation - but it's not quite there. Would love to see a flavour of Typst that could be viable for digital documentation with a decent live preview experience in VSCode. I know this isn't the purpose of Typst, but one can hope. Would also welcome advice on this subject of decent authorship digital documentation - some of these frameworks are quite frankly massive, unweildy and painful to deal with.
- zellyn 2y agoAfter reading Laurenz's blog post on TeX vs Typst layout [1], it made me wonder: how hard would it be at this point for them to make Typst directly understand TeX, and let you insert chunks of TeX. It would make for a really nice upgrade path. Of course, being bug-for-bug compatible once people layer on tons of TeX packages seems like a losing game. But if most straightforward TeX stuff "just worked", it would be an easy way to upgrade one paragraph at a time… [1] https://laurmaedje.github.io/posts/layout-models/ https://laurmaedje.github.io/posts/layout-models/
- moelf 2y ago>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 https://github.com/typst/typst/issues/145
- mr_mitm 2y agoTl;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.
- moelf 2y agoand there's no nice way to insert PDF using WebASM, which is their first-tier support and monetization platform (i.e. 1st party Overleaf)
- porridgeraisin 2y ago> 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.
- lblume 2y agoTypst's file watching seems to work excellent since 0.12, though.
- elvircrn 2y agoI just love how responsive the editor is. The biggest downside is that now I dread switching to overleaf after typst!
- merb 2y agoThe only downside of typst is that there is no libtypst, which would make it easy to embed.
- rubyfan 2y agoThere's a few examples of language binding that would give you a starting point to embed typst in anything https://github.com/messense/typst-py https://github.com/messense/typst-py https://github.com/rousbound/typst-lua https://github.com/rousbound/typst-lua https://github.com/actsasflinn/typst-rb https://github.com/actsasflinn/typst-rb
- ioasuncvinvaer 2y agohttps://crates.io/crates/typst https://crates.io/crates/typst
- merb 2y agoThat’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.
- colonial 2y agoYou 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-from-c https://doc.rust-lang.org/nomicon/ffi.html#calling-rust-code...
- merb 2y agoYeah but than I would need to maintain the wrapper lib.
- anovick 2y agoWaiting for text-wrapping around images to be supported. https://github.com/typst/typst/issues/5181 https://github.com/typst/typst/issues/5181
- MortyWaves 2y agoThe "curve" example is a box
- Yoric 2y agoHey, I've just finished typesetting the first editors-ready draft for a book using typst 0.13-rc1! I love it.
- ufo 2y agoI 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.
- behnamoh 2y agomarkdown + latex templates + pandoc is the dream combo. no need to learn a new syntax like typst or emacs org-mode.
- upbeat_general 2y agoHas anyone used Typst for academic conferences/journals? To me it’s sorta like CSS where the availability of templates is more important than the core language (at least for people lacking design abilities).
- kanareklife 2y agoWow! They are really adding HTML support! Typst is one of my favourite open source projects right now, mostly due to how useful it is even for non-technical users. I have converted most of my friends and their friends in my university to switch from latex / markdown / word to typst, mostly due to its ease of use, how nice does (even the default) output looks like and how powerful it is. I am very happy that typst is still being developed and I am really surprised how many new features they add (for my use-cases it is pretty much done product:)).
- jxdxbx 2y agoTypst 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.)