initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
/.quarto/
|
||||
**/*.quarto_ipynb
|
||||
@@ -0,0 +1,62 @@
|
||||
# Supplements/Taskfile.yml
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
PROJECT_NAME: Supplements
|
||||
PYTHON: '{{if eq OS "windows"}}python{{else}}python3{{end}}'
|
||||
UTILS: "../resources/scripts/task_utils.py"
|
||||
|
||||
tasks:
|
||||
default:
|
||||
desc: "List available tasks"
|
||||
cmd: task --list
|
||||
|
||||
render:
|
||||
desc: "Render with the default (non-anonymized) profile, all formats"
|
||||
cmd: quarto render --profile=default --output-dir _output/default
|
||||
|
||||
render:anonymized:
|
||||
desc: "Render with the anonymized profile, all formats"
|
||||
cmd: quarto render --profile=anonymized --output-dir _output/anonymized
|
||||
|
||||
render:html:
|
||||
desc: "Render to HTML only (default profile)"
|
||||
cmd: quarto render --profile=default --to html --output-dir _output/default
|
||||
|
||||
render:docx:
|
||||
desc: "Render to docx only (default profile)"
|
||||
cmd: quarto render --profile=default --to docx --output-dir _output/default
|
||||
|
||||
render:pdf:
|
||||
desc: "Render to PDF only (default profile) - requires pdf format configured in _quarto.yml"
|
||||
cmd: quarto render --profile=default --to pdf --output-dir _output/default
|
||||
|
||||
package:
|
||||
desc: "Zip the default-profile rendered output into Supplements-default.zip"
|
||||
deps: [render]
|
||||
cmd: "{{.PYTHON}} {{.UTILS}} zip _output/default {{.PROJECT_NAME}}-default.zip"
|
||||
sources:
|
||||
- _output/default/**/*
|
||||
generates:
|
||||
- "{{.PROJECT_NAME}}-default.zip"
|
||||
|
||||
package:anonymized:
|
||||
desc: "Zip the anonymized-profile rendered output into Supplements-anonymized.zip"
|
||||
deps: [render:anonymized]
|
||||
cmd: "{{.PYTHON}} {{.UTILS}} zip _output/anonymized {{.PROJECT_NAME}}-anonymized.zip"
|
||||
sources:
|
||||
- _output/anonymized/**/*
|
||||
generates:
|
||||
- "{{.PROJECT_NAME}}-anonymized.zip"
|
||||
|
||||
package:data:
|
||||
desc: "Zip the data/ folder into data.zip (skips with a warning if data/ doesn't exist)"
|
||||
cmd: "{{.PYTHON}} {{.UTILS}} zip-if-exists data data.zip"
|
||||
sources:
|
||||
- data/**/*
|
||||
generates:
|
||||
- data.zip
|
||||
|
||||
clean:
|
||||
desc: "Remove _output, .quarto, and stray *_files/*_cache folders"
|
||||
cmd: "{{.PYTHON}} {{.UTILS}} clean-project ."
|
||||
@@ -0,0 +1,5 @@
|
||||
project:
|
||||
output-dir: _output/anonymized
|
||||
|
||||
metadata-files:
|
||||
- ../resources/author_profiles/_quarto-anonymized.yml
|
||||
@@ -0,0 +1,5 @@
|
||||
project:
|
||||
output-dir: _output/default
|
||||
|
||||
metadata-files:
|
||||
- ../resources/author_profiles/_quarto-default.yml
|
||||
@@ -0,0 +1,22 @@
|
||||
project:
|
||||
type: manuscript
|
||||
output-dir: _output
|
||||
|
||||
manuscript:
|
||||
article: index.qmd
|
||||
|
||||
format:
|
||||
html:
|
||||
comments:
|
||||
hypothesis: true
|
||||
docx: default
|
||||
jats: default
|
||||
|
||||
# (other formats)
|
||||
# pdf: default
|
||||
|
||||
execute:
|
||||
freeze: true
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Put your figures in this folder.
|
||||
@@ -0,0 +1 @@
|
||||
Put your figures in this folder.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Supplementary Materials
|
||||
authors:
|
||||
- name: Norah Jones
|
||||
affiliation: The University
|
||||
roles: writing
|
||||
corresponding: true
|
||||
bibliography: references.bib
|
||||
---
|
||||
|
||||
## Section
|
||||
This is a simple placeholder for the manuscript's main document [@knuth84].
|
||||
@@ -0,0 +1,19 @@
|
||||
@article{knuth84,
|
||||
author = {Knuth, Donald E.},
|
||||
title = {Literate Programming},
|
||||
year = {1984},
|
||||
issue_date = {May 1984},
|
||||
publisher = {Oxford University Press, Inc.},
|
||||
address = {USA},
|
||||
volume = {27},
|
||||
number = {2},
|
||||
issn = {0010-4620},
|
||||
url = {https://doi.org/10.1093/comjnl/27.2.97},
|
||||
doi = {10.1093/comjnl/27.2.97},
|
||||
journal = {Comput. J.},
|
||||
month = may,
|
||||
pages = {97–111},
|
||||
numpages = {15}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user