Open
Description
I have PreFigure running in a codespace and just wanted to outline the steps that would be necessary to add PreFigure into the PreTeXt codespace.
- There are some additional packages to be installed in the docker container:
python3-louis
,npm
,nodejs
,libcairo2-dev
,pkg-config
,librsvg2-bin
- Include
pip install prefig[pycairo]
in the docker container - In the postCreateCommand, include
echo '/usr/lib/python3/dist-packages' > /usr/local/lib/python3.12/site-packages/louis.pth
since python3-louis installs the python modulelouis
in a location that is not in the pythonpath. - Also in the postCreateCommand, include
prefig init
which installs the MathJax libraries and the Braille29 font.
For reference, the prefigure-codespace repository (linked above) contains the Dockerfile used to build the container published on dockerhub and the script postCreateCommand.sh
Metadata
Metadata
Assignees
Labels
No labels