JunoLab / Weave.jl

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

[BUG] Header not being parsed in *.jl examples #418

Open tfitz opened 3 years ago

tfitz commented 3 years ago

description

The header is not being parsed and used in script (.jl) examples when I try to make pdfs (doctype="md2pdf"). Instead, XeTeX just complains that about an emdash, and fails to compile. When looking at the resulting .tex file, the fields of author, date, title are not filled in.

versions

using InteractiveUtils; versioninfo():

Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

using Pkg; Pkg.status():

[717857b8] DSP v0.6.10
[459566f4] DiffEqCallbacks v2.16.1
[0c46a032] DifferentialEquations v6.16.0
[f6369f11] ForwardDiff v0.10.18
[91a5bcdd] Plots v1.11.2
[d330b81b] PyPlot v2.9.0
[44d3d7a6] Weave v0.10.7

minimum reproducible steps

using Weave
weave( "FIR_design.jl", doctype="md2pdf")
bhvieira commented 3 years ago

That also happens when compiling to .html for me, the metadata is printed without formatting

ErickChacon commented 3 years ago

Same for me, the header is not being formatted when compiling to Html.