diff --git a/cc-by.png b/cc-by.png
new file mode 100644
index 0000000..52b010e
Binary files /dev/null and b/cc-by.png differ
diff --git a/pandoc-template.html b/pandoc-template.html
index d14cc9b..69b7e11 100644
--- a/pandoc-template.html
+++ b/pandoc-template.html
@@ -4,17 +4,9 @@
-$for(author-meta)$
-
-$endfor$
-$if(date-meta)$
-
-$endif$
+
$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$
-
$if(quotes)$
$endif$
@@ -39,52 +31,49 @@ $include-before$
$endfor$
-
- $for(author)$$author.name$$sep$, $endfor$
-
+DOI: https://doi.org/$identifier$
+$author$
$title$
-Zusammenfassung
+Zusammenfassung
$abstract$
Schlüsselwörter
$for(keywords)$$keywords$$sep$, $endfor$
-$title-en$
+$title-en$
Abstract
$abstract-en$
-
-Keywords
+Keywords
$for(keywords-en)$$keywords-en$$sep$, $endfor$
+$if(jita)$
Classification
$for(jita)$$jita$$sep$, $endfor$
+$endif$
-
- Einreichung / Annahme / Veröffentlichung:
- $received$ / $accepted$ / $published$
-
+Veröffentlichung: $date$ in $publisher$
+
$if(toc)$
+Inhaltsverzeichnis
$endif$
$body$
+
+
AutorInnen
-$for(author)$
+$for(author-detail)$
-
-
$author.name$$if(author.email)$, $author.email$$endif$
-
- $if(author.affiliation)$$author.affiliation$$if(author.address)$, $endif$$endif$$if(author.address)$$author.address$$endif$
-
- $if(author.url)$$endif$
-
-
-
+ $author-detail.name$$if(author-detail.email)$, $author-detail.email$$endif$
+ $if(author-detail.affiliation)$$author-detail.affiliation$$if(author-detail.address)$, $endif$$endif$$if(author-detail.address)$$author-detail.address$
$endif$
+ $if(author-detail.url)$$endif$
+ $if(author-detail.orcid)$$endif$
$endfor$
diff --git a/pandoc-template.tex b/pandoc-template.tex
index 7d10be8..37d9b36 100644
--- a/pandoc-template.tex
+++ b/pandoc-template.tex
@@ -59,11 +59,11 @@ $if(colorlinks)$
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
$endif$
\hypersetup{unicode=true,
-$if(title-meta)$
- pdftitle={$title-meta$},
+$if(title)$
+ pdftitle={$title$},
$endif$
-$if(author-meta)$
- pdfauthor={$author-meta$},
+$if(author)$
+ pdfauthor={$author$},
$endif$
$if(keywords)$
pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$},
@@ -212,31 +212,26 @@ $endfor$
%% Kopfzeile & Fußzeile ab zweiter Seite
\pagestyle{fancy}
-\lhead{\footnotesize
- $for(author)$$author.name$$sep$, $endfor$:
- $if(title-short)$$title-short$$else$$title$$endif$
-}
-\lfoot{\footnotesize
- \href{http://www.informationspraxis.de}{\underline{\smash{www.informationspraxis.de}}}
- $if(license)$\\$license$$endif$
-}
-\cfoot{\footnotesize $if(doi)$\href{http://dx.doi.org/$doi$}{doi $doi$}$else$
- \leavevmode\color{red}\textbf{$if(accepted)$PREPRINT$else$REVIEW-VERSION$endif$}$endif$
+\lfoot{\footnotesize
+ $if(author-short)$$author-short$: $title-short$$endif$
}
\rfoot{\textbf{\thepage}}
%% Kopfzeile & Fußzeile Titelseite
\fancypagestyle{plain}{
- \lhead{\includegraphics[width=11.3mm,height=10.5mm]{ip-logo.png}}
+ \lhead{\href{http://www.informationspraxis.de}{\includegraphics[width=11.3mm,height=10.5mm]{ip-logo.png}}}
\rhead{\footnotesize
- \textbf{$issue$ ($year$)}$if(category)$\\$category$$endif$}
- \cfoot{}\rfoot{}
+ \textbf{$publisher$}$if(category)$\\$category$$endif$}
+ \lfoot{\footnotesize\href{http://creativecommons.org/licenses/by/4.0/}{\includegraphics[width=20.mm]{cc-by.png}} Dieses Werk steht unter der Lizenz \href{http://creativecommons.org/licenses/by/4.0/}{Creative Commons Namensnennung 4.0 International}}
+ \rfoot{}
}
\makeatletter
% Titelseite
\renewcommand\@maketitle{
- {\bfseries $for(author)$$author.name$$sep$, $endfor$ \par}
+ $if(identifier)$\href{https://doi.org/$identifier$}{DOI: https://doi.org/$identifier$}$endif$ \\
+
+ {\bfseries $for(author-detail)$$author-detail.name$$sep$, $endfor$ \par}
\section*{\@title}
@@ -260,19 +255,15 @@ $endfor$
$for(keywords-en)$$keywords-en$$sep$, $endfor$
$endif$
+ $if(jita)$
\subsubsection*{Classification}
$for(jita)$$jita$$sep$\\ $endfor$
+ $endif$
\vfill
{\small
- {\bfseries Einreichung
- $if(accepted)$/ Annahme$endif$
- $if(published)$/ Veröffentlichung$endif$
- }\\
- $received$
- $if(accepted)$/ $accepted$
- $if(published)$/ $published$$endif$
- $else${\bfseries\textcolor{red}{REVIEW-VERSION}}$endif$
+ {\bfseries Veröffentlichung}\\
+ $date$ in $publisher$
}
\pagebreak
}
@@ -289,8 +280,8 @@ $if(subtitle)$
\providecommand{\subtitle}[1]{}
\subtitle{$subtitle$}
$endif$
-$if(author)$
-\author{$for(author)$$author$$sep$ \and $endfor$}
+$if(author-detail)$
+\author{$for(author-detail)$$author-detail$$sep$ \and $endfor$}
$endif$
$if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
@@ -301,11 +292,6 @@ $endif$
$if(title)$
\maketitle
$endif$
-$if(abstract)$
-\begin{abstract}
-$abstract$
-\end{abstract}
-$endif$
$for(include-before)$
$include-before$
@@ -350,15 +336,15 @@ $endif$
\subsection*{AutorInnen}
\begin{itemize}
-$for(author)$
+$for(author-detail)$
\item
-$author.name$$if(author.email)$, $author.email$$endif$
+$author-detail.name$$if(author-detail.email)$, $author-detail.email$$endif$
-$if(author.affiliation)$$author.affiliation$$if(author.address)$, $endif$$endif$$if(author.address)$$author.address$$endif$
+$if(author-detail.affiliation)$$author-detail.affiliation$$if(author-detail.address)$, $endif$$endif$$if(author-detail.address)$$author-detail.address$$endif$
-$if(author.url)$ \url{$author.url$}$endif$
+$if(author-detail.url)$ \url{$author-detail.url$}$endif$
-% TODO: author.orcid oder gnd
+$if(author-detail.orcid)$ \href{https://orcid.org/$author-detail.orcid$}{https://orcid.org/$author-detail.orcid$}$endif$
$endfor$
\end{itemize}
diff --git a/vorlage-metadaten.yml b/vorlage-metadaten.yml
index df57fe5..889078e 100644
--- a/vorlage-metadaten.yml
+++ b/vorlage-metadaten.yml
@@ -1,49 +1,37 @@
---
-# Jeder Artikel muss mit Metadaten versehen sein.
-# Diese Datei kann dazu als Vorlage verwendet werden.
-
# Von den AutorInnen vergebene Metadaten
title: Deutscher Titel
title-en: English title
-author:
+author: Vorname NACHNAME, Vorname NACHNAME
+author-detail:
- name: Vorname Nachname
- email: vorname@email.tld
- url: http://example.org/
+ email: name@beispiel.de
+ url: http://example.org
+ orcid: 0000-0000-0000-0001
- name: Vorname Nachname
- email: vorname@email.tld
+ email: name@beispiel.de
affiliation: Beispielorganisation
address: Beispielstraße 123, 00000 Dingshausen
abstract:
- Jeder Artikel muss eine Zusammenfassung in deutscher Sprache enthalten. Die
- Zusammenfassung soll einen kurzen und vollständigen Überblick über den Inhalt
- des Artikels geben. Die wichtgisten Ergebnisse, Hintergrund und Vorgehensweise
- des Artikels sollten klar nachvollziehbar aus der Zusammenfassung hervorgehen.
- Der Umfang der Zusammenfassung ist auf 700 Zeichen (incl. Leerzeichen)
- beschränkt. Die Zusammenfassung sollte aus einem einzelnen Absatz bestehen.
+ Jeder Artikel muss eine Zusammenfassung in deutscher Sprache enthalten. Die Zusammenfassung soll einen kurzen und vollständigen Überblick über den Inhalt des Artikels geben. Die wichtigsten Ergebnisse, Hintergrund und Vorgehensweise des Artikels sollten klar nachvollziehbar aus der Zusammenfassung hervorgehen. Der Umfang der Zusammenfassung ist auf 700 Zeichen (incl. Leerzeichen) beschränkt. Die Zusammenfassung sollte aus einem einzelnen Absatz bestehen.
abstract-en:
- Every article must conatain an English abstract. The abstract is limited to one
- paragraph and up to 700 characters.
+ Every article must contain an English abstract. The abstract is limited to one paragraph and up to 700 characters.
keywords:
- Schlüsselwort 1
- Schlüsselwort 2
- - Schlüsselwort 3
- - ...
+ - Schlüsselwort 3 (max 5)
keywords-en:
- keyword 1
- keyword 2
- - keyword 3
- - ...
-jita:
- - A. Theoretische und allgemeine Aspekte von Bibliotheken und Informationen
- - GI. Weiterbildung
-license: CC-BY-SA 4.0
+ - keyword 3 (max 5)
# Von der Redaktion vergebene Metadaten
+author-short: Nachname/Nachname
+title-short: Kurztitel
category: Fachbeitrag
-year: 2014
-issue: 1
-received: 6.10.2014
-accepted: 12.11.2014
-published: 3.12.2014
-doi: 123.456/7890abcde
+date: 10.03.2019
+identifier: 10.11588/ip.2019.1.52673
+publisher: Informationspraxis Bd. 5, Nr. 1 (2019)
+lang: de
+rights: CC-BY 4.0
...