1 |
commit: 28c65e6205d369d25555fa9f7a673c0c2ad30a1a |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 4 07:39:49 2012 +0000 |
4 |
Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 4 07:39:49 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=28c65e62 |
7 |
|
8 |
Move some metadata information from style file to main TeX source. |
9 |
|
10 |
--- |
11 |
pms.cls | 17 ++--------------- |
12 |
pms.tex | 15 +++++++++++++++ |
13 |
2 files changed, 17 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/pms.cls b/pms.cls |
16 |
index db2fd48..dcce924 100644 |
17 |
--- a/pms.cls |
18 |
+++ b/pms.cls |
19 |
@@ -113,22 +113,11 @@ |
20 |
colorlinks=true, |
21 |
citecolor=black, |
22 |
linkcolor=black, |
23 |
- pdftitle={Package Manager Specification}, |
24 |
- pdfauthor={Stephen P. Bennett, Ciaran McCreesh}, |
25 |
- pdfcreator={pdfLaTeX and hyperref}, |
26 |
- pdfsubject={Defining a feature set for package managers in the |
27 |
- Gentoo world}, |
28 |
pdflang={en}, |
29 |
- pdfkeywords={Gentoo, package manager, specification}, |
30 |
+ pdfcreator={pdfLaTeX and hyperref}, |
31 |
pdfproducer={pdfLaTeX and hyperref}, |
32 |
} |
33 |
} |
34 |
-% Some metadata needed for the title page generation |
35 |
-\title{Package Manager Specification} |
36 |
-\author{Stephen P. Bennett \\ |
37 |
- \href{mailto:spb@×××××××.org}{spb@×××××××.org} \and Ciaran |
38 |
- McCreesh \\ |
39 |
- \href{mailto:ciaran.mccreesh@××××××××××.com}{ciaran.mccreesh@××××××××××.com}} |
40 |
% Reads the last commit date from the Git repository and even succeeds |
41 |
% when none is available |
42 |
\ifthenelse{\equal{\VCDateISO}{}} |
43 |
@@ -139,9 +128,7 @@ |
44 |
} |
45 |
|
46 |
% Set page title |
47 |
-\pagestyle{myheadings} |
48 |
-\markboth{\scshape Package Manager Specification}{\scshape Package |
49 |
- Manager Specification} |
50 |
+\pagestyle{headings} |
51 |
% This is some kind of hack. We set the proportions of the text area |
52 |
% and then move it 30mm to the left to increase the right (outer) |
53 |
% margin. |
54 |
|
55 |
diff --git a/pms.tex b/pms.tex |
56 |
index 4ada8ec..dd60225 100644 |
57 |
--- a/pms.tex |
58 |
+++ b/pms.tex |
59 |
@@ -1,5 +1,20 @@ |
60 |
\documentclass{pms} |
61 |
|
62 |
+\title{Package Manager Specification} |
63 |
+\author{% |
64 |
+ Stephen P. Bennett \\ |
65 |
+ \href{mailto:spb@×××××××.org}{spb@×××××××.org} |
66 |
+ \and |
67 |
+ Ciaran McCreesh \\ |
68 |
+ \href{mailto:ciaran.mccreesh@××××××××××.com}{ciaran.mccreesh@××××××××××.com} |
69 |
+} |
70 |
+\hypersetup{% |
71 |
+ pdftitle={Package Manager Specification}, |
72 |
+ pdfauthor={Stephen P. Bennett, Ciaran McCreesh}, |
73 |
+ pdfsubject={Defining a feature set for package managers in the Gentoo world}, |
74 |
+ pdfkeywords={Gentoo, package manager, specification}, |
75 |
+} |
76 |
+ |
77 |
\begin{document} |
78 |
\maketitle |