From 0b8157f41607dbea19568b86b7e168804e0026b0 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 29 Nov 2017 15:27:05 +0100 Subject: [PATCH] change logo in pdf --- librarian/pdf.py | 6 +++--- librarian/pdf/wl.cls | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/librarian/pdf.py b/librarian/pdf.py index 48d6fff..9c8a348 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -285,10 +285,10 @@ def transform(wldoc, verbose=False, save_tex=None, morefloats=None, # LaTeX -> PDF shutil.copy(get_resource('pdf/wl.cls'), temp) shutil.copy(get_resource('res/wl-logo.png'), temp) - #shutil.copy(get_resource('res/prawokultury-logo.png'), temp) - #shutil.copy(get_resource('res/trust-logo.eps'), temp) + shutil.copy(get_resource('res/prawokultury-logo.png'), temp) + # shutil.copy(get_resource('res/trust-logo.eps'), temp) shutil.copy(get_resource('res/fnp-logo.eps'), temp) - shutil.copy(get_resource('res/koed-logo.eps'), temp) + # shutil.copy(get_resource('res/koed-logo.eps'), temp) try: cwd = os.getcwd() diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 4433914..8e7fbe2 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -218,8 +218,8 @@ Letters={SmallCaps,UppercaseSmallCaps} \color{theme} \noindent \begin{minipage}[t]{.65\textwidth}\vspace{0pt} - %\href{http://prawokultury.pl}{\xbox{\includegraphics[width=1in]{prawokultury-logo.png}}} - \href{http://koed.org.pl}{\xbox{\includegraphics[height=.55in]{koed-logo.eps}}} + \href{http://prawokultury.pl}{\xbox{\includegraphics[width=1in]{prawokultury-logo.png}}} + %\href{http://koed.org.pl}{\xbox{\includegraphics[height=.55in]{koed-logo.eps}}} \end{minipage} \noindent \begin{minipage}[t]{.35\textwidth}\vspace{0pt} \raggedright -- 2.20.1