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

View File

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

View File

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