\documentclass[a4paper,12pt]{report}

% packeges
\usepackage[a4paper]{geometry}
\usepackage{fancyhdr}
\usepackage{lastpage}
%\usepackage{amsmath}
%\usepackage{amssymb}
%\usepackage{amsthm}
%\usepackage{array}
%\usepackage{xy}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{url}
\usepackage{hyperref}
\usepackage{color}
\usepackage{etex}
\usepackage[local]{gitinfo2}
\usepackage{titlesec}
%\usepackage{draftwatermark}
%\usepackage[curly,sort,comma,numbers]{natbib}

%compression
\pdfminorversion=7
\pdfcompresslevel=9
\pdfobjcompresslevel=2

\hypersetup{
	%hyperindex=true,
	%hyperfigures=true,
	%pagebackref=true,
	%backref,
	colorlinks=true,
	linkcolor=black,
	anchorcolor=black,
	citecolor=black,
	filecolor=black,
	menucolor=black,
	pagecolor=black,
	urlcolor=black,
	%bookmarksnumbered,
	%pdfborder=0 0 0,'
	pdftoolbar=false,
	pdfmenubar=false,
	%bookmarks=false,
	pdfproducer={OPF Template Generator},
	pdfcreator={OPF POWER ISA TWG},
	pdfauthor={Toshaan Bharvani <toshaan@vantosh.com>},
	pdftitle={OpenPOWER Foundation ISA TWG Charter},
	pdfsubject={OpenPOWER Foundation ISA TWG Charter},
	pdfkeywords={OPF,OpenPOWER,POWER ISA,ISA,charter}
}

% page layout
\geometry{top=30mm}
\geometry{bottom=20mm}
\geometry{left=20mm}
\geometry{right=20mm}
\geometry{headheight=25mm}
\geometry{headsep=10mm}
\geometry{foot=10mm}

%\renewcommand{\partname}{}
%\renewcommand{\thechapter}{\arabic{chapter}}
%\renewcommand{\thepart}{\arabic{part}.}
\renewcommand{\thesection}{\arabic{section}.}
\renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
\renewcommand{\thesubsubsection}{\thesection\thesubsection\arabic{subsubsection}}

%\SetWatermarkText{Draft}
%\SetWatermarkScale{10}

% real begining
\begin{document}

\pagenumbering{arabic}
\setcounter{page}{1}

%\renewcommand{\baselinestretch}{2}
%\doublespacing
\setlength{\parindent}{0em}
\setlength{\parskip}{0em}

\pagestyle{fancy}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{2pt}

% fancyhdr
\fancyhead{}
\fancyhead[L]{
	\includegraphics[width=4cm]{opf-logo.png}
}
\fancyhead[R]{
	OpenPOWER Foundation Workgroup Charter
}
\fancyfoot{}
\fancyfoot[L]{
	\begin{tiny}
	OPF Workgroup Charter
	\end{tiny}
}
\fancyfoot[C]{
	\begin{tiny}
	\gitAbbrevHash{}
	\end{tiny}
}
\fancyfoot[R]{
	\begin{tiny}
	\thepage\ of \pageref{LastPage}
	\end{tiny}
}

%%%
\input{content.tex}
\input{appendices.tex}

\end{document}
