Link to pdf graphs for easier inclusion in the report (pdflatex)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 20:55:11 +0000 (21:55 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 11 Dec 2010 20:55:11 +0000 (21:55 +0100)
gw-tests/genhtml/genhtml.py

index de02878..b4d2d36 100755 (executable)
@@ -182,7 +182,7 @@ class Test(object):
             print >>html, "<tr><th>%s</th><td>" % d, " ".join(links), "</td></tr>"
 
         print >>html, "</table></div>"
-        print >>html, "<div><img src='%s' /></div>" % (self.name+".png")
+        print >>html, "<div><a href='%s'><img src='%s' /></a></div>" % (self.name+".pdf", self.name+".png")
         print >>html, "<a href='./'>Raw data</a><br />"
         print >>html, "<a href='%s'>Script source</a><br />" % (cdup+self.name+".sh.html")
         print >>html, "<a href='%s'>Back to top</a><br />" % cdup