diff --git a/ChangeLog b/ChangeLog index aa738f5e3..a1236a9f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2003-06-25 Tim Waugh + * src/plugins/Ancestors.py: Handle page break option. * src/Date.py: Make sure range is 0 when it should be. Dates compare differently if only one is a range. diff --git a/src/plugins/Ancestors.py b/src/plugins/Ancestors.py index cb5b2f963..ac36e60b5 100644 --- a/src/plugins/Ancestors.py +++ b/src/plugins/Ancestors.py @@ -174,6 +174,8 @@ class AncestorsReport (Report.Report): people.extend (self.family (family, already_described)) if len (people): + if self.pgbrk: + self.doc.page_break() self.doc.start_paragraph ("Generation") self.doc.write_text ("Generation %d" % thisgen) self.doc.end_paragraph () @@ -326,7 +328,9 @@ class AncestorsReport (Report.Report): if text: info += ' ' + text[0].lower() + text[1:] elif dateobj.getValid (): - if (dateobj.getDayValid () and + if dateobj.isRange (): + info += ' ' + elif (dateobj.getDayValid () and dateobj.getMonthValid () and dateobj.getYearValid ()): info += ' on '