Skip to content

Commit

Permalink
Try xelatex
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
  • Loading branch information
mseri committed Sep 7, 2024
1 parent 3e8ecca commit 5332b31
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/generate_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on: [push]

jobs:
create_draft_release:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

outputs:
id: ${{ steps.create_draft_release.outputs.id }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- name: prepare env
run: |
sudo apt update
sudo apt install fonts-opendyslexic fonts-texgyre texlive-bibtex-extra texlive-luatex texlive-latex-recommended texlive-latex-base texlive-latex-extra texlive-fonts-extra texlive-science poppler-utils
sudo apt install fonts-opendyslexic fonts-texgyre texlive-bibtex-extra texlive-luatex texlive-xelatex texlive-latex-recommended texlive-latex-base texlive-latex-extra texlive-fonts-extra texlive-science poppler-utils
sudo rm -rf /usr/share/fonts/woff/opendyslexic
sudo fc-cache
Expand All @@ -52,11 +52,11 @@ jobs:

- name: compile
run: |
lualatex -interaction=nonstopmode hm.tex || true
xelatex -interaction=nonstopmode hm.tex || true
bibtex hm
makeindex hm
lualatex -interaction=nonstopmode hm.tex || true
lualatex -interaction=nonstopmode hm.tex
xelatex -interaction=nonstopmode hm.tex || true
xelatex -interaction=nonstopmode hm.tex
- name: rename tg
run: |
Expand All @@ -76,11 +76,11 @@ jobs:

- name: compile again
run: |
lualatex -interaction=nonstopmode hm.tex || true
xelatex -interaction=nonstopmode hm.tex || true
bibtex hm
makeindex hm
lualatex -interaction=nonstopmode hm.tex || true
lualatex -interaction=nonstopmode hm.tex
xelatex -interaction=nonstopmode hm.tex || true
xelatex -interaction=nonstopmode hm.tex
- name: rename od
run: mv hm.pdf assets/hm-od.pdf
Expand Down

0 comments on commit 5332b31

Please sign in to comment.