Skip to content

Commit f1f535d

Browse files
committed
add latex requirements to github workflow
1 parent 33fd126 commit f1f535d

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/mkdocs.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,19 @@ jobs:
3838
with:
3939
python-version: 3.x
4040

41-
- name: "Install build dependencies"
41+
- name: "Install APT dependencies"
42+
run: |
43+
wget https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-1-amd64.deb
44+
apt update
45+
apt install -y ./pandoc-3.7.0.2-1-amd64.deb
46+
apt install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
47+
tlmgr init-usertree
48+
tlmgr repository add ftp://tug.org/historic/systems/texlive/2021/tlnet-final
49+
tlmgr repository remove https://mirror.ctan.org/systems/texlive/tlnet
50+
tlmgr option repository ftp://tug.org/historic/systems/texlive/2021/tlnet-final
51+
tlmgr install sourcecodepro
52+
53+
- name: "Install Python dependencies"
4254
run: |
4355
pip install -r requirements.txt
4456

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
mkdocs
22
git+https://github.com/sebix/mkdocs-pandoc-plugin.git@combined
3+
pandoc

0 commit comments

Comments
 (0)