I just tried to use weave,jl to create HTML with a table of contents (--toc); however, I found an issue when I ran the code.
Could someone give a hand with this issue?
versions
using InteractiveUtils; versioninfo():
Julia Version 1.10.2
Commit bd47eca2c8 (2024-03-01 10:14 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
using Pkg; Pkg.status():
Status `C:\Users\bsamu\.julia\environments\v1.10\Project.toml`
⌃ [336ed68f] CSV v0.10.13
[717857b8] DSP v0.7.9
[a93c6f00] DataFrames v1.6.1
[c9a035f4] JWAS v1.2.1
[0987c9cc] MonteCarloMeasurements v1.1.6
[f853b5e0] Pandoc v0.4.4
[91a5bcdd] Plots v1.40.3
[92933f4c] ProgressMeter v1.10.0
[44d3d7a6] Weave v0.10.12
[fdbf4ff8] XLSX v0.10.1
Info Packages marked with ⌃ have new versions available and may be upgradable.
minimum reproducible steps
julia> weave("./FIR_design.jmd", doctype="pandoc2html", pandoc_options = ["--toc", "--toc-depth= 3", "--number-sections", "--self-contained"])
┌ Info: Weaving chunk 1 from line 26
└ progress = 0.0
┌ Info: Weaving chunk 2 from line 49
└ progress = 0.16666666666666666
┌ Info: Weaving chunk 3 from line 78
└ progress = 0.3333333333333333
┌ Info: Weaving chunk 4 from line 90
└ progress = 0.5
┌ Info: Weaving chunk 5 from line 95
└ progress = 0.6666666666666666
┌ Info: Weaving chunk 6 from line 102
└ progress = 0.8333333333333334
┌ Info: Weaved all chunks
└ progress = 1
ERROR: IOError: could not spawn `pandoc -f markdown+raw_html -s --mathjax= --toc '--toc-depth= 3' --number-sections --self-contained --template 'C:\Users\bsamu.julia\packages\Weave\f7Ly3\templates\pandoc2html.html' -H 'C:\Users\bsamu.julia\packages\Weave\f7Ly3\stylesheets\pandoc2html_skeleton.css' --self-contained -V 'highlight_stylesheet=
description
Hi everyone.
I just tried to use weave,jl to create HTML with a table of contents (--toc); however, I found an issue when I ran the code. Could someone give a hand with this issue?
versions
minimum reproducible steps
julia> weave("./FIR_design.jmd", doctype="pandoc2html", pandoc_options = ["--toc", "--toc-depth= 3", "--number-sections", "--self-contained"]) ┌ Info: Weaving chunk 1 from line 26 └ progress = 0.0 ┌ Info: Weaving chunk 2 from line 49 └ progress = 0.16666666666666666 ┌ Info: Weaving chunk 3 from line 78 └ progress = 0.3333333333333333 ┌ Info: Weaving chunk 4 from line 90 └ progress = 0.5 ┌ Info: Weaving chunk 5 from line 95 └ progress = 0.6666666666666666 ┌ Info: Weaving chunk 6 from line 102 └ progress = 0.8333333333333334 ┌ Info: Weaved all chunks └ progress = 1 ERROR: IOError: could not spawn `pandoc -f markdown+raw_html -s --mathjax= --toc '--toc-depth= 3' --number-sections --self-contained --template 'C:\Users\bsamu.julia\packages\Weave\f7Ly3\templates\pandoc2html.html' -H 'C:\Users\bsamu.julia\packages\Weave\f7Ly3\stylesheets\pandoc2html_skeleton.css' --self-contained -V 'highlight_stylesheet=