Skip to content

Commit 745372f

Browse files
authored
Initial commit
0 parents  commit 745372f

File tree

78 files changed

+21367
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+21367
-0
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches: main
5+
6+
name: Quarto Publish
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Quarto
18+
uses: quarto-dev/quarto-actions/setup@v2
19+
with:
20+
version: pre-release
21+
tinytex: true
22+
23+
24+
- name: Render and Publish
25+
uses: quarto-dev/quarto-actions/publish@v2
26+
with:
27+
target: gh-pages
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.ipynb_checkpoints
2+
*/.ipynb_checkpoints/*
3+
4+
/.quarto/
5+
/_manuscript
6+
7+
/agujournal2019.cls
8+
/trackchanges.sty
9+
10+
/.luarc.json

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## A Quarto Manuscript Template
2+
3+
This is a template repo for generating a manuscript from Quarto that accompanies the tutorial at: [Quarto Manuscripts: VS Code](https://quarto.org/docs/manuscripts/authoring/vscode.html)
4+
5+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
title: AGU Journals Template
2+
author: Charles Teague
3+
version: 0.1.0
4+
contributes:
5+
formats:
6+
common:
7+
knitr:
8+
opts_chunk:
9+
echo: false
10+
number-sections: true
11+
csl: american-geophysical-union.csl
12+
filters:
13+
- agu.lua
14+
pdf:
15+
documentclass: agujournal2019
16+
classoptions: draft
17+
header-includes: |
18+
\usepackage{url} %this package should fix any errors with URLs in refs.
19+
\usepackage{lineno}
20+
\usepackage[inline]{trackchanges} %for better track changes. finalnew option will compile document with changes incorporated.
21+
\usepackage{soul}
22+
\linenumbers
23+
template-partials:
24+
- "partials/title.tex"
25+
- "partials/_authors.tex"
26+
- "partials/before-body.tex"
27+
- "partials/_affiliations.tex"
28+
- "partials/_corresponding-author.tex"
29+
format-resources:
30+
- agujournal2019.cls
31+
- trackchanges.sty
32+
html:
33+
toc: true
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
if quarto.doc.is_format("pdf") then
4+
return {
5+
{
6+
Div = function(div)
7+
if div.identifier == 'refs' then
8+
div.content:insert(pandoc.RawBlock('latex', '\\vspace{1em}'))
9+
return div
10+
end
11+
end
12+
}
13+
}
14+
end

0 commit comments

Comments
 (0)