]> git.proxmox.com Git - pve-docs.git/blobdiff - asciidoc-dblatex-custom.sty
move asciidoc related data into asciidoc subdir
[pve-docs.git] / asciidoc-dblatex-custom.sty
diff --git a/asciidoc-dblatex-custom.sty b/asciidoc-dblatex-custom.sty
deleted file mode 100644 (file)
index 608bf73..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-%%
-%% This style is derived from the docbook one.
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{asciidoc-proxmox}[2016/10/30 AsciiDoc DocBook Style]
-
-% this will set letterpaper, because docbook.sty honors page layout
-% made by geometry package
-%\usepackage[letterpaper,total={7.25in,9.25in}, top=1in]{geometry}
-%\usepackage[a4paper]{geometry}
-
-\usepackage[a4paper, left=2cm, right=1cm, top=2.5cm, bottom=2cm ]{geometry}
-
-%% Just use the original package and pass the options.
-\RequirePackageWithOptions{docbook}
-
-% Sidebar is a boxed minipage that can contain verbatim.
-% Changed shadow box to double box.
-\renewenvironment{sidebar}[1][0.95\textwidth]{
-  \hspace{0mm}\newline%
-  \noindent\begin{Sbox}\begin{minipage}{#1}%
-  \setlength\parskip{\medskipamount}%
-}{
-  \end{minipage}\end{Sbox}\doublebox{\TheSbox}%
-}
-
-% For DocBook literallayout elements, see `./dblatex/dblatex-readme.txt`.
-\usepackage{alltt}
-
-\definecolor{proxmoxred}{RGB}{229, 112, 0}
-\definecolor{proxmoxgrey1}{RGB}{229, 229, 229}
-
-\def\drawtitlepage{
-  \AddToShipoutPicture*{
-    \put(\LenToUnit{0cm},\LenToUnit{2.5cm}){
-      {\color{proxmoxgrey1}\rule{\paperwidth}{22cm}}}
-    \put(\LenToUnit{\dimexpr(\paperwidth-11cm)},
-         \LenToUnit{\dimexpr(\paperheight-3.5cm)}){
-      \includegraphics[width=10cm]{proxmox-logo}}
-  }
-}
-
-% custom cover page
-\def\DBKcover{
-  \thispagestyle{empty}
-  \vspace*{4cm}
-  \sffamily
-  \begin{center}
-    {\Huge \scshape \color{proxmoxred}  \DBKtitle \\[0.5cm]}
-    {\Large \scshape \DBKsubtitle \\[1cm]}
-    {\includegraphics[width=132mm]{proxmox-ci-header} \\}
-  \end{center}
-  \vfill
-  \begin{flushright}
-    {\Large \sffamily
-      \DBKdate \\
-      Proxmox Server Solutions Gmbh \\
-      \color{proxmoxred} www.proxmox.com \\
-    }
-  \end{flushright}
-  \vspace*{1cm}
-  \drawtitlepage
-  \pagebreak[4]
-}