doc = add_part(snippets, header_index=position, header_type=header.tag,
text=u''.join(footnote),
is_footnote=True)
doc = add_part(snippets, header_index=position, header_type=header.tag,
text=u''.join(footnote),
is_footnote=True)
text=fix_format(frag['text']),
themes=frag['themes'])
#print '@ FRAG %s' % frag['content']
text=fix_format(frag['text']),
themes=frag['themes'])
#print '@ FRAG %s' % frag['content']
header_type=header.tag, text=fix_format(content))
#print '@ CONTENT: %s' % fix_format(content)
header_type=header.tag, text=fix_format(content))
#print '@ CONTENT: %s' % fix_format(content)