From: SourceForge.net <no...@so...> - 2005-05-24 11:16:54
|
Bugs item #1207693, was opened at 2005-05-24 20:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1207693&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: moriwaka (moriwaka) Assigned to: Nobody/Anonymous (nobody) Summary: latex2e writer cannot render table contains multirows well Initial Comment: When 2+ morerows columns appeared at start of row, latex2e writer put only one '& ' at next (or later) rows. --- /usr/lib/site-python/docutils/writers/latex2e.py 2004-11-26 02:31:48.000000000 +0900 +++ latex2e.py 2005-05-24 20:11:44.026287368 +0900 @@ -1203,8 +1203,12 @@ if self.active_table.get_entry_number() == 1: # if the firstrow is a multirow, this actually is the second row. # this gets hairy if rowspans follow each other. + if self.active_table.get_rowspan(0): - self.body.append(' & ') + count = 0 + while self.active_table.get_rowspan(count): + count += 1 + self.body.append(' & ') self.active_table.visit_entry() # increment cell count else: self.body.append(' & ') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=1207693&group_id=38414 |