Spaces:
Sleeping
Sleeping
Push Bot
Switch to XeLaTeX: apt-install TeX Live (xelatex/luatex/latexmk + extras); remove Tectonic install in postBuild
41973f9 Download postBuild from Q-bert/Paper2Poster: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/Q-bert/Paper2Poster/resolve/main/postBuild
- Command line
-
hf download hf://spaces/Q-bert/Paper2Poster/postBuild
-
curl -L -o postBuild https://huggingface.co/spaces/Q-bert/Paper2Poster/resolve/main/postBuild
388 Bytes
| set -euo pipefail | |
| echo "[postBuild] Installing system fonts (Raleway, Lato) for fontspec" | |
| if command -v apt-get >/dev/null 2>&1; then | |
| apt-get update && apt-get install -y fonts-raleway fonts-lato fonts-dejavu-core fonts-dejavu-extra || true | |
| fc-cache -f -v || true | |
| else | |
| echo "[postBuild] apt-get not available; skipping font install" | |
| fi | |
| echo "[postBuild] Done" | |