change logo in pdf
authorJan Szejko <janek37@gmail.com>
Wed, 29 Nov 2017 14:27:05 +0000 (15:27 +0100)
committerJan Szejko <janek37@gmail.com>
Wed, 29 Nov 2017 14:27:05 +0000 (15:27 +0100)
librarian/pdf.py
librarian/pdf/wl.cls

index 48d6fff..9c8a348 100644 (file)
@@ -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()
index 4433914..8e7fbe2 100644 (file)
@@ -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