JunoLab / Weave.jl

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

[BUG] tex input unsupported #391

Open dmillard opened 4 years ago

dmillard commented 4 years ago

description

"tex" is not a valid key for doctype. I cannot find a way to take a .tex file with noweb chunks and embed julia. Indirectly, this also breaks the pythontex package ("ERROR: KeyError: key "tex" not found")

versions

using InteractiveUtils; versioninfo():

Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)

using Pkg; Pkg.status():

Status `~/.julia/environments/v1.4/Project.toml`
[c52e3926] Atom v0.12.16
[e5e0dc1b] Juno v0.8.2
[2b0e0bc5] LanguageServer v3.1.1-DEV #master (https://github.com/julia-vscode/LanguageServer.jl.git)
[295af30f] Revise v2.7.3
[44d3d7a6] Weave v0.10.3

minimum reproducible steps

Try to build a .tex file with noweb chunks.

hinneburg commented 4 years ago

I am using pythontex with juliaconsole that in turn is using Weave.jl. This combination of software produces the error shown above. The bug can be avoided by falling back to Weave@0.10.2 until a fix has been published.

mykelk commented 3 years ago

I'm able to reproduce this issue. I also noticed this when using with pythontex.

s-broda commented 2 years ago

I can confirm that this breaks PythonTex, and that pkg"pin Weave@0.10.2" works around it. Any hope for a fix?