diff options
| author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2026-07-03 13:14:41 +0200 |
|---|---|---|
| committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2026-07-03 13:35:41 +0200 |
| commit | a9a04fd61e33b1beb1625e7af526851a53222491 (patch) | |
| tree | 353e2f35bb03710fa96009ac9c00f95a3f7a921b | |
| parent | 36210a6370dee569f32c96dec90e355aa72d1e9b (diff) | |
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.
| -rw-r--r-- | reproduce/analysis/make/initialize.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
