def translate_page(data):
if "<STR_LIT>" != data["<STR_LIT>"]:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>tex_str = ('<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT>' +<EOL>'<STR_LIT>'<EOL>).replace('<STR_LIT>', livvkit.user)<EOL>content = data["<STR_LIT>"]<EOL>for tag_name in ["<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>for tag in content.get(tag_name, []):<EOL><INDENT>print("<STR_LIT>" + tag["<STR_LIT>"])<EOL>tex_str += translate_map[tag["<STR_LIT>"]](tag)<EOL><DEDENT><DEDENT>tex_str += '<STR_LIT>'<EOL>return tex_str<EOL>
Translates data elements with data['Type'] = 'page'.  This is the
top level of translation that occurs, and delegates the translation
of other element types contained on a page to their proper functions.