'Print the tag info for footnotes.  Check whether footnote is an
endnote and make the tag according to that.'

def __first_line_func(self, line):

    if (self.__token_info == 'cw<nt<type______'):
        self.__write_to_foot_obj.write(('mi<tg<open-att__<footnote<type>endnote<num>%s\n' % self.__footnote_count))
    else:
        self.__write_to_foot_obj.write(('mi<tg<open-att__<footnote<num>%s\n' % self.__footnote_count))
    self.__first_line = 0
