From 549c4eee09412e503bf052839a1a920737282651 Mon Sep 17 00:00:00 2001 From: Daniel Rosel Date: Wed, 22 Oct 2025 13:09:37 +0200 Subject: [PATCH] this was worse than expected --- .github/workflows/latex.yml | 9 +++------ paper/Makefile => Makefile | 8 ++++---- paper/src/main.tex | 2 +- 3 files changed, 8 insertions(+), 11 deletions(-) rename paper/Makefile => Makefile (81%) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 1a5665c..f06e61d 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -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 diff --git a/paper/Makefile b/Makefile similarity index 81% rename from paper/Makefile rename to Makefile index f4ddab8..8ae2461 100644 --- a/paper/Makefile +++ b/Makefile @@ -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 diff --git a/paper/src/main.tex b/paper/src/main.tex index 2ec0d6d..8ad64df 100644 --- a/paper/src/main.tex +++ b/paper/src/main.tex @@ -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}