posterdown_html and gitnore
1. Added dynamic author and affiliation options to YAML in the posterdown_html output.
2. added more to the gitnore file to avoid bloating with unnecessary files
diff --git a/.gitignore b/.gitignore
index eaa4180..3ca391a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,5 @@
.Rproj.user
*skeleton.html
skeleton_files/
+skeleton_cahce/
+rosm.cache/
diff --git a/inst/rmarkdown/templates/posterdown_html/resources/template.html b/inst/rmarkdown/templates/posterdown_html/resources/template.html
index 2a4e309..d9760bc 100644
--- a/inst/rmarkdown/templates/posterdown_html/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_html/resources/template.html
@@ -282,8 +282,8 @@
<!-- Poster Title -->
<div class= "poster_title">
<h1 id="title">$title$</h1>
- <h3 id="author">$for(author)$$author$$sep$, $endfor$</h3>
- <h5 id="affiliation">$affiliation$</h5>
+ <h3 id="author">$for(author)$$author.name$<sup>$author.affil$</sup>$sep$, $endfor$</h3>
+ <h5 id="affiliation">$for(affiliation)$<sup>$affiliation.num$</sup> $affiliation.address$$sep$, $endfor$</h5>
</div>
<!-- Right Logo -->
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2635_2917.png b/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2635_2917.png
deleted file mode 100644
index b5ece5a..0000000
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2635_2917.png
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2636_2917.png b/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2636_2917.png
deleted file mode 100644
index ede4ba1..0000000
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/rosm.cache/osm/13_2636_2917.png
+++ /dev/null
Binary files differ
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
index 8f690bf..1207756 100644
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
@@ -8,9 +8,15 @@
#ESSENTIALS
title: 'Using posterdown to generate reproducible conference posters via RMarkdown > Knitr > Markdown > Pandoc > HTML/CSS > PDF workflow'
author:
- - 'W. Brent Thorne^1^'
- - 'William B. Thorne^1^'
-affiliation: '^1^Department of Earth Science, Brock University'
+ - name: Brent Thorne
+ affil: 1
+ - name: Another Contributor
+ affil: 2
+affiliation:
+ - num: 1
+ address: Department of Earth Science, Brock University
+ - num: 2
+ address: Department of Graphics and Layouts, University of Posters; Canada
#STYLE & FORMATTING
titlebox_bgcol: "#008080" #Colour of the Title Box background
titlebox_bordercol: "#0b4545" #Colour of the title Box border.
@@ -102,7 +108,7 @@
# Results
-Usually you want to have a nice table displaying some important results that you have calcualated. In posterdown this is as easy as using the `kable` table formatting you are probably use to as per typical `RMarkdown` formatting. I suggesting checking out the `kableExtra` package and its in depth documentation on customizing these tables found [here](https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf) [@kableExtra2019]. Hopfully I can make this with an inline refernce like, Table \@ref(tab:mytable).
+Usually you want to have a nice table displaying some important results that you have calculated. In posterdown this is as easy as using the `kable` table formatting you are probably use to as per typical `RMarkdown` formatting. I suggesting checking out the `kableExtra` package and its in depth documentation on customizing these tables found [here](https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf) [@kableExtra2019]. Hopefully I can make this with an inline reference like, Table \@ref(tab:mytable).
```{r, mytable, out.width='80%'}