Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/latex-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,22 @@ jobs:
# with "Font rm-lmr7 at 600 not found".
sudo updmap-sys >/dev/null

# Restore the bibtex symlink skipped by cache-apt-pkgs postinst
if ! command -v bibtex >/dev/null 2>&1; then
if [ -f /usr/bin/bibtex.original ]; then
sudo ln -sf /usr/bin/bibtex.original /usr/bin/bibtex
elif [ -f /usr/bin/bibtexu ]; then
sudo ln -sf /usr/bin/bibtexu /usr/bin/bibtex
fi
fi

# Pre-generate pdflatex format at system level to suppress
# user-mode warning
sudo fmtutil-sys --byfmt pdflatex >/dev/null

pdflatex --version | head -1
# add missing bibtex version check verifying executable exists
bibtex --version | head -1
pandoc --version | head -1
kpsewhich article.cls
kpsewhich amsmath.sty
Expand Down