Changeset 3107
- Timestamp:
- Jun 7, 2006, 10:21:11 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified documentation/user_manual/update_anuga_user_manual.py ΒΆ
r2736 r3107 26 26 27 27 anugapath = os.path.expanduser('~/anuga/documentation/user_manual') 28 texfile = 'anuga_user_manual'28 texfiles = ['anuga_user_manual', 'anuga_installation_guide'] 29 29 30 30 os.chdir(anugapath) # Move to location of LaTeX files 31 32 31 os.system('svn up') # Update from svn 33 32 34 # Compile with LaTeX, makeindex etc35 for i in range(3):36 os.system('latex --interaction=nonstopmode %s.tex' %texfile)37 os.system('makeindex %s.idx' %texfile)38 os.system('makeindex mod%s.idx' %texfile)39 os.system('bibtex %s' %texfile)40 33 41 # Create pdf file 42 os.system('dvips %s -o %s.ps' %((texfile,)*2)) 43 os.system('ps2pdf %s.ps' %texfile) 34 for texfile in texfiles: 35 print 'Processing %s' %texfile 36 # Compile with LaTeX, makeindex etc 37 for i in range(3): 38 os.system('latex --interaction=nonstopmode %s.tex' %texfile) 39 os.system('makeindex %s.idx' %texfile) 40 os.system('makeindex mod%s.idx' %texfile) 41 os.system('bibtex %s' %texfile) 42 43 # Create pdf file 44 os.system('dvips %s -o %s.ps' %((texfile,)*2)) 45 os.system('ps2pdf %s.ps' %texfile) 44 46 45 # Create html pages46 os.system('latex2html %s' %texfile)47 # Create html pages 48 os.system('latex2html %s' %texfile) 47 49
Note: See TracChangeset
for help on using the changeset viewer.