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:
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user