diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2023-09-24 22:20:46 +0200 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2023-09-24 22:20:46 +0200 |
commit | 2db584a6a42c93ab4f99dfc0d05c11e94171b8b4 (patch) | |
tree | 3b744e2094886af9c914f8e3541e8faa1e9b2aab /reproduce/analysis/make/paper.mk | |
parent | 8161194d68665648b93389adb333e741ba230497 (diff) |
Maneage'd AASTeX for American Astronomical Society journals
Until now, the core Maneage branch was very generic and customizing for
each separate journal required some time to prepare the LaTeX style.
With this commit, a first attempt at customization of Maneage for the LaTeX
styles of the AAS journals (AASTeX) has been implemented.
Diffstat (limited to 'reproduce/analysis/make/paper.mk')
-rw-r--r-- | reproduce/analysis/make/paper.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk index 791108b..d770d8c 100644 --- a/reproduce/analysis/make/paper.mk +++ b/reproduce/analysis/make/paper.mk @@ -122,6 +122,15 @@ $(texbdir)/paper.bbl: tex/src/references.tex $(mtexdir)/dependencies-bib.tex \ # will be built anyway once this rule is done. rm -f $@ +# Link the AASTeX LaTex and bibliography style here. + ln -sf $$p/tex/src/aastex631.cls ./ + ln -sf $$p/tex/src/aasjournal.bst ./ + +# Fill the 'references.bib' (in Maneage, the software dependencies +# are in 'tex/build/macros/dependencies-bib.tex' + cat $$p/tex/src/references.tex \ + $$p/tex/build/macros/dependencies-bib.tex > references.bib + # The pdflatex option '-shell-escape' is "normally disallowed for # security reasons" according to the 'info pdflatex' manual, but is # enabled here in order to allow the use of PGFPlots. If you do not @@ -129,8 +138,8 @@ $(texbdir)/paper.bbl: tex/src/references.tex $(mtexdir)/dependencies-bib.tex \ # for better security. See https://savannah.nongnu.org/task/?15694 # for details. pdflatex -shell-escape -halt-on-error "$$p"/paper.tex - biber paper - + bibtex paper + pdflatex -shell-escape -halt-on-error "$$p"/paper.tex fi |