From 74f9fb1b8ee603a03cdb20c6ba738706d9b100ce Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 28 Dec 2015 12:02:15 -0800 Subject: [PATCH] 9137: Report Plugin [LaTeX backend] crashes --- gramps/plugins/textreport/indivcomplete.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/textreport/indivcomplete.py b/gramps/plugins/textreport/indivcomplete.py index 701924e40..760ee3c60 100644 --- a/gramps/plugins/textreport/indivcomplete.py +++ b/gramps/plugins/textreport/indivcomplete.py @@ -472,7 +472,7 @@ class IndivCompleteReport(Report): tags.append(tag.get_name()) for text in sorted(tags): self.doc.start_row() - self.write_cell(text) + self.write_cell(text, span=2) self.doc.end_row() self.doc.end_table() self.doc.start_paragraph('IDS-Normal') @@ -708,8 +708,9 @@ class IndivCompleteReport(Report): if group in event_dict: self.write_section(event_dict[group], group) - def write_cell(self, text, endnotes=None, mark=None, style='IDS-Normal'): - self.doc.start_cell('IDS-NormalCell') + def write_cell(self, text, + endnotes=None, mark=None, style='IDS-Normal', span=1): + self.doc.start_cell('IDS-NormalCell', span) self.write_paragraph(text, endnotes=endnotes, mark=mark, style=style) self.doc.end_cell()