\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cover-new}[2005/11/03 CD/DVD Cover for Lehmanns]
%
% 2005/11/03 Template for House of Audio: Front&Back 125x125, Overprint 3
%
\RequirePackage{ragged2e}
\RequirePackage{graphicx,xcolor}

\pagestyle{empty}

\def\covertextheight{118mm}
\usepackage{geometry}
\geometry{paperwidth=280mm,paperheight=155mm,margin=15mm,includeheadfoot=false,headheight=0pt,headsep=0pt,footskip=0pt,marginparwidth=0pt,marginparsep=0pt}
\usepackage{luatex85}
\parindent=0pt

\def\@isbn{0-00000-000-0}
\newcommand\isbn[1]{\def\@isbn{#1}}
\def\@hoaid{}
\newcommand\hoaid[1]{\def\@hoaid{#1}}
\newcommand\qq{/\kern-.1em/}

\def\linetwo{\\\hspace*{1em}}
\newcommand{\group}[1]{\language=255#1\par\vfill}
\newcommand{\AlleGruppen}{%
% \group{As\TeX{} (French)}%
 \group{Cervan\TeX{} (Spanish)}%
 \group{CSTUG (Czech/Slovak)}%
 \group{C\TeX{} (Chinese)}%
 \group{CyrTUG (Russian)}%
 \group{DANTE (German)}%
 \group{DK-TUG (Danish)}%
 \group{Estonian User Group}%
 \group{$\varepsilon\phi\tau$ (Greek)}%
 \group{GuIT (Italian)}%
 \group{GUST (Polish)}%
 \group{GUTenberg (French)}%
 \group{GUTpt (Portuguese)}%
 \group{Ís\TeX{} (Icelandic)}%
 \group{ITALIC (Irish)}%
 \group{KTUG (Korean)}%
 \group{Lietuvos \TeX'o Vartotoj\k{u} \linetwo Grup\.e  (Lithuanian)}%
 \group{Ma\TeX{} (Hungarian)}%
 \group{Nordic \TeX{} Group \linetwo (Scandinavian)}%
 \group{NTG (Dutch)}%
 \group{\TeX{}CeH (Slovenian)}%
 \group{\TeX\,M\'exico}%
 \group{Tirant lo \TeX{} (Catalan)}%
 \group{TUG (international)}%
 \group{TUGIndia}%
 \group{TUG-Philippines}%
% \group{UK\,TUG}%
 Vi\^{e}tTUG (Vietnamese)%
}

\renewcommand\familydefault\sfdefault
\def\citysep{\,$\cdot$\,}

\AtBeginDocument{\noindent}
\newcommand\cover[4]{% #1: Web Color #2: Print color in PSTricks syntax
  \expandafter\ifx\expandafter\relax\WEB\relax \definecolor{back}{cmyk}{1,1,0,0} \else \definecolor{back}{rgb}{#1}\fi
  \begin{tikzpicture}
  \useasboundingbox(0,0) rectangle (\textwidth,\textheight);
  \draw [fill=blue] (-.5,-.5) rectangle ([shift={(0.5,0.5)}]\textwidth,\textheight);
  \draw [fill=blue!40](-0.5,-0.5) rectangle ++(3.5,13.5);
  \draw [fill=blue!40](12.5,-0.5) rectangle ++(3,13.5);
%  \draw [fill=back] (-.5,-.5) rectangle ([shift={(0.5,0.5)}]\textwidth,\textheight);
%  \draw [fill=back!60](-0.5,-0.5) rectangle ++(3.5,13.5);
%  \draw [fill=back!60](12.5,-0.5) rectangle ++(3,13.5);
  \ifdebug
    \draw[step=.5cm,white] (0,0) grid ++(25,12.5);
    \draw[fill=blue] (0,0) circle (0.1);
    \draw[dashed] (12.5,0) -- (12.5,12.5);
  \fi
  \ifcropmarks
    \draw(-1,0) -- (-0.5,0); \draw(0,-1) -- (0,-0.5);
    \draw(12.5,-1) -- (12.5,-0.5);
    \draw(25,-1) -- (25,-0.5); \draw(25.5,0) -- (26,0);
%
    \draw(-1,12.5) -- (-0.5,12.5); \draw(0,13) -- (0,13.5);
    \draw(12.5,13) -- (12.5,13.5);
    \draw(25,13) -- (25,13.5); \draw(25.5,12.5) -- (26,12.5);
  \fi
  #3
  \node at (1.5,6.25){\begin{minipage}[s][\covertextheight]{26mm}\color{black}\raggedright\scriptsize\linespread{1.2}\AlleGruppen\end{minipage}};
  #4
  \end{tikzpicture}
}

\endinput