diff -r 2cb34a4ac65a -r 6b5a4c21e061 doc/doxygen/html/DS301__index_8py-source.html --- a/doc/doxygen/html/DS301__index_8py-source.html Tue Jun 05 17:34:33 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ - -
-00001 #!/usr/bin/env python -00002 # -*- coding: utf-8 -*- -00003 -00004 import os -00005 -00006 DS301_PDF_INDEX = {0x1000: 86, 0x1001: 87, 0x1002: 87, 0x1003: 88, 0x1005: 89, 0x1006: 90, 0x1007: 90, 0x1008: 91, 0x1009: 91, 0x100A: 91, 0x100C: 92, 0x100D: 92, 0x1010: 92, 0x1011: 94, 0x1012: 97, 0x1013: 98, 0x1014: 98, 0x1015: 99, 0x1016: 100, 0x1017: 101, 0x1018: 101, 0x1020: 117, 0x1200: 103, 0x1201: 103, 0x1280: 105, 0x1400: 106, 0x1600: 109, 0x1800: 111, 0x1A00: 112} -00007 -00008 def OpenPDFDocIndex(index, cwd): -00009 if not os.path.isfile(os.path.join(cwd, "doc/301_v04000201.pdf")): -00010 return """No documentation file available. -00011 Please read can festival documentation to know how to obtain one.""" -00012 try: -00013 if index in DS301_PDF_INDEX: -00014 os.system("xpdf -remote DS301 %s %d &"%(os.path.join(cwd, "doc/301_v04000201.pdf"), DS301_PDF_INDEX[index])) -00015 else: -00016 os.system("xpdf -remote DS301 %s &"%os.path.join(cwd, "doc/301_v04000201.pdf")) -00017 return True -00018 except: -00019 return """Check if xpdf is correctly installed on your computer""" -00020 -