title: AGU Journals Template
author: Charles Teague
version: 0.1.0
contributes:
  formats:
    common:
      knitr:
        opts_chunk:
          echo: false
      number-sections: true
      csl: american-geophysical-union.csl
      filters:
        - agu.lua
    pdf:
      documentclass: agujournal2019
      classoptions: draft
      header-includes: |
        \usepackage{url} %this package should fix any errors with URLs in refs.
        \usepackage{lineno}
        \usepackage[inline]{trackchanges} %for better track changes. finalnew option will compile document with changes incorporated.
        \usepackage{soul}
        \linenumbers
      template-partials:
        - "partials/title.tex"
        - "partials/_authors.tex"
        - "partials/before-body.tex"
        - "partials/_affiliations.tex"
        - "partials/_corresponding-author.tex"
      format-resources:
        - agujournal2019.cls
        - trackchanges.sty
    html:
      toc: true
