From e9ef865e2f5f8ba5805bb3db3f392d677b4c7d6a Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Wed, 15 Apr 2009 17:04:49 +0200 Subject: [PATCH] Add Gentoo logo to desk reference and titlepage of PMS pms.dvi target thus invalid as it won't process png files --- .gitignore | 1 + Makefile | 10 +- cheatsheet/eapi_cheatsheet.tex | 5 +- gentoo-logo.svg | 328 ++++++++++++++++++++++++++++++++++++++++ pms.cls | 3 +- 5 files changed, 339 insertions(+), 8 deletions(-) create mode 100644 gentoo-logo.svg diff --git a/.gitignore b/.gitignore index 6d5cd39..9127031 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.png *.aux *.bbl *.blg diff --git a/Makefile b/Makefile index 3c17b72..55de96b 100644 --- a/Makefile +++ b/Makefile @@ -29,19 +29,17 @@ pms.html: $(SOURCEFILES) pms.bbl sed -i -e '//{N;s/\n\(class="[^"]\+">\)\([0-9]:\)<\/span>/\1\ \2/}' pms.html pms.bbl: pms.bib pms.tex vc.tex eapi_cheatsheet.pdf - latex pms + pdflatex pms bibtex pms -eapi_cheatsheet.pdf: vc.tex +eapi_cheatsheet.pdf: vc.tex gentoo-logo.png pdflatex cheatsheet/eapi_cheatsheet vc.tex: pms.tex vc-git.awk /bin/sh ./vc -pms.dvi: $(SOURCEFILES) pms.bbl - latex pms - latex pms - latex pms +gentoo-logo.png: gentoo-logo.svg + convert gentoo-logo.svg gentoo-logo.png upload: pms.pdf scp pms.pdf dev.gentoo.org:public_html diff --git a/cheatsheet/eapi_cheatsheet.tex b/cheatsheet/eapi_cheatsheet.tex index 5b2bf8b..2727b88 100644 --- a/cheatsheet/eapi_cheatsheet.tex +++ b/cheatsheet/eapi_cheatsheet.tex @@ -9,7 +9,8 @@ listings, ifthen, mathptmx, - courier + courier, + graphicx } \usepackage[orig,english]{isodate} \usepackage[scaled=.90]{helvet} @@ -45,6 +46,8 @@ pdfkeywords={Gentoo, package manager, reference}, pdfproducer={pdfLaTeX and hyperref}, } +\AddToBackground*{2}{\hspace*{5cm}\includegraphics{gentoo-logo}} +\AddToBackground*{1}{\hspace*{5cm}\includegraphics{gentoo-logo}} \begin{document} \maketitle \thispagestyle{empty} diff --git a/gentoo-logo.svg b/gentoo-logo.svg new file mode 100644 index 0000000..cf7c270 --- /dev/null +++ b/gentoo-logo.svg @@ -0,0 +1,328 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/pms.cls b/pms.cls index 5188190..ff3ac42 100644 --- a/pms.cls +++ b/pms.cls @@ -139,7 +139,8 @@ pdfproducer={pdfLaTeX and hyperref}, } % Some metadata needed for the title page generation -\title{Package Manager Specification} +\title{Package Manager + Specification\\\includegraphics[height=5ex,keepaspectratio]{gentoo-logo}} \author{Stephen P. Bennett \\ \href{mailto:spb@exherbo.org}{spb@exherbo.org} \and Ciaran McCreesh \\ -- 1.6.0.6