From e1ef5bac7f689b9d67621400d959471f350704a6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 21 May 2010 10:43:09 -0400 Subject: [PATCH] Add author/title metadata to compiled PDF --- drexel-thesis.dtx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index 30c0078..e3f6bd7 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -1,8 +1,14 @@ % \def\fileversion{0.9} % \def\filedate{2010/05/21} % \iffalse meta-comment -%\def\fileversion{0.9} -%\def\filedate{2010/05/21} +%<*driver> +\ProvidesFile{drexel-thesis.dtx} +\documentclass{ltxdoc} +% +%<*class|driver> +\def\fileversion{0.9} +\def\filedate{2010/05/21} +% % % Copyright (C) 2010 C.Y. Ip % Christopher D. Cera @@ -36,17 +42,15 @@ % \fi % % \iffalse meta-comment -%<*driver> -\ProvidesFile{drexel-thesis.dtx} -% %\NeedsTeXFormat{LaTeX2e} %\ProvidesClass{drexel-thesis} % [\filedate\ \fileversion\ Drexel Thesis] % % Code for the .ini driver, see \S 2.1 ``The driver file'' of doc.dtx. %<*driver> -\documentclass{ltxdoc} -\usepackage[colorlinks=true]{hyperref} +\usepackage[colorlinks=true,]{hyperref} +\hypersetup{pdfauthor={W. Trevor King et al.}} +\hypersetup{pdftitle={drexel-thesis \fileversion\ documentation}} % % Include some useful commands from |xkeyval|'s ||. %<*driver> -- 2.26.2