From b4d7e4b8b33a7b28c6cb1e57405bbb7080c858ed Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 28 Dec 2015 12:01:39 -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 0b7363ef7..31c512acb 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()