X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f2b9bd4a8970476de0168780511a76befb6bccb1..5c58ac489d6f95b5790092edc65911cc839297ed:/librarian/pdf/wl.cls?ds=sidebyside

diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls
index 8a03474..cb53a3f 100644
--- a/librarian/pdf/wl.cls
+++ b/librarian/pdf/wl.cls
@@ -16,6 +16,7 @@
 \RequirePackage{type1cm}
 \RequirePackage{amssymb}
 \RequirePackage{amsmath}
+
 \DeclareOption{13pt}{%
 \AtEndOfClass{%
 % font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/
@@ -76,7 +77,6 @@
 \usepackage{xunicode}
 \usepackage{xltxtra}
 
-
 \usepackage[overload]{textcase}
 \usepackage{scalefnt}
 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref}
@@ -177,10 +177,8 @@ Letters={SmallCaps,UppercaseSmallCaps}
 \raisebox{0pt}[0pt][0pt]{\makebox[0pt][r]{\usebox{\xglyphbox}}}}
 
 \newcommand{\makecover}[2]{
-
-
-        %\pdfpagewidth=#1
-        %\pdfpageheight=#2
+        \pdfpagewidth=#1
+        \pdfpageheight=#2
 
         \thispagestyle{empty}
         \newlength{\PictHOffset}
@@ -195,35 +193,36 @@ Letters={SmallCaps,UppercaseSmallCaps}
         \addtolength{\PictVOffset}{\headheight}
         \addtolength{\PictVOffset}{\headsep}
         \addtolength{\PictVOffset}{\topskip}
-
-        \addtolength{\PictVOffset}{-#2}
+        \addtolength{\PictVOffset}{-\pdfpageheight}
 
         \noindent\hspace*{-\PictHOffset}%
         \raisebox{\PictVOffset}[0pt][0pt]{\makebox[0pt][l]{%
-            \includegraphics[height=#2,width=#1]{cover.jpg}}}
-        %\clearpage
-        \vspace{#2}
+            \includegraphics[height=\pdfpageheight,width=\pdfpagewidth]{cover.png}}}
+        \clearpage
 
-        \hspace{-36mm}\parbox{16cm}{
-        {\addfontfeature{LetterSpace=-4.0}\emph{\scalefont{4}%
-            \noindent Philippe Aigrain
+ 
+%% Strona tytuÅowa %% XXX
+       \hspace{-36mm}\parbox{16cm}{
+        {\addfontfeature{LetterSpace=-4.0}{\scalefont{4}%
+            \noindent Philippe Aigrain}}
+
+       {\addfontfeature{LetterSpace=-4.0}{\scalefont{2.5}%
+            przy wspÃ³Åpracy Suzanne Aigrain
         }}
 
         \vspace{2em}
         {\addfontfeature{LetterSpace=-4.0}{\scalefont{6}%
             Dzielenie siÄ
         }}
-
-
-        \vspace{8em}
-
-%\emph{\thankyou}\\
-%\indent\emph{You made this book possible.}
+        
+        \vspace{2em}
+        {\addfontfeature{LetterSpace=-4.0}{\scalefont{3}%
+            Kultura i gospodarka epoki internetu
+        }}
         }
 
-
-        %\setlength{\pdfpagewidth}{210mm}
-        %\setlength{\pdfpageheight}{297mm}
+       \setlength{\pdfpagewidth}{210mm}
+       \setlength{\pdfpageheight}{297mm}
 }
 
 
@@ -259,57 +258,154 @@ Letters={SmallCaps,UppercaseSmallCaps}
 \usepackage{printlen}
 
 \newcommand{\editorialsection}{
+%% XXX % sprawdzic czy czegos nie zgubilem z master
+%% szczegolnie jesli chodzi o makra wstawiajace dane z DC, jak np \editors
+\clearpage
+        \thispagestyle{empty}
+
+% Pusta strona 
+\clearpage
+        \thispagestyle{empty}
+
+\vspace{2em}
+      \hspace{0mm}\parbox{16cm}{
+\centering
+      {\addfontfeature{LetterSpace=-4.0}{\scalefont{6}%
+           Dzielenie siÄ
+      }}
+
+  \vspace{2em}
+         {\addfontfeature{LetterSpace=-4.0}{\scalefont{3}%
+             Kultura i gospodarka epoki internetu
+         }}
+}
+
+\clearpage
+        \thispagestyle{empty}
+
+\clearpage
+        \thispagestyle{empty}
+
+%\parbox{10cm}{
+%  \centering
+
+  \hspace{-36mm}\parbox{16cm}{
+\centering
+
+  {\addfontfeature{LetterSpace=-4.0}{\scalefont{4}%
+      \noindent Philippe Aigrain
+  }}
+
+  {\addfontfeature{LetterSpace=-4.0}{\scalefont{2.5}%
+      przy wspÃ³Åpracy Suzanne Aigrain
+  }}
+  
+  \vspace{2em}
+         {\addfontfeature{LetterSpace=-4.0}{\scalefont{6}%
+             Dzielenie siÄ
+         }}
+         
+  \vspace{2em}
+         {\addfontfeature{LetterSpace=-4.0}{\scalefont{4}%
+             Kultura i gospodarka epoki internetu
+         }}
+
+  \vspace{2em}
+         {\addfontfeature{LetterSpace=-4.0}{\scalefont{2}%
+             Z jÄzyka angielskiego przeÅoÅ¼yÅ \\
+             \emph{Wojciech PÄdzich}
+         }}
+
+\vspace{22em}
+
+\includegraphics[scale=.2]{logo.eps}
+}
+
+    PrzekaÅ¼ darowiznÄ na konto:
+    \href{http://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/}{szczegÃ³Åy na stronie Fundacji}.
+
 \clearpage
+        \thispagestyle{empty}
+
+\noindent TytuÅ oryginaÅu
+
+\noindent \emph{Sharing. Culture and the Economy in the Internet Age}
+
+\vspace{1em}
+
+\noindent \editors
+
+\vspace{1em}
+
+
+\noindent \rightsinfo
+
+\vspace{1em}
+
+\noindent \coverby
+
 
 %\set\textwidth=450pt
 %\printlength\textwidth
 
 
-{\scalefont{1.5}Drogi czytelniku!}
+%% {\scalefont{1.5}Drogi czytelniku!}
+
+
 
+%% \vspace{1em}
+
+\vspace{1em}
 
+\noindent TÅumaczenie ksiÄÅ¼ki powstaÅo w ramach projektu "PrzyszÅoÅÄ prawa autorskiego" finansowanego przez {\it Trust for Civil Society in Central and Eastern Europe}.
 
 \vspace{1em}
 
+\noindent \includegraphics[scale=.4]{cce_trust.eps}
+
 \vspace{1em}
-ZespÃ³Å Fundacji Nowoczesna Polska
 
-\vspace{4em}
+\noindent Wydawca: Fundacja Nowoczesna Polska, Warszawa 2012
+
+\vspace{1em}
 \includegraphics[scale=.2]{logo.eps}
 \vspace{1em}
 
-\href{http://nowoczesnapolska.org.pl/}{http://nowoczesnapolska.org.pl/}
+\noindent \href{http://nowoczesnapolska.org.pl/}{http://nowoczesnapolska.org.pl/}
+
+
 
 %\vspace{4em}
 %\box{\tableofcontents}
 
-  \begin{figure}[b!]
-  {
-    \footnotesize
-    \color{theme}
-    \noindent \rule{\linewidth}{0.4pt}
-
-    \rightsinfo
-    \vspace{.6em}
+%%   \begin{figure}[b!]
+%%   {
+%%     \footnotesize
+%%     \color{theme}
+%%     \noindent \rule{\linewidth}{0.4pt}
 
-    %Å¹rÃ³dÅo: \href{\bookurl}{\bookurl}
+%%     \rightsinfo
+%% %    \vspace{.6em}
 
-    %\vspace{.6em}
-    %\sourceinfo
+%%     %Å¹rÃ³dÅo: \href{\bookurl}{\bookurl}
 
-    %\description
-    %\vspace{.6em}
+%%     %\vspace{.6em}
+%%     %\sourceinfo
 
-    Opublikowano przez \href{http://nowoczesnapolska.org.pl}{FundacjÄ Nowoczesna Polska}, 2012.
+%%     %\description
+%%     %\vspace{.6em}
 
-    \editors
+%%     Opublikowano przez \href{http://nowoczesnapolska.org.pl}{FundacjÄ Nowoczesna Polska}, 2012.
 
-    %\vspace{.6em}
-    \coverby
+%%     \editors
 
-    \color{black}
-  }
-  \end{figure}
+%%     %\vspace{.6em}
+%%     \coverby
+    
+%%     \color{black}
+%%   }
+%%   \end{figure}
+\clearpage
 }
 
 
@@ -334,13 +430,10 @@ Letters={Uppercase}
 %{\addfontfeature{Scale=2.0, FakeStretch=0.98, LetterSpace=-2.0}\emph{#1}}
 }
 
+
 \newcommand{\tytul}[1]{%
 #1%
-%\vspace{1em}%
-}
-
-\newcommand{\autorpodutworu}[1]{%
-\section*{\typosection{#1}}%
+\vspace{1em}%
 }
 
 \newcommand{\nazwapodutworu}[1]{%
@@ -348,7 +441,6 @@ Letters={Uppercase}
 }
 
 \newcommand{\autorutworu}[1]{%
-\addcontentsline{toc}{part}{???}
 \subsection*{\typosubsection{#1}}%
 }
 
@@ -372,6 +464,7 @@ Letters={Uppercase}
 \subsection*{\typosubsubsection{tÅum. #1}}%
 }
 
+
 \newcommand{\powiesc}[1]{#1}
 \newcommand{\opowiadanie}[1]{#1}
 \newcommand{\lirykal}[1]{#1}
@@ -381,9 +474,7 @@ Letters={Uppercase}
 \newcommand{\dramatwspolczesny}[1]{#1}
 
 \newcommand{\nota}[1]{%
-\begin{quotation}%
-#1%
-\end{quotation}%
+\par{#1}%
 }
 
 \newcommand{\dedykacja}[1]{%
@@ -434,7 +525,7 @@ Letters={Uppercase}
 \subsection*{\typosubsection{#1}}%
 }
 \newcommand{\naglowekczesc}[1]{%
-%\pagebreak
+\pagebreak
 \subsection*{\typosubsection{#1}}%
 }
 \newcommand{\srodtytul}[1]{%
@@ -536,7 +627,6 @@ Letters={Uppercase}
 \begin{center}%
 \par{*}%
 \end{center}%
-\noindent%
 }
 
 \newcommand{\separatorlinia}{%
@@ -558,11 +648,3 @@ Letters={Uppercase}
 \fi
 }
 
-\newcommand{\ilustr}[2]{
-
-\vspace{1em}%
-\begin{center}%
-\par{\includegraphics[width=\textwidth]{#1}\\#2}%
-\end{center}%
-\vspace{1em}%
-}
