File: pdf.py

package info (click to toggle)
zope-devguide 20011206-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 456 kB
  • ctags: 45
  • sloc: python: 152; makefile: 124; sh: 54
file content (20 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python
from os import system
from string import join

chapters=('Introduction.html',
          'ComponentsAndInterfaces.html',
          'ObjectPublishing.html',
          'Products.html',
          'Persistence.html',
          'Acquisition.html',
          'Security.html',
          'TestingAndDebugging.html',
          'AppendixA.html',
          'AppendixB.html',
          )
          
system('htmldoc -f DevGuide.pdf --jpeg -v --browserwidth 800 --book %s' % join(chapters))
print "wrote DevGuide.pdf"