5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-20 22:50:06 +03:00

improve cover page

This commit is contained in:
Dietmar Maurer 2016-10-01 13:22:13 +02:00
parent 683e3b9377
commit 333a2f4935
3 changed files with 134 additions and 20 deletions

View File

@ -223,11 +223,12 @@ pve-admin-guide.chunked: ${PVE_ADMIN_GUIDE_SOURCES}
rm -rf pve-admin-guide.chunked
a2x -a docinfo -a docinfo1 -a icons -f chunked pve-admin-guide.adoc
pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
test pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
inkscape -z -D --export-pdf=logo.pdf images/proxmox-logo.svg
inkscape -z -D --export-pdf=proxmox-ci-header.pdf images/proxmox-ci-header.svg
grep ">Release ${DOCRELEASE}<" pve-admin-guide-docinfo.xml || (echo "wrong release in pve-admin-guide-docinfo.xml" && false);
a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" --dblatex-opts "-P latex.class.options=12pt" --dblatex-opts "-P doc.section.depth=2 -P toc.section.depth=2" --dblatex-opts "-P doc.publisher.show=0 -s asciidoc-dblatex-custom.sty" pve-admin-guide.adoc
rm logo.pdf
rm logo.pdf proxmox-ci-header.pdf
pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}
a2x -f epub pve-admin-guide.adoc
@ -283,5 +284,5 @@ update: clean
make all
clean:
rm -rf logo.pdf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked
rm -rf logo.pdf proxmox-ci-header.pdf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked
find . -name '*~' -exec rm {} ';'

View File

@ -28,31 +28,34 @@
\usepackage{alltt}
\definecolor{proxmoxred}{RGB}{229, 112, 0}
\definecolor{proxmoxgrey1}{RGB}{229, 229, 229}
\newlength\mylength
\def\redribbon{
\setlength\mylength{0.3\paperheight}
\def\greyribbon{
\AddToShipoutPicture*{
\put(0,\LenToUnit{\mylength}){%
{\color{proxmoxred}\rule{\paperwidth}{2cm}}}
}
\put(0,\LenToUnit{2.5cm}){%
{\color{proxmoxgrey1}\rule{\paperwidth}{22cm}}}
}
}
% custom cover page
\def\DBKcover{
\thispagestyle{empty}
\begin{flushright}
\includegraphics[width=0.5\textwidth]{logo} \\
\vspace*{1in}
\bfseries
\sffamily
{\Huge \DBKtitle \\[1ex]\large ~~~ \\}
{\Huge \DBKsubtitle \\[1ex]\large ~~~ \\}
\vspace*{4.1in}
{\Large \DBKdate \\}
\vfill
{\Large \bfseries \sffamily Proxmox Server Solutions Gmbh}
\includegraphics[width=0.5\textwidth]{logo} \\
\end{flushright}
\redribbon
\vspace*{2.5cm}
\sffamily
\begin{center}
{\Huge \bfseries \scshape \color{proxmoxred} \DBKtitle \\[1ex]\large ~~~ \\}
{\Large \bfseries \scshape \DBKsubtitle \\[1ex]\large ~~~ \\}
{\includegraphics[width=132mm]{proxmox-ci-header} \\}
\end{center}
\vfill
\begin{flushright}
{\Large \DBKdate \\}
{\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \color{proxmoxred} www.proxmox.com}
\end{flushright}
\vspace*{1cm}
\greyribbon
\pagebreak[4]
}

110
images/proxmox-ci-header.svg Executable file
View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="132.70847mm"
height="3.6731544mm"
viewBox="0 0 470.22685 13.015114"
id="svg4980"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="CI_Header.svg">
<defs
id="defs4982" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="171.68639"
inkscape:cy="-216.28537"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1327"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1" />
<metadata
id="metadata4985">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-173.45801,-111.56894)">
<g
clip-path="none"
id="g12721"
transform="matrix(0.66784621,0,0,-0.66784621,-441.83952,585.27956)">
<g
transform="translate(-10.714286,-13.571429)"
id="g12723">
<g
id="g12733"
transform="translate(618.21336,41.416247)">
<g
id="g12739"
transform="translate(216.17265,-373.75644)">
<rect
style="opacity:1;fill:#ff9100;fill-opacity:1;stroke:none;stroke-width:0.449;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect12725"
width="177.16536"
height="19.48819"
x="273.04303"
y="1035.7344"
ry="0" />
<rect
ry="0"
y="1035.7344"
x="97.644478"
height="19.48819"
width="177.16536"
id="rect12727"
style="opacity:1;fill:#e57000;fill-opacity:1;stroke:none;stroke-width:0.449;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;fill:#00617f;fill-opacity:1;stroke:none;stroke-width:0.449;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect12729"
width="177.16536"
height="19.48819"
x="449.05322"
y="1035.7344"
ry="0" />
<rect
style="opacity:1;fill:#abbaba;fill-opacity:1;stroke:none;stroke-width:0.449;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect12731"
width="177.16536"
height="19.48819"
x="624.57361"
y="1035.7344"
ry="0" />
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB