gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 509bb70 1/2: Added acknowledgements and better


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 509bb70 1/2: Added acknowledgements and better info to --cite output
Date: Sat, 9 Dec 2017 16:44:22 -0500 (EST)

branch: master
commit 509bb70271790de92cba985d93dc2abba5b7f130
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Added acknowledgements and better info to --cite output
    
    The introductory information in the output of `--cite' was slightly updated
    to be more clear and emphasize on the fact that different programs may have
    different papers to cite. Also, a text was added to include in the
    acknowledgements section of works that use Gnuastro.
    
    Finally, the list of people to thank have been updated in the
    "Acknowledgements" section of the book.
---
 doc/gnuastro.texi | 21 ++++++++++++---------
 lib/options.c     | 29 ++++++++++++++++++++++++-----
 2 files changed, 36 insertions(+), 14 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index b1d1bf4..217bf4a 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -1586,15 +1586,18 @@ management of its version controlled source server 
there.
 
 @c To the developers: please keep this in the same order as the THANKS file
 @c (alphabetical, except for the names in the paragraph above).
-We would also like to gratefully thank (in alphabetical order by family
-name) Marjan Akbari, Roland Bacon, Nicolas Bouch@'e, Fernando Buitrago,
-Adrian Bunk, Rosa Calvi, Antonio Diaz Diaz, Stephen Hamer, Ra@'ul Infante
-Sainz, Aur@'elien Jarno, Lee Kelvin, Mohammad-Reza Khellat, Alan Lefor,
-Guillaume Mahler, Francesco Montanari, William Pence, Yahya Sefidbakht, Ole
-Streicher, Ignacio Trujillo, David Valls-Gabaud and Christopher Willmer for
-their useful and constructive comments and suggestions. Finally we should
-thank all the (sometimes anonymous) people in various online forums which
-patiently answered all our small (but important) technical questions.
+We would like to gratefully thank (in alphabetical order by family name)
+Marjan Akbari, Karl Berry, Roland Bacon, Leindert Boogaard, Nicolas Bouché,
+Fernando Buitrago, Adrian Bunk, Rosa Calvi, Benjamin Clement, Antonio Diaz
+Diaz, Madusha Gunawardhana, Stephen Hamer, Takashi Ichikawa, Raúl Infante
+Sainz, Brandon Invergo, Aurélien Jarno, Lee Kelvin, Mohammad-Reza Khellat,
+Floriane Leclercq, Alan Lefor, Guillaume Mahler, Francesco Montanari,
+William Pence, Yahya Sefidbakht, Alejandro Serrano, Borlaff Lee Spitler,
+Richard Stallman, Ole Streicher, Ignacio Trujillo, David Valls-Gabaud and
+Christopher Willmer for their useful and constructive comments and
+suggestions. Finally we should thank all the (sometimes anonymous) people
+in various online forums which patiently answered all our small (but
+important) technical questions.
 
 All work on Gnuastro has been voluntary, but the authors are most grateful
 to the following institutions (in chronological order) for hosting us in
diff --git a/lib/options.c b/lib/options.c
index 01dd1c0..bff7c28 100644
--- a/lib/options.c
+++ b/lib/options.c
@@ -221,6 +221,7 @@ gal_options_print_citation(struct argp_option *option, char 
*arg,
                            char *filename, size_t lineno, void *pa)
 {
   struct gal_options_common_params *cp=(struct gal_options_common_params *)pa;
+  char *gnuastro_acknowledgement;
   char *gnuastro_bibtex=
     "Gnuastro package/infrastructure\n"
     "-------------------------------\n"
@@ -249,17 +250,35 @@ gal_options_print_citation(struct argp_option *option, 
char *arg,
   /* Print the statements. */
   printf("\nThank you for using %s (%s) %s.\n\n", cp->program_name,
          PACKAGE_NAME, PACKAGE_VERSION);
-  printf("Citations are vital for the continued work on Gnuastro.\n\n"
-         "Please cite these BibTeX record(s) in your paper(s).\n"
-         "(don't forget to also include the version as shown above)\n\n"
-         "%s\n\n",
-         gnuastro_bibtex);
+  printf("Citations and acknowledgement are vital for the continued "
+         "work on Gnuastro.\n\n"
+         "Please cite the following record(s) and add the acknowledgement "
+         "statement below in your work to support us. Please note that "
+         "different Gnuastro programs may have different corresponding "
+         "papers. Hence, please check all the programs you used. Don't "
+         "forget to also include the version as shown above for "
+         "reproducibility.\n\n"
+         "%s\n\n", gnuastro_bibtex);
 
 
   /* Only print the citation for the program if one exists. */
   if(cp->program_bibtex[0]!='\0') printf("%s\n\n", cp->program_bibtex);
 
 
+  /* Notice for acknowledgements. */
+  asprintf(&gnuastro_acknowledgement,
+           "Acknowledgement\n"
+           "---------------\n"
+           "This work was partly done using GNU Astronomy Utilities "
+           "(Gnuastro) version %s. Gnuastro is a generic package for "
+           "astronomical data manipulation and analysis which was "
+           "primarily created and developed for research funded by the "
+           "Monbukagakusho (Japanese government) scholarship and ERC "
+           "advanced grant 339659-MUSICOS.", PACKAGE_VERSION);
+  printf("%s\n", gnuastro_acknowledgement);
+  free(gnuastro_acknowledgement);
+
+
   /* Print a thank you message. */
   printf("                                               ,\n"
          "                                              {|'--.\n"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]