More adaptions and customization for IDS
Change-Id: I86d2a82f8b57e56fb7687297ad2bb584666ba830
diff --git a/README.md b/README.md
index 62faadc..3e85f96 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
<img src="images/betterhexlogo.png" alt="posterdown logo" align="right" width = "25%" height="25%"/>
-# posterdown
+# IDS Mannheim CD adaptation to posterdown
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
@@ -11,49 +11,53 @@
[![CRAN\_Download\_Badge](http://cranlogs.r-pkg.org/badges/posterdown)](https://CRAN.R-project.org/package=posterdown)
<!-- badges: end -->
-As a graduate student, I found that it is almost a rite of passage to take early research and analysis and generate a conference poster allowing for critical feedback. This is also important for facilitating meeting the people in your field at poster sessions at academic meetings. I have also noticed that while many of my fellow graduate students use R and are getting their feet wet with RMarkdown :blush:, we always had to go back to using MS Powerpoint or Keynote or Adobe Illustrator for generating conference posters :unamused:. Posterdown was created as a proof-of-concept (to myself) that it is possible to make a beautiful poster using open source reproducible code.
-
| Quick Links |
|:-------|
-| [**Current Template Styles**](https://github.com/brentthorne/posterdown#current-template-styles) |
-| [**Getting Started**](https://github.com/brentthorne/posterdown#getting-started) |
-| [**Support**](https://github.com/brentthorne/posterdown#support) |
+| [**Current Template Styles**]#current-template-styles) |
+| [**Getting Started**](#getting-started) |
| [**Wiki**](https://github.com/brentthorne/posterdown/wiki) |
| [**Showcase**](https://github.com/brentthorne/posterdown/wiki/Showcase) |
## Current Template Styles
-| `posterdown_html` | `posterdown_betterland` | `posterdown_betterport` |
-|:---------------:|:---------------------:|:---------------------:|
-|[![](./images/example_poster1.png)](https://brentthorne.github.io/posterdown_html_showcase/) | ![](./images/betterland_july2019-1.png) | ![](./images/betterposterport.png) |
-
| `posterdown_ids` |
|:------------------:|
| ![](./images/ids_poster.png) |
+
+| `posterdown_html` | `posterdown_betterland` | `posterdown_betterport` |
+|:---------------:|:---------------------:|:---------------------:|
+|[![](./images/example_poster1.png)](https://brentthorne.github.io/posterdown_html_showcase/) | ![](./images/betterland_july2019-1.png) | ![](./images/betterposterport.png) |
+
## Getting Started
-> ~~Until the first release of posterdown occurs on CRAN please fork this repo and use your version to ensure stability while building your poster. Changes made here can be sporadic but also tend to be drastic. Otherwise, use this repo at your own discression! :trollface:~~
-
-> posterdown v1.0 is now on [CRAN](https://cran.r-project.org/web/packages/posterdown/index.html) !! :smile:
-
-To install from CRAN use `install.packages("posterdown")`.
-
-To install from github use `remotes::install_github("brentthorne/posterdown")`.
+To install use `remotes::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/posterdown")`.
Now add this to the YAML options of your rmarkdown (.Rmd) file:
```markdown
---
output:
- posterdown::posterdown_html
+ posterdown::posterdown_ids
---
```
For further customization options please see the (currently in progress :hammer:) [wiki](https://github.com/brentthorne/posterdown/wiki)
-## Support
+### Additional metadata / customization for IDS version, e.g.:
+```markdown
+subtitle: Using RMarkdown and `posterdown::ids_poster`
+contact:
+ name: Marc Kupietz
+ department: Digital Linguistics
+ email: kupietz@ids-mannheim.de
+ website: "http://korap.ids-mannheim.de/instance/icc"
+```
+
+For a complete example, see [skeleton.Rmd](./inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd)
+
+## Support the original author
_Please consider supporting posterdown to ensure continued support and development for this package, as **grad school + open source developer != :dollar:.**_
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 373be5a..3242096 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -630,16 +630,16 @@
</div>
<div id="info-column">
<b>Contact:</b><br/>
- Dr. Marc Kupietz<br/>
- Corpus Linguistics PA<br/>
+ $if(contact.name)$$contact.name$$else$Dr. Marc Kupietz$endif$<br/>
+ $if(contact.department)$$contact.department$$else$Corpus Linguistics PA$endif$<br/>
Leibniz-Institute for the German Language<br/>
PO Box 10 16 21<br/>
68016 Mannheim<br/>
Germany<br/>
<br/>
<br/>
- https://korap.ids-mannheim.de/<br/>
- korap@ids-mannheim.de<br/>
+ $if(contact.website)$$contact.website$$else$https://korap.ids-mannheim.de/$endif$<br/>
+ $if(contact.email)$$contact.email$$else$korap@ids-mannheim.de$endif$<br/>
<br/>
<br/>
diff --git a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
index d9bd5e4..feb4112 100644
--- a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
@@ -13,6 +13,11 @@
address: Department of Earth Science, Brock University
- num: 2
address: IDS Mannheim
+contact:
+ name: Marc Kupietz
+ department: Digital Linguistics
+ email: kupietz@ids-mannheim.de
+ website: "http://korap.ids-mannheim.de/instance/icc"
column_numbers: 3
# logoright_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png
logoleft_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png