-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
9,842 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
name: Render and Publish | ||
|
||
# you need these permissions to publish to GitHub pages | ||
permissions: | ||
contents: write | ||
pages: write | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
# To install LaTeX to build PDF book | ||
tinytex: true | ||
# uncomment below and fill to pin a version | ||
# version: SPECIFIC-QUARTO-VERSION-HERE | ||
|
||
# From https://github.com/actions/setup-python | ||
- name: Setup Python | ||
uses: actions/setup-python@v3 | ||
|
||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.quarto/ | ||
docs | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
if quarto.doc.is_format("pdf") then | ||
return { | ||
{ | ||
Div = function(div) | ||
if div.identifier == 'refs' then | ||
div.content:insert(pandoc.RawBlock('latex', '\\vspace{1em}')) | ||
return div | ||
end | ||
end | ||
} | ||
} | ||
end |
Oops, something went wrong.