Skip to content

Commit e41e480

Browse files
committed
insert list of contributors
* add flag for corresponding author * fix template * insert generated list of contributors into text
1 parent dd7bd3a commit e41e480

File tree

5 files changed

+13
-64
lines changed

5 files changed

+13
-64
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ clean:
77
paper.pdf: paper.tex positionpaper.bib contributors.tex plos.bib
88
latexmk -pdflatex paper.tex
99

10-
contributors.tex: contributors.yml contributors.tex.j2
11-
python3 contributors.py $< -t contributors.tex.j2 -o $@
10+
contributors.tex: contributors.yml contributors_plos.tex.j2
11+
python3 contributors.py $< -t contributors_plos.tex.j2 -o $@
1212

1313
# this step is to convert the input files to proper biblatex files
1414
# so we can turn them into bibtex files later on

contributors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def main():
3131
for author in data["authors"]:
3232
if 'affiliations' in author:
3333
affiliations.extend(author["affiliations"])
34+
if 'corresponding_author' in author and author['corresponding_author']:
35+
data['corresponding_author'] = author['email']
3436
# make sure affiliations are not duplicated - here by checking
3537
# for exact name string
3638
affiliations = list({aff['name']: aff for aff in affiliations}.values())

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ authors:
8888
firstName: Dominic
8989
lastName: Kempf
9090
initials: DK
91+
corresponding_author: true
9192
affiliations:
9293
- name: Scientific Software Center, Heidelberg University, Germany
9394
ror: https://ror.org/038t36y30

contributors_plos.tex.j2

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@
66
% Note: the zero-width character <200b> is in here on purpose (to not mess up authors without
77
% affiliation)
88
{%- for author in data.authors %}
9-
{{ author.author }}​{% if author.affiliations %}\textsuperscript{ {{ author.affiliations|join(", ") }} }{% endif %}
9+
{{ author.author }}​{% if author.affiliations %}\textsuperscript{{ "{" }}{{ author.affiliations|join(",") }}{% if author.corresponding_author is defined and author.corresponding_author %}*{% endif %}{{ "}" }}{% endif %}
1010
{%- endfor %}
1111
\\
1212
\bigskip
1313
{%- for index, affiliation in data.affiliations.items() %}
14-
\textbf{ {{ index }} } {{ affiliation.name }}
14+
\textbf{{ "{" }}{{ index }}{{ "}" }} {{ affiliation.name }}
1515
\\
1616
{%- endfor %}
1717
\bigskip
18+
{% if data.corresponding_author is defined %}
19+
20+
* {{ data.corresponding_author }}
21+
{% endif %}
22+

paper.tex

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -132,66 +132,7 @@
132132
\newline
133133
% Insert author names, affiliations and corresponding author email (do not include titles, positions, or degrees).
134134
\\
135-
Dominic Kempf​\textsuperscript{ 1* }
136-
Frank Löffler​\textsuperscript{ 2, 3 }
137-
René Caspart​\textsuperscript{ 4 }
138-
Bernd Flemisch​\textsuperscript{ 5 }
139-
Florian Goth​\textsuperscript{ 6 }
140-
Jan Linxweiler​\textsuperscript{ 7, 3 }
141-
Philipp Matthias Schäfer​\textsuperscript{ 2 }
142-
Robert Speck​\textsuperscript{ 8 }
143-
Alexander Struck​\textsuperscript{ 9 }
144-
Markus J. Ankenbrand​\textsuperscript{ 10 }
145-
Leyla Jael Castro​\textsuperscript{ 11 }
146-
Iris Ehlert​\textsuperscript{ 12 }
147-
Jean-Noël Grad​\textsuperscript{ 13 }
148-
Magnus Hagdorn​\textsuperscript{ 14 }
149-
Axel Loewe​\textsuperscript{ 15 }
150-
Michael Schlottke-Lakemper​\textsuperscript{ 16 }
151-
Uwe Schmitt​\textsuperscript{ 17 }
152-
Philipp S. Sommer​\textsuperscript{ 18 }
153-
\\
154-
\bigskip
155-
\textbf{ 1 } Scientific Software Center, Heidelberg University, Germany
156-
\\
157-
\textbf{ 2 } Competence Center Digital Research, Friedrich Schiller University Jena, Germany
158-
\\
159-
\textbf{ 3 } de-RSE e.V.---Society for Research Software in Germany
160-
\\
161-
\textbf{ 4 } Scientific Computing Center, Karlsruhe Institute of Technology, Germany
162-
\\
163-
\textbf{ 5 } Institute for Modelling Hydraulic and Environmental Systems, University of Stuttgart, Germany
164-
\\
165-
\textbf{ 6 } Institute for Theoretical Physics and Astrophysics, University of Würzburg, Germany
166-
\\
167-
\textbf{ 7 } University Library, Technische Universität Braunschweig, Germany
168-
\\
169-
\textbf{ 8 } Jülich Supercomputing Centre, Forschungszentrum Jülich GmbH, Germany
170-
\\
171-
\textbf{ 9 } Cluster of Excellence Matters of Activity. Image Space Material at Humboldt-Universität zu Berlin, Germany
172-
\\
173-
\textbf{ 10 } Center for Computational and Theoretical Biology, University of Würzburg, Germany
174-
\\
175-
\textbf{ 11 } Semantic Technologies team, ZB MED Information Centre for Life Sciences, Germany
176-
\\
177-
\textbf{ 12 } German Climate Computing Center (DKRZ), Germany
178-
\\
179-
\textbf{ 13 } Institute for Computational Physics, University of Stuttgart, Germany
180-
\\
181-
\textbf{ 14 } Geschäftsbereich IT, Charité Universitätsmedizin Berlin, Germany
182-
\\
183-
\textbf{ 15 } Institute of Biomedical Engineering, Karlsruhe Institute of Technology, Germany
184-
\\
185-
\textbf{ 16 } Centre for Advanced Analytics and Predictive Sciences, University of Augsburg, Germany
186-
\\
187-
\textbf{ 17 } Scientific IT Services, ETH Zurich, Switzerland
188-
\\
189-
\textbf{ 18 } Institute of Carbon Cycles, Helmholtz Coastal Data Center, Helmholtz-Zentrum Hereon, Germany
190-
\\
191-
\bigskip
192-
193-
% Use the asterisk to denote corresponding authorship and provide email address in note below.
194-
135+
\input{contributors.tex}
195136

196137
\end{flushleft}
197138
% Please keep the abstract below 300 words

0 commit comments

Comments
 (0)