Skip to content

Commit daf87d0

Browse files
committed
further fixes for asymptote
1 parent c368e2d commit daf87d0

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change
1313

1414
### Fixed
1515

16-
- Asymptote should work now, since installing libglut3.12 via apt
16+
- Asymptote should work now, since installing ghostscript and libglut3.12 via apt and dvisvgm with tlmgr.
1717

1818
## [1.7] - 2026-01-09
1919

base/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ RUN apt-get update \
3333
python3-louis \
3434
python3-cairo \
3535
libcairo2-dev \
36+
libglut3.12 \
3637
librsvg2-bin \
3738
libssl-dev \
39+
ghostscript \
3840
gcc \
3941
build-essential \
4042
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
4143
&& apt-get install -y --no-install-recommends nodejs \
4244
&& node -v \
4345
&& pip install pip --upgrade --no-cache-dir \
4446
&& pip install pretext[all] codechat-server --prefer-binary --no-cache-dir \
45-
&& apt-get install -y --no-install-recommends libnspr4 libnss3 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxkbcommon0 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 libglut3.12 \
47+
&& apt-get install -y --no-install-recommends libnspr4 libnss3 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxkbcommon0 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 \
4648
&& playwright install chromium \
4749
&& echo '/usr/lib/python3/dist-packages' > /usr/local/lib/python3.13/dist-packages/louis.pth \
4850
&& echo '/usr/lib/python3/dist-packages' > /opt/venv/lib/python3.13/site-packages/louis.pth \
@@ -80,7 +82,7 @@ RUN wget -O TinyTex.sh "https://yihui.org/tinytex/install-bin-unix.sh" \
8082
#TinyTeX installs links to the executable in /root/bin, so we need to add that to the PATH
8183
ENV PATH="/root/bin:$PATH"
8284

83-
RUN tlmgr install adjustbox amscdx appendix asymptote bold-extra braket bussproofs cancel carlisle cases chessfss circuitikz colortbl comment eepic elsarticle enumitem extpfeil fancyhdr fontawesome5 fontaxes gensymb hobby imakeidx jknapltx kastrup lambda-lists libertinus-fonts listings listingsutf8 makeindex marginnote marvosym mathalpha mathtools menukeys mhchem microtype multirow musicography musixtex-fonts ncctools newpx newtx nicematrix overpic parskip pdfcol pdfpages pdflscape pgfplots phaistos physics pict2e polyglossia polynom pstricks realscripts relsize siunitx setspace skak skaknew smartdiagram snapshot stackengine stmaryrd sttools tcolorbox threeparttable tikz-3dplot tikz-cd tikzfill titlesec tkz-euclide txfonts ulem upquote was wrapfig xfrac xltxtra xpatch xstring \
85+
RUN tlmgr install adjustbox amscdx appendix asymptote bold-extra braket bussproofs cancel carlisle cases chessfss circuitikz colortbl comment dvisvgm eepic elsarticle enumitem extpfeil fancyhdr fontawesome5 fontaxes gensymb hobby imakeidx jknapltx kastrup lambda-lists libertinus-fonts listings listingsutf8 makeindex marginnote marvosym mathalpha mathtools menukeys mhchem microtype multirow musicography musixtex-fonts ncctools newpx newtx nicematrix overpic parskip pdfcol pdfpages pdflscape pgfplots phaistos physics pict2e polyglossia polynom pstricks realscripts relsize siunitx setspace skak skaknew smartdiagram snapshot stackengine stmaryrd sttools tcolorbox threeparttable tikz-3dplot tikz-cd tikzfill titlesec tkz-euclide txfonts ulem upquote was wrapfig xfrac xltxtra xpatch xstring \
8486
&& tlmgr path add
8587

8688
# Ensure fonts provided by TinyTeX are available, as suggested in the pretext guide

0 commit comments

Comments
 (0)