def _heading1(text): """Use this for chapters. Lessons within a big chapter should now use heading2 instead. Chapters get numbered.""" rldu.getStory().append(rldu.PageBreak()) p = rldu.Paragraph('Capitolo <seq id="Chapter"/> ' + rldu.quickfix(text), rldu.H1) rldu.getStory().append(p)
def _quickfix(text): return quickfix(unitext(text))
def _bullet(text): text=u'<bullet><font name="Symbol">\xe2\x80\xa2</font></bullet>' + rldu.quickfix(text) P = Paragraph(text, rldu.BU) rldu.getStory().append(P)
def _heading1(text): """Use this for chapters. Lessons within a big chapter should now use heading2 instead. Chapters get numbered.""" rldu.getStory().append(rldu.PageBreak()) p = rldu.Paragraph('Capitolo <seq id="Chapter"/> '+rldu.quickfix(text), rldu.H1) rldu.getStory().append(p)
def _bullet(text): text = u'<bullet><font name="Symbol">\xe2\x80\xa2</font></bullet>' + rldu.quickfix( text) P = Paragraph(text, rldu.BU) rldu.getStory().append(P)