From 4fa901acd5b8c69c4a9cb59108a2295f9d5b3deb Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <thorsten.glaser@teckids.org>
Date: Wed, 22 Apr 2015 11:36:11 +0200
Subject: [PATCH] [verein.git] set PDF title to document title; does not work
 currently, tbm

---
 teckids.sty       | 2 ++
 teckidspubmat.cls | 1 +
 2 files changed, 3 insertions(+)

diff --git a/teckids.sty b/teckids.sty
index 4321f4a..da97c7e 100644
--- a/teckids.sty
+++ b/teckids.sty
@@ -55,12 +55,14 @@
 
 %% Makro für einen Protokoll-/Berichtskopf mit Titel und Logo
 \newcommand{\teckidshead}[1]{
+ \hypersetup{pdftitle = #1}
  \begin{minipage}[c]{0.5\textwidth}\centering\Large\textbf{#1}\end{minipage}
  \hfill
  \begin{minipage}[c]{0.4\textwidth}\teckidslogo[\textwidth]\end{minipage}
 }
 %% Nur für Sonderfälle!
 \newcommand{\teckidsheadleft}[1]{
+ \hypersetup{pdftitle = {#1}}
  \begin{minipage}[c]{0.5\textwidth}\Large\textbf{#1}\end{minipage}
  \hfill
  \begin{minipage}[c]{0.4\textwidth}\teckidslogo[\textwidth]\end{minipage}
diff --git a/teckidspubmat.cls b/teckidspubmat.cls
index cbf93d9..ff3e634 100644
--- a/teckidspubmat.cls
+++ b/teckidspubmat.cls
@@ -40,6 +40,7 @@
 
 \newcommand{\teckidspubmat}[2]{
 \hypersetup{
+	pdftitle = {#1},
 	pdfauthor = {#2, and others; see gitweb of Teckids e.V.}
 }
 \lohead{\Large #1}
-- 
GitLab