Skip to content

jemus42/i2ml-typst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

I2ML, but typst (at least one chapter)

Typst is a typesetting system which can, depending on your needs, fully replace LaTeX.

That's it.
That's the selling point.

What is typst

Typst provides

  • extremely fast rendering (PDF preview updates in real time in, e.g., VS Code with an extension)
  • a web-editor akin to Overleaf with the same real-time rendering and collaborative editing
  • useful and instant compiler warnings in case of syntax errors etc.
  • >40k stars on GitHub so it's probably not dead in a year
  • Posit actively backs it which is cool

Typst itself comes as a single binary and has no further dependencies. Some typst packages written by the community are available, such as Touying for presentations.

Everything is still pretty early and may have som rough edges, but there's plenty of progress.

Here's an example screenshot taken from the typst GitHub README:

What this is repo

This is a LLM-powered attempted translation of one chapter of the I2ML lecture just because I felt like trying if this works.

Caveats of the conversion process:

  • PDF images are not supported by typst. They need to be converted to SVG or in the case of this repo, PNG (I lazily converted them with low quality in one line of magick, so they look bad but that's not typst's fault)
  • The package used for slide creation (Touying) is maybe still somewhat new and I'm not an expert, I literally just told Claude to make it happen. Other slide-creation packagfes are available.
  • Math used in the lecture is heavily centralized in slds-lmu/latex-math, but converting these shorthands to typst should be an LLM'able task. It worked fine here. Typst has comprehensive math support.

The translated result currently looks like this:

alt text

Layout is still an issue (content overflowing to the next slide), and I have not bothered to make it perfect yet.
This is literally just me vibe-coding on a lazy Sunday to see what happens.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published