JunoLab / Weave.jl

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

[BUG] no method matching get_highlight_theme(::String) #417

Open avonmoll opened 3 years ago

avonmoll commented 3 years ago

description

Setting highlight_theme via YAML header doesn't seem to work.

versions

using InteractiveUtils; versioninfo():

Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)

using Pkg; Pkg.status():

Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)  [f6369f11] ForwardDiff v0.10.16
[28b8d3ca] GR v0.55.0
[a75be94c] GalacticOptim v1.0.0
[83f21c0b] Jacobi v0.5.1
[4076af6c] JuMP v0.21.6
[b964fa9f] LaTeXStrings v1.2.1
[76087f3c] NLopt v0.6.2
[429524aa] Optim v1.2.4
[1dea7af3] OrdinaryDiffEq v5.52.0
[91a5bcdd] Plots v1.10.6
[f27b6e38] Polynomials v2.0.0
[44d3d7a6] Weave v0.10.7

minimum reproducible steps

---
title: A Title
author: me
weave_options:
  out_path: build
  highlight_theme: Weave.Highlights.Themes.MonokaiTheme
---

Test

```julia
println("Test")

I also tried putting j Weave.Highlights.Themes.MonokaiTheme in backticks, which gave the same error.