Browse Source

add support for collaboration

George C. Privon 7 years ago
parent
commit
c91a07aef8
3 changed files with 15 additions and 1 deletions
  1. 4 1
      aastex62/README.md
  2. 8 0
      aastex62/aastex62_template.tex
  3. 3 0
      aastex62/demo.md

+ 4 - 1
aastex62/README.md

@@ -18,8 +18,11 @@ The `demo.md` file is a subset of the contents of the `sample62.tex` file which
 
 * If you want to include macros in anything in the article title, those must be put in a separate macro file that is incorporated via `\include{}` or `\input{}` *above* the title. An example of this is provided here.
 
+### Collaborations
+
+* For collaborations, authors will be grouped until there is a `collaboration: ` entry in the YAML header. If a co-author that is not part of a listed collaboration is listed before co-authors that are part of collaborations, put `nocollaboration: 1` in the YAML header to signify as such and avoid them being grouped with the later batch. See [demo.md](demo.md) for an example.
+
 ## Known Issues
 
-* No support for `\collaboration{}`
 * Tables of any sort are fully un-tested
 * The AAS bibliography format is not part of the [Zotero (citation) Style Repository](https://www.zotero.org/styles) so `pandoc-citeproc` does not have access to the correct citation style. Dealing with this is beyond the scope of this particular repository, but hopefully that spec will eventually be translated into [Citation style language](https://citationstyles.org/).

+ 8 - 0
aastex62/aastex62_template.tex

@@ -49,6 +49,14 @@ $for(author)$
             \affiliation{$author.affiliation$}
         $endfor$
     $endif$
+    $if(author.collaboration)$
+        $for(author.collaboration)$
+            \collaboration{$author.collaboration$}
+        $endfor$
+    $endif$
+    $if(author.nocollaboration)$
+    \nocollaboration
+    $endif$
 $endfor$
 
 $if(keywords)$

+ 3 - 0
aastex62/demo.md

@@ -15,10 +15,13 @@ author:
   affiliation: ["American Astronomical Society \\ 2000 Florida Ave., NW, Suite 300 \\ Washington, DC 20009-1231, USA"]
 - name: August Muench
   affiliation: ["American Astronomical Society \\ 2000 Florida Ave., NW, Suite 300 \\ Washington, DC 20009-1231, USA"]
+  collaboration: "(AAS Journals Data Scientists collaboration)"
 - name: Butler Burton
   affiliation: ["National Radio Astronomy Observatory", "AAS Journals Associate Editor-in-Chief"]
+  nocollaboration: 1
 - name: Amy Hendrickson
   affiliation: ["TeXnology Inc."]
+  collaboration: "(LaTeX collaboration)"
 - name: Julie Steffen
   affiliation: ["AAS Director of Publishing", "American Astronomical Society \\ 2000 Florida Ave., NW, Suite 300 \\ Washington, DC 20009-1231, USA"]
 - name: Jeff Lewandowski