generated from quarto-ext/manuscript-template-rstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit e5dcb15
Showing
51 changed files
with
17,957 additions
and
0 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,29 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
|
||
name: Quarto Publish | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
version: pre-release | ||
tinytex: true | ||
|
||
|
||
- 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,13 @@ | ||
.ipynb_checkpoints | ||
*/.ipynb_checkpoints/* | ||
|
||
/.quarto/ | ||
/_manuscript | ||
|
||
/agujournal2019.cls | ||
/trackchanges.sty | ||
.Rproj.user | ||
.Rhistory | ||
.Rdata | ||
.httr-oauth | ||
.DS_Store |
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,4 @@ | ||
## A Quarto Manuscript Template | ||
|
||
This is a template repo for generating a manuscript from Quarto that accompanies the tutorial at: [Quarto Manuscripts: RStudio](https://quarto.org/docs/manuscripts/authoring/rstudio.html) | ||
|
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.