summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-12 16:27:31 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-12 16:27:31 +0200
commitc402e273990133d9360bc4b64cf65a2af343e298 (patch)
treeafbd5b13ed0aca46514ffc5a3cd2f94a059c1534
parentImprove 5/2009 (diff)
downloadcouncil-c402e273990133d9360bc4b64cf65a2af343e298.tar.gz
council-c402e273990133d9360bc4b64cf65a2af343e298.tar.bz2
council-c402e273990133d9360bc4b64cf65a2af343e298.zip
Add experimental cls file for single summary
-rw-r--r--decisions/councilsummary.cls108
1 files changed, 108 insertions, 0 deletions
diff --git a/decisions/councilsummary.cls b/decisions/councilsummary.cls
new file mode 100644
index 0000000..7899334
--- /dev/null
+++ b/decisions/councilsummary.cls
@@ -0,0 +1,108 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{councilsummary}
+
+\LoadClass[a4,twoside]{article}
+
+\RequirePackage{datetime}
+\RequirePackage{hyperref}
+\RequirePackage{textcomp}
+\RequirePackage{color}
+\RequirePackage{underscore}
+\RequirePackage[utf8]{inputenc}
+
+\newcommand{\summary}[3]{
+ \begin{center}\LARGE \bf
+ {Council meeting summary\\
+ #3\ \protect\monthname[#2]\ #1}
+ \end{center}
+ \vspace*{1cm}
+ \officiallogs{#1\twodigit{#2}\twodigit{#3}}
+}
+
+\newcommand{\agendaitem}[1]{
+ \section{#1}
+}
+
+\newcommand{\gentooifempty}[3]{%
+ \sbox0{#1}%
+ \ifdim\wd0=0pt
+ {#2}% if #1 is empty
+ \else
+ {#3}% if #1 is not empty
+ \fi
+}
+
+\newcommand{\gentoobugtitle}[1]{}
+\renewcommand{\textrangle}{\ensuremath{>}}
+\renewcommand{\textlangle}{\ensuremath{<}}
+\InputIfFileExists{decisions.bug}{}
+
+\newcommand{\bug}[1]{\href{https://bugs.gentoo.org/#1}{%
+bug {#1}}%
+\gentooifempty{\gentoobugtitle{#1}}{}{ (``{\em\gentoobugtitle{#1}}'')}%
+}
+
+\newcommand{\gentoomailfrom}[1]{}
+\newcommand{\gentoomailsubject}[1]{}
+\newcommand{\gentoomaildate}[1]{}
+\InputIfFileExists{decisions.mld}{}
+
+\newcommand{\agoref}[2]{%
+\gentooifempty{\gentoomailsubject{#2}}{%
+\href{https://archives.gentoo.org/#1/message/#2}{%
+mailing list {#1}, message {#2}}}{%
+\href{https://archives.gentoo.org/#1/message/#2}{%
+mailing list message by \gentoomailfrom{#2}} (list #1,
+subject ``{\em\gentoomailsubject{#2}}'', \gentoomaildate{#2})}}
+
+\newcommand{\gleptitle}[1]{}
+\InputIfFileExists{decisions.glg}{}
+
+\newcommand{\glep}[1]{\href{https://wiki.gentoo.org/wiki/GLEP:#1}{GLEP
+{#1}}%
+\gentooifempty{\gleptitle{#1}}{}{
+ (``\gleptitle{#1}'')}}
+
+\newcommand{\devname}[1]{}
+\newcommand{\devlink}[1]{}
+\InputIfFileExists{decisions.deg}{}
+
+\newcommand{\dev}[1]{%
+\gentooifempty{\devname{#1}}{#1}{%
+\gentooifempty{\devlink{#1}}{\devname{#1} (#1)}{%
+{\devname{#1} (#1)}}%
+}}
+
+\newcommand{\wgoref}[1]{\href{https://wiki.gentoo.org/wiki/#1}{wiki page {#1}}}
+
+\newcommand{\eclass}[1]{{#1}.eclass}
+
+\newcommand{\package}[1]{\href{https://packages.gentoo.org/packages/#1}{#1}}
+
+\newcommand{\vote}[2]{
+\begin{quote}
+{\bf vote:}
+{\it #1} --- {#2}
+\end{quote}
+}
+
+\newcommand{\officiallogs}[1]{
+Follow the links here for the
+\href{https://projects.gentoo.org/council/meeting-logs/#1.txt}{log of the
+council meeting} and the
+\href{https://projects.gentoo.org/council/meeting-logs/#1-summary.txt}{official
+summary}.
+}
+
+\definecolor{darkblue}{rgb}{0,0,0.7}
+\definecolor{darkred}{rgb}{0.7,0,0}
+
+\hypersetup{%
+colorlinks=true,
+linkcolor={darkblue},
+citecolor={darkblue},
+urlcolor={darkblue},
+pdftitle={Council meeting summary},
+}
+
+\setlength{\parindent}{0cm}