Zulip Chat Archive

Stream: lean4

Topic: LeanInk kept up to date?


McCoy R. Becker (Dec 28 2023 at 01:56):

Is LeanInk being kept up with stable Lean? Wonder if anyone has any tricks for getting this to work (LeanInk, for alectryon) -- or if I should be considering something else for "literate Lean" files

I'm on e.g. up-to-date Lean4 stable (v4.4.0) which is now ahead of LeanInk for alectryon.

Mario Carneiro (Dec 28 2023 at 01:58):

no, I think it is not being maintained unfortunately

McCoy R. Becker (Dec 28 2023 at 02:07):

unfortunate. alectryon + leanink is the closest tool I've seen for literate style Lean tutorials

McCoy R. Becker (Dec 28 2023 at 02:59):

Successfully got it working on stable with some elbow grease :laughing:

Utensil Song (Dec 28 2023 at 04:11):

v4.4.0 has some breaking changes that require upgrading LeanInk, and I have a PR to address this and using it. Glad to learn there are other interested users, and my personal goal is to keep it working for my personal project (very casual, not very strict so it works fine for my simple use cases) and fix serious issues reported by interested users if I can (so, no promises, and I hope someone with more serious use case could revive it further).

Also note that doc-gen4 uses an older version of LeanInk and works fine for the part it depends on, but rendering annotated Lean code is not part of it (disabled).

See leanprover/LeanInk#55 and more discussions here.


Last updated: May 02 2025 at 03:31 UTC