diff --git a/OS-Strategy_NHMW.md b/OS-Strategy_NHMW.md index cc4a749..ac57f89 100644 --- a/OS-Strategy_NHMW.md +++ b/OS-Strategy_NHMW.md @@ -1,18 +1,26 @@ + # Open Science in Museums - Strategy of the Naturhistorisches Museum Wien (NHMW):

*The benefits of openness* ### + - + + + [![version](https://img.shields.io/badge/version-1.0-blue)](#) [![license](https://img.shields.io/badge/license-CC--BY--4.0-brightgreen)](https://creativecommons.org/licenses/by/4.0/) [![date](https://img.shields.io/badge/date-2022--04--27-green)](#) [![date](https://img.shields.io/badge/doi-20020427-orange)](https://doi.org/doitocome) - + - +uncommentend--> - + **Authors:** *[Vohland, Katrin](https://orcid.org/0000-0002-7214-7015) [![orcID](assets/ORCID-iD_icon-vector.svg)](https://orcid.org/0000-0002-7214-7015); [Eichert, Stefan](https://orcid.org/0000-0002-5827-0797) [![orcID](assets/ORCID-iD_icon-vector.svg)](https://orcid.org/0000-0002-5827-0797); @@ -24,9 +32,9 @@ Fiedler, Sarah; [Rainer, Heimo](https://orcid.org/0000-0002-5963-349X) [![orcID](assets/ORCID-iD_icon-vector.svg)](https://orcid.org/0000-0002-5963-349X); [Schwentner, Martin](https://orcid.org/0000-0002-1373-456X) [![orcID](assets/ORCID-iD_icon-vector.svg)](https://orcid.org/0000-0002-1373-456X); [Zimmermann, Eva](https://orcid.org/0000-0002-6537-106X) [![orcID](assets/ORCID-iD_icon-vector.svg)](https://orcid.org/0000-0002-6537-106X);* - + - +uncommentend-->
Please cite this document as follows: @@ -61,39 +69,38 @@ Please cite this document as follows:

- +uncommentend--> - + [![nhmw logo](assets/logo.svg)](https://nhm-wien.ac.at) Burgring 7 1010 Wien [https://nhm-wien.ac.at](https://nhm-wien.ac.at/) - + - +uncommentend-->

@@ -170,9 +177,9 @@ uncomment end --> --- - +uncommentend--> # Summary @@ -1276,4 +1283,4 @@ Kulturstyrelsen \ Danish Agency for Culture, 2013, p 148ff. [^41]: https://ariadne-infrastructure.eu/ -[^42]: https://www.abol.ac.at/ +[^42]: https://www.abol.ac.at/ \ No newline at end of file diff --git a/documents/OS-Strategy-NHMW_V1.pdf b/documents/OS-Strategy-NHMW_V1.pdf index bc162de..1c9268c 100644 Binary files a/documents/OS-Strategy-NHMW_V1.pdf and b/documents/OS-Strategy-NHMW_V1.pdf differ diff --git a/pdf_conversion.sh b/pdf_conversion.sh new file mode 100644 index 0000000..522d10a --- /dev/null +++ b/pdf_conversion.sh @@ -0,0 +1,12 @@ +#!/bin/bash +sed -i -e 's///3nD-->/g' $1 +sed -i -e 's//g' $1 +sed -i -e 's/uncommentend-->//g' $1 + +pandoc $1 -o $2 + +sed -i -e 's//g' $1 +sed -i -e 's/3nD-->//g' $1 +sed -i -e 's///uncommentend-->/g' $1 diff --git a/pdf_workflow.md b/pdf_workflow.md index 2dcba75..f158df8 100644 --- a/pdf_workflow.md +++ b/pdf_workflow.md @@ -1,35 +1,17 @@ # PDF creation This document explains the workflow for the generic creation of a PDF version -of the main .md document. +of the main .md document. (On Linux distributions) ## Make sure [`pandoc`](https://pandoc.org/) is installed locally on your system: On Linux (Debian/Ubuntu): ->sudo apt-get install pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra -For other distributions see: https://pandoc.org/installing.html + # sudo apt-get install pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra -## Prepare the `OS-Strategy-NHMW-Vx.md`file for conversion +## Convert `.md` file to `.pdf` +Run the script `pdf_conversion.sh` -search and replace: - -* 1: `` with `` with `-->` -* 3: `` -* 4: `` - -## Create .pdf -Open a terminal and convert the .md file to .pdf -> pandoc sourcefile.md -o outputfile.pdf - -## Undo comment/uncomment - -search and replace: - -* 1: `` -* 2: `-->` with `` -* 3: `` with `` with `