I updated my package to go back to Pluto.
It’s actually very easy. Pluto notebooks are just .jl
files after all, so they can be include
-ed as src
files in a package. Then you can export the Pluto notebook as a PDF or HTML, either manually or with PlutoSliderServer.jl.
The only trick is to disable Pluto’s own package manager in the notebook by including a cell with the following content and then choosing “disable in file” in the cell menu options.
begin
import Pkg
Pkg.activate(Base.current_project(@__DIR__))
Pkg.instantiate()
Text("Project environment is active.")
end
A simple package using this method is here. A slightly more complicated example with some additional tricks for tables of equations is here.