def tex_lines(ident, inst, pos, group, people):
    """
    Returns the lines to be written into the tex input files.
    """
    
    return ['% {}.txt\n'.format(ident),
            '\def\institution{'+inst+'}\n',
            '\def\position{'+pos+'}\n',
            '\def\group{'+group+'}\n',
            '\def\people{'+people+'}\n']