From a9a04fd61e33b1beb1625e7af526851a53222491 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Fri, 3 Jul 2026 13:14:41 +0200 Subject: initialize.mk: make dist bugs in missing files and Makefile fixed Until now, the files to copy into the distribution tarball assumed that the 'aa.cls' and 'aa.bst' are in 'tex/src'. However, in this branch, we have put them in 'tex/src/journal', and there is a third file that is necessray to compile the A&A journal style: 'linenoaa.sty'. Furthermore, the 'printf' commands that created a Makefile in the tarball used '\b' that caused problems by the printf of macOS. Both of these problems have been fixed with this commit: we now copy all the files in the 'journals/' directory and we use 'echo -e' to not need '\b' any more. --- reproduce/analysis/make/initialize.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'reproduce/analysis/make/initialize.mk') diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 836a064..aabe84b 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -301,8 +301,8 @@ $(project-package-contents): paper.pdf | $(texdir) echo "paper.pdf: paper.tex paper.bbl" > $$m printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m echo "paper.bbl: tex/src/references.tex" >> $$m - printf "\tcat tex/src/references.tex \\ \b\n" >> $$m - printf "\t tex/build/macros/dependencies-bib.tex \\ \b\n" >> $$m + echo -e"\tcat tex/src/references.tex \\" >> $$m + echo -e"\t tex/build/macros/dependencies-bib.tex \\" >> $$m printf "\t > references.bib\n" >> $$m printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m printf "\tbibtex paper\n" >> $$m @@ -379,7 +379,7 @@ $(project-package-contents): paper.pdf | $(texdir) # directory as well as the A&A style files. cat tex/src/references.tex \ tex/build/macros/dependencies-bib.tex > $$dir/references.bib - cp tex/src/aa.bst tex/src/aa.cls $$dir/ + cp tex/src/journal/* $$dir/ # Commented because arXiv is now using the latest TeXlive. # tltopdir=.local/texlive/maneage/texmf-dist/tex/latex -- cgit v1.2.1