mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
this was worse than expected
This commit is contained in:
9
.github/workflows/latex.yml
vendored
9
.github/workflows/latex.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user