Differences From Artifact [adcdc0c9ce]:
- File gluon/contrib/generics.py — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 2247) [annotate] [blame] [check-ins using]
To Artifact [390d0316f6]:
- File gluon/contrib/generics.py — part of check-in [5e6e1e2c0a] at 2011-11-20 05:28:20 on branch feature/web2py_auth — Upgraded to web2py 1.99.2 (user: spiffy, size: 2248) [annotate] [blame] [check-ins using] [more...]
︙ | |||
57 58 59 60 61 62 63 64 | 57 58 59 60 61 62 63 64 65 | + | def pdf_from_html(html): # try use latex and pdflatex if os.system('which pdflatex > /dev/null')==0: return pdflatex_from_html(html) else: return pyfpdf_from_html(html) |