JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
821 stars 94 forks source link

Fixed figure numbering in inline code #478

Open william-shere opened 5 months ago

william-shere commented 5 months ago

Figure numbering restarted on every new inline code causing new figures to overwrite old ones.

Fixed by having Report store the current fig number of every chunk, not just the current chunk.