You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[math] Generating LaTeX that represent Python Functions #68
Closing as not planned — the tool is archived, and the capability it was reaching for is already in use in the lectures.
The tool is gone. Google archived latexify_py on 2026-04-18; its last commit was 2025-02-13. It is read-only and will not receive further work.
The capability is already there, in both language editions of the same lecture.geom_series.md in lecture-python-intro imports SymPy, calls init_printing(use_latex='mathjax'), and renders symbolic derivatives as typeset LaTeX. The Julia edition of that same lecture does the equivalent with Symbolics.jl and Latexify.jl. So "show the mathematics that this code computes, typeset" is a thing we already do and already have a house pattern for.
latexify_py did something slightly different — it converted Python function source into LaTeX by walking the AST, rather than rendering symbolic expressions. That difference is real, but nothing here ever named a lecture that needed it, and nothing has referenced this issue in the nearly four years since it was filed.
If AST-to-LaTeX becomes genuinely useful for a specific lecture later, that is worth a fresh issue naming the lecture and the maintained tool of the day — not a revival of a link to an archived package.
Activity
mmcky commentedon Jul 30, 2026
Closing as not planned — the tool is archived, and the capability it was reaching for is already in use in the lectures.
The tool is gone. Google archived
latexify_pyon 2026-04-18; its last commit was 2025-02-13. It is read-only and will not receive further work.The capability is already there, in both language editions of the same lecture.
geom_series.mdinlecture-python-introimports SymPy, callsinit_printing(use_latex='mathjax'), and renders symbolic derivatives as typeset LaTeX. The Julia edition of that same lecture does the equivalent withSymbolics.jlandLatexify.jl. So "show the mathematics that this code computes, typeset" is a thing we already do and already have a house pattern for.latexify_pydid something slightly different — it converted Python function source into LaTeX by walking the AST, rather than rendering symbolic expressions. That difference is real, but nothing here ever named a lecture that needed it, and nothing has referenced this issue in the nearly four years since it was filed.If AST-to-LaTeX becomes genuinely useful for a specific lecture later, that is worth a fresh issue naming the lecture and the maintained tool of the day — not a revival of a link to an archived package.
Disposition tracked in #344.