diff --git a/README b/README index bff3db624..4f01b6f54 100644 --- a/README +++ b/README @@ -6,7 +6,10 @@ Python 1.5.2 or greater Gnome 1.2 or greater PyGnome 1.0.53 or greater -PyXML 0.6.2 or greater (http://sourceforge.net/project/showfiles.php?group_id=6473) +If you are using python 1.5.2, you may also need PyXML 0.6.2 or +greater. Many distributions already provide this, but if your +installation does not have it, you can get it from +http://sourceforge.net/project/showfiles.php?group_id=6473 Building on non-Linux systems: i18n support and GNU make -------------------------------------------------------- diff --git a/src/DrawDoc.py b/src/DrawDoc.py index ce6db5ec7..7c918ea7b 100644 --- a/src/DrawDoc.py +++ b/src/DrawDoc.py @@ -136,6 +136,9 @@ class DrawDoc: def draw_box(self,style,text,x,y): pass + def write_at(self,style,text,x,y): + pass + def draw_line(self,style,x1,y1,x2,y2): pass diff --git a/src/HtmlDoc.py b/src/HtmlDoc.py index 29130e006..24afa766f 100644 --- a/src/HtmlDoc.py +++ b/src/HtmlDoc.py @@ -40,7 +40,7 @@ try: except: no_pil = 1 -t_header_line_re = re.compile(r"(.*).*(.*)", re.DOTALL) +t_header_line_re = re.compile(r"(.*)(.*)(.*)", re.DOTALL|re.IGNORECASE|re.MULTILINE) #------------------------------------------------------------------------ # @@ -48,10 +48,10 @@ t_header_line_re = re.compile(r"(.*).*(.*)", re.DOTALL) # #------------------------------------------------------------------------ _top = [ - '\n', + '\n', '\n', '\n', - ' \n', + ' \n', ' \n', ' \n', '