From 9cd44022ec42bbed94482b94cb3f41a897ead893 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Sat, 2 Oct 2021 10:29:50 +0200 Subject: [PATCH] Fix generating contribution --- {{cookiecutter.paper_repo_name}}/Makefile | 4 ++-- .../helpers/contribution-declaration.tex.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.paper_repo_name}}/Makefile b/{{cookiecutter.paper_repo_name}}/Makefile index 70d3809..00f7c2e 100644 --- a/{{cookiecutter.paper_repo_name}}/Makefile +++ b/{{cookiecutter.paper_repo_name}}/Makefile @@ -105,13 +105,13 @@ titlepage.pdf: titlepage.tex endif -helpers/$(PAPER_ID)-contribution-declaration.pdf: helpers/$(PAPER_ID)-contribution-declaration.tex +helpers/$(PAPER_ID)-contribution-declaration.pdf: helpers/$(PAPER_ID)-contribution-declaration.tex bibliography.bib (cd helpers && pdflatex $(PAPER_ID)-contribution-declaration.tex) (cd helpers && biber $(PAPER_ID)-contribution-declaration) (cd helpers && pdflatex $(PAPER_ID)-contribution-declaration.tex) helpers/$(PAPER_ID)-contribution-declaration.tex: contributions.yaml helpers/contribution-declaration.tex.tmpl helpers/generate-contribution-declaration.py - (cd helpers && ./generate-contribution-declaration.py) < $< > $@ + (cd helpers && python3 generate-contribution-declaration.py) < $< > $@ clean: diff --git a/{{cookiecutter.paper_repo_name}}/helpers/contribution-declaration.tex.tmpl b/{{cookiecutter.paper_repo_name}}/helpers/contribution-declaration.tex.tmpl index e475086..f9ba112 100644 --- a/{{cookiecutter.paper_repo_name}}/helpers/contribution-declaration.tex.tmpl +++ b/{{cookiecutter.paper_repo_name}}/helpers/contribution-declaration.tex.tmpl @@ -31,7 +31,7 @@ I hereby declare that the contribution to the following paper: \smallskip -\fullcite{this-paper} +\noindent\fullcite{this-paper} \smallskip