Separate 'face' image for proper PDF support.
authorshort <>
Wed, 3 Dec 2003 15:59:44 +0000 (15:59 +0000)
committershort <>
Wed, 3 Dec 2003 15:59:44 +0000 (15:59 +0000)
resume/Makefile.am
resume/Resume-JanKratochvil.html.pl
resume/Resume-JanKratochvil.png [deleted file]

index 037201d..70f74f1 100644 (file)
 
 
 include $(top_srcdir)/Makefile-head.am
+
+EXTRA_DIST+= \
+               Resume-JanKratochvil.html.pl \
+               Resume-JanKratochvil-face.png
+               Resume-JanKratochvil.tex
+
+DOWNSCALE=100
+
+%.pdf: %.png
+       pngtopnm <$<|pnmtops -nocenter \
+                                       -imagewidth  $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$2/$(DOWNSCALE)}') \
+                                       -imageheight $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$3/$(DOWNSCALE)}') \
+                                            -width  $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$2/$(DOWNSCALE)}') \
+                                            -height $$(echo $$(pngtopnm <$< |head -n2)|awk '{print $$3/$(DOWNSCALE)}') \
+                       |ps2pdf12 - >$@
+
+Resume-JanKratochvil.pdf: Resume-JanKratochvil.tex Resume-JanKratochvil-face.pdf
+       pdflatex $< resume.tex
+
+CLEANFILES+= \
+               *.aux \
+               *.log \
+               *.out \
+               *.pdf
+
index 7cb7945..77f2409 100755 (executable)
@@ -135,7 +135,7 @@ my $now=(localtime())[5]+1900;
 print <<"HERE";
 <table width="100%" style="border-style: none;"><tr><td align="center"><table>
 <tr><td rowspan="10" style="padding: 10px; vertical-align: middle;">
-                               @{[ img "/resume/Resume-JanKratochvil","face" ]}</td>
+                               @{[ img "/resume/Resume-JanKratochvil-face","face" ]}</td>
                <td class="tab-head">Name    </td><td>Jan Kratochvil</td></tr>
 <tr><td class="tab-head">English </td><td>technical: fluent, general: communicable</td></tr>
 <tr><td class="tab-head">Born    </td><td>1979</td></tr>
@@ -168,7 +168,7 @@ print <<"HERE";
                        XP kernel subsystem.<br />
                        GNU/Linux part required integration and extensions of
                        @{[ a_href 'http://lufs.sourceforge.net/lufs/','LUFS' ]} (Linux Userland File System)
-                       to transparently connect the UNIX userland based MS-Windows kernel filesystem isolated by CORBA/ORBit interface.
+                       to transparently connect the UNIX userland based MS-Windows kernel filesystem isolated by the CORBA/ORBit interface.
                </td></tr>
 <tr><td>2001-2002</td><td class="com">@{[ a_href('http://www.atspraha.cz/','Advanced Telecom Services') ]}</td>
                <td>Mobile technologies
diff --git a/resume/Resume-JanKratochvil.png b/resume/Resume-JanKratochvil.png
deleted file mode 100644 (file)
index a3da63d..0000000
Binary files a/resume/Resume-JanKratochvil.png and /dev/null differ