1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-10-16 07:07:26 +00:00

💥 Stuff

This commit is contained in:
Steffo 2021-11-21 06:15:56 +01:00
parent 5c6233f3c8
commit bdec18da29
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 18 additions and 7 deletions

View file

@ -13,6 +13,10 @@ jobs:
steps:
- name: "Checkout repository"
uses: actions/checkout@v2
with:
lfs: true
- name: "Checkout LFS objects"
run: git lfs checkout
- name: "Setup Python"
uses: actions/setup-python@v2
with:

View file

@ -13,6 +13,10 @@ jobs:
steps:
- name: "Checkout repository"
uses: actions/checkout@v2
with:
lfs: true
- name: "Checkout LFS objects"
run: git lfs checkout
- name: "Setup Python"
uses: actions/setup-python@v2
with:
@ -48,6 +52,10 @@ jobs:
run: sudo apt-get update -y
- name: "Checkout repository"
uses: actions/checkout@v2
with:
lfs: true
- name: "Checkout LFS objects"
run: git lfs checkout
- name: "Setup Python"
uses: actions/setup-python@v2
with:
@ -57,7 +65,7 @@ jobs:
with:
poetry-version: 1.1.11
- name: "Install LaTeX packages"
run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-luatex
run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-luatex fonts-ebgaramond fonts-ebgaramond-extra fonts-firacode
- name: "Install backend dependencies"
working-directory: backend/
run: poetry install --no-interaction

View file

@ -142,12 +142,11 @@ latex_elements = {
"papersize": "a4paper",
"pointsize": "12pt",
"sphinxsetup": ", ".join(f"{key}={value}" for key, value in latex_setup.items()),
# TODO: Re-enable this before production
# "fontpkg": r"""
# \setmainfont{EB Garamond}
# \setsansfont{Fira Sans}
# \setmonofont{Fira Code}
# """
"fontpkg": r"""
\setmainfont{EB Garamond}
\setsansfont{EB Garamond}
\setmonofont{Fira Code}
"""
}
# TODOs