diff --git a/README.md b/README.md index 670a143..3ab910c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ There are currently a few differences between the PDFs generated by this templat 1. The fonts and spacings are not a perfect match. PRs to fix this are more than welcome. 2. References and links are not currently hyperlinked. PRs to fix this also more than welcome. 3. ORCiD IDs will be rendered as clickable logos next to author names. This is an intentional change. -4. Emails will be displayed as hyperlinks, and not in monospaced font. This is also intentional. +4. Emails will be displayed as hyperlinks, and not in monospaced font. This is intentional. +5. Authors with multiple affiliations will have each affiliation listed. This is intentional. Any other differences are unintentional bugs -- please open an issue about anything you encounter! diff --git a/_extensions/arxiv/_extension.yml b/_extensions/arxiv/_extension.yml index 7a80c2d..4318fdf 100644 --- a/_extensions/arxiv/_extension.yml +++ b/_extensions/arxiv/_extension.yml @@ -1,6 +1,6 @@ title: ArXiv Template author: Mike Mahoney -version: 0.2.1 +version: 0.2.3 contributes: formats: common: diff --git a/_extensions/arxiv/partials/_authors.tex b/_extensions/arxiv/partials/_authors.tex index 58e2381..60feb81 100644 --- a/_extensions/arxiv/partials/_authors.tex +++ b/_extensions/arxiv/partials/_authors.tex @@ -6,4 +6,4 @@ $-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it. $-- Here we are using it to format the authors part of the template. $-- %%%%%%%%%%%%%%% -\textbf{$it.name.literal$}$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations/first)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$ +\textbf{$it.name.literal$}$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$