commit c921edfbf3435d0158d338f43e3f6c169a278a66 Author: Toshaan Bharvani Date: Mon May 10 08:31:40 2021 +0200 initial template creation Signed-off-by: Toshaan Bharvani diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..067cf4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +#!.gitignore +*.pdf +version diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..de23d2f --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +#!Makefile + +default all: pdf + +TEXFILE=charter + +TMPDIR:=$(shell mktemp -d /tmp/latex.XXXX) +FIRSTTAG:=$(shell git describe --abbrev=0 --tags --always) +RELTAG:=$(shell git describe --tags --long --always --dirty='-*' --match '[0-9]*.*') + +pdf: gitinfo tex + +.PHONY: gitinfo +gitinfo: + @git --no-pager log -1 --date=short --decorate=short --pretty=format:"\usepackage[shash={%h},lhash={%H},authname={%an},authemail={%ae},authsdate={%ad},authidate={%ai},authudate={%at},commname={%an},commemail={%ae},commsdate={%ad},commidate={%ai},commudate={%at},refnames={%d},firsttagdescribe="${FIRSTTAG}",reltag="${RELTAG}"]{gitexinfo}" HEAD > $(TMPDIR)/gitHeadLocal.gin + +tex: $(TEXFILE).tex + @test -d $(TMPDIR) || mkdir $(TMPDIR) + @echo "Running 2 compiles $(TMPDIR)" + @pdflatex -output-directory=$(TMPDIR) -interaction=batchmode -file-line-error -no-shell-escape $< > /dev/null + @makeglossaries -d $(TMPDIR) $(TEXFILE) + @pdflatex -output-directory=$(TMPDIR) -interaction=batchmode -file-line-error -no-shell-escape $< > /dev/null + @cp $(TMPDIR)/$(TEXFILE).pdf . + @echo $(FIRSTTAG) > version + @echo "$(TEXFILE) PDF Ready" + +.PHONY: clean +clean: + @rm -rf /tmp/latex.* + +cleanall: + @rm -rf /tmp/latex.* + @rm -f $(TEXFILE).pdf diff --git a/appendices.tex b/appendices.tex new file mode 100644 index 0000000..e69de29 diff --git a/charter.tex b/charter.tex new file mode 100755 index 0000000..7c2a172 --- /dev/null +++ b/charter.tex @@ -0,0 +1,125 @@ +\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[acronym,ucmark,nomain]{glossaries} +%\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 }, + 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} + +\input{glossaries.tex} + +% 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} + \gitFirstTagDescribe{} (\gitAbbrevHash{} - \gitAuthorDate{}) + \end{tiny} +} +\fancyfoot[R]{ + \begin{tiny} + \thepage\ of \pageref{LastPage} + \end{tiny} +} + +%%% +\input{content.tex} +\input{appendices.tex} + +\printglossary[type=\acronymtype,title=List of Acronyms] + +\end{document} diff --git a/content.tex b/content.tex new file mode 100644 index 0000000..97b62f4 --- /dev/null +++ b/content.tex @@ -0,0 +1,41 @@ +%%% + +\section{Workgroup name} + +\section{Definitions} + +\section{Description} + +\section{Scope} + +\section{Similar Activities} + +\section{Users} + +\section{Work Product} + +\section{Projects} + +\section{Participation} + +\section{Work Group Convener} + +\section{Meeting Plan} + +\section{Participants} + +\section{Balloting Approval Requirements} + +\section{Member Organization Support} + +\section{Anticipated Contributions} + +\section{IPR, Confidentiality \& Licensing} + +\subsection{Confidentiality Mode} + +\subsection{IPR Policy} + +\subsection{Open Source Licensing Mode} + +\subsection{Open Source Communities} diff --git a/glossaries.tex b/glossaries.tex new file mode 100644 index 0000000..1f43f7f --- /dev/null +++ b/glossaries.tex @@ -0,0 +1,10 @@ +\makeglossaries + +\renewcommand*{\glspostdescription}{} + +%%% Common Acronyms +\newacronym{IPR}{IPR}{Intellectual Property Rights} +\newacronym{SIG}{SIG}{Special Integration Work Group} +\newacronym{TWG}{TWG}{Technical Work Group} + +%%% Specific Acronyms diff --git a/opf-logo.png b/opf-logo.png new file mode 100644 index 0000000..4f80d8f Binary files /dev/null and b/opf-logo.png differ