News for hackers. Stuff that matters.
Re:Typesetting Engines: A Programmer's Perspective by endgame on Sunday November 10, 2024 @06:09PM (#42103250)
Typst looked promising, but the very first thing I wanted to do with it - generate some slides with code snippets, and use highlights to call out specific features of the code - is not possible. The core layout engine seems to merge `styled(...)` spans in code blocks far too aggressively, making it impossible for codly (the code highlighting package I tried) to pick out precise ranges to highlight.

I went back to beamer.

Re:Typesetting Engines: A Programmer's Perspective by chaxor on Sunday November 10, 2024 @06:55PM (#42103470)
This is pretty hard to believe considering how good the ecosystem in Typst is so far. There are quite a few packages for making slides in Typst including [Polylux](https://github.com/gszauer/polylux), [Touying](https://github.com/Wyntau/touying], [minideck](https://typst.app/universe/package/minideck), [slydst](https://typst.app/universe/package/slydst) [minimal-presentation](https://typst.app/universe/package/minimal-presentation) and many more.
Re:Typesetting Engines: A Programmer's Perspective by endgame on Sunday November 10, 2024 @07:05PM (#42103510)
The problem is not with the slides package, it's with the content I want to put on the slides:

https://github.com/Dherse/codly/issues/35 and in particular, this comment from the author of codly where he sounds constrained by Typst: https://github.com/Dherse/codly/issues/35#issuecomment-24667...

Re:Typesetting Engines: A Programmer's Perspective by Aaron2222 on Sunday November 10, 2024 @11:36PM (#42104616)
My impressions with Typst have been very positive, though I did notice the same issue with Codly. Typst is still quite a new tool, so my expectation would be that this kind of issue will be fixed at some point.
Re:Typesetting Engines: A Programmer's Perspective by Onawa on Sunday November 10, 2024 @07:33PM (#42103629)
Look at Quarto. Write in markdown and export to web, print, and presentations (including straight to PowerPoint or reveal.js for interactive web-based slides.

All from the same content using includes, variables, flags, etc. Show interactive plots directly in you presentations, tons of other features.

Almost every project I create now whether it's documentation, presentation, report, website, or anything else project-related can fit within `quarto create project`.

Re:Typesetting Engines: A Programmer's Perspective by __mharrison__ on Monday November 11, 2024 @12:39AM (#42104790)
Did you file an issue? The devs are quite responsive and now is the time to act while it is making quick progress.
Re:Typesetting Engines: A Programmer's Perspective by Aaron2222 on Monday November 11, 2024 @05:49PM (#42111154)
They did[0] (as per their earlier reply[1]), and now it's fixed.

[0]: https://github.com/Dherse/codly/issues/35

[1]: https://news.ycombinator.com/item?id=42103510