let-def / texpresso

TeXpresso: live rendering and error reporting for LaTeX
MIT License
373 stars 18 forks source link

Error when opening texpresso in WSL #68

Closed sambaPython24 closed 1 month ago

sambaPython24 commented 1 month ago

I installed texpresso in WSL.

But when starting build/texpresso test/simple.tex, I get the result

[info] working directory: /<mypath>/texpresso/texpresso
[info] executable path: /<mypath>/texpresso/texpresso/build/texpresso
[info] document path: /<mypath>/texpresso/texpresso/test
[info] document name: simple.tex
texpresso logo: 512x512
[info] tectonic path: texpresso-tonic
[dvi] loading pdftex.map
bundle_serve_hooks_cat: cannot read answer
[dvi] loading kanjix.map

Any idea how to get around that error? Usually also programs requiring a GUI open without a problem. (The Visual Studio Code extension via the WSL is also not working but not throwing an error.)

let-def commented 1 month ago

It seems the problem has to do with tectonic. Try compiling the sample document by running:

build/texpresso-tonic test/simple.tex

The output should look like:

Running TeX ...
note: downloading SHA256SUM
note: downloading size12.clo
note: downloading lmroman8-regular.otf
Rerunning TeX because "simple.aux" changed ...
Running xdvipdfmx ...
note: downloading cmr12.pfb
Writing `test/simple.pdf` (17.45 KiB)
Skipped writing 1 intermediate files (use --keep-intermediates to keep them)