From: Jan Szejko Date: Wed, 29 Nov 2017 14:27:05 +0000 (+0100) Subject: change logo in pdf X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/0b8157f41607dbea19568b86b7e168804e0026b0?hp=d25fd2c2138cc1cc13c2338f8016e7a116f31444 change logo in pdf --- 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