diff --git a/src/plugins/docgen/AsciiDoc.py b/src/plugins/docgen/AsciiDoc.py index 518cea7ca..366025be2 100644 --- a/src/plugins/docgen/AsciiDoc.py +++ b/src/plugins/docgen/AsciiDoc.py @@ -236,6 +236,7 @@ class AsciiDoc(BaseDoc,TextDoc): # Then add leader and eat up the beginning of the first line pad. # Do not reformat if preformatted notes if not self.__note_format: + self.leader += ' ' start_at = regular_indent + min(len(self.leader)+first_indent,0) this_text = reformat_para(self.text,regular_indent,right,fmt, right_pad) diff --git a/src/plugins/textreport/DescendReport.py b/src/plugins/textreport/DescendReport.py index a70a90596..4879e5d27 100644 --- a/src/plugins/textreport/DescendReport.py +++ b/src/plugins/textreport/DescendReport.py @@ -61,7 +61,7 @@ from gen.utils import get_birth_or_fallback, get_death_or_fallback #------------------------------------------------------------------------ class PrintSimple(): def number(self, level): - return "%d. " % level + return "%d." % level #------------------------------------------------------------------------ @@ -79,7 +79,7 @@ class PrintVilliers(): to_return = self.pama[level-1] if level > 1: to_return += str(self.num[level-1]) - to_return += ". " + to_return += "." self.num[level] = 1 self.num[level-1] = self.num[level-1] + 1 @@ -106,7 +106,7 @@ class PrintMeurgey(): self.childnum.append(1) to_return = ReportUtils.roman(level) + dash + \ - str(self.childnum[level-1]) + ". " + str(self.childnum[level-1]) + "." if level > 1: self.childnum[level-1] += 1