aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2025-06-10 21:17:35 +0200
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2025-06-10 21:17:35 +0200
commite4948270cfc867e7b7feb86af36ab6c97f133563 (patch)
tree7cd09f32975193e3e66b70d64464a737b2466549 /reproduce/software
parentd49ce5a19f5af5a88f5bff54dd3d44d105a77b5e (diff)
Maneage'd A&A (Astronomy and Astrophysics) journal style
Until this commit, the LaTeX style and settings of the core Maneage branch were 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 A&A journal. Note that EDP Science (the publisher of A&A) has only claimed copyright in their style files, but hasn't actually specified a license. Given that they have no objection to arXiv or Overleaf freely distributing their style files, there is no problem is releasing these files within this branch of Maneage also (only for people who want to use their style to publish in their journal).
Diffstat (limited to 'reproduce/software')
-rw-r--r--reproduce/software/config/texlive-packages.conf31
-rw-r--r--reproduce/software/make/high-level.mk7
2 files changed, 9 insertions, 29 deletions
diff --git a/reproduce/software/config/texlive-packages.conf b/reproduce/software/config/texlive-packages.conf
index e68a771..d25309a 100644
--- a/reproduce/software/config/texlive-packages.conf
+++ b/reproduce/software/config/texlive-packages.conf
@@ -26,32 +26,13 @@
# their versions.
#
# - fancyvrb: needed by R.
-texlive-packages = biber \
- biblatex \
- caption \
- courier \
- csquotes \
- datetime \
- fancyvrb \
- fmtcount \
- fontaxes \
- footmisc \
- fp \
- kastrup \
- logreq \
- mweights \
- newtx \
+texlive-packages = caption \
+ helvetic \
+ lineno \
pgf \
pgfplots \
- preprint \
setspace \
- tex-gyre \
+ sttools \
+ tex \
times \
- titlesec \
- trimspaces \
- txfonts \
- ulem \
- xcolor \
- xkeyval \
- xpatch \
- xstring
+ txfonts
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index 67ca8b6..ecb60de 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -444,6 +444,7 @@ $(ibidir)/cfitsio-$(cfitsio-version):
#
# Note that older versions of CFITSIO (before 4.4.0) require a
# specific 'shared' target for the building of the shared libraries.
+ export CFLAGS="-std=gnu17 $$CFLAGS"
export gbuild_tar=$(ddir)/$$customtar
$(call gbuild, cfitsio-$(cfitsio-version), , \
--enable-sse2 --enable-reentrant \
@@ -1198,8 +1199,8 @@ $(ibidir)/ghostscript-$(ghostscript-version): \
--enable-dynamic \
--disable-compile-inits \
--disable-hidden-visibility \
- CFLAGS="-DPNG_ARM_NEON_OPT=0" \
- LDFLAGS=-Wl,--copy-dt-needed-entries
+ LDFLAGS=-Wl,--copy-dt-needed-entries \
+ CFLAGS="-DPNG_ARM_NEON_OPT=0 -std=gnu17"
# Build and install the program and the shared libraries.
make V=1 -j$(numthreads)
@@ -1229,7 +1230,6 @@ $(ibidir)/gnuastro-$(gnuastro-version): \
$(ibidir)/wcslib-$(wcslib-version) \
$(ibidir)/libjpeg-$(libjpeg-version) \
$(ibidir)/libtiff-$(libtiff-version) \
- $(ibidir)/libgit2-$(libgit2-version) \
$(ibidir)/ghostscript-$(ghostscript-version)
tarball=gnuastro-$(gnuastro-version).tar.lz
$(call import-source, $(gnuastro-url), $(gnuastro-checksum))
@@ -1865,7 +1865,6 @@ $(ibidir)/zip-$(zip-version): $(ibidir)/gzip-$(gzip-version)
# NY on the internet infrastructure).
texlive-url=http://mirrors.rit.edu/CTAN/systems/texlive/tlnet
$(itidir)/texlive-ready-tlmgr: reproduce/software/config/texlive.conf
-
tarball=install-tl-unx.tar.gz
$(call import-source, $(texlive-url), NO-CHECK-SUM)