-
Notifications
You must be signed in to change notification settings - Fork 142
32 lines (31 loc) · 1.16 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build the book
on: workflow_dispatch
jobs:
build-book:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pandoc v2 (fignos requirement)
uses: pandoc/actions/setup@v1
with:
version: 2.19.2
- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pandoc-fignos
run: pip install pandoc-fignos
- name: Assemble latex files
run: |
git submodule update --init --recursive
./build-book.sh
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
packages: >
scheme-basic latexmk collection-xetex etoolbox euenc filehook fontspec makecmds polyglossia tipa xkeyval xunicode mktexlsr updmap-sys metalogo xltxtra sectsty ulem biblatex logreq csquotes tocloft biber hyphenat nowidow microtype titling emptypage float caption enumitem babel babel-greek bookmark dvipdfmx firstaid greek-fontenc hyperref
- name: Use TeX Live
run: |
cd book
latexmk -f -xelatex -silent book.tex