this was worse than expected

This commit is contained in:
2025-10-22 13:09:37 +02:00
parent b1be44519b
commit 549c4eee09
3 changed files with 8 additions and 11 deletions

View File

@@ -6,19 +6,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: paper
steps:
- uses: actions/checkout@v4
- uses: xu-cheng/texlive-action@v2
with:
scheme: small
run: |
tlmgr install biber biblatex csquotes geometry microtype hyperref cleveref siunitx booktabs graphics caption latexmk
cd paper && make pdf
tlmgr install biber biblatex csquotes geometry microtype hyperref cleveref siunitx booktabs graphics caption latexmk subcaption
make pdf
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: thesis-pdf
path: build/main.pdf
path: paper/build/main.pdf

View File

@@ -1,14 +1,14 @@
LATEXMK := latexmk
SRCDIR := src
SRCDIR := paper/src
BUILDDIR := build
TEX := main.tex
JOBNAME := main
PDF := $(BUILDDIR)/$(JOBNAME).pdf
PDF := paper/$(BUILDDIR)/$(JOBNAME).pdf
all: pdf
$(BUILDDIR):
mkdir -p $(BUILDDIR)
mkdir -p paper/$(BUILDDIR)
pdf: $(BUILDDIR)
@cd $(SRCDIR) && \
@@ -26,7 +26,7 @@ watch: $(BUILDDIR)
clean:
@cd $(SRCDIR) && \
$(LATEXMK) -C -jobname=$(JOBNAME) -outdir=../$(BUILDDIR) || true
rm -rf $(BUILDDIR)/*
rm -rf paper/$(BUILDDIR)/*
.PHONY: all pdf clean watch

View File

@@ -1,5 +1,5 @@
% -*- TeX-master: t -*-
\documentclass[sigconf,nonacm]{acmart}
\documentclass[sigconf,nonacm,natbib=false]{acmart}
% Remove ACM copyright/conference info for thesis
\settopmatter{printacmref=false}