conda-forge / quarto-feedstock

A conda-smithy repository for quarto.
BSD 3-Clause "New" or "Revised" License
4 stars 9 forks source link

Typst integration doesn't work #44

Closed Hofer-Julian closed 2 months ago

Hofer-Julian commented 6 months ago

Solution to issue cannot be found in the documentation.

Issue

The typst integration of the quarto package on conda-forge doesn't work.

This can be reproduced as follows:

On my machine this fails with:

ERROR: Error executing 'C:\checkouts\testing-ground\quarto-typst\.pixi\envs\default\Library\bin\tools\x86_64\t
ypst': The system cannot find the path specified. (os error 3)

Stack trace:
    at execProcess (file:///C:/checkouts/testing-ground/quarto-typst/.pixi/envs/default/Library/bin/quarto.js:
5297:15)
    at quarto (file:///C:/checkouts/testing-ground/quarto-typst/.pixi/envs/default/Library/bin/quarto.js:11495
3:31)
    at file:///C:/checkouts/testing-ground/quarto-typst/.pixi/envs/default/Library/bin/quarto.js:115017:15
    at eventLoopTick (ext:core/01_core.js:183:11)
Hofer-Julian commented 6 months ago

I can reproduce that behavior on Windows as well as on Linux

mfisher87 commented 5 months ago

Thanks for the report, and apologies for the delay responding! Any help would be appreciated, as I might not have time to try stuff for a bit. I think it'd be better to pull in typst as a dependency in the conda recipe and find it in the $PATH. Since Quarto seems to be looking in a specific path there, I wonder if we'll need to patch anything to use the typst conda package.

cderv commented 2 months ago

Hopefully this will solve this