good pdf, some general updates
[librarian.git] / librarian / pdf / wl.sty
index f904646..7a37e28 100644 (file)
@@ -1,8 +1,12 @@
 \usepackage[MeX]{polski}
-\usepackage[utf8]{inputenc}
+
+
+\usepackage[xetex]{graphicx}
+\usepackage{xltxtra}
+\usepackage{xunicode}
+
+
 \pagestyle{plain}
-%\usepackage{antpolt}
-\usepackage{graphicx}
 \usepackage{fancyhdr}
 
 \makeatletter
@@ -12,7 +16,7 @@
 \makeFNabove
 
 \usepackage{color}
-\definecolor{theme-gray}{gray}{.3}
+\definecolor{theme}{gray}{.3}
 
 \setlength{\marginparsep}{2em}
 \setlength{\marginparwidth}{8.5em}
 \setlength{\textheight}{24cm}
 
 \pagestyle{fancy}
+\fancyhf{}
 \renewcommand{\headrulewidth}{0pt}
 \renewcommand{\footrulewidth}{0.4pt}
-\lfoot{\footnotesize \@author, \emph{\@title}}
+\lfoot{{\footnotesize \@author, \emph{\@title}}}
 \cfoot{}
-\rfoot{\footnotesize \thepage}
+\rfoot{{\footnotesize \thepage}}
 
 \clubpenalty=100000
 \widowpenalty=100000
 
 
 \renewcommand{\maketitle}{
+    {
     \thispagestyle{empty}
     \footnotesize
-    \color{theme-gray}
+    \color{theme}
 
     \noindent \begin{minipage}[t]{.35\textwidth}\vspace{0pt}
-        \includegraphics[width=\textwidth]{pdf/wl-logo.png}
+        \includegraphics[width=\textwidth]{wl-logo.png}
     \end{minipage}
     \begin{minipage}[t]{.65\textwidth}\vspace{0pt}
         Wejdź na stronę http://wolnelektury.pl/ i~zobacz, jak wiele możliwości daje interaktywna wersja szkolnej biblioteki
@@ -60,7 +66,7 @@
 
     \begin{figure}[b!]
         \footnotesize
-        \color{theme-gray}
+        \color{theme}
         \noindent \rule{\linewidth}{0.4pt}
 
         Szkolna biblioteka internetowa Wolne Lektury tworzona jest dzięki pracy Wolontariuszy, ale to osoby
@@ -68,5 +74,5 @@
         tę sekcję, ale autor konwertera chciał się popisać, że umie coś takiego zrobić.
         \color{black}
     \end{figure}
+    }
 }
-