Weave.jl icon indicating copy to clipboard operation
Weave.jl copied to clipboard

[BUG] tex input unsupported

Open dmillard opened this issue 5 years ago • 3 comments

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.

dmillard avatar Aug 28 '20 19:08 dmillard

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 [email protected] until a fix has been published.

hinneburg avatar Sep 08 '20 11:09 hinneburg

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

mykelk avatar Sep 27 '20 22:09 mykelk

I can confirm that this breaks PythonTex, and that pkg"pin [email protected]" works around it. Any hope for a fix?

s-broda avatar Feb 10 '22 16:02 s-broda