astrofrog / acknowledgment-generator

Easily generate acknowledgment sections for papers
http://astrofrog.github.io/acknowledgment-generator/
40 stars 47 forks source link

Newlines/dots #60

Open minzastro opened 7 years ago

minzastro commented 7 years ago

At the moment items "Acknowledgement" are not separated at all, a period should be added to the end of each item. "Bibtex" section became a flow of text, not very readable if I copy it to a bib file. Is there a way to preserve formatting from yaml file?

astrofrog commented 7 years ago

@minzastro - could you clarify what you mean by not having any periods? Here's an example of generated text:

Some/all of the data presented in this paper were obtained from the Mikulski Archive for Space Telescopes (MAST). STScI is operated by the Association of Universities for Research in Astronomy, Inc., under NASA contract NAS5-26555. Support for MAST for non-HST data is provided by the NASA Office of Space Science via grant NNX13AC07G and by other grants and contracts. This research has made use of the VizieR catalogue access tool, CDS, Strasbourg, France. This research has made use of the Minor Planet & Comet Ephemeris Service (IAU Minor Planet Center) The acknowledgements were compiled using the Astronomy Acknowledgement Generator.

The formatting is deliberately one paragraph, since that is what is normally used in papers.

minzastro commented 7 years ago

It seems that in many cases text field ends with a citation, and in that case there is no period at the end. Example - codes/topcat. So seemingly there is a need to add all this missing periods there.

onekiloparsec commented 7 years ago

Upon text insertion, it's easy to check if last character is a dot. If not, add it. JS code is now a lot easier to read and play with...