George C. Privon 479db9f098 MDify another URL 7 år sedan
..
README.md 060b043d2a add the subsection on tables, update README 7 år sedan
aastex62_template.tex c91a07aef8 add support for collaboration 7 år sedan
demo.md 479db9f098 MDify another URL 7 år sedan
macros.tex 2fe1ae8502 workaround for user-defined macros in YAML header variables, convert \tt to MD 7 år sedan

README.md

AASTeX Pandoc Template

Generate a tex file with:

pandoc demo.md -s --template aastex62_template.tex -o demo.tex --filter pandoc-citeproc

Go straight to the pdf with:

pandoc demo.md -s --template aastex62_template.tex -o demo.pdf --filter pandoc-citeproc  --pdf-engine=xelatex

The demo.md file is a subset of the contents of the sample62.tex file which is distributed with aastex62.

Usage Notes

  • If you want to include macros in anything contained within the YAML header, those must be put in a separate macro file that is incorporated via \include{} or \input{} above the title. This is demonstrated in demo.md.

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 for an example.

Known Issues

  • Internal docuement references do not work.
  • AASTeX table environments pass through to LaTeX without trouble. But note that these will not translate to other outputs (HTML, epub, etc.). So consider what your desired outputs will be before you put lots of effort into tables.
  • The AAS bibliography format is not part of the Zotero (citation) Style Repository 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.