Closed likanzhan closed 4 years ago
since versioninfo
is exported by InteractiveUtils
, you need to do using InteractiveUtils
in the document unless you weave(hoge; mod = Main)
in REPL (InteractiveUtils
is loaded into Main
by default in REPL).
description
I have a simple
mm.jmd
file containing only one line of Julia code:weave("MM.jmd")
┌ Info: Weaving chunk 1 from line 1 └ progress = 0.0 ┌ Warning: ERROR: UndefVarError occurred, including output in Weaved document └ @ Weave ~/.julia/packages/Weave/74s70/src/run.jl:248 ┌ Info: Weaved all chunks └ progress = 1 [ Info: Report weaved to MM.html "/Users/lzhan/MM.html"