-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.Rmd
85 lines (62 loc) · 1.93 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
title: "Digital Field Forms"
author: |
|
| Prepared for
|
|
| Prepared by
| Al Irvine, B.Sc., R.P.Bio. and Mateo Winterscheidt, B.Sc.
| New Graph Environment Ltd.
date: |
|
| Version 0.0.2 `r format(Sys.Date(), "%Y-%m-%d")`
toc-title: Table of Contents
site: bookdown::bookdown_site
output:
bookdown::gitbook:
includes:
in_header: header.html
nocite: |
documentclass: book
bibliography: [book.bib, packages.bib, references.bib]
biblio-style: apalike
link-citations: no
github-repo: rstudio/bookdown-demo
description: "My Description."
---
```{r switch-gitbook-html, echo=FALSE}
gitbook_on <- TRUE
# gitbook_on <- FALSE ##we just need turn this on and off to switch between gitbook and pdf via paged.js
```
```{r setup, echo=identical(gitbook_on, TRUE), include = TRUE}
knitr::opts_chunk$set(echo=identical(gitbook_on, TRUE), message=FALSE, warning=FALSE, dpi=60, out.width = "100%")
# knitr::knit_hooks$set(webgl = hook_webgl)
options(scipen=999)
options(knitr.kable.NA = '--') #'--'
options(knitr.kable.NAN = '--')
```
```{r settings-gitbook, eval= gitbook_on}
photo_width <- "100%"
font_set <- 11
```
```{r settings-paged-html, eval= identical(gitbook_on, FALSE)}
photo_width <- "80%"
font_set <- 9
```
```{r}
source('scripts/packages.R')
#source('scripts/functions.R')
```
```{r include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(
.packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')
```
# Acknowledgement {.front-matter .unnumbered}
Modern civilization has a long journey ahead to acknowledge and address the historic and ongoing impacts of colonialism that have resulted in harm to the cultures and livelihoods living interconnected with our ecosystems for many thousands of years.
```{js, logo-header, echo = FALSE, eval= T}
title=document.getElementById('header');
title.innerHTML = '<img src="fig/nge-full_white.png" alt="NewGraph">' + title.innerHTML
```