From 1f000f25089a5531ee7b06fa24bfa2746a697719 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 10 Jun 2024 12:58:37 +0200 Subject: [PATCH] remove make and add latexmkrc for building Signed-off-by: Toshaan Bharvani --- .github/workflows/master.yml | 6 ++---- .latexmkrc | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .latexmkrc diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 58653f6..b5e06b3 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -11,10 +11,8 @@ jobs: uses: actions/checkout@v4 - name: Compile LaTeX document uses: xu-cheng/latex-action@v3 - #with: - # root_file: sponsordoc.tex - - name: Build LaTeX document - run: make + with: + root_file: sponsordoc.tex - name: Upload PDF file uses: actions/upload-artifact@v4 with: diff --git a/.latexmkrc b/.latexmkrc new file mode 100644 index 0000000..a49dcf8 --- /dev/null +++ b/.latexmkrc @@ -0,0 +1,7 @@ +#!.latexmkrc + +$pdflatex = "pdflatex -interaction=batchmode -file-line-error -no-shell-escape -synctex=-1 "; +$pdf_mode = 1; + +%GI2TM_OPTIONS=(RELEASE_MATCHER=>"v[0-9]*.*"); +do './gitinfo2.pm';