Skip to content

Commit

Permalink
LaTeX CD Fix (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindronics authored Sep 15, 2021
1 parent 39aea8a commit b4ba0cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
notebooks/* linguist-generated
notebooks/** linguist-generated
19 changes: 8 additions & 11 deletions .github/workflows/latex_build.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: latex_build

on:
push:
branches:
- master
- dissertation

on: [push]
jobs:
build_latex:

runs-on: ubuntu-latest

defaults:
run:
working-directory: dissertation
steps:
- name: Pull changes
uses: actions/checkout@v1
- name: Install LaTeX dependencies
run: |
cd dissertation
cat latex_dependencies.txt | xargs sudo apt-get install
sudo apt update -y
cat latex_dependencies.txt | xargs sudo apt install -y
which pdflatex
- name: Compile dissertation LaTeX file
run: |
cd dissertation
pdflatex l4proj.tex
bibtex l4proj.aux
pdflatex l4proj.tex && pdflatex l4proj.tex
- name: Upload dissertation artifact
uses: actions/upload-artifact@master
with:
Expand Down
1 change: 1 addition & 0 deletions dissertation/l4proj.cls
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
\fi

\usepackage[libertine,bigdelims,vvarbb]{newtxmath} % bb from STIX
\let\Bbbk\relax
\usepackage[cal=boondoxo]{mathalfa} % mathcal

\usepackage{microtype} % improve typography
Expand Down
2 changes: 1 addition & 1 deletion dissertation/latex_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ texlive-binaries
texlive-fonts-extra
texlive-fonts-extra-links
texlive-fonts-recommended
texlive-generic-extra
texlive-plain-generic
texlive-lang-greek
texlive-latex-base
texlive-latex-extra
Expand Down

0 comments on commit b4ba0cc

Please sign in to comment.