# HG changeset patch # User paugier <pierre.augier@univ-grenoble-alpes.fr> # Date 1610857762 -3600 # Sun Jan 17 05:29:22 2021 +0100 # Node ID 78aebe767d9dcb032d190d681a26316372f32b39 # Parent aa3a6cc5f6ce2bf503a864ff3d0ea05206b6ff70 init reply_Zwart2020 diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -43,4 +43,6 @@ fluidfft_final/Pyfig/fig_build_use.dio fluidfft_final/Pyfig/fig_classes.dio -fluidfft_final/Pyfig/fig_classes.svg \ No newline at end of file +fluidfft_final/Pyfig/fig_classes.svg + +reply_Zwart2020/paper.tex diff --git a/reply_Zwart2020/Makefile b/reply_Zwart2020/Makefile new file mode 100644 --- /dev/null +++ b/reply_Zwart2020/Makefile @@ -0,0 +1,16 @@ +name = paper + +LATEX := pdflatex -shell-escape -synctex=1 +LATEXMK := latexmk -pdf -pdflatex="$(LATEX)" + +$(name).pdf: $(name).tex + $(LATEXMK) $(name).tex + +$(name).tex: $(name).md header.tex pubs.bib + pandoc -V fontsize=12pt --natbib --filter pandoc-include -s $(name).md -o $(name).tex + +clean: cleanpdf + rm -rf tmp + +cleanpdf: + rm -f $(name).pdf diff --git a/reply_Zwart2020/header.tex b/reply_Zwart2020/header.tex new file mode 100644 --- /dev/null +++ b/reply_Zwart2020/header.tex @@ -0,0 +1,48 @@ + +\usepackage[utf8]{inputenc} % encoding file uft8 +\usepackage[T1]{fontenc} % files of fonts +\usepackage{lmodern, textcomp} % accents and symbols +\usepackage{amsmath, amsfonts, amssymb} % mathematical symbols + +% use carlito as default font +% \usepackage[sfdefault,lf]{carlito} + +\usepackage{graphicx} +% \usepackage{titlesec} + +\usepackage[top=25mm,bottom=21mm,left=20mm,right=20mm,a4paper]{geometry} + +\usepackage[table, xcdraw]{xcolor} + +\usepackage{booktabs} + +\usepackage[font=footnotesize]{caption} + +\usepackage{xcolor} + +\definecolor{greyANR}{rgb}{0.8,0.8,0.8} +\definecolor{magentaANR}{rgb}{0.53,0.08,0.5} +\definecolor{darkblueANR}{rgb}{0.04,0.1,0.4} +\definecolor{cyanANR}{rgb}{0.4,0.6,0.88} + +\usepackage{hyperref} + +\hypersetup{ + colorlinks, + linkcolor={red!50!black}, + citecolor={blue!50!black}, + urlcolor={blue!99!black} +} + +\newcommand{\eps}{\varepsilon} + +\renewcommand{\labelitemi}{$\bullet$} + +\setcounter{tocdepth}{3} +\setcounter{secnumdepth}{3} + +% \usepackage{fancyhdr} +% \newcommand{\policeheader}[1]{\textcolor{darkblueANR}{\bfseries\scshape #1}} + +\usepackage{titling} +\setlength{\droptitle}{-10mm} diff --git a/reply_Zwart2020/paper.md b/reply_Zwart2020/paper.md new file mode 100644 --- /dev/null +++ b/reply_Zwart2020/paper.md @@ -0,0 +1,28 @@ +--- +title: "Ecological impact of computing with Python: + education is more important than languages" +bibliography: ./pubs.bib +link-citations: true +lang: en +documentclass: article +numbersections: true +header-includes: + - \include{header} +--- + +<!-- markdownlint-disable MD025 MD033 --> + +\renewcommand{\labelitemi}{$\bullet$} + +<!-- \vspace{-25mm} --> + +# Introduction + +\cite{Zwart2020} ... + +# References + +<div id="refs"> +\footnotesize +\setlength{\parskip}{4pt} +</div> diff --git a/reply_Zwart2020/pubs.bib b/reply_Zwart2020/pubs.bib new file mode 100644 --- /dev/null +++ b/reply_Zwart2020/pubs.bib @@ -0,0 +1,18 @@ +@string{jfm="J. Fluid Mech."} +@string{gfd="Geophys. Fluid Dyn."} +@string{qjmam="Quart. J. Mech. Appl. Math"} +@string{nature="Nature"} +@string{jas="J. Atmos. Sci."} +@string{pof="Physics of Fluids"} +@string{prf="Phys. Rev. Fluids"} + +@article{Zwart2020, + title={The ecological impact of high-performance computing in astrophysics}, + author={Zwart, Simon Portegies}, + journal={Nature Astronomy}, + volume={4}, + number={9}, + pages={819--822}, + year={2020}, + publisher={Nature Publishing Group} +} diff --git a/reply_Zwart2020/requirements.txt b/reply_Zwart2020/requirements.txt new file mode 100644 --- /dev/null +++ b/reply_Zwart2020/requirements.txt @@ -0,0 +1,2 @@ +pandoc-include==0.8.4 +panflute==1.12