from lino.gendoc.maker import DocMaker def body(doc): doc.h1("Second Example") doc.memo(""" lino.gendoc has its own paragraph parser which replaces ReportLab's parser. """) doc.pre("""\ A test is a test and not a final document. A test is a test and not a final document. A test is a test and not a final document. """) doc.memo("""\ A test is a test and not a final document. A test is a test and not a final document. A test is a test and not a final document. """) doc.memo(""" About character formatting: emphasized is same as italic. italic, bold and bold-italic are implemented using separate fonts, while superscript simply raises the baseline. Now the same text in underlined: italic, bold and bold-italic are implemented using separate fonts, while superscript simply raises the baseline. """) DocMaker().main(body)